/* ==========================================================================
   GekoNotes — Indie & Minimalist Design System
   Designed for gekonotes.hubstiq.com
   ========================================================================== */

:root {
  /* Color Palette - Dark (Default) */
  --bg-primary: #090a0f;
  --bg-secondary: #12151c;
  --bg-tertiary: #1a1e29;
  --bg-card: rgba(22, 27, 38, 0.7);
  --bg-card-hover: rgba(30, 37, 51, 0.85);
  --bg-glass: rgba(18, 21, 28, 0.65);
  
  --text-primary: #f5f6f8;
  --text-secondary: #9da7b8;
  --text-muted: #647087;
  --text-highlight: #ffffff;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.04);

  /* Signature App Accents */
  --accent-green: #34c759;
  --accent-green-glow: rgba(52, 199, 89, 0.35);
  --accent-orange: #ff9500;
  --accent-orange-glow: rgba(255, 149, 0, 0.35);
  --accent-blue: #0a84ff;
  --accent-blue-glow: rgba(10, 132, 255, 0.35);
  --accent-red: #ff453a;
  --accent-emerald: #30d158;

  --primary-accent: var(--accent-green);
  --primary-glow: var(--accent-green-glow);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px var(--primary-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf0f5;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.75);
  
  --text-primary: #121417;
  --text-secondary: #4a5568;
  --text-muted: #808c9f;
  --text-highlight: #000000;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --border-subtle: rgba(0, 0, 0, 0.04);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.09);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: #090a0f;
  color-scheme: dark;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: #090a0f;
  background-image: radial-gradient(120% 80% at 50% 0%, #161b26 0%, #0d0f16 45%, #07080b 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
  color-scheme: dark;
}

/* Background Ambient Aurora Glow System */
.ambient-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 650px;
  background: radial-gradient(ellipse at 50% 30%, rgba(52, 199, 89, 0.16) 0%, rgba(10, 132, 255, 0.12) 38%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  filter: blur(100px);
}

.ambient-glow-secondary {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 132, 255, 0.08) 0%, rgba(52, 199, 89, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  filter: blur(120px);
}

[data-theme="light"] .ambient-glow {
  background: radial-gradient(ellipse at 50% 30%, rgba(52, 199, 89, 0.12) 0%, rgba(10, 132, 255, 0.08) 40%, transparent 70%);
  opacity: 0.6;
}

[data-theme="light"] .ambient-glow-secondary {
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 132, 255, 0.06) 0%, rgba(52, 199, 89, 0.04) 40%, transparent 70%);
  opacity: 0.4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-highlight);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-spacing {
  padding: 45px 0;
  scroll-margin-top: 110px;
}

section[id],
div[id] {
  scroll-margin-top: 110px;
}

#manual {
  padding: 50px 0;
  scroll-margin-top: 110px;
}

#faq {
  padding: 50px 0 120px;
  min-height: 85vh;
  scroll-margin-top: 110px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.badge.neon-green {
  background: rgba(52, 199, 89, 0.12);
  border-color: rgba(52, 199, 89, 0.35);
  color: var(--accent-green);
}

.badge.neon-orange {
  background: rgba(255, 149, 0, 0.12);
  border-color: rgba(255, 149, 0, 0.35);
  color: var(--accent-orange);
}

.badge.neon-blue {
  background: rgba(10, 132, 255, 0.12);
  border-color: rgba(10, 132, 255, 0.35);
  color: var(--accent-blue);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-highlight);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-icon {
  transform: scale(1.05);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

.theme-toggle-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-tertiary);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-highlight);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-primary {
  background: #111113;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

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

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-green);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--accent-green-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(52, 199, 89, 0.5);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
  padding: 48px 0 45px;
  text-align: center;
  position: relative;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.hero-title {
  max-width: 900px;
  margin: 0 auto 32px;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 auto 38px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-highlight);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Showcase System */
.hero-showcase-container {
  max-width: 1040px;
  margin: 0 auto;
}

.hero-platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  margin-top: 43px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.hero-tab-btn:hover {
  color: var(--text-highlight);
}

.hero-tab-btn.active {
  background: var(--text-highlight);
  color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .hero-tab-btn.active {
  background: #111113;
  color: #ffffff;
}

.hero-tab-pane {
  display: none;
}

.hero-tab-pane.active {
  display: block;
  animation: heroFadeIn 0.35s ease-out;
}

/* Subtle, Elegant Feature Banner Above Screenshots */
.hero-feature-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  max-width: 880px;
  margin: 0 auto 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hero-feature-banner .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.hero-feature-banner .banner-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-green);
  letter-spacing: -0.015em;
}

.hero-feature-banner .banner-desc {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature-banner .banner-desc strong {
  color: var(--text-highlight);
}

.hero-feature-banner .banner-desc kbd {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--text-highlight);
  font-weight: 600;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clean Rounded Image Box System (Static & Stable) */
.rounded-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  cursor: default;
  user-select: none;
}

.rounded-image-box img,
.rounded-image-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rounded-image-box.mac-hero-frame {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1576 / 954;
  background: #12151c;
  position: relative;
}

.rounded-image-box.mac-hero-frame img,
.rounded-image-box.mac-hero-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rounded-image-box.phone-frame {
  max-width: 340px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 400 / 866;
  background: #12151c;
}

.rounded-image-box.phone-frame img,
.rounded-image-box.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .rounded-image-box.phone-frame {
    max-width: 290px;
    border-radius: 24px;
  }
}

/* Gallery Grid System */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.gallery-thumb {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 36px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--primary-accent);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Dedicated Product Showcase Sections */
.product-showcase {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 900px;
  margin: 0 auto 36px;
  box-shadow: var(--shadow-sm);
}

#macos {
  padding-top: 45px;
  padding-bottom: 0;
}

#macos .product-showcase {
  margin: 0 auto 24px;
}

#ios {
  padding-top: 0;
  padding-bottom: 45px;
}

#ios .product-showcase {
  margin: 0 auto 0;
}

#sync {
  padding-top: 45px;
  padding-bottom: 45px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.product-layout.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.product-info h2 {
  margin-bottom: 20px;
}

.product-info .lead {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Tabs System */
.tabs-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--text-highlight);
  color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .tab-btn.active {
  background: #111113;
  color: #ffffff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Elegant & Compact Comparison Table System */
.comparison-table-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-highlight);
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th:first-child {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.comparison-table .category-header td {
  background: var(--bg-tertiary);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-accent);
  padding: 8px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:not(.category-header):hover td {
  background: rgba(255, 255, 255, 0.025);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.86rem;
}

.table-pill.check {
  color: var(--accent-green);
}

.table-pill.na {
  color: var(--text-muted);
  opacity: 0.55;
}

/* Download CTA Card (Refined, Compact & Understated) */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.download-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-card p {
  max-width: 520px;
  margin: 0 auto 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.doc-info-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.doc-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-highlight);
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-smooth);
  color: var(--primary-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 22px 20px 22px;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Minimalist Artisanal Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  margin-top: 45px;
}

.footer-minimal {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.footer-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}

.footer-app-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-highlight);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 10px;
  border-left: 1px solid var(--border-color);
}

.footer-nav-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-nav-inline a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-inline a:hover {
  color: var(--primary-accent);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .product-layout, .product-layout.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-showcase-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  .section-spacing {
    padding: 24px 0;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .hero {
    padding: 36px 0 20px;
  }

  .hero-stats {
    gap: 16px;
    margin-bottom: 20px;
  }

  .hero-platform-tabs {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .hero-feature-banner {
    padding: 14px 18px;
    margin-bottom: 14px;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .comparison-table-wrapper {
    overflow-x: auto;
  }

  .product-showcase {
    padding: 36px 18px;
  }
}

/* ==========================================================================
   Apple-Style High-Impact Cinematic Scroll Animations & Ambient Motion
   ========================================================================== */

/* Ambient Glow Living Breathing Effect */
.ambient-glow {
  animation: auroraBreathe1 12s ease-in-out infinite alternate;
}

.ambient-glow-secondary {
  animation: auroraBreathe2 15s ease-in-out infinite alternate;
}

@keyframes auroraBreathe1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
  50% { transform: translate(60px, -40px) scale(1.2); opacity: 0.95; }
  100% { transform: translate(-40px, 50px) scale(1.05); opacity: 0.75; }
}

@keyframes auroraBreathe2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-60px, 40px) scale(1.25); opacity: 0.9; }
  100% { transform: translate(40px, -50px) scale(0.95); opacity: 0.65; }
}

/* Base Reveal States (Fast & Natural 0.85s Float-Up) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
}

/* Stagger Delays for Grid Children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.18s; }

/* Scale Reveal for Hero Showcase (Majestic & Paced 1.7s Lift with 0.55s Delay) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(65px);
  filter: blur(8px);
  transition: opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  filter: blur(0) !important;
  transition-delay: 0.55s !important;
}

/* Scale Reveal for macOS Deep Dive (0.1s Delay) */
.reveal-macos {
  opacity: 0;
  transform: scale(0.92) translateY(65px);
  filter: blur(8px);
  transition: opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-macos.is-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  filter: blur(0) !important;
  transition-delay: 0.10s !important;
}

/* Scale Reveal for iOS Deep Dive (0.1s Delay) */
.reveal-ios {
  opacity: 0;
  transform: scale(0.92) translateY(65px);
  filter: blur(8px);
  transition: opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ios.is-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  filter: blur(0) !important;
  transition-delay: 0.10s !important;
}

/* Hero Section Intro */
.hero-badges {
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-title {
  animation: heroEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-subtitle {
  animation: heroEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both;
}

.hero-actions {
  animation: heroEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-stats {
  animation: heroEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.70s both;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(44px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Dynamic Scrolled Navbar */
.navbar {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(9, 10, 15, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Interactive Card Rollover Physics (Static Visibility, Active Hover) */
.feature-card, .download-card {
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(52, 199, 89, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(52, 199, 89, 0.15);
}

.download-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(52, 199, 89, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(52, 199, 89, 0.2);
}

/* Mobile: Pure Native Speed & WebKit GPU Optimization (Zero Tile Dropping, Zero VRAM Bloat) */
@media (max-width: 768px) {
  /* 1. Release all GPU hardware compositing layers */
  *, *::before, *::after {
    will-change: auto !important;
  }

  /* 2. Disarm heavy continuous 60fps ambient glow GPU buffers */
  .ambient-glow,
  .ambient-glow-secondary {
    animation: none !important;
    filter: blur(30px) !important;
    -webkit-filter: blur(30px) !important;
    opacity: 0.20 !important;
    position: absolute !important;
    width: 100% !important;
    max-width: 380px !important;
    height: 250px !important;
  }

  /* 3. Strip expensive backdrop-filter shaders on mobile */
  .feature-card,
  .product-showcase,
  .hero-feature-banner,
  .download-card,
  .comparison-table-wrapper,
  .faq-item {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-card) !important;
  }

  /* 4. Force 100% immediate native visibility & zero hidden states */
  .reveal, 
  .reveal-scale, 
  .reveal-stagger > *,
  .hero-badges,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-stats,
  .hero-showcase-container,
  .section-header,
  .product-showcase,
  .feature-card,
  .download-card,
  .faq-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    visibility: visible !important;
  }
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-stagger > *, .hero-badges, .hero-title, .hero-subtitle, .hero-actions, .hero-stats, .hero-showcase-container, .ambient-glow, .ambient-glow-secondary {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* App Store Buttons & CTA Banner */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #000000 !important;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.22);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  background: #f0f0f2;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.4);
  color: #000000 !important;
}

[data-theme="light"] .btn-appstore {
  background: #111113;
  color: #ffffff !important;
  border-color: #111113;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-appstore:hover {
  background: #232326;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
}

.btn-appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.btn-appstore-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
  text-transform: uppercase;
}

.btn-appstore-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.apple-logo-icon {
  flex-shrink: 0;
}

.btn-appstore-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: #000000 !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.btn-appstore-nav:hover {
  background: #f0f0f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  color: #000000 !important;
}

[data-theme="light"] .btn-appstore-nav {
  background: #111113;
  color: #ffffff !important;
  border-color: #111113;
}

[data-theme="light"] .btn-appstore-nav:hover {
  background: #232326;
  color: #ffffff !important;
}

