:root {
  --green: #1BD741;
  --green-dark: #16B536;
  --green-light: #4EE866;
  --white: #FFFFFF;
  --slate: #374151;
  --neutral: #F5F6F7;
  --dark: #121212;
  --dark2: #1a1a1a;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--dark); color: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
nav.scrolled {
  background: rgba(27,215,65,0.97); backdrop-filter: blur(10px);
  padding: 14px 64px; box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.88); text-decoration: none; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.65; }
.btn-nav {
  background: rgba(0,0,0,0.55); color: #fff; border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px; padding: 10px 22px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-nav:hover { background: rgba(0,0,0,0.8); border-color: rgba(255,255,255,0.5); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
#hero {
  background: var(--green);
  min-height: 100vh; display: flex; align-items: center;
  padding: 110px 64px 80px; position: relative; overflow: hidden;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  animation: orb-float linear infinite;
}
@keyframes orb-float {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(25px,-30px) scale(1.04); }
  66%  { transform: translate(-15px,-20px) scale(0.96); }
  100% { transform: translate(0,0) scale(1); }
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 60px; }
.hero-copy { flex: 1; position: relative; z-index: 2; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px; padding: 6px 18px; font-size: 12px; font-weight: 700;
  color: #fff; margin-bottom: 28px; letter-spacing: 0.2px;
  animation: fadeUp 0.6s ease both;
}
.pulse { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.75); } }
.hero-h1 {
  font-size: 68px; font-weight: 900; line-height: 1.02; letter-spacing: -2px;
  color: #fff; margin-bottom: 22px;
  animation: fadeUp 0.65s 0.1s ease both;
}
.hero-sub {
  font-size: 18px; font-weight: 400; line-height: 1.65;
  color: rgba(255,255,255,0.82); margin-bottom: 40px; max-width: 430px;
  animation: fadeUp 0.65s 0.18s ease both;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.65s 0.26s ease both; }
.store-btn {
  display: inline-flex; align-items: center; gap: 13px;
  background: rgba(0,0,0,0.82); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.14); border-radius: 14px;
  padding: 13px 22px; text-decoration: none;
  transition: all 0.25s;
}
.store-btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.sbl { font-size: 10px; opacity: 0.75; display: block; font-weight: 400; }
.sbn { font-size: 17px; font-weight: 800; display: block; }
.hero-stats {
  display: flex; gap: 44px; margin-top: 52px;
  animation: fadeUp 0.65s 0.34s ease both;
}
.stat-v { font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.stat-l { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 5px; line-height: 1.4; }

/* ── PHONE MOCKUP (hero) ── */
.hero-phone { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; animation: fadeUp 0.75s 0.2s ease both; }
.phone-wrap { position: relative; }
.phone-frame {
  width: 230px; height: 470px;
  background: var(--dark); border-radius: 40px;
  border: 2.5px solid #333;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden; position: relative;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; background: var(--dark); border-radius: 11px; z-index: 10;
}
.phone-screen { width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; }
.papp-bar {
  background: var(--green); padding: 42px 16px 14px; text-align: center;
}
.papp-name { font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.papp-tag { font-size: 10px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.papp-body { background: var(--neutral); flex: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.papp-lbl { font-size: 10px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.6px; }
.papp-input {
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 8px;
  padding: 10px 12px; display: flex; align-items: center; gap: 8px;
}
.papp-cursor { width: 2px; height: 15px; background: var(--green); animation: blink 0.9s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.papp-num { font-size: 14px; font-weight: 700; color: var(--dark); flex: 1; }
.papp-cta {
  background: var(--green); color: #fff; border-radius: 8px;
  padding: 13px; font-size: 13px; font-weight: 800;
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.papp-recents-title { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.5px; }
.papp-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #f3f4f6; }
.papp-av {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 800; flex-shrink: 0;
}
.papp-num-sm { font-size: 11px; font-weight: 600; color: var(--dark); }
.papp-time { font-size: 10px; color: #9ca3af; margin-left: auto; }

/* Floating WA notification */
.wa-notif {
  position: absolute; bottom: -24px; right: -52px;
  background: #fff; border-radius: 18px; padding: 12px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  display: flex; align-items: center; gap: 11px; min-width: 178px;
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.wa-icon {
  width: 38px; height: 38px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-notif-title { font-size: 12px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.wa-notif-sub { font-size: 10px; color: #6b7280; }

@keyframes fadeUp { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }

/* ── FEATURES ── */
#features { background: var(--dark); padding: 110px 64px; }
.section-wrap { max-width: 1200px; margin: 0 auto; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,215,65,0.1); border: 1px solid rgba(27,215,65,0.3);
  border-radius: 9999px; padding: 5px 15px; font-size: 12px; font-weight: 700;
  color: var(--green); margin-bottom: 20px; letter-spacing: 0.2px;
}
.section-h2 { font-size: 44px; font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.section-p { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 500px; margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: #0f0f0f; border: 1px solid #1e1e1e; border-radius: 16px;
  padding: 32px 28px; transition: all 0.3s; cursor: default;
}
.fcard:hover { border-color: var(--green); transform: translateY(-5px); box-shadow: 0 12px 36px rgba(27,215,65,0.12); }
.fcard-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(27,215,65,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 22px; transition: background 0.3s;
}
.fcard:hover .fcard-icon { background: rgba(27,215,65,0.2); }
.fcard-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -0.3px; }
.fcard-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── HOW IT WORKS ── */
#hiw { background: var(--neutral); padding: 110px 64px; }
#hiw .section-h2 { color: var(--dark); }
#hiw .section-p { color: rgba(0,0,0,0.52); }
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.step {
  padding: 22px 24px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.3s; background: transparent;
}
.step.on { background: #fff; border-color: var(--green); box-shadow: 0 4px 24px rgba(27,215,65,0.12); }
.step-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.07); border: 2px solid #d1d5db;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #9ca3af; flex-shrink: 0; transition: all 0.3s;
}
.step.on .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-title { font-size: 16px; font-weight: 800; color: #9ca3af; transition: color 0.3s; }
.step.on .step-title { color: var(--dark); }
.step-desc { font-size: 14px; color: rgba(0,0,0,0.5); line-height: 1.65; padding-left: 50px; display: none; }
.step.on .step-desc { display: block; }
.hiw-phone-col { display: flex; justify-content: center; align-items: center; position: relative; }
.hiw-frame {
  width: 250px; height: 510px; background: var(--dark); border-radius: 44px;
  border: 2.5px solid var(--slate); overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.22); position: relative;
}
.hiw-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; background: var(--dark); border-radius: 11px; z-index: 10;
}
.hscreen { display: none; width: 100%; height: 100%; flex-direction: column; }
.hscreen.on { display: flex; }
/* screen 0 */
.hs0-bar { background: var(--green); padding: 52px 18px 16px; text-align: center; }
.hs0-name { font-size: 16px; font-weight: 900; color: #fff; }
.hs0-tag { font-size: 10px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.hs0-body { background: var(--neutral); flex: 1; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.hs0-lbl { font-size: 10px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.6px; }
.hs0-inp { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 12px; font-size: 13px; color: #9ca3af; display: flex; align-items: center; gap: 7px; }
.hs0-btn { background: var(--green); color: #fff; border-radius: 8px; padding: 13px; font-size: 13px; font-weight: 800; text-align: center; }
/* screen 1 */
.hs1-inp { background: #fff; border: 2px solid var(--green); border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 7px; box-shadow: 0 0 0 3px rgba(27,215,65,0.1); }
.hs1-valid { font-size: 11px; color: var(--green); font-weight: 600; padding-left: 4px; }
/* screen 2 = WA chat */
.wa-chat-bar { background: #1f2c34; padding: 52px 16px 12px; display: flex; align-items: center; gap: 12px; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #2a3942; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.wa-contact-name { font-size: 14px; font-weight: 700; color: #fff; }
.wa-contact-status { font-size: 11px; color: #8696a0; }
.wa-body { flex: 1; background: #0b141a; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.wa-msg { background: #005c4b; padding: 9px 13px; border-radius: 12px 12px 2px 12px; max-width: 80%; align-self: flex-end; }
.wa-msg-txt { font-size: 13px; color: #fff; }
.wa-msg-meta { font-size: 10px; color: #8696a0; text-align: right; margin-top: 3px; }
.wa-bar { background: #1f2c34; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.wa-input-mock { flex: 1; background: #2a3942; border-radius: 20px; padding: 10px 14px; font-size: 12px; color: #8696a0; }
.wa-send { width: 38px; height: 38px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hiw-dots { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }
.hiw-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9d2dc; cursor: pointer; transition: all 0.3s; }
.hiw-dot.on { background: var(--green); width: 22px; border-radius: 4px; }

/* ── STATS ── */
#stats { background: var(--dark); padding: 90px 64px; }
.stats-row { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; text-align: center; }
.stat-big { font-size: 54px; font-weight: 900; color: var(--green); letter-spacing: -2px; line-height: 1; }
.stat-desc { font-size: 14px; color: rgba(255,255,255,0.42); margin-top: 10px; line-height: 1.5; }

/* ── DEMO ── */
#demo { background: #0d0d0d; padding: 110px 64px; }
.demo-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.demo-card { background: #141414; border: 1px solid #222; border-radius: 20px; padding: 36px; }
.demo-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.demo-sub { font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 26px; }
.demo-field { position: relative; margin-bottom: 13px; }
.demo-flag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; }
.demo-input {
  width: 100%; background: #0a0a0a; border: 1.5px solid #2a2a2a;
  border-radius: 10px; padding: 15px 14px 15px 46px;
  font-size: 16px; font-weight: 700; color: #fff; outline: none;
  transition: border-color 0.2s; font-family: var(--font);
}
.demo-input:focus { border-color: var(--green); }
.demo-input::placeholder { color: #3a3a3a; font-weight: 400; }
.demo-btn {
  width: 100%; background: var(--green); color: #fff; border: none;
  border-radius: 10px; padding: 15px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.demo-btn:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(27,215,65,0.35); }
.demo-note { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 13px; line-height: 1.5; }

/* ── DOWNLOAD CTA ── */
#download { background: var(--green); padding: 110px 64px; text-align: center; position: relative; overflow: hidden; }
.dl-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dl-tag { background: rgba(0,0,0,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.dl-h2 { font-size: 56px; font-weight: 900; letter-spacing: -2px; color: #fff; max-width: 680px; margin: 0 auto 18px; line-height: 1.05; }
.dl-sub { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 52px; line-height: 1.65; }
.dl-btns { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #080808; padding: 36px 64px; border-top: 1px solid #181818; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo img { height: 28px; width: auto; display: block; }
.footer-tagline { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 3px; }
.footer-links { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-credit { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #hero { padding: 100px 24px 64px; }
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-h1 { font-size: 46px; }
  .hero-phone { order: -1; }
  .phone-frame { width: 200px; height: 420px; }
  #features, #hiw, #demo, #download { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .hiw-layout { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 30px; }
  #stats { padding: 64px 24px; }
  footer { padding: 28px 24px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .dl-h2 { font-size: 38px; }
  .dl-sub { font-size: 16px; }
  .hero-stats { gap: 28px; }
  .wa-notif { display: none; }
}
