@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #021B4B;
  --bg-secondary: #07245D;
  --bg-tertiary: #0A2D73;
  --accent-primary: #17D7D1;
  --accent-secondary: #13C7C0;
  --accent-light: #1BE4DA;
  --white: #FFFFFF;
  --neutral-light: #F5F7FA;
  --neutral-mid: #D9E2EC;
  --text-muted: rgba(255,255,255,0.6);
  --text-dark: #0A1628;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --glass-bg-light: rgba(255,255,255,0.85);
  --shadow-glow: 0 0 40px rgba(23,215,209,0.15);
  --shadow-card: 0 8px 40px rgba(2,27,75,0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(2,27,75,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(2,27,75,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-logo img { height: 140px; margin-top: -30px; margin-bottom: -30px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 0.75rem; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.4rem; border-radius: 100px; font-family: inherit; font-weight: 600; font-size: 0.875rem; cursor: pointer; text-decoration: none; transition: var(--transition); border: none; outline: none; }
.btn-ghost { background: transparent; border: 1px solid var(--glass-border); color: var(--white); }
.btn-ghost:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.btn-primary { background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); color: var(--bg-primary); font-weight: 700; box-shadow: 0 4px 20px rgba(23,215,209,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(23,215,209,0.45); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(23,215,209,0.05); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 8rem 2rem 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1280px; margin: 0 auto;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,215,209,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-bg::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,215,209,0.07) 0%, transparent 70%);
  bottom: 0; left: 10%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  background: rgba(23,215,209,0.1); border: 1px solid rgba(23,215,209,0.25);
  color: var(--accent-primary); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); animation: pulse 2s infinite; }
.hero-content h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-content h1 span { background: linear-gradient(135deg, var(--accent-primary), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-checks { display: flex; flex-direction: column; gap: 0.5rem; }
.check-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); }
.check-item .check-icon { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bg-primary); }
.check-item .check-icon svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-mockup {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(23,215,209,0.1);
  border: 1px solid var(--glass-border);
  position: relative; z-index: 2;
}
.float-card {
  position: absolute; z-index: 3;
  background: var(--glass-bg-light); backdrop-filter: blur(20px);
  border-radius: var(--radius-md); padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  color: var(--text-dark); font-size: 0.78rem; font-weight: 600;
  animation: floatAnim 4s ease-in-out infinite;
}
.float-card.card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.float-card.card-2 { bottom: 15%; right: -5%; animation-delay: 1.5s; }
.float-card.card-3 { top: 50%; left: -8%; animation-delay: 0.8s; }
.float-card .card-label { font-size: 0.65rem; color: #666; font-weight: 500; }
.float-card .card-value { font-size: 1rem; font-weight: 700; color: var(--bg-primary); }
.float-card .card-trend { color: #10b981; font-size: 0.7rem; }

/* ── SECTIONS COMMON ── */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 100px; background: rgba(23,215,209,0.1); border: 1px solid rgba(23,215,209,0.2); color: var(--accent-primary); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── BENEFITS ── */
.benefits { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.benefit-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: var(--transition); cursor: default; position: relative; overflow: hidden;
}
.benefit-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(23,215,209,0.05), transparent); opacity: 0; transition: var(--transition); }
.benefit-card:hover { border-color: rgba(23,215,209,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2), var(--shadow-glow); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(23,215,209,0.15), rgba(23,215,209,0.05)); border: 1px solid rgba(23,215,209,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--accent-primary); }
.benefit-icon svg { width: 20px; height: 20px; }
.benefit-icon svg * { fill: none !important; stroke: currentColor !important; stroke-width: 2.5 !important; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.benefit-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── PRESCRIPTIONS ── */
.prescriptions { background: var(--bg-secondary); }
.prescriptions-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.prescription-visual { position: relative; }
.prescription-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.prescription-visual::before { content: ''; position: absolute; inset: -20px; background: radial-gradient(ellipse at center, rgba(23,215,209,0.08), transparent 70%); pointer-events: none; }
.prescription-content h2 { font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.prescription-content p { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.7; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; }
.feature-item .fi-icon { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,var(--accent-primary),var(--accent-secondary)); display: flex; align-items: center; justify-content: center; color: var(--bg-primary); flex-shrink:0; }
.feature-item .fi-icon svg { width: 12px; height: 12px; }
.feature-item .fi-icon svg * { fill: none !important; stroke: currentColor !important; stroke-width: 3.5 !important; stroke-linecap: round; stroke-linejoin: round; }

/* ── WHATSAPP ── */
.whatsapp { background: var(--neutral-light); }
.whatsapp .section-title { color: var(--text-dark); }
.whatsapp .section-subtitle { color: #4a5568; }
.whatsapp .section-tag { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.25); color: #1a9c4a; }
.wa-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }
.wa-phone-mockup { display: flex; justify-content: center; }
.wa-phone {
  width: 280px; background: #e5ddd5; border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden;
  border: 6px solid #1a1a1a;
}
.wa-phone-header { background: #075e54; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
.wa-phone-header .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--bg-primary); font-size: 0.9rem; }
.wa-phone-header .contact-name { color: white; font-weight: 600; font-size: 0.9rem; }
.wa-phone-header .contact-status { color: rgba(255,255,255,0.7); font-size: 0.72rem; }
.wa-messages { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: #e5ddd5; }
.wa-msg { max-width: 85%; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.78rem; line-height: 1.4; animation: slideMsg 0.4s ease; }
.wa-msg.out { background: #dcf8c6; align-self: flex-end; border-radius: 8px 0 8px 8px; color: #1a1a1a; }
.wa-msg.in { background: white; align-self: flex-start; border-radius: 0 8px 8px 8px; color: #1a1a1a; }
.wa-msg .time { font-size: 0.65rem; color: #999; float: right; margin-left: 0.5rem; margin-top: 0.15rem; }
.wa-features { display: flex; flex-direction: column; gap: 1.25rem; }
.wa-feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-card); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); }
.wa-feature:hover { transform: translateX(4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.wa-feature-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #ffffff; }
.wa-feature-icon svg { width: 22px; height: 22px; }
.wa-feature-icon svg * { fill: none !important; stroke: #ffffff !important; stroke-width: 2.2 !important; stroke-linecap: round; stroke-linejoin: round; }
.wa-feature h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.wa-feature p { font-size: 0.8rem; color: #718096; line-height: 1.5; }

/* ── SECURITY ── */
.security { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); position: relative; overflow: hidden; }
.security::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(23,215,209,0.04) 0%, transparent 70%); pointer-events: none; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.security-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); position: relative; overflow: hidden;
}
.security-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); opacity: 0; transition: var(--transition); }
.security-card:hover { border-color: rgba(23,215,209,0.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(23,215,209,0.08); }
.security-card:hover::after { opacity: 1; }
.security-icon { width: 58px; height: 58px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(23,215,209,0.12), rgba(23,215,209,0.04)); border: 1px solid rgba(23,215,209,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--accent-primary); }
.security-icon svg { width: 22px; height: 22px; }
.security-icon svg * { fill: none !important; stroke: var(--accent-primary) !important; stroke-width: 2 !important; stroke-linecap: round; stroke-linejoin: round; }
.security-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.security-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── DIFFERENTIALS ── */
.differentials { background: var(--bg-primary); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.diff-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 2.5rem; transition: var(--transition); position: relative; overflow: hidden;
}
.diff-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 70% 30%, rgba(23,215,209,0.05), transparent 60%); pointer-events: none; }
.diff-card:hover { border-color: rgba(23,215,209,0.25); transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,0.2); }
.diff-num { font-size: 2.5rem; font-weight: 800; color: #ffffff !important; opacity: 1 !important; line-height: 1; margin-bottom: 1rem; }
.diff-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.6rem; }
.diff-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA FINAL ── */
.cta-final {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  position: relative; overflow: hidden; text-align: center;
}
.cta-final::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='rgba(23,215,209,0.05)' stroke-width='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(23,215,209,0.1), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 1.25rem; line-height: 1.2; }
.cta-final h2 span { background: linear-gradient(135deg, var(--accent-primary), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-final p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--bg-primary); font-weight: 700; box-shadow: 0 4px 20px rgba(255,255,255,0.2); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.25); }

/* ── FOOTER ── */
footer {
  background: #010F2B; border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; align-items: start; }
.footer-logo img { height: 180px; margin-bottom: 1rem; object-fit: contain; display: block; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); max-width: 380px; line-height: 1.6; }
.footer-links { display: flex; gap: 1rem; list-style: none; flex-direction: column; align-items: flex-start; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatButton 3s ease-in-out infinite;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #128C7E;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  color: #fff;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
@keyframes floatButton {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ── ANIMATIONS ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.9)} }
@keyframes floatAnim { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes slideMsg { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes glow { 0%,100%{box-shadow:0 0 20px rgba(23,215,209,0.15)} 50%{box-shadow:0 0 40px rgba(23,215,209,0.35)} }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 7rem; }
  .hero-visual { order: -1; }
  .float-card { display: none; }
  .prescriptions-inner, .wa-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  section { padding: 4rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .benefits-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .wa-phone { width: 240px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
