:root{
  --red:#ED1C24;
  --red-dark:#C9151C;
  --pink-nav:#FCE9E9;
  --pink-card:#F6D8D4;
  --cream:#F4F1ED;
  --ink:#1d1d1f;
  --muted:#5b5b60;
  --pill:#cfe0ea;
  --maxw:1200px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

h1,h2,h3{font-family:'Poppins',sans-serif;line-height:1.1;letter-spacing:-.01em}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Poppins',sans-serif;font-weight:600;font-size:.95rem;
  border:none;cursor:pointer;border-radius:40px;
  padding:11px 22px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-red{background:var(--red);color:#fff;box-shadow:0 6px 16px rgba(237,28,36,.28)}
.btn-red:hover{background:var(--red-dark)}
.btn-lg{padding:13px 26px;font-size:1rem}
.btn-pill{background:var(--pill);color:#16384c;font-weight:600;box-shadow:none}
.btn-pill:hover{background:#bcd4e2}
.btn-white{background:#fff;color:var(--ink);text-align:center;line-height:1.25;padding:14px 30px;box-shadow:0 8px 22px rgba(0,0,0,.18)}

/* NAV */
#nav{position:sticky;top:0;z-index:50;background:var(--pink-nav)}
.nav-inner{display:flex;align-items:center;gap:36px;height:62px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Poppins',sans-serif;font-weight:700;font-size:1.35rem;color:var(--red)}
.brand img{border-radius:50%}
.nav-links{display:flex;gap:30px;margin-left:8px}
.nav-links a{font-weight:500;color:var(--red);font-size:.98rem}
.nav-links a:hover{opacity:.7}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
/* .nav-toggle (hamburger) + mobile dropdown live in NAV_CSS, inlined per page */

/* HERO */
.hero{position:relative;overflow:hidden;background:var(--cream)}
.hero-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
}
.hero-inner{position:relative;z-index:2;min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding-top:46px;padding-bottom:46px}
.hero-cta{flex:none}

/* HERO PHONE — WhatsApp mockup */
.hero-phone{flex:none;display:flex;justify-content:center;perspective:1400px}
/* delayed entrance: phone fades/rises in ~3s after page load.
   .hero-reveal is added by JS; without JS the phone is visible by default. */
.hero-phone.hero-delayed{opacity:0;transform:translateY(18px)}
.hero-phone.hero-delayed.hero-reveal{opacity:1;transform:translateY(0);transition:opacity .6s ease,transform .6s ease}
.phone-shell{
  position:relative;
  width:286px;background:#050505;border-radius:46px;
  border:1px solid #2b2b2b;padding:9px;
  box-shadow:0 0 0 2px #000,inset 0 0 3px rgba(255,255,255,.12),0 30px 64px rgba(0,0,0,.38);
  animation:phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
/* side buttons (right edge): volume rocker + power */
.phone-shell::before{content:"";position:absolute;right:-3px;top:104px;width:3px;height:42px;border-radius:0 3px 3px 0;background:#1a1a1a}
.phone-shell::after{content:"";position:absolute;right:-3px;top:158px;width:3px;height:66px;border-radius:0 3px 3px 0;background:#1a1a1a}
.phone-screen{position:relative;background:#0b141a;border-radius:38px;overflow:hidden}
/* hole-punch camera, centered over the status bar */
.phone-cam{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:9px;height:9px;background:#000;border-radius:50%;z-index:6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.wa-status-bar{background:#075e54;padding:6px 16px 5px;display:flex;align-items:center;justify-content:space-between;font-size:.58rem;font-weight:600;color:#fff}
.wa-status-icons{display:flex;align-items:center;gap:4px}
.wa-head{background:#075e54;padding:7px 12px 7px 8px;display:flex;align-items:center;gap:8px}
.wa-back{font-size:1.15rem;color:#fff;line-height:1;margin-right:-1px}
.wa-ava{width:34px;height:34px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.wa-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wa-info{flex:1;min-width:0}
.wa-name{font-size:.82rem;font-weight:700;color:#fff;line-height:1.2}
.wa-stat{font-size:.62rem;color:rgba(255,255,255,.85);display:flex;align-items:center;gap:4px;margin-top:1px}
.wa-online-dot{width:6px;height:6px;border-radius:50%;background:#aef5c8;animation:pulseDot 2s ease-in-out infinite}
@keyframes pulseDot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}
.wa-head-icons{display:flex;gap:16px;color:#fff;font-size:.85rem}
.wa-body{
  padding:10px 8px 6px;display:flex;flex-direction:column;gap:4px;
  min-height:400px;max-height:400px;overflow-y:auto;
  background-color:#e4f3e4;
  background-image:radial-gradient(circle at 1px 1px,rgba(0,80,40,.04) 1px,transparent 0);
  background-size:24px 24px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.wa-body::-webkit-scrollbar{width:0;height:0}
.wa-date-chip{align-self:center;background:rgba(17,27,33,.85);color:#8696a0;font-size:.6rem;font-weight:600;padding:4px 10px;border-radius:100px;margin:2px 0 4px}
.wa-msg{max-width:80%;padding:6px 10px 5px;font-size:.72rem;line-height:1.5;position:relative;word-break:break-word}
/* default (no-JS): all bubbles visible. When JS drives the animation it adds
   .js-on to the container; bubbles stay out of flow (display:none) until shown,
   so the chat grows from the top and the first message is never pushed
   off-screen by an early scroll-to-bottom. */
#hero-chat.js-on .wa-msg{display:none}
#hero-chat.js-on .wa-msg.show{display:block;animation:waMsgIn .3s ease}
@keyframes waMsgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.wa-msg-user{background:#005c4b;border-radius:8px 8px 0 8px;align-self:flex-end;color:#e9edef;margin-right:4px}
.wa-msg-ai{background:#fff;border-radius:0 8px 8px 8px;align-self:flex-start;color:#111b21;margin-left:4px;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.wa-msg-img{padding:4px;max-width:70%}
.wa-msg-img img{width:100%;max-height:200px;object-fit:cover;object-position:top;display:block;border-radius:6px}
.wa-msg-success{background:#0d2318;border:1px solid rgba(37,211,102,.22);border-radius:0 8px 8px 8px;align-self:flex-start;color:#e9edef;margin-left:4px;max-width:88%}
.wa-msg-success .wa-success-header{color:#25D366;font-weight:700;font-size:.72rem;margin-bottom:4px}
.wa-msg-success .wa-success-body{color:#a8c5a0;font-size:.68rem;line-height:1.7}
.wa-msg-success .wa-success-body strong{color:#e9edef}
.wa-msg-success .wa-save{color:#e9edef;font-weight:700}
.wa-msg-success .wa-reward{color:#25D366;font-weight:700}
.wa-typing{display:flex;align-items:center;gap:3px;padding:9px 13px;background:#fff;border-radius:0 8px 8px 8px;align-self:flex-start;width:fit-content;margin-left:4px;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.wa-typing span{width:5px;height:5px;border-radius:50%;background:#8696a0;display:block;animation:waBounce 1.2s ease-in-out infinite}
.wa-typing span:nth-child(2){animation-delay:.2s}
.wa-typing span:nth-child(3){animation-delay:.4s}
@keyframes waBounce{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}
.wa-input-bar{background:#f0f2f5;padding:7px 10px;display:flex;align-items:center;gap:8px}
.wa-input-field{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border-radius:22px;padding:8px 12px;font-size:.68rem;color:#8a9aa5;box-shadow:0 1px 1px rgba(0,0,0,.05)}
.wa-input-field svg,.wa-head-icons svg,.wa-send-btn svg{display:block;flex-shrink:0}
.wa-input-field>span{flex:1}
.wa-input-icons{display:flex;align-items:center;gap:10px;color:#8a9aa5;flex-shrink:0;margin-left:auto}
.wa-send-btn{width:34px;height:34px;border-radius:50%;background:#00a884;display:flex;align-items:center;justify-content:center;font-size:.8rem;color:#fff;flex-shrink:0}

/* INSTANT */
.instant{background:var(--cream);padding:70px 0}
.instant-inner{display:flex;align-items:center;gap:40px}
.instant-text{flex:1}
.instant-text h2{font-size:2.1rem;font-weight:600;margin-bottom:22px}
.instant-text p{color:var(--muted);margin-bottom:16px;max-width:430px;font-size:.96rem}
.instant-text .btn{margin-top:8px}
.instant-img{flex:1;display:flex;justify-content:flex-end}
.instant-img img{max-width:480px;width:100%}

/* FEATURES */
.features{background:var(--cream);padding:30px 0 70px}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.feature-card{
  background:#fff;border-radius:14px;padding:24px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  display:flex;flex-direction:column;
}
.feature-img{margin-bottom:22px}
.feature-img img{width:100%;aspect-ratio:16/10;object-fit:cover;
  border-radius:38% 62% 55% 45% / 45% 38% 62% 55%;
  animation:blobMorph 12s ease-in-out infinite}
/* stagger each card so they morph out of sync (organic, melting feel) */
.feature-card:nth-child(2) .feature-img img{animation-duration:15s;animation-delay:-3s}
.feature-card:nth-child(3) .feature-img img{animation-duration:18s;animation-delay:-7s}
/* continuously morphing soft "blob" outline — always rounded, never a plain box */
@keyframes blobMorph{
  0%,100%{border-radius:38% 62% 55% 45% / 45% 38% 62% 55%}
  20%{border-radius:60% 40% 45% 55% / 55% 48% 52% 45%}
  40%{border-radius:50% 50% 62% 38% / 40% 60% 40% 60%}
  60%{border-radius:45% 55% 40% 60% / 62% 42% 58% 38%}
  80%{border-radius:58% 42% 52% 48% / 48% 58% 42% 52%}
}
@media (prefers-reduced-motion: reduce){
  .feature-img img,.how-img img{animation:none}
}
.feature-card h3{font-size:1.4rem;font-weight:600;margin-bottom:14px}
.feature-card p{color:var(--muted);font-size:.9rem;margin-bottom:12px}
.feature-btn{align-self:flex-start;margin-top:auto}

/* DISCOUNT */
.discount{position:relative;min-height:440px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.discount-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.discount-overlay{
  position:relative;z-index:2;text-align:center;color:#fff;
  background:rgba(20,20,20,.35);backdrop-filter:blur(1px);
  border-radius:8px;padding:34px 40px;max-width:760px;margin:0 24px;
}
.discount-overlay h2{font-size:2.3rem;font-weight:600;margin-bottom:16px;text-shadow:0 2px 12px rgba(0,0,0,.4)}
.discount-overlay p{font-size:.95rem;line-height:1.6;text-shadow:0 1px 6px rgba(0,0,0,.5)}

/* HOW IT WORKS */
.how{background:var(--cream);padding:70px 0}
.how-inner{display:flex;align-items:center;gap:54px}
.how-img{flex:1}
.how-img img{width:100%;object-fit:cover;
  border-radius:55% 45% 48% 52% / 52% 55% 45% 48%;
  animation:blobMorph 16s ease-in-out infinite;animation-delay:-5s}
.how-text{flex:1}
.how-text h2{font-size:2.1rem;font-weight:600;margin-bottom:26px}
.how-steps{list-style:none;margin-bottom:26px}
.how-steps li{color:var(--muted);font-size:.95rem;margin-bottom:16px;max-width:430px}
.how-steps strong{color:var(--ink)}

/* CTA */
.cta{background:linear-gradient(105deg,#2a0f08 0%,#5a1410 45%,#3a0d09 100%);color:#fff;padding:70px 0}
.cta-inner{display:flex;align-items:center;justify-content:center;gap:60px;flex-wrap:wrap}
.cta-text{max-width:440px}
.cta-text h2{font-size:1.9rem;font-weight:600;margin-bottom:10px}
.cta-text p{color:rgba(255,255,255,.7);font-size:.95rem}

/* FOOTER */
.site-footer{background:#1a1a1c;color:#cfcfd3;padding:28px 0}
.footer-inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.site-footer .brand{color:#fff;font-size:1.1rem}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;margin-left:8px}
.footer-links a{font-size:.85rem;color:#b5b5bb}
.footer-links a:hover{color:#fff}
.footer-copy{margin-left:auto;font-size:.8rem;color:#7d7d83}

/* RESPONSIVE */
@media (max-width:900px){
  /* nav hamburger + dropdown handled by inlined NAV_CSS (see switcher.mjs) */
  .features-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .instant-inner,.how-inner{flex-direction:column;text-align:left;align-items:stretch}
  .instant-img{justify-content:center}
  .how-img{order:-1}
  .cta-inner{flex-direction:column;gap:28px;text-align:center}
  .footer-copy{margin-left:0;width:100%}
}
@media (max-width:520px){
  .nav-inner{gap:14px}
  .discount-overlay h2{font-size:1.7rem}
  .phone-shell{width:248px}
}
