/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --ink:       #111827;
  --ink-2:     #374151;
  --ink-3:     #6B7280;
  --ink-4:     #9CA3AF;
  --line:      #E5E7EB;
  --line-2:    #F3F4F6;
  --surface:   #F9FAFB;
  --white:     #ffffff;
  --accent:    #4F46E5;
  --accent-lt: #EEF2FF;
  --green:     #059669;
  --green-lt:  #ECFDF5;
  --amber:     #D97706;
  --amber-lt:  #FFFBEB;
  --red:       #DC2626;
  --red-lt:    #FEF2F2;
  --blue:      #2563EB;
  --blue-lt:   #EFF6FF;
  --r:         12px;
  --r-sm:      8px;
  --r-lg:      20px;
}

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; cursor: pointer;
  border: none; transition: all .18s ease; white-space: nowrap;
}
.btn-dark {
  background: var(--ink); color: #fff;
}
.btn-dark:hover { background: #1f2937; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.btn-outline {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-accent {
  background: var(--accent); color: #fff;
}
.btn-accent:hover { background: #4338CA; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,.3); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--r); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  height: 60px; display: flex; align-items: center; gap: 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--ink); margin-right: auto;
}
.nav-logo strong { color: var(--accent); font-weight: 700; }
.nav-logo-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 30px; height: 30px; object-fit: contain; flex-shrink: 0;
}
.nav-links { display: flex; gap: 4px; margin-right: 20px; }
.nav-links a {
  color: var(--ink-3); font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--line-2); }
.nav-links a.active { color: var(--ink); }
.nav-cta { padding: 8px 18px; font-size: 14px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink-2); border-radius: 2px; transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column;
  padding: 8px 16px 16px; border-top: 1px solid var(--line);
  background: #fff;
}
.nav-mobile a {
  padding: 12px 4px; color: var(--ink-2); font-size: 15px;
  border-bottom: 1px solid var(--line-2);
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 8px; }
.nav-mobile.open { display: flex; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-lt); color: var(--accent);
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 17px; color: var(--ink-3);
  max-width: 460px; margin-bottom: 36px; line-height: 1.75;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-proof {
  display: flex; align-items: center; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.proof-item { display: flex; flex-direction: column; }
.proof-num { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1; }
.proof-label { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.proof-sep { width: 1px; height: 32px; background: var(--line); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-wrap { position: relative; }
.phone-frame {
  width: 248px; height: 504px;
  background: #fff; border-radius: 38px;
  border: 1px solid #D1D5DB;
  box-shadow:
    0 0 0 6px #F9FAFB,
    0 0 0 7px #E5E7EB,
    0 32px 64px rgba(0,0,0,.12),
    0 8px 24px rgba(0,0,0,.06);
  overflow: hidden; position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.phone-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 36px; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 20px; background: #fff; border-radius: 10px; z-index: 10;
  box-shadow: 0 1px 0 #E5E7EB;
}
/* Subtle reflection */
.phone-frame::after {
  content: ''; position: absolute; inset: 0; border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  pointer-events: none; z-index: 5;
}

/* ── Ticker ───────────────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.ticker { display: flex; gap: 48px; width: max-content; animation: ticker 80s linear infinite; }
.ticker span { font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Section base ─────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 60px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--ink-3); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature-card {
  background: #fff; padding: 36px 32px;
  transition: background .2s;
}
.feature-card:hover { background: var(--surface); }
.f-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.f-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

/* ── AI Tools ─────────────────────────────────────────────────────────────── */
.tools-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 64px; }
.tool-tag {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 15px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: border-color .15s, color .15s;
}
.tool-tag:hover { border-color: var(--accent); color: var(--accent); }
.tool-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* AI demo split */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-demo-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.chat-row { display: flex; flex-direction: column; gap: 14px; }
.bubble {
  padding: 12px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.6; max-width: 88%;
}
.bubble-user {
  background: var(--ink); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.bubble-ai {
  background: var(--surface); color: var(--ink);
  border-bottom-left-radius: 4px; align-self: flex-start;
  border: 1px solid var(--line);
}
.ai-sender {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px;
}
.ai-text-side h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.ai-text-side p { font-size: 15px; color: var(--ink-3); line-height: 1.75; margin-bottom: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 14px; flex-shrink: 0; }

/* ── Screenshots ──────────────────────────────────────────────────────────── */
.ss-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 48px; }
.ss-tab {
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-3); cursor: pointer; transition: all .15s;
}
.ss-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.ss-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ss-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; }
.ss-phone {
  width: 240px; height: 488px; background: #fff;
  border-radius: 36px; border: 1px solid #D1D5DB;
  box-shadow: 0 0 0 5px #F9FAFB, 0 0 0 6px #E5E7EB, 0 24px 48px rgba(0,0,0,.1);
  overflow: hidden; position: relative;
}
.ss-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .25s; }
.ss-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 17px; background: #fff; border-radius: 9px; z-index: 10;
  box-shadow: 0 1px 0 #E5E7EB;
}
.ss-text h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.ss-text p { font-size: 16px; color: var(--ink-3); line-height: 1.75; }

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.steps-row::before {
  content: ''; position: absolute; top: 28px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 1px; background: var(--line); z-index: 0;
}
.step-item { padding: 0 24px; text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 15px; font-weight: 800; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.step-item h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.testi-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card blockquote { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.testi-author span { font-size: 12px; color: var(--ink-4); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; gap: 16px;
}
.faq-icon { font-size: 20px; color: var(--ink-3); flex-shrink: 0; transition: transform .25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--ink-3); line-height: 1.75;
  transition: max-height .3s ease, padding .3s ease; padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── Download CTA ─────────────────────────────────────────────────────────── */
.download-section {
  background: var(--ink); padding: 96px 0;
}
.download-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.download-text h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -.02em; color: #fff; margin-bottom: 14px;
}
.download-text p { font-size: 16px; color: #9CA3AF; margin-bottom: 36px; max-width: 440px; line-height: 1.75; }
.download-text strong { color: #fff; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r); padding: 13px 22px;
  color: #fff; transition: all .18s; cursor: pointer;
}
.store-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.store-btn-off { opacity: .45; cursor: not-allowed; }
.store-btn-off:hover { transform: none; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.store-sub { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.store-name { display: block; font-size: 15px; font-weight: 700; }
.dl-phone {
  width: 200px; height: 408px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.15); overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,.4);
}
.dl-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--ink-4); margin-top: 10px; max-width: 240px; line-height: 1.65; }
.footer-cols { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--ink-3); transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-4);
}
.footer-bottom a { color: var(--ink-4); transition: color .15s; }
.footer-bottom a:hover { color: var(--ink); }

/* ── Scroll animations ────────────────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
  .hero-title, .hero-sub { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .ai-split { grid-template-columns: 1fr; gap: 40px; }
  .ss-layout { grid-template-columns: 1fr; justify-items: center; }
  .ss-text { text-align: center; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .download-inner { grid-template-columns: 1fr; }
  .dl-phone { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .phone-frame { width: 220px; height: 448px; }
}
