/* ============================================================
   DocForge 文稿工坊 — Commercial Landing Page Styles
   Design: Modern SaaS + Glassmorphism
   ============================================================ */

/* ----- Design Tokens ----- */
:root {
  /* Brand */
  --brand: #2563EB;
  --brand-dark: #1D4ED8;
  --brand-light: #3B82F6;
  --brand-pale: #EFF6FF;
  --brand-glow: #60A5FA;
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-pale: #F5F3FF;

  /* Feature accents */
  --accent-green: #10B981;
  --accent-green-light: #D1FAE5;
  --accent-orange: #F97316;
  --accent-orange-light: #FFF7ED;
  --accent-pink: #EC4899;
  --accent-pink-light: #FDF2F8;
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #ECFEFF;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FFFBEB;

  /* Neutrals (Light) */
  --bg: #F8FAFC;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --surface: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Navbar */
  --nav-bg: rgba(255,255,255,0.72);
  --nav-border: rgba(226,232,240,0.6);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.3);
  --glass-blur: 16px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --container-max: 1200px;
  --section-py: 120px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
  --shadow-brand: 0 8px 24px rgba(37,99,235,0.25);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);

  /* Hero theme tokens (light) */
  --hero-bg-1: #EFF6FF;
  --hero-bg-2: #F0F0FF;
  --hero-bg-3: var(--bg);
  --hero-text: var(--text);
  --hero-text-sub: var(--text-secondary);
  --hero-text-muted: var(--text-muted);
  --hero-badge-bg: var(--brand-pale);
  --hero-badge-border: rgba(37,99,235,0.12);
  --hero-badge-color: var(--brand);
  --hero-dot-color: var(--brand);
  --hero-highlight-from: var(--brand);
  --hero-highlight-via: var(--purple);
  --hero-highlight-to: var(--accent-pink);
  --hero-win-bg: var(--bg-card);
  --hero-win-border: var(--border);
  --hero-win-shadow: 0 25px 80px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
  --hero-bar-bg: var(--surface);
  --hero-bar-border: var(--border);
  --hero-bar-text: var(--text-muted);
  --hero-bar-text-done: var(--brand);
  --hero-bar-text-active: var(--text);
  --hero-dot-bg: var(--border);
  --hero-dot-done: var(--brand);
  --hero-dot-active: #F59E0B;
  --hero-line-bg: var(--border-light);
  --hero-line-done: var(--brand);
  --hero-sidebar-bg: var(--surface);
  --hero-sidebar-border: var(--border);
  --hero-sidebar-text: var(--text-muted);
  --hero-sidebar-text-active: var(--text);
  --hero-sidebar-active-bg: var(--brand-pale);
  --hero-sidebar-done: var(--brand);
  --hero-sidebar-gen: #F59E0B;
  --hero-doc-text: var(--text-secondary);
  --hero-doc-title: var(--text);
  --hero-doc-muted: var(--text-muted);
  --hero-doc-gen: #F59E0B;
  --hero-float-bg: rgba(255,255,255,0.85);
  --hero-float-border: rgba(226,232,240,0.6);
  --hero-float-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --hero-float-label: var(--text);
  --hero-float-sub: var(--text-muted);
  --hero-stats-bg: rgba(255,255,255,0.6);
  --hero-stats-border: rgba(226,232,240,0.4);
  --hero-stats-label: var(--text-muted);
  --hero-grid-color: rgba(0,0,0,0.04);
  --hero-glow-color: rgba(37,99,235,0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ----- Dark Mode ----- */
[data-theme="dark"] {
  --bg: #0B1120;
  --bg-alt: #111827;
  --bg-card: #1E293B;
  --surface: #1E293B;
  --border: #334155;
  --border-light: #1E293B;
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --brand-pale: rgba(37,99,235,0.12);
  --purple-pale: rgba(124,58,237,0.12);
  --accent-green-light: rgba(16,185,129,0.12);
  --accent-orange-light: rgba(249,115,22,0.12);
  --accent-pink-light: rgba(236,72,153,0.12);
  --accent-cyan-light: rgba(6,182,212,0.12);
  --accent-amber-light: rgba(245,158,11,0.12);

  --nav-bg: rgba(11,17,32,0.72);
  --nav-border: rgba(51,65,85,0.6);

  --glass-bg: rgba(30,41,59,0.6);
  --glass-border: rgba(51,65,85,0.4);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.5);

  /* Hero theme tokens (dark) */
  --hero-bg-1: #070B14;
  --hero-bg-2: #0B1120;
  --hero-bg-3: #111827;
  --hero-text: #F1F5F9;
  --hero-text-sub: #94A3B8;
  --hero-text-muted: #64748B;
  --hero-badge-bg: rgba(37,99,235,0.12);
  --hero-badge-border: rgba(96,165,250,0.2);
  --hero-badge-color: #60A5FA;
  --hero-dot-color: #60A5FA;
  --hero-highlight-from: #60A5FA;
  --hero-highlight-via: #A78BFA;
  --hero-highlight-to: #F472B6;
  --hero-win-bg: #1E293B;
  --hero-win-border: rgba(148,163,184,0.1);
  --hero-win-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  --hero-bar-bg: #0F172A;
  --hero-bar-border: rgba(148,163,184,0.08);
  --hero-bar-text: #475569;
  --hero-bar-text-done: #60A5FA;
  --hero-bar-text-active: #FFFFFF;
  --hero-dot-bg: #334155;
  --hero-dot-done: #60A5FA;
  --hero-dot-active: #F59E0B;
  --hero-line-bg: #1E293B;
  --hero-line-done: #60A5FA;
  --hero-sidebar-bg: #0F172A;
  --hero-sidebar-border: rgba(148,163,184,0.08);
  --hero-sidebar-text: #475569;
  --hero-sidebar-text-active: #E2E8F0;
  --hero-sidebar-active-bg: rgba(37,99,235,0.08);
  --hero-sidebar-done: #60A5FA;
  --hero-sidebar-gen: #F59E0B;
  --hero-doc-text: #CBD5E1;
  --hero-doc-title: #F1F5F9;
  --hero-doc-muted: #64748B;
  --hero-doc-gen: #F59E0B;
  --hero-float-bg: rgba(30,41,59,0.9);
  --hero-float-border: rgba(148,163,184,0.1);
  --hero-float-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --hero-float-label: #F1F5F9;
  --hero-float-sub: #64748B;
  --hero-stats-bg: rgba(30,41,59,0.5);
  --hero-stats-border: rgba(148,163,184,0.08);
  --hero-stats-label: #64748B;
  --hero-grid-color: rgba(255,255,255,0.03);
  --hero-glow-color: rgba(37,99,235,0.08);
}

/* ----- Reset & Base ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color var(--duration-slow) ease, color var(--duration-slow) ease;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-py) 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 50%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gradient-warm {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-pink) 50%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ----- Section Header ----- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  background: var(--brand-pale); padding: 5px 16px; border-radius: var(--radius-full);
  margin-bottom: 16px; letter-spacing: 0.02em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-desc { font-size: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: var(--radius-md); cursor: pointer; white-space: nowrap;
  transition: all var(--duration-normal) var(--ease-in-out); border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(37,99,235,0.4); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text); border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-pale); }
.btn-outline-light {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-light { background: white; color: var(--brand); box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.btn-light:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.18); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-pale); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: all var(--duration-normal) ease;
}
.navbar.scrolled {
  background: var(--nav-bg); backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur)); border-bottom: 1px solid var(--nav-border);
}
.navbar-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { line-height: 0; }
.brand-text { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { font-weight: 400; font-size: 14px; color: var(--text-muted); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  border-radius: var(--radius-sm); transition: all var(--duration-fast);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px;
  background: var(--brand); border-radius: 1px; transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none; width: 40px; height: 40px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; border-radius: var(--radius-sm);
}
.hamburger-line {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 16px 32px 24px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.mobile-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  padding: 12px 16px; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm);
  color: var(--text-secondary); transition: all var(--duration-fast);
}
.mobile-nav-link:hover { background: var(--surface); color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 40%, var(--hero-bg-3) 100%);
  color: var(--hero-text);
}
.hero-bg-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(120px); }
.hero-blob-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%);
  top: -30%; left: -15%; animation: blobFloat 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 60%);
  top: -10%; right: -10%; animation: blobFloat 12s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, transparent 60%);
  bottom: -10%; left: 30%; animation: blobFloat 14s ease-in-out infinite;
}
@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); }
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

/* Hero top — centered headline */
.hero-top { text-align: center; max-width: 720px; margin-bottom: 48px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--hero-badge-color); background: var(--hero-badge-bg); padding: 6px 18px;
  border-radius: var(--radius-full); margin-bottom: 28px;
  border: 1px solid var(--hero-badge-border);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hero-dot-color);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.03em; color: var(--hero-text); margin-bottom: 20px;
}
.title-highlight {
  background: linear-gradient(135deg, var(--hero-highlight-from) 0%, var(--hero-highlight-via) 50%, var(--hero-highlight-to) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--hero-text-sub); line-height: 1.7; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero showcase — product mockup */
.hero-showcase {
  position: relative; width: 100%; max-width: 860px;
  margin-bottom: 48px;
}
.showcase-glow {
  position: absolute; inset: -60px; border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow-color) 0%, transparent 60%);
  filter: blur(60px); z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.showcase-window {
  position: relative; z-index: 1;
  background: var(--hero-win-bg); border: 1px solid var(--hero-win-border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--hero-win-shadow);
}
.showcase-toolbar {
  height: 44px; background: var(--hero-bar-bg); display: flex; align-items: center;
  gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--hero-bar-border);
}
.showcase-title { flex: 1; font-size: 13px; color: var(--hero-text-muted); font-weight: 500; text-align: center; }
.showcase-toolbar-actions { display: flex; gap: 6px; }
.toolbar-btn { width: 12px; height: 12px; border-radius: 3px; background: var(--hero-dot-bg); }

/* Stage progress bar */
.showcase-progress {
  display: flex; align-items: center; padding: 14px 24px; gap: 0;
  background: var(--hero-bar-bg); border-bottom: 1px solid var(--hero-bar-border);
}
.progress-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--hero-bar-text);
}
.progress-step.done { color: var(--hero-bar-text-done); }
.progress-step.active { color: var(--hero-bar-text-active); }
.progress-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hero-dot-bg);
}
.progress-step.done .progress-dot { background: var(--hero-dot-done); }
.progress-step.active .progress-dot { background: var(--hero-dot-active); animation: pulse 1.5s infinite; }
.progress-line {
  flex: 1; height: 2px; background: var(--hero-line-bg); margin: 0 8px;
}
.progress-line.done { background: var(--hero-line-done); }
.progress-line.active { background: linear-gradient(90deg, var(--hero-dot-done), var(--hero-dot-active)); }

/* Editor area */
.showcase-editor { display: grid; grid-template-columns: 180px 1fr; min-height: 260px; }
.editor-sidebar {
  background: var(--hero-sidebar-bg); border-right: 1px solid var(--hero-sidebar-border);
  padding: 12px 0;
}
.editor-section {
  padding: 7px 16px; font-size: 12px; color: var(--hero-sidebar-text); font-weight: 500;
  display: flex; align-items: center; gap: 6px; cursor: default;
  transition: all var(--duration-fast);
}
.editor-section.active { color: var(--hero-sidebar-text-active); background: var(--hero-sidebar-active-bg); }
.editor-section.sub { padding-left: 36px; }
.editor-section.sub.done { color: var(--hero-sidebar-done); }
.editor-section.sub.generating { color: var(--hero-sidebar-gen); }
.editor-section.generating::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hero-sidebar-gen); animation: pulse 1s infinite; margin-right: 2px;
}

.editor-content { padding: 20px 24px; font-family: var(--font-sans); }
.doc-line {
  font-size: 13px; line-height: 1.9; color: var(--hero-doc-text); margin-bottom: 2px;
}
.doc-line.title {
  font-size: 16px; font-weight: 700; color: var(--hero-doc-title); text-align: center;
  margin-bottom: 8px;
}
.doc-line.muted { color: var(--hero-doc-muted); margin-bottom: 10px; }
.doc-line.section-title { font-weight: 700; color: var(--hero-sidebar-text-active); margin-top: 6px; margin-bottom: 2px; }
.doc-line.generating { color: var(--hero-doc-gen); }
.typing-cursor {
  display: inline-block; width: 2px; height: 16px; background: var(--hero-doc-gen);
  animation: cursorBlink 1s step-end infinite; margin-left: 2px; vertical-align: middle;
}
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Floating cards */
.hero-float {
  position: absolute; border-radius: var(--radius-lg);
  background: var(--hero-float-bg); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hero-float-border);
  box-shadow: var(--hero-float-shadow); padding: 10px 16px;
  display: flex; align-items: center; gap: 10px; z-index: 2;
}
.float-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-text { display: flex; flex-direction: column; }
.float-label { font-size: 13px; font-weight: 700; color: var(--hero-float-label); }
.float-sub { font-size: 11px; color: var(--hero-float-sub); }

.float-1 { top: 10%; right: -40px; animation: floatDrift1 4s ease-in-out infinite; }
.float-2 { bottom: 15%; left: -50px; animation: floatDrift2 5s ease-in-out infinite; }
.float-3 { top: 45%; left: -60px; animation: floatDrift1 4.5s ease-in-out infinite reverse; }
@keyframes floatDrift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); } }
@keyframes floatDrift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 5px); } }

/* Stats bar */
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  background: var(--hero-stats-bg); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hero-stats-border);
  border-radius: var(--radius-xl); padding: 20px 48px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 28px; font-weight: 900; letter-spacing: -0.03em; display: block;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--hero-stats-label); font-weight: 500; margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--hero-stats-border); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { padding: 60px 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item {
  text-align: center; padding: 24px 16px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.trust-num {
  font-size: 36px; font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.trust-suffix { font-size: 20px; font-weight: 700; }

/* ============================================================
   FEATURES (Bento Grid)
   ============================================================ */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; transition: all var(--duration-normal) var(--ease-out);
  position: relative; overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity var(--duration-normal);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.bento-card:hover::before { opacity: 1; }
.bento-card[data-accent="blue"]::before { background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
.bento-card[data-accent="green"]::before { background: linear-gradient(90deg, var(--accent-green), #34D399); }
.bento-card[data-accent="orange"]::before { background: linear-gradient(90deg, var(--accent-orange), #FB923C); }
.bento-card[data-accent="purple"]::before { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.bento-card[data-accent="pink"]::before { background: linear-gradient(90deg, var(--accent-pink), #F472B6); }
.bento-card[data-accent="cyan"]::before { background: linear-gradient(90deg, var(--accent-cyan), #22D3EE); }

.bento-lg { grid-column: span 3; padding: 40px; }
.bento-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: var(--brand); background: var(--brand-pale); padding: 4px 14px;
  border-radius: var(--radius-full); margin-bottom: 16px; letter-spacing: .3px;
}
.bento-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.bento-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.bento-title-sm { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bento-desc-sm { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.bento-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.fi-blue { background: var(--brand-pale); color: var(--brand); }
.fi-green { background: var(--accent-green-light); color: var(--accent-green); }
.fi-orange { background: var(--accent-orange-light); color: var(--accent-orange); }
.fi-purple { background: var(--purple-pale); color: var(--purple); }
.fi-pink { background: var(--accent-pink-light); color: var(--accent-pink); }
.fi-cyan { background: var(--accent-cyan-light); color: var(--accent-cyan); }

/* Pipeline inside bento card */
.bento-pipeline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 20px 24px; background: var(--surface); border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.bento-stage { text-align: center; flex: 1; min-width: 100px; }
.bento-stage-icon {
  width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 2px solid var(--border); color: var(--text-secondary);
}
.bento-stage-icon.active {
  background: var(--brand-pale); border-color: var(--brand); color: var(--brand);
}
.bento-stage-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.bento-stage-sub { display: block; font-size: 11px; color: var(--text-muted); }
.bento-arrow { flex-shrink: 0; color: var(--text-muted); }

/* Before/after demo */
.bento-demo {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}
.bento-demo-line {
  padding: 10px 14px; border-radius: var(--radius-md); font-size: 13px;
  line-height: 1.6; display: flex; align-items: flex-start; gap: 8px;
}
.bento-demo-line.old { background: var(--surface); color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--text-muted); }
.bento-demo-line.new { background: var(--accent-green-light); color: var(--accent-green); font-weight: 500; text-decoration: none; }
.bento-demo-label { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.bento-demo-line.old .bento-demo-label { background: var(--border); color: var(--text-muted); }
.bento-demo-line.new .bento-demo-label { background: rgba(16,185,129,.2); color: var(--accent-green); }

/* Language pills */
.bento-lang-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lang-pill {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--border);
  transition: all var(--duration-fast);
}
.lang-pill.active { background: var(--brand-pale); color: var(--brand); border-color: var(--brand); }

.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature-tag {
  font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-full);
  background: var(--surface); color: var(--text-muted);
}

/* ============================================================
   AI PIPELINE (Workflow)
   ============================================================ */
.how-it-works { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pipeline-grid {
  display: flex; align-items: flex-start; gap: 0;
  overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.pipeline-card {
  flex: 1; min-width: 200px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 28px 20px; transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}
.pipeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pipeline-card.highlight { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-pale) 0%, var(--bg-card) 40%); }
.pipeline-num {
  font-size: 64px; font-weight: 900; line-height: 1;
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  color: var(--border); opacity: .4; user-select: none;
}
.pipeline-icon-wrap {
  width: 56px; height: 56px; margin: 40px auto 20px;
  background: var(--pipe-color, var(--brand));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 4px 16px rgba(37,99,235,.2);
}
.pipeline-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pipeline-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.pipeline-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--brand); background: var(--brand-pale);
  padding: 4px 14px; border-radius: var(--radius-full);
}
.pipeline-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 4px; flex-shrink: 0; align-self: center;
}
.pipeline-line { width: 2px; height: 0; background: var(--border); }

/* ============================================================
   WHY US (Compare)
   ============================================================ */
.why-us { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.compare-card {
  border-radius: var(--radius-xl); padding: 32px; position: relative; overflow: hidden;
}
.compare-card.highlight {
  background: var(--bg-card); border: 2px solid var(--brand);
  box-shadow: var(--shadow-glow);
}
.compare-card.dim {
  background: var(--surface); border: 1px solid var(--border); opacity: .8;
}
.compare-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.compare-badge {
  font-size: 18px; font-weight: 800;
}
.compare-card.highlight .compare-badge { color: var(--brand); }
.compare-card.dim .compare-badge { color: var(--text-muted); }
.compare-badge-label {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full);
}
.compare-card.highlight .compare-badge-label { background: var(--brand-pale); color: var(--brand); }
.compare-card.dim .compare-badge-label { background: var(--border); color: var(--text-muted); }
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.compare-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; }
.compare-item.positive { color: var(--text); font-weight: 500; }
.compare-item.negative { color: var(--text-muted); }
.compare-item svg { flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   DOCUMENT TYPES
   ============================================================ */
.doctypes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doctype-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all var(--duration-normal) var(--ease-out);
  display: flex; flex-direction: column; gap: 12px;
}
.doctype-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.doctype-header { display: flex; align-items: center; gap: 12px; }
.doctype-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.doctype-name { font-size: 17px; font-weight: 700; }
.doctype-items { display: flex; flex-wrap: wrap; gap: 6px; }
.doctype-item {
  font-size: 13px; color: var(--text-secondary); background: var(--surface);
  padding: 4px 12px; border-radius: var(--radius-full);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px;
}
.pricing-toggle-label { font-size: 15px; font-weight: 600; color: var(--text-secondary); transition: color var(--duration-fast); }
.pricing-toggle-label.active { color: var(--text); }
.pricing-switch {
  width: 52px; height: 28px; border-radius: 14px; background: var(--border);
  position: relative; cursor: pointer; transition: background var(--duration-fast);
}
.pricing-switch.active { background: var(--brand); }
.pricing-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: white; transition: transform var(--duration-normal) var(--ease-out);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.pricing-switch.active::after { transform: translateX(24px); }
.pricing-save-badge {
  font-size: 12px; font-weight: 700; color: white; background: var(--accent-green);
  padding: 3px 10px; border-radius: var(--radius-full);
}

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-card {
  background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  border-color: var(--brand); box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, var(--brand-pale) 0%, var(--bg-card) 30%);
}
.pricing-card.popular:hover { box-shadow: 0 0 60px rgba(37,99,235,0.2), var(--shadow-lg); }
.pricing-popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  padding: 4px 20px; border-radius: var(--radius-full); white-space: nowrap;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { margin-bottom: 20px; }
.pricing-amount {
  font-size: 40px; font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-period { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.pricing-features { flex: 1; margin-bottom: 24px; }
.pricing-feature {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary);
  padding: 6px 0;
}
.pricing-feature .check { color: var(--accent-green); flex-shrink: 0; }
.pricing-feature .cross { color: var(--text-muted); flex-shrink: 0; opacity: 0.4; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   DOWNLOAD / PLATFORM
   ============================================================ */
.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 16px; text-align: center; transition: all var(--duration-normal) var(--ease-out);
  display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.platform-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 24px;
}
.platform-name { font-size: 14px; font-weight: 600; }
.platform-status { font-size: 12px; color: var(--text-muted); }

/* APK cards */
.apk-section { padding: 0 0 40px; }
.apk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.apk-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; text-decoration: none; color: inherit;
  transition: all var(--duration-normal) var(--ease-out);
}
.apk-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.apk-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.apk-card-label { font-size: 16px; font-weight: 700; }
.apk-card-size { font-size: 13px; color: var(--text-muted); background: var(--surface); padding: 2px 10px; border-radius: 12px; }
.apk-card-file { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 4px; word-break: break-all; }
.apk-card-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.apk-card-btn { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-pale); padding: 6px 16px; border-radius: 8px; }
.apk-empty { text-align: center; padding: 40px; color: var(--text-muted); font-size: 15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px;
  background: var(--bg-card); overflow: hidden; transition: all var(--duration-normal);
}
.faq-item:hover { border-color: var(--brand); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text); gap: 16px;
  transition: background var(--duration-fast);
}
.faq-question:hover { background: var(--surface); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out); color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-pale); color: var(--brand); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 24px 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding-bottom: 120px; }
.cta-card {
  position: relative; border-radius: var(--radius-2xl); padding: 80px 64px;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 30%, var(--purple) 70%, #9333EA 100%);
}
.cta-decor {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.cta-decor-1 { width: 400px; height: 400px; top: -30%; right: -10%; background: rgba(255,255,255,0.06); }
.cta-decor-2 { width: 300px; height: 300px; bottom: -20%; left: -5%; background: rgba(255,255,255,0.04); }
.cta-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; position: relative;
}
.cta-desc { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-text { font-size: 18px; font-weight: 700; }
.footer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-contact { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.footer-contact a { color: var(--text-secondary); }
.footer-contact a:hover { color: var(--brand); }
.footer-heading { font-size: 14px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--duration-fast); }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted);
  flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 80ms; }
.stagger-3 { transition-delay: 160ms; }
.stagger-4 { transition-delay: 240ms; }
.stagger-5 { transition-delay: 320ms; }
.stagger-6 { transition-delay: 400ms; }

/* ============================================================
   CONTENT PAGES (About / Privacy / Terms)
   ============================================================ */
.content-page { padding: 120px 0 80px; min-height: 100vh; }
.content-wrapper { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.content-wrapper h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.content-wrapper .content-updated {
  font-size: 14px; color: var(--text-muted); margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 2px solid var(--border);
}
.content-wrapper h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.content-wrapper h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.content-wrapper p { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }
.content-wrapper ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.content-wrapper ol { list-style: decimal; padding-left: 24px; margin-bottom: 14px; }
.content-wrapper li { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 6px; }
.content-wrapper strong { color: var(--text); font-weight: 600; }

.content-wrapper .content-notice {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
  margin-bottom: 24px; font-size: 15px; line-height: 1.7;
  color: var(--text-secondary);
}
.content-wrapper .content-notice strong { color: var(--brand); }

.legal-table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 14px; line-height: 1.6;
}
.legal-table th {
  background: var(--bg-card); color: var(--text); font-weight: 600;
  padding: 10px 14px; text-align: left; border: 1px solid var(--border);
  white-space: nowrap;
}
.legal-table td {
  padding: 10px 14px; border: 1px solid var(--border);
  color: var(--text-secondary); vertical-align: top;
}
.legal-table tr:hover td { background: var(--bg-card); }

.dev-info-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; margin: 24px 0 32px;
}
.dev-info-row { display: flex; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.dev-info-row:last-child { border-bottom: none; }
.dev-info-label { width: 120px; flex-shrink: 0; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.dev-info-value { font-size: 15px; color: var(--text); font-weight: 500; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  position: relative; padding: 140px 0 80px; text-align: center;
  overflow: hidden;
}
.about-hero-bg { position: absolute; inset: 0; z-index: 0; }
.about-hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3;
}
.about-hero-blob-1 { width: 400px; height: 400px; background: var(--brand); top: -100px; left: 20%; }
.about-hero-blob-2 { width: 300px; height: 300px; background: var(--purple); bottom: -60px; right: 15%; }
.about-hero-content { position: relative; z-index: 1; }
.about-hero-icon { margin-bottom: 24px; }
.about-hero-title { font-size: 48px; font-weight: 900; margin-bottom: 16px; }
.about-hero-sub { font-size: 20px; color: var(--text-secondary); line-height: 1.6; }

.about-section { padding: 80px 0; }
.about-section-alt { background: var(--bg-card); }
.about-section-header { text-align: center; margin-bottom: 48px; }
.about-section-title { font-size: 28px; font-weight: 800; margin-top: 8px; }
.about-section-desc { font-size: 16px; color: var(--text-secondary); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

.about-grid { display: grid; gap: 24px; }
.about-grid-2 { grid-template-columns: repeat(2, 1fr); }
.about-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Mission / Vision cards */
.about-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px; transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.about-card-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.about-card-desc { font-size: 16px; line-height: 1.8; color: var(--text-secondary); }

/* Highlight cards */
.about-highlight-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.about-highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-highlight-num {
  font-size: 40px; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 4px;
}
.about-highlight-label { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.about-highlight-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Tech cards */
.about-tech-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.about-tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-tech-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  color: #fff; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.about-tech-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.about-tech-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }

/* Timeline */
.about-timeline { max-width: 600px; margin: 0 auto; position: relative; padding-left: 40px; }
.about-timeline::before {
  content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--brand), var(--purple));
}
.about-timeline-item { position: relative; margin-bottom: 36px; }
.about-timeline-item:last-child { margin-bottom: 0; }
.about-timeline-dot {
  position: absolute; left: -33px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); z-index: 1;
}
.about-timeline-content {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.about-timeline-date {
  font-size: 13px; font-weight: 600; color: var(--brand);
  margin-bottom: 4px; letter-spacing: .3px;
}
.about-timeline-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.about-timeline-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Contact cards */
.about-contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.about-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-contact-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.about-contact-label { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.about-contact-value { font-size: 18px; font-weight: 700; }
.about-contact-value a { color: var(--brand); text-decoration: none; }
.about-contact-value a:hover { text-decoration: underline; }

/* Dev info card */
.about-dev-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 40px; margin-top: 32px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.about-dev-header {
  font-size: 16px; font-weight: 700; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.about-dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-dev-item { display: flex; flex-direction: column; gap: 4px; }
.about-dev-label { font-size: 13px; color: var(--text-muted); }
.about-dev-value { font-size: 15px; font-weight: 500; color: var(--text); }
.about-dev-value a { color: var(--brand); text-decoration: none; }
.about-dev-value a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-drawer { display: block; }

  .hero-top { max-width: 600px; }
  .hero-title { font-size: 36px; }
  .hero-cta { justify-content: center; }
  .hero-float { display: none; }
  .showcase-window { border-radius: var(--radius-lg); }
  .editor-sidebar { display: none; }
  .showcase-editor { grid-template-columns: 1fr; }
  .hero-stats { padding: 16px 24px; gap: 20px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-divider { height: 28px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .bento-pipeline { flex-wrap: wrap; }
  .pipeline-grid { gap: 8px; }
  .pipeline-card { min-width: 160px; padding: 20px 14px; }
  .pipeline-connector { display: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .doctypes-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --section-py: 80px; }
  .container { padding: 0 20px; }
  .navbar-inner { padding: 0 20px; height: 60px; }
  .hero { padding: 100px 0 60px; min-height: auto; }

  .hero-top { max-width: 100%; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-float { display: none; }
  .showcase-progress { padding: 10px 14px; }
  .progress-step span { display: none; }
  .doc-line { font-size: 12px; }
  .doc-line.title { font-size: 14px; }
  .editor-content { padding: 14px 16px; }
  .hero-stats { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 18px; }
  .hero-stat-label { font-size: 11px; }
  .hero-stat-divider { height: 24px; }

  .btn-lg { padding: 12px 24px; font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-pills { justify-content: center; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-num { font-size: 28px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .bento-pipeline { flex-direction: column; align-items: stretch; }
  .bento-arrow { transform: rotate(90deg); align-self: center; }
  .bento-stage { display: flex; align-items: center; gap: 12px; text-align: left; min-width: auto; }
  .bento-stage-icon { margin: 0; }
  .pipeline-grid { flex-direction: column; }
  .pipeline-card { min-width: auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .doctypes-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-toggle { flex-wrap: wrap; }

  .step-number-bg { font-size: 80px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 40px; }

  .cta-card { padding: 48px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .content-page { padding: 80px 0 60px; }
  .content-wrapper { padding: 0 20px; }
  .content-wrapper h1 { font-size: 28px; }
  .content-wrapper h2 { font-size: 20px; }
  .dev-info-row { flex-direction: column; gap: 4px; }
  .dev-info-label { width: auto; }
  .apk-grid { grid-template-columns: 1fr; }

  .about-hero { padding: 100px 0 60px; }
  .about-hero-title { font-size: 32px; }
  .about-hero-sub { font-size: 16px; }
  .about-grid-2 { grid-template-columns: 1fr; }
  .about-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-section { padding: 60px 0; }
  .about-dev-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-dev-card { padding: 24px; }
  .about-timeline { padding-left: 32px; }
  .about-timeline::before { left: 10px; }
  .about-timeline-dot { left: -28px; width: 12px; height: 12px; }
}

/* Desktop XL */
@media (min-width: 1440px) {
  :root { --container-max: 1280px; }
  .hero-showcase { max-width: 960px; }
}
