/* ===== CSS Custom Properties ===== */
:root {
  --color-primary: #0EA5E9;
  --color-primary-light: #38BDF8;
  --color-primary-dark: #0284C7;
  --color-accent: #F97316;
  --color-accent-light: #FB923C;

  --color-bg: #F0F9FF;
  --color-bg-secondary: #E0F2FE;
  --color-bg-card: #FFFFFF;
  --color-text: #0C4A6E;
  --color-text-secondary: #3B6F8A;
  --color-text-muted: #7DA4B8;
  --color-border: #BAE6FD;
  --color-border-light: #E0F2FE;

  --color-hero-from: #0A0F1A;
  --color-hero-via: #0C1929;
  --color-hero-to: #0E2A42;

  --color-stat-1: #0EA5E9;
  --color-stat-2: #F97316;
  --color-stat-3: #10B981;

  --shadow-xs: 0 1px 2px rgba(14, 165, 233, 0.04);
  --shadow-sm: 0 1px 3px rgba(14, 165, 233, 0.06), 0 1px 2px rgba(14, 165, 233, 0.04);
  --shadow-md: 0 4px 16px rgba(14, 165, 233, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 165, 233, 0.1);
  --shadow-card-hover: 0 16px 48px rgba(14, 165, 233, 0.12);
  --shadow-glow-primary: 0 0 20px rgba(14, 165, 233, 0.3);
  --shadow-glow-accent: 0 0 20px rgba(249, 115, 22, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC', 'Noto Sans JP', sans-serif;

  --container-max: 1120px;
  --nav-height: 64px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(186, 230, 253, 0.5);
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg: #0A0F1A;
  --color-bg-secondary: #111827;
  --color-bg-card: #1A2332;
  --color-text: #E2E8F0;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-border: #1E3A5F;
  --color-border-light: #162032;
  --color-primary: #38BDF8;
  --color-primary-light: #7DD3FC;
  --color-accent: #FB923C;
  --color-hero-from: #050810;
  --color-hero-via: #0A1020;
  --color-hero-to: #0E1E38;
  --color-stat-1: #38BDF8;
  --color-stat-2: #FB923C;
  --color-stat-3: #34D399;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.35);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow-primary: 0 0 24px rgba(56, 189, 248, 0.25);
  --shadow-glow-accent: 0 0 24px rgba(251, 146, 60, 0.25);
  --glass-bg: rgba(10, 15, 26, 0.75);
  --glass-border: rgba(30, 58, 95, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0A0F1A;
    --color-bg-secondary: #111827;
    --color-bg-card: #1A2332;
    --color-text: #E2E8F0;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
    --color-border: #1E3A5F;
    --color-border-light: #162032;
    --color-primary: #38BDF8;
    --color-primary-light: #7DD3FC;
    --color-accent: #FB923C;
    --color-hero-from: #050810;
    --color-hero-via: #0A1020;
    --color-hero-to: #0E1E38;
    --color-stat-1: #38BDF8;
    --color-stat-2: #FB923C;
    --color-stat-3: #34D399;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.35);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
    --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow-primary: 0 0 24px rgba(56, 189, 248, 0.25);
    --shadow-glow-accent: 0 0 24px rgba(251, 146, 60, 0.25);
    --glass-bg: rgba(10, 15, 26, 0.75);
    --glass-border: rgba(30, 58, 95, 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  transition: background-color 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

/* ===== Focus Visible (Keyboard Accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: background-color 0.4s var(--ease-out-expo);
}

[data-theme="dark"] .navbar {
  background: rgba(10, 15, 26, 0.8);
  border-bottom-color: rgba(30, 58, 95, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .navbar {
    background: rgba(10, 15, 26, 0.8);
    border-bottom-color: rgba(30, 58, 95, 0.4);
  }
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.nav-brand:hover {
  color: var(--color-text);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-bg-secondary);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text);
  border-color: var(--color-primary);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 200;
}

.lang-menu.open {
  display: block;
  animation: dropdown-in 0.2s var(--ease-out-expo);
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 44px;
}

.lang-menu button:hover {
  background: var(--color-bg-secondary);
}

.lang-menu button.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-hero-from) 0%, var(--color-hero-via) 40%, var(--color-hero-to) 100%);
  color: #FFFFFF;
  padding: 96px 0 104px;
  text-align: center;
  overflow: hidden;
}

/* Animated floating gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 500px at 20% 50%, rgba(14, 165, 233, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 60% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float-orb 12s ease-in-out infinite alternate;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -15px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 10px) scale(0.97);
  }
  100% {
    transform: translate(10px, -20px) scale(1.03);
  }
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  opacity: 0.6;
}

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

.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1), 0 0 60px rgba(14, 165, 233, 0.2);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Store Buttons ===== */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  text-decoration: none;
  line-height: 1.3;
  min-height: 44px;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn-light {
  background: #FFFFFF;
  color: #0C4A6E;
}

.store-btn-light:hover {
  background: #F0F9FF;
  color: #0C4A6E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), var(--shadow-glow-primary);
}

.store-btn-outline {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.store-btn-outline:hover {
  background: rgba(255,255,255,0.14);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), var(--shadow-glow-primary);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-label {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.store-btn-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* CTA store buttons */
.cta .store-btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
}

.cta .store-btn-primary:hover {
  background: var(--color-accent-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3), var(--shadow-glow-accent);
}

.cta .store-btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.cta .store-btn-secondary:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Stats ===== */
.stats {
  padding: 72px 0;
  background: var(--color-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px 36px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-card:nth-child(1) .stat-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-stat-1);
}

.stat-card:nth-child(2) .stat-icon {
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-stat-2);
}

.stat-card:nth-child(3) .stat-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-stat-3);
}

[data-theme="dark"] .stat-card:nth-child(1) .stat-icon { background: rgba(56, 189, 248, 0.12); }
[data-theme="dark"] .stat-card:nth-child(2) .stat-icon { background: rgba(251, 146, 60, 0.12); }
[data-theme="dark"] .stat-card:nth-child(3) .stat-icon { background: rgba(52, 211, 153, 0.12); }

.stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card:nth-child(1) .stat-value {
  background: linear-gradient(135deg, var(--color-stat-1) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card:nth-child(2) .stat-value {
  background: linear-gradient(135deg, var(--color-stat-2) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card:nth-child(3) .stat-value {
  background: linear-gradient(135deg, var(--color-stat-3) 0%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ===== Features ===== */
.features {
  padding: 96px 0;
  background: var(--color-bg-secondary);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 56px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 36px 28px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-left: 2px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), border-left-color 0.25s ease-out;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-left-color: var(--color-primary);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--color-primary);
  transition: background 0.2s, transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

[data-theme="dark"] .feature-icon {
  background: rgba(56, 189, 248, 0.1);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ===== More Features ===== */
.more-features {
  padding: 80px 0 96px;
  background: var(--color-bg);
}

.more-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.more-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.more-feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.more-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .more-feature-icon {
  background: rgba(56, 189, 248, 0.1);
}

.more-feature-icon svg {
  width: 18px;
  height: 18px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(160deg, var(--color-bg-secondary) 0%, var(--color-bg) 50%, var(--color-bg-secondary) 100%);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 30% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 70% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.cta p {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.footer-left .company {
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--color-text);
}

/* ===== Support Page ===== */
.page-header {
  padding: 72px 0 56px;
  background: var(--color-bg-secondary);
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.page-header p {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
}

.support-content {
  padding: 56px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
  background: rgba(56, 189, 248, 0.1);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.contact-info a {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ===== FAQ Accordion ===== */
.faq-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--color-bg-card);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
  min-height: 44px;
}

.faq-question:hover {
  background: var(--color-bg-secondary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
  color: var(--color-text-muted);
}

.faq-chevron svg {
  width: 16px;
  height: 16px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Bug Report Section */
.bug-report {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.bug-report h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.bug-report p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.bug-report ul {
  list-style: none;
  padding: 0;
}

.bug-report ul li {
  padding: 5px 0 5px 20px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  position: relative;
}

.bug-report ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ===== Privacy / Terms Page ===== */
.legal-content {
  padding: 56px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-summary {
  padding: 24px 28px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 28px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  box-shadow: var(--shadow-xs);
}

.legal-section {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--color-bg-card);
  transition: border-color 0.2s;
}

.legal-section:hover {
  border-color: var(--color-border);
}

.legal-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
  min-height: 44px;
}

.legal-section-header:hover {
  background: var(--color-bg-secondary);
}

.chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
  color: var(--color-text-muted);
}

.chevron svg {
  width: 16px;
  height: 16px;
}

.legal-section.open .chevron {
  transform: rotate(180deg);
}

.legal-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
}

.legal-section-content {
  padding: 0 20px 18px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-section-content p {
  margin-bottom: 12px;
}

.legal-section-content p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.legal-footer a {
  font-weight: 600;
}

/* ===== Feature Card Clickable ===== */
.feature-card[data-feature] {
  cursor: pointer;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lb-fade-in 0.25s ease-out;
}

@keyframes lb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: lb-scale-in 0.3s var(--ease-out-expo);
}

@keyframes lb-scale-in {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: -8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-phone {
  display: flex;
  justify-content: center;
}

.lightbox-phone-frame {
  width: 300px;
  height: 620px;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 2px #333,
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lightbox-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 10;
}

.lightbox-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #1a1a1a;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.3s ease-out;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-prev,
.lightbox-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 18px;
  height: 18px;
}

.lightbox-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s;
}

.lightbox-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .lightbox-phone-frame {
    width: 240px;
    height: 496px;
    border-radius: 36px;
    padding: 10px;
  }

  .lightbox-phone-notch {
    width: 80px;
    height: 22px;
    top: 13px;
  }

  .lightbox-phone-screen {
    border-radius: 26px;
  }

  .lightbox-close {
    top: -44px;
    right: 0;
  }
}

/* ===== Reduced Motion ===== */
@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;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before {
    animation: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 72px;
  }

  .hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 20px 24px;
  }

  .stat-icon {
    margin: 0;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .features {
    padding: 72px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .more-features-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .nav-links {
    display: none;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .cta h2 {
    font-size: 1.625rem;
  }

  .cta {
    padding: 72px 0;
  }

  .contact-box {
    flex-direction: column;
    text-align: center;
  }

  .page-header {
    padding: 56px 0 40px;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .store-btn,
  .cta-buttons .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .stats {
    padding: 48px 0;
  }

  .more-features {
    padding: 56px 0 64px;
  }
}
