:root {
  --ink: #14161a;
  --ink-soft: #3c414a;
  --paper: #fbfbf9;
  --paper-2: #f2f2ec;
  --green: #71a82f;
  --green-deep: #5c8f22;
  --green-ink: #0f2a00;
  --muted: #6b7280;
  --line: #e7e7e2;
  --card: #ffffff;
  --dark: #14171c;
  --dark-2: #1c2129;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(20, 22, 26, 0.10);
  --shadow-sm: 0 8px 24px rgba(20, 22, 26, 0.06);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hl { color: var(--green-deep); }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 800; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 12px 26px rgba(20,22,26,0.20); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 18px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px clamp(16px, 5vw, 60px);
  background: rgba(251,251,249,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand-logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: clamp(10px, 2vw, 26px); margin: 0 auto; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-weight: 700; color: var(--ink); }
.nav-login:hover { color: var(--green-deep); }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(36px, 7vw, 80px) clamp(16px, 5vw, 60px) clamp(30px, 5vw, 60px);
}
.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 12px; color: var(--green-deep); background: rgba(113,168,47,0.14);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.02; margin: 0 0 20px; font-weight: 900; letter-spacing: -1.2px; }
.lead { font-size: clamp(16px, 2.1vw, 20px); color: var(--ink-soft); max-width: 560px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-note { color: var(--muted); font-size: 14px; }

/* Phone */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.glow { position: absolute; inset: -40px; z-index: 0;
  background: radial-gradient(closest-side, rgba(113,168,47,0.20), transparent 70%),
              radial-gradient(closest-side at 70% 70%, rgba(120,98,216,0.14), transparent 70%); }
.phone {
  position: relative; z-index: 1; width: 300px; height: 620px; border-radius: 44px;
  background: linear-gradient(160deg, #1b1e17, #2b3029); padding: 12px; box-shadow: var(--shadow);
}
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #14161a; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: linear-gradient(180deg, #10231d, #0c1a16); }
.demo-screen { position: absolute; inset: 0; padding: 30px 16px 16px; color: #f4f7f2; opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; pointer-events: none; }
.demo-screen.active { opacity: 1; transform: none; pointer-events: auto; }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.d-title { font-size: 24px; font-weight: 900; }
.d-sub { font-size: 12px; color: #9fb4a3; }
.d-plus, .d-qplus { color: #73e2d0; font-size: 22px; font-weight: 900; }
.d-panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 11px; }
.d-task { display: flex; align-items: center; gap: 10px; }
.d-task.done { opacity: 0.5; }
.d-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #73e2d0; flex: none; display:grid; place-items:center; font-size:12px; color:#06110f; }
.d-check.c2 { border-color: #ffc978; }
.d-check.on { background: #4caf7d; border-color: #4caf7d; }
.d-bar { height: 9px; border-radius: 5px; background: rgba(255,255,255,0.22); }
.d-bar.dim { background: rgba(255,255,255,0.12); }
.w70 { width: 70%; } .w60 { width: 60%; } .w55 { width: 55%; }
.d-event { background: linear-gradient(90deg, rgba(200,182,255,0.9), rgba(200,182,255,0.6)); color: #1a1330; font-weight: 700; font-size: 12px; border-radius: 8px; padding: 8px 10px; }
.d-quick { margin-top: 12px; display:flex; align-items:center; justify-content:space-between; background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 12px 14px; font-size: 13px; color:#9fb4a3; }
.d-timeline { position: relative; height: 500px; margin-left: 22px; border-left: 1px solid rgba(255,255,255,0.14); }
.tl-h { position: absolute; left: -22px; font-size: 9px; color: rgba(255,255,255,0.4); }
.tl-b { position: absolute; left: 6px; right: 6px; border-radius: 6px; padding: 3px 7px; font-size: 10px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.d-wheel { display: grid; place-items: center; height: 500px; }
.d-wheel canvas { width: 250px; height: 250px; }
.phone-dots { display: flex; gap: 8px; z-index: 2; }
.pd { width: 8px; height: 8px; border-radius: 50%; background: rgba(20,22,26,0.18); cursor: pointer; transition: 0.2s; }
.pd.active { width: 22px; border-radius: 5px; background: var(--green); }

/* Section shell */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 60px); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.kicker { display: inline-block; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: var(--green-deep); margin-bottom: 14px; }
.kicker.light { color: rgba(255,255,255,0.7); }
h2 { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.08; margin: 0; font-weight: 900; letter-spacing: -0.6px; }
.section-sub { color: var(--muted); font-size: clamp(15px, 2vw, 18px); margin: 16px auto 0; max-width: 620px; }

/* PROBLEM */
.problem { text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.pain { display: flex; align-items: flex-start; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-size: 16px; font-weight: 600; box-shadow: var(--shadow-sm); }
.pain span { color: var(--ink-soft); font-weight: 500; }
.problem-punch { font-size: clamp(20px, 3vw, 28px); margin: clamp(30px,5vw,48px) auto 0; line-height: 1.4; }
.problem-punch b { color: var(--green-deep); }

/* SOLUTION */
.solution { max-width: 100%; background: linear-gradient(160deg, var(--dark), var(--dark-2)); color: #f3f4f0; border-radius: 0; }
.solution-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.solution h2 { color: #fff; }
.solution p { color: rgba(255,255,255,0.72); font-size: clamp(16px, 2.2vw, 21px); margin: 22px auto 0; max-width: 720px; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; background: rgba(113,168,47,0.12); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* FLOW */
.flow-track { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x proximity; }
.flow-step { scroll-snap-align: center; flex: 1 0 150px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; position: relative; box-shadow: var(--shadow-sm); }
.flow-step.accent { background: linear-gradient(160deg, rgba(113,168,47,0.16), rgba(113,168,47,0.05)); border-color: rgba(113,168,47,0.5); }
.fs-num { position: absolute; top: 10px; right: 14px; font-size: 12px; font-weight: 900; color: var(--line); }
.flow-step.accent .fs-num { color: rgba(113,168,47,0.5); }
.fs-ic { font-size: 30px; display: block; margin-bottom: 8px; }
.flow-step h4 { margin: 0 0 4px; font-size: 16px; }
.flow-step p { margin: 0; font-size: 12.5px; color: var(--muted); }
.flow-arrow { align-self: center; color: var(--green); font-weight: 900; font-size: 22px; flex: none; }

/* AI */
.ai { max-width: 100%; background: linear-gradient(160deg, #10231d, #0c1a16); color: #eef4ee; }
.ai-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ai h2 { color: #fff; }
.ai-lead { color: rgba(255,255,255,0.7); font-size: 18px; margin: 16px 0 24px; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ai-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: #eef4ee; }
.ai-list li span { font-size: 18px; }
.ai-chat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 84%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.ai-msg.user { align-self: flex-end; background: #73e2d0; color: #06231d; border-bottom-right-radius: 6px; }
.ai-msg.bot { align-self: flex-start; background: rgba(255,255,255,0.10); color: #eef4ee; border-bottom-left-radius: 6px; }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.why-card { background: linear-gradient(160deg, rgba(113,168,47,0.10), rgba(120,98,216,0.06)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.why-card.wide { grid-column: span 2; }
.why-card b { display: block; font-size: 20px; margin-bottom: 6px; }
.why-card span { color: var(--ink-soft); }

/* SHOTS */
.shot-row { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; width: 230px; margin: 0; scroll-snap-align: center; }
.shot-frame { border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #1b1e17, #2b3029); box-shadow: var(--shadow); }
.shot-frame img { border-radius: 24px; width: 100%; aspect-ratio: 9/19.5; object-fit: cover; background: #0c1a16; }
.shot figcaption { text-align: center; margin-top: 14px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* REVIEWS */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); }
.review p { font-size: 16.5px; line-height: 1.55; margin: 0 0 20px; }
.review footer { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--green-ink); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.review footer b { display: block; font-size: 15px; }
.review footer span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 22px 0; font-size: clamp(16px, 2.2vw, 19px); font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: inherit; }
.faq-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 900; transition: transform 0.2s; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--green); color: var(--green-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { margin: 0 0 22px; color: var(--ink-soft); font-size: 16px; }

/* FINAL */
.final { max-width: 100%; background: linear-gradient(160deg, var(--dark), #223018); color: #fff; text-align: center; }
.final-inner { max-width: 720px; margin: 0 auto; }
.final-logo { height: 46px; width: auto; margin: 0 auto 26px; filter: brightness(0) invert(1); opacity: 0.95; }
.final h2 { color: #fff; }
.final-quote { font-size: clamp(18px, 2.6vw, 24px); color: rgba(255,255,255,0.82); font-style: italic; margin: 22px 0 30px; line-height: 1.5; }
.final .btn-primary { background: var(--green); color: var(--green-ink); box-shadow: 0 14px 34px rgba(113,168,47,0.4); }
.final .btn-primary:hover { background: #7fbb36; }
.final-note { margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 14px; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 40px clamp(16px, 5vw, 60px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { height: 30px; width: auto; }
.footer-tag { color: var(--muted); font-weight: 600; }
.footer-links { display: flex; gap: 22px; margin-top: 4px; }
.footer-links a { color: var(--ink-soft); font-weight: 600; }
.footer-links a:hover { color: var(--green-deep); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* LOGIN MODAL */
.login-modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,22,26,0.55); display: grid; place-items: center; padding: 18px; backdrop-filter: blur(4px); }
.login-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.login-close { position: absolute; top: 16px; right: 16px; border: none; background: var(--paper-2); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.login-card h3 { margin: 0 0 6px; font-size: 24px; }
#id-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.id-input { font-size: 26px; font-weight: 900; letter-spacing: 8px; text-align: center; text-transform: uppercase; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: #fafafa; outline: none; }
.id-input:focus { border-color: var(--green); }
.id-status { min-height: 20px; font-weight: 700; font-size: 14px; margin-top: 6px; text-align: center; }
.id-status.err { color: #d14343; }
.id-status.ok { color: var(--green-deep); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .ai-inner { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .why-card.wide { grid-column: auto; }
}
@media (max-width: 520px) {
  .phone { width: 260px; height: 540px; }
  .nav-login { display: none; }
}
