:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --violet: #6657e8;
  --violet-dark: #4f46e5;
  --violet-soft: #f0efff;
  --navy: #101b46;
  --line: #e2e8f0;
  --white: #ffffff;
  --bg: #f8fafc;
  --radius: 20px;
  --shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
main { padding-top: 0; }

.display {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; position: relative; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

/* Animated background blobs */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: #c4b5fd; top: -120px; left: -80px; }
.blob-2 { width: 360px; height: 360px; background: #a5b4fc; top: 20%; right: -100px; animation-delay: -4s; }
.blob-3 { width: 280px; height: 280px; background: #ddd6fe; bottom: -60px; left: 30%; animation-delay: -8s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
  transform: translateY(-100%);
}
body.loaded .site-header { transform: translateY(0); }
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  transition: padding 0.3s;
}
.site-header.scrolled .nav-inner { padding: 10px 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102, 87, 232, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(102, 87, 232, 0); }
}
.nav-links { display: none; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--violet);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
  z-index: 0;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px rgba(102, 87, 232, 0.3); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--violet-dark)); color: white; }
.btn-outline { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-white { background: white; color: var(--violet); position: relative; z-index: 1; }

/* CTA buttons on dark background */
.cta-box .btn-white {
  background: #ffffff;
  color: var(--violet) !important;
}
.cta-box .btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  background: linear-gradient(180deg, #fafaff 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 16px 0;
}
.hero-lead { font-size: 1.125rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero text load animation */
.hero-text > * {
  opacity: 0;
  transform: translateY(30px);
}
body.loaded .hero-text > * {
  animation: heroIn 0.8s var(--ease-out) forwards;
}
body.loaded .hero-text > *:nth-child(1) { animation-delay: 0.1s; }
body.loaded .hero-text > *:nth-child(2) { animation-delay: 0.25s; }
body.loaded .hero-text > *:nth-child(3) { animation-delay: 0.4s; }
body.loaded .hero-text > *:nth-child(4) { animation-delay: 0.55s; }
body.loaded .hero-text > *:nth-child(5) { animation-delay: 0.7s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  transition: transform 0.15s ease-out;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}
body.loaded .hero-visual {
  animation: heroVisualIn 1s var(--ease-out) 0.5s forwards;
}
@keyframes heroVisualIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.15);
  background: var(--navy);
}
.hero-shot img { width: 100%; display: block; transition: transform 0.6s var(--ease-out); }
.hero-visual:hover .hero-shot img { transform: scale(1.03); }

.float-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
}
body.loaded .float-badge { animation: badgeIn 0.6s var(--ease-out) forwards, floatY 4s ease-in-out 1.2s infinite; }
.float-badge.b1 { top: -16px; right: -12px; animation-delay: 0.9s, 1.2s; }
.float-badge.b2 { bottom: 24px; left: -20px; animation-delay: 1.1s, 1.4s; }
.float-badge.b3 { bottom: -12px; right: 40px; animation-delay: 1.3s, 1.6s; }
.float-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.green { background: #22c55e; }
.dot.yellow { background: #eab308; }
.dot.violet { background: var(--violet); }

@keyframes badgeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(102, 87, 232, 0.12); }
.stat-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.marquee-track span::before {
  content: '✦';
  color: var(--violet);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards */
.card-grid { display: grid; gap: 20px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--violet-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(102, 87, 232, 0.12); border-color: #d4d0f7; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--violet-soft);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-out);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tick-list { list-style: none; padding: 0; margin: 16px 0 0; }
.tick-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s, transform 0.4s;
}
.card.is-visible .tick-list li,
.card:hover .tick-list li { opacity: 1; transform: translateX(0); }
.card.is-visible .tick-list li:nth-child(1),
.card:hover .tick-list li:nth-child(1) { transition-delay: 0.1s; }
.card.is-visible .tick-list li:nth-child(2),
.card:hover .tick-list li:nth-child(2) { transition-delay: 0.2s; }
.card.is-visible .tick-list li:nth-child(3),
.card:hover .tick-list li:nth-child(3) { transition-delay: 0.3s; }
.tick-list li::before { content: "✓"; color: var(--violet); font-weight: 800; margin-right: 8px; }

/* Feature blocks */
.feature-split {
  display: grid;
  gap: 48px;
  align-items: center;
}
.feature-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.feature-shot:hover { transform: scale(1.02); box-shadow: 0 32px 64px rgba(15, 23, 42, 0.14); }
.feature-shot img { width: 100%; display: block; transition: transform 0.6s var(--ease-out); }
.feature-shot:hover img { transform: scale(1.05); }

.bg-soft { background: #fafaff; }
.bg-lilac { background: var(--violet-soft); }

/* Demo progress bars */
.demo-progress { margin-top: 28px; }
.demo-progress-item { margin-bottom: 14px; }
.demo-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.demo-bar {
  height: 8px;
  background: #e8e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.demo-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 1.4s var(--ease-out);
}
.fill-green { background: linear-gradient(90deg, #22c55e, #4ade80); }
.fill-yellow { background: linear-gradient(90deg, #eab308, #facc15); }
.fill-orange { background: linear-gradient(90deg, #f97316, #fb923c); }
.fill-violet { background: linear-gradient(90deg, var(--violet), #a78bfa); }

/* Gallery */
.shot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.shot-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.shot-item:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12); }
.shot-item img { width: 100%; display: block; transition: transform 0.5s var(--ease-out); }
.shot-item:hover img { transform: scale(1.04); }

/* Compare */
.compare-grid { display: grid; gap: 20px; }
.compare-card {
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease-out);
}
.compare-card:hover { transform: translateY(-4px); }
.compare-bad { background: white; border: 1px solid #fecdd3; }
.compare-good {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: white;
  box-shadow: 0 24px 48px rgba(102, 87, 232, 0.25);
}
.compare-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.compare-card li {
  padding: 10px 0;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.compare-card.is-visible li { opacity: 1; transform: translateX(0); }
.compare-card.is-visible li:nth-child(1) { transition-delay: 0.1s; }
.compare-card.is-visible li:nth-child(2) { transition-delay: 0.2s; }
.compare-card.is-visible li:nth-child(3) { transition-delay: 0.3s; }
.compare-card.is-visible li:nth-child(4) { transition-delay: 0.4s; }
.compare-card.is-visible li:nth-child(5) { transition-delay: 0.5s; }

/* CTA */
.cta-box {
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), #1e2a5e);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(102,87,232,0.3), transparent 70%);
  top: -100px; right: -50px;
  animation: blobFloat 8s ease-in-out infinite;
}
.cta-box h2 { margin: 12px 0; font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; }
.cta-box p { color: #c7cce2; max-width: 520px; margin: 0 auto; position: relative; }
.cta-box .btn-wrap { position: relative; }

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer a { color: var(--violet); }

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate="fade-up"] { transform: translateY(50px); }
[data-animate="fade-down"] { transform: translateY(-50px); }
[data-animate="fade-left"] { transform: translateX(-60px); }
[data-animate="fade-right"] { transform: translateX(60px); }
[data-animate="zoom-in"] { transform: scale(0.85); }
[data-animate="flip-up"] { transform: perspective(600px) rotateX(15deg) translateY(40px); }
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--violet); box-shadow: 0 8px 20px rgba(102,87,232,0.12); }

/* Section title decoration */
.section-title-wrap { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.title-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--violet-dark));
  border-radius: 2px;
  margin: 16px auto 0;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out);
}
.section-title-wrap.is-visible .title-line { transform: scaleX(1); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-split { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .shot-grid { grid-template-columns: 1fr; }
  .float-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .hero-text > * { opacity: 1; transform: none; }
  .hero-visual { opacity: 1; transform: none; }
  .float-badge { opacity: 1; }
}
