/* ==========================================================================
   APP PAGE DESIGN SYSTEM - High Craft Mac/iOS Landing Pages
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Global Dark Palette (Default Pro Theme) */
  --bg-primary: #0a0d14;
  --bg-secondary: #111622;
  --bg-tertiary: #171e2e;
  --bg-glass: rgba(17, 22, 34, 0.75);
  --bg-card: rgba(23, 30, 46, 0.6);
  --bg-card-hover: rgba(30, 39, 58, 0.8);

  --text-primary: #f2f5fc;
  --text-secondary: #9aa5bc;
  --text-muted: #64748b;
  --text-inverse: #0a0d14;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-app-icon: 22%;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px var(--accent-glow);

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

  /* Default Accent */
  --accent: #3279db;
  --accent-light: #5ac8fa;
  --accent-glow: rgba(50, 121, 219, 0.35);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(50, 121, 219, 0.15) 0%, transparent 70%);
}

/* --- THEME VARIATIONS --- */
body[data-theme="beautyfolder"] {
  --accent: #ff4b6e;
  --accent-light: #ff8533;
  --accent-glow: rgba(255, 75, 110, 0.32);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(255, 75, 110, 0.18) 0%, rgba(255, 133, 51, 0.08) 50%, transparent 75%);
}

body[data-theme="wavedeck"] {
  --accent: #00d2ff;
  --accent-light: #00f2fe;
  --accent-glow: rgba(0, 210, 255, 0.35);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(0, 210, 255, 0.18) 0%, rgba(0, 114, 255, 0.1) 50%, transparent 75%);
}

body[data-theme="medialens"] {
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.32);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.18) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 75%);
}

body[data-theme="zipmaster"] {
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --accent-glow: rgba(37, 99, 235, 0.32);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.18) 0%, rgba(96, 165, 250, 0.08) 50%, transparent 75%);
}

body[data-theme="folderify"] {
  --accent: #8b5cf6;
  --accent-light: #c084fc;
  --accent-glow: rgba(139, 92, 246, 0.32);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.18) 0%, rgba(236, 72, 153, 0.08) 50%, transparent 75%);
}

/* Custom Themed Scrollbar & Selection */
::selection {
  background: var(--accent);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image: var(--hero-glow);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(10, 13, 20, 0.92);
  border-bottom-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-to-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.back-to-portfolio:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-header-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.app-version-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 5-Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  gap: 2px;
}

.lang-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

/* App Store Official Header CTA */
.btn-appstore-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--text-primary);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-appstore-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-icon-wrapper {
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.hero-app-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-app-icon);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
  transition: transform var(--transition-smooth);
  animation: appGlowPulse 5s ease-in-out infinite;
}

@keyframes appGlowPulse {
  0%, 100% {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 50px var(--accent-glow);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 85px var(--accent-glow);
    transform: translateY(-4px);
  }
}

.hero-icon-wrapper:hover .hero-app-icon {
  transform: scale(1.06) rotate(-1deg);
  animation-play-state: paused;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 56px;
  }
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px;
  }
}

/* Official Apple Store Download CTA Button */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.btn-appstore-large {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 25px var(--accent-glow);
  transition: all var(--transition-smooth);
}

.btn-appstore-large::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
}

.btn-appstore-large:hover::after {
  opacity: 1;
  animation: btnShimmer 0.75s ease forwards;
}

@keyframes btnShimmer {
  0% { left: -60%; }
  100% { left: 140%; }
}

.btn-appstore-large:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.btn-appstore-large:active {
  transform: scale(0.96) translateY(0);
}

.btn-appstore-large svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-appstore-large:hover svg {
  transform: scale(1.08);
}

.btn-appstore-large .cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-appstore-large .cta-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #475569;
}

.btn-appstore-large .cta-main {
  font-size: 18px;
  letter-spacing: -0.3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: scale(0.96);
}

.btn-appstore-sm:active {
  transform: scale(0.96);
}

/* Trust Signals Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 820px;
  margin: 0 auto 56px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg, .trust-item i {
  color: var(--accent-light);
  width: 16px;
  height: 16px;
}

/* macOS Mockup Frame */
.mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: #141923;
  border: 1px solid var(--border-glow);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 60px var(--accent-glow);
  overflow: hidden;
  position: relative;
  animation: mockupAmbient 7s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

@keyframes mockupAmbient {
  0%, 100% {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 50px var(--accent-glow);
  }
  50% {
    box-shadow: 0 36px 110px rgba(0, 0, 0, 0.8), 0 0 85px var(--accent-glow);
  }
}

.mockup-header {
  height: 38px;
  background: #1a202c;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.mockup-traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.traffic-light.close { background: #ff5f56; }
.traffic-light.min { background: #ffbd2e; }
.traffic-light.max { background: #27c93f; }

.mockup-traffic-lights:hover .traffic-light {
  transform: scale(1.15);
}
.mockup-traffic-lights:hover .traffic-light.close {
  box-shadow: 0 0 8px rgba(255, 95, 86, 0.85);
}
.mockup-traffic-lights:hover .traffic-light.min {
  box-shadow: 0 0 8px rgba(255, 189, 46, 0.85);
}
.mockup-traffic-lights:hover .traffic-light.max {
  box-shadow: 0 0 8px rgba(39, 201, 63, 0.85);
}

.mockup-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-body {
  position: relative;
  background: #0f131a;
}

.mockup-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 40%, transparent 60%);
  pointer-events: none;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   PROBLEM VS SOLUTION SECTION (CRO Focused)
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: #fff;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Compare Grid */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.compare-card.problem {
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.15);
}

.compare-card.solution {
  background: rgba(34, 197, 94, 0.04);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.compare-card.problem .compare-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.compare-card.solution .compare-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.compare-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.compare-list li svg, .compare-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.compare-card.problem .compare-list li svg,
.compare-card.problem .compare-list li i {
  color: #ef4444;
}

.compare-card.solution .compare-list li svg,
.compare-card.solution .compare-list li i {
  color: #22c55e;
}

/* ==========================================================================
   FEATURE DEEP DIVE SECTIONS (Alternating Stories)
   ========================================================================== */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-story {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .feature-story.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .feature-story.reverse .feature-visual {
    order: 2;
  }
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: transform var(--transition-smooth);
}

.feature-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}

.feature-heading {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 768px) {
  .feature-heading {
    font-size: 34px;
  }
}

.feature-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
}

.feature-bullets li svg, .feature-bullets li i {
  color: var(--accent-light);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   SCREENSHOT GALLERY
   ========================================================================== */
.gallery-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

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

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery-card-caption {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   PRO SPECS & ARCHITECTURE TABLE
   ========================================================================== */
.specs-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

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

.specs-table th {
  text-align: left;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  width: 32%;
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td {
  padding: 18px 24px;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   FAQ SECTION (Accordion)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.faq-item[open] {
  border-color: var(--border-glow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.faq-summary {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-summary:hover {
  color: var(--accent-light);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
}

details[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  animation: faqSlideDown 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   BOTTOM CTA SECTION
   ========================================================================== */
.bottom-cta-section {
  padding: 80px 0 100px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(23, 30, 46, 0.9) 0%, rgba(17, 22, 34, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px var(--accent-glow);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: var(--accent-glow);
  filter: blur(100px);
  pointer-events: none;
}

.cta-box-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-app-icon);
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-box-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.6px;
}

@media (min-width: 768px) {
  .cta-box-title {
    font-size: 40px;
  }
}

.cta-box-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   CROSS-PROMOTION BAR (5 Apps Ecosystem)
   ========================================================================== */
.cross-promo-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
}

.cross-promo-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cross-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cross-promo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.cross-promo-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.cross-promo-card.current {
  opacity: 0.5;
  pointer-events: none;
  border-style: dashed;
}

.cross-promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.cross-promo-text {
  display: flex;
  flex-direction: column;
}

.cross-promo-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.cross-promo-cat {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #080a0f;
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  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);
  will-change: opacity, transform, filter;
}

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

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