@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #0a0c10;
  --surface: #12151c;
  --surface-elevated: #1a1e27;
  --primary: #00d26a; 
  --primary-glow: rgba(0, 210, 106, 0.3);
  --danger: #ff453a;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: #050608;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: #050608;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Mobile App Container */
.app-container {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-dark);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  padding-bottom: 120px;
}

/* Utilities */
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Sections */
section {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

/* Hero Section */
.hero {
  padding-top: 40px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 106, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 210, 106, 0.2);
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Card Style */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 210, 106, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
}

/* Features List */
.feature-list {
  list-style: none;
  text-align: left;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

/* Image Wrapper */
.img-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 24px;
}

.img-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Sticky Bottom Nav - Premium Redesign */
.sticky-bottom {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 480px;
  background: rgba(18, 21, 28, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 12px 20px;
  margin-bottom: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-bottom.visible {
  bottom: 0;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sticky-tag {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--danger);
  letter-spacing: 1px;
  margin-bottom: 2px;
  animation: blink 1.5s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.sticky-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sticky-old-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.sticky-new-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-shadow: 0 0 15px var(--primary-glow);
}

.btn-sticky {
  background: var(--primary);
  color: #000;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 20px var(--primary-glow);
  transition: all 0.3s ease;
}

.btn-sticky:active { transform: scale(0.95); }

.btn-sticky svg {
  animation: slideRight 1s infinite alternate;
}

@keyframes slideRight { from { transform: translateX(0); } to { transform: translateX(3px); } }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-danger {
  background: rgba(255, 69, 58, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 69, 58, 0.2);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  padding: 24px;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-anim {
  animation: pulse 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:active {
  transform: scale(0.9);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
