* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --bg-dark: #0f172a;
  --text: #111827;
  --muted: #4b5563;
  --accent: #1e3a5f;
  --accent-2: #3b5b8a;
  --border: #e2e6ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); opacity: 0.95; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--accent); }

.hero-visual {
  display: flex;
  justify-content: center;
}

.chat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-4deg);
  transition: transform 0.4s;
}

.chat-card:hover { transform: perspective(1000px) rotateY(0deg); }

.chat-q {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.chat-a {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.chat-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Sections */
.problem, .how, .features, .audience, .stats, .faq {
  padding: 100px 0;
}

.problem { background: var(--bg); }
.how { background: var(--bg-soft); }
.features { background: var(--bg); }
.audience { background: var(--bg-soft); }
.stats { background: var(--accent); color: #fff; }
.faq { background: var(--bg); }

.problem h2, .how h2, .features h2, .audience h2, .faq h2, .cta-band h2 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.problem p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 820px;
  line-height: 1.7;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.steps h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-2);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.audience-card:hover { transform: translateY(-4px); }

.audience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--accent);
}

.audience-card p {
  color: var(--muted);
  font-size: 1rem;
}

/* Stats */
.stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.stat { flex: 1; min-width: 160px; }

.stat-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.faq details:hover { box-shadow: var(--shadow-lg); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
}

.cta-band h2 { margin-bottom: 28px; color: #fff; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.x-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.x-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.x-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--accent);
  text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

.footer-col p { margin-bottom: 6px; }

/* Parallax base */
[data-parallax] {
  will-change: transform;
}

/* Fade-in (CSS-only, no JS dependency) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
section {
  animation: fadeInUp 0.7s ease both;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.8rem; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
  .chat-card { transform: none; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .problem h2, .how h2, .features h2, .audience h2, .faq h2, .cta-band h2 { font-size: 2rem; }
  .container { padding: 0 20px; }
}


/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.showcase {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg-soft);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.showcase p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}

.showcase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Mockup */
.mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
  transition: transform 0.5s;
}

.mockup:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mockup-bar {
  height: 36px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mockup-bar::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840;
}

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-q {
  background: var(--bg-soft);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.mockup-a {
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 24px;
}

/* Compare */
.compare {
  padding: 100px 0;
  background: var(--bg);
}

.compare-table {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 0.95rem;
}

.compare-row:last-child { border-bottom: none; }

.compare-head {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
}

.compare-row div:first-child { font-weight: 500; }

.yes { color: #16a34a; font-weight: 700; }
.no { color: #dc2626; font-weight: 700; }
.partial { color: #d97706; font-weight: 700; }

/* Roadmap */
.roadmap {
  padding: 100px 0;
  background: var(--bg-soft);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.roadmap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.roadmap-card:hover { transform: translateY(-4px); }

.roadmap-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.roadmap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.roadmap-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive additions */
@media (max-width: 900px) {
  .showcase-inner { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 0.85rem; padding: 14px 16px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .mockup { transform: none; }
}


/* Extra Three.js backgrounds */
.showcase-bg, .stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.showcase-bg canvas, .stats-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.showcase-inner, .stats-inner {
  position: relative;
  z-index: 1;
}

.stats {
  position: relative;
  overflow: hidden;
}
