/* ═══════════════════════════════════════════════════════════════
   RESEARCHMIND — Light Theme (Static, No Effects)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --text-primary: #0a0a0f;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;

  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-teal: #06b6d4;
  --accent-emerald: #10b981;

  --border-subtle: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-accent: rgba(59, 130, 246, 0.2);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

html { scroll-behavior: auto; }

body {
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: #2563eb; }

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-card-hover); }

.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.nav-brand-text span { color: var(--accent-blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.nav-links a.active-page { color: var(--accent-blue); background: rgba(59,130,246,0.06); }

.nav-cta {
  background: var(--accent-blue) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: #2563eb !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-tertiary);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #f2f6f6;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(45,212,191,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(6,182,212,0.06) 0%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.2) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: rgba(15,23,42,0.06);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #0a0a0f;
  text-shadow: 0 2px 32px rgba(255,255,255,0.6);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #0f766e 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: #1e293b;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 16px rgba(255,255,255,0.4);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-actions .btn-primary {
  background: #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(13,148,136,0.3);
}
.hero-actions .btn-primary:hover {
  background: #0f766e;
  box-shadow: 0 6px 25px rgba(13,148,136,0.4);
}

.hero-actions .btn-secondary {
  background: #ffffff;
  color: #0a0a0f;
  border: 1px solid #e2e8f0;
}
.hero-actions .btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* ─────────────────────────────────────────────
   Hero Video
───────────────────────────────────────────── */
.hero-video-wrapper {
  position: relative;
  width: min(1180px, 100%);
  margin: 70px auto 0;
  border-radius: 26px;
  overflow: hidden;

  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.85);

  box-shadow:
    0 30px 80px rgba(15,23,42,.12),
    0 12px 35px rgba(45,212,191,.12),
    inset 0 1px 0 rgba(255,255,255,.9);

  transition: all .45s cubic-bezier(.22,.61,.36,1);
}

.hero-video-wrapper::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(
      135deg,
      rgba(45,212,191,.55),
      rgba(96,165,250,.45),
      rgba(255,255,255,.9)
  );
  -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;
}

.hero-video-wrapper::after{
  content:"";
  position:absolute;
  inset:0;
  background:
      radial-gradient(circle at top,
          rgba(255,255,255,.22),
          transparent 55%);
  pointer-events:none;
}

.hero-video-wrapper video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;

  border-radius:inherit;
  cursor:pointer;
  transition:transform .8s ease, filter .45s ease;
}

/* Light reflection */
.hero-video-wrapper .shine{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(
      115deg,
      transparent 15%,
      rgba(255,255,255,.14) 45%,
      rgba(255,255,255,.18) 50%,
      rgba(255,255,255,.14) 55%,
      transparent 85%
  );
  transform:translateX(-130%);
  animation:heroShine 7s cubic-bezier(.4,.03,.6,1) infinite;
}

@keyframes heroShine{
  0%{ transform:translateX(-130%); }
  100%{ transform:translateX(160%); }
}

/* Play Button */
.video-play-hint{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:88px;
  height:88px;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);

  border:1px solid rgba(255,255,255,.95);

  box-shadow:
      0 12px 35px rgba(15,23,42,.18),
      0 0 0 12px rgba(255,255,255,.12);

  transition:.35s ease;
  pointer-events:none;
}

.video-play-hint::before{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.28);
  animation:heroPulse 2.5s infinite;
}

.video-play-hint svg{
  width:28px;
  height:28px;
  fill:#14b8a6;
  margin-left:4px;
}

/* Progress bar */
.video-bar{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  background:linear-gradient(transparent, rgba(0,0,0,.35));
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
  z-index:2;
}

.hero-video-wrapper.playing .video-bar{
  opacity:1;
}

.video-bar-track{
  flex:1;
  height:4px;
  background:rgba(255,255,255,.25);
  border-radius:4px;
  overflow:hidden;
  cursor:pointer;
  pointer-events:auto;
}

.video-bar-fill{
  height:100%;
  width:0%;
  background:#14b8a6;
  border-radius:4px;
  transition:width .1s linear;
}

.video-bar-time{
  font-size:.72rem;
  font-weight:500;
  color:rgba(255,255,255,.8);
  font-variant-numeric:tabular-nums;
  min-width:40px;
  text-align:right;
  pointer-events:auto;
  font-family:var(--font-mono);
}

@keyframes heroPulse{
  0%{
    transform:scale(.9);
    opacity:.9;
  }
  70%{
    transform:scale(1.18);
    opacity:0;
  }
  100%{
    opacity:0;
  }
}

.hero-video-wrapper.playing .video-play-hint,
.hero-video-wrapper.playing .shine,
.hero-video-wrapper.playing::before,
.hero-video-wrapper.playing::after{
  opacity:0;
  transition:opacity .35s ease;
}

/* Mobile */
@media (max-width:768px){

  .hero-video-wrapper{
    margin-top:48px;
    border-radius:18px;
  }

  .video-play-hint{
    width:68px;
    height:68px;
  }

  .video-play-hint svg{
    width:22px;
    height:22px;
  }
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.04);
  cursor: pointer;
}
.video-overlay.hidden { display: none; }

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-play-btn svg { width: 32px; height: 32px; fill: var(--accent-blue); margin-left: 4px; }

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  padding: 40px 0 24px;
  text-align: center;
}
.trust-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: -0.2px;
}

/* ── Section Shared ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.1;
  color: var(--text-primary);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Features Grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { border-color: var(--border-accent); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.blue { background: rgba(59,130,246,0.08); color: var(--accent-blue); }
.feature-icon.purple { background: rgba(139,92,246,0.08); color: var(--accent-purple); }
.feature-icon.teal { background: rgba(6,182,212,0.08); color: var(--accent-teal); }
.feature-icon.emerald { background: rgba(16,185,129,0.08); color: var(--accent-emerald); }
.feature-icon.amber { background: rgba(251,191,36,0.08); color: #d97706; }
.feature-icon.rose { background: rgba(244,63,94,0.08); color: #e11d48; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card { text-align: center; padding: 0 16px; }
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
}
.step-card:nth-child(1) .step-number { border-color: var(--accent-blue); color: var(--accent-blue); }
.step-card:nth-child(2) .step-number { border-color: var(--accent-purple); color: var(--accent-purple); }
.step-card:nth-child(3) .step-number { border-color: var(--accent-emerald); color: var(--accent-emerald); }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.testimonial-track {
  display: flex;
  width: max-content;
}

.testimonial-track-left {
  animation: scroll-left 40s linear infinite;
}

.testimonial-track-right {
  animation: scroll-right 40s linear infinite;
}

.testimonial-track-left:hover {
  animation-play-state: paused;
}

.testimonial-track-right:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-card {
  width: 260px;
  min-width: 260px;
  margin-right: 16px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: #fbbf24; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
}
.faq-item:last-of-type { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.faq-answer {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section { padding: 60px 0 80px; }
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  text-align: center;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 40px;
  background: var(--bg-body);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.footer-brand-name span { color: var(--accent-blue); }
.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-col a:hover { color: var(--accent-blue); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-social a:hover { color: var(--text-primary); }

/* ── Inner Pages ───────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.08;
}
.page-hero .gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.content-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}
.content-nav a:hover { color: var(--text-primary); border-color: var(--border-hover); background: var(--bg-card-hover); }
.content-nav a.active-nav {
  color: var(--accent-blue);
  border-color: rgba(59,130,246,0.2);
  background: rgba(59,130,246,0.06);
}
.content-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
}
.content-section:first-of-type { border-top: none; }
.content-section h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 28px 0 12px;
}
.content-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 8px;
}
.content-section p,
.content-section li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 72ch;
}
.content-section p { margin-bottom: 14px; }
.content-section ul, .content-section ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.content-section li { margin-bottom: 6px; }
.content-section a {
  color: var(--accent-blue);
  text-decoration: underline;
}
.content-section a:hover { opacity: 0.8; }
.content-note {
  padding: 16px 20px;
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-md);
  background: rgba(59,130,246,0.02);
  margin: 16px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.content-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.content-back:hover { color: var(--accent-blue); }

/* ── Blog & Features Detail ────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-card-image {
  width: 100%;
  height: 180px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}
.blog-card-body { padding: 24px; }
.blog-card-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(59,130,246,0.06);
  color: var(--accent-blue);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.blog-card-date {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}
.blog-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.blog-card-featured .blog-card-image { height: 100%; min-height: 240px; }
.blog-card-featured .blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
}
.feature-detail-grid:first-of-type { border-top: none; }
.feature-detail-grid.reversed { direction: rtl; }
.feature-detail-grid.reversed > * { direction: ltr; }
.feature-detail-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.feature-detail-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-detail-text ul { list-style: none; }
.feature-detail-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 5px 0;
}
.feature-detail-text li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-detail-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  overflow: hidden;
}
.feature-icon-large {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.feature-icon-large.blue { background: rgba(59,130,246,0.08); color: var(--accent-blue); }
.feature-icon-large.purple { background: rgba(139,92,246,0.08); color: var(--accent-purple); }
.feature-icon-large.teal { background: rgba(6,182,212,0.08); color: var(--accent-teal); }
.feature-icon-large.emerald { background: rgba(16,185,129,0.08); color: var(--accent-emerald); }
.feature-icon-large.amber { background: rgba(251,191,36,0.08); color: #d97706; }
.feature-icon-large.rose { background: rgba(244,63,94,0.08); color: #e11d48; }

.ai-modes-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.ai-mode-chip {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ai-mode-chip strong { color: var(--accent-blue); }
.ai-mode-chip span { color: var(--text-tertiary); font-size: 0.7rem; }

.specs-panel {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.specs-panel-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.specs-grid h4 {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.specs-grid p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.specs-hint {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.8;
}
.specs-hint code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-md);
}
.pricing-card.featured::before {
  content: 'Best Value';
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent-blue);
  color: white;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}
.pricing-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-tertiary);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}
.pricing-btn { width: 100%; }

/* ── Download ───────────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.download-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.download-icon svg { width: 28px; height: 28px; }
.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.download-desc {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.download-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { width: 220px; min-width: 220px; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .feature-detail-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .feature-detail-grid { grid-template-columns: 1fr; }
  .feature-detail-grid.reversed { direction: ltr; }
  .blog-card-featured { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; height: 56px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .download-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonial-card { width: 220px; min-width: 220px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-card { padding: 40px 24px; }
  .specs-grid { grid-template-columns: 1fr; }
  .content-shell { padding: 20px 16px 60px; }
  .page-hero { padding: 120px 0 40px; }
  .pricing-card.featured::before { top: 8px; right: 8px; font-size: 0.5rem; padding: 2px 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-divider { display: none; }
}