/* ==========================================================================
   BousLand Landing Page Stylesheet
   Design Philosophy: Apple Minimalist Luxury • Pure White • Precision Typography
   Zero cheap gradients • Zero chaotic glows • Timeless industrial aesthetics
   ========================================================================== */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;

  /* Pure Monochrome Neutral Palette */
  --bg-base: #FFFFFF;
  --bg-surface: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;

  /* Apple Pro Deep Typography */
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-muted: #86868B;

  /* Subtle Hairline Borders */
  --border: #E5E5EA;
  --border-light: #D2D2D7;

  /* Refined Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
  --shadow-island: 0 6px 16px rgba(0, 0, 0, 0.16), 0 1px 4px rgba(0, 0, 0, 0.08);

  --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Bar (Apple Frosted Glass)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-github {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  transition: all 0.15s ease;
}
.btn-github:hover {
  background: var(--bg-surface);
  border-color: var(--border-light);
}

/* Apple Pill Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 980px;
  background: #000000;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s var(--spring);
}
.btn-primary:hover {
  background: #2C2C2E;
  transform: scale(1.01);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 84px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
}
.badge-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

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

.btn-cta-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 980px;
  background: #000000;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s var(--spring);
}
.btn-cta-main:hover {
  background: #2C2C2E;
  transform: translateY(-1px);
}

.btn-cta-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 980px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-cta-secondary:hover {
  background: #EAEAEA;
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.btn-cta-ghost {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 980px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-cta-ghost:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-label {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}
.btn-sub {
  font-size: 11px;
  opacity: 0.75;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-mockup-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.08);
}
.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ==========================================================================
   Section Global
   ========================================================================== */
.section {
  padding: 88px 0;
}
.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 44px;
}
.text-center {
  text-align: center;
}

/* ==========================================================================
   Simulator Section (Interactive Dynamic Island Demo)
   ========================================================================== */
.simulator-box {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mock-bezel {
  padding: 10px 10px 0 10px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.mock-screen {
  background: #FAFAFA;
  height: 290px;
  border-radius: 12px 12px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* The Simulated Dynamic Island Pill (Solid Jet Black) */
.sim-island-container {
  margin-top: 0;
  height: 44px;
  width: 280px;
  border-radius: 0 0 22px 22px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: none;
  box-shadow: var(--shadow-island);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: width 0.38s var(--spring), height 0.38s var(--spring), border-radius 0.38s var(--spring), margin-top 0.38s var(--spring), box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 2;
  will-change: width, height, transform;
  cursor: pointer;
  user-select: none;
}

/* Top Notch Dock (Signature Flush Edge Mode) */
.sim-island-container.dock-notch {
  margin-top: 0;
  border-radius: 0 0 22px 22px;
  border-top: none;
}

/* Floating Dock Mode */
.sim-island-container.dock-float {
  margin-top: 16px;
  border-radius: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sim-island-container.morphing {
  animation: islandLiquidPop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes islandLiquidPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.04, 0.94); }
  70% { transform: scale(0.98, 1.02); }
  100% { transform: scale(1); }
}

.sim-view {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  padding: 0 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sim-view.active {
  display: flex;
  opacity: 1;
}

/* 1. Compact view inside simulator */
.sim-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sim-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  white-space: nowrap;
}
.sim-compact-indicators {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sim-compact-item {
  font-size: 11px;
  font-weight: 500;
  color: #A1A1AA;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sim-compact-item svg {
  color: #A1A1AA;
}

/* 2. Media view (BousLand v1.0.7 with Liquid Aurora & Controls) */
.sim-view-media {
  padding: 12px 16px;
  gap: 14px;
}
.sim-media-art {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.sim-art-disc-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 50%, #3B82F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-art-disc-art::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0.85;
}
.sim-media-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 2px;
}
.sim-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sim-media-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-aurora-wrap {
  display: flex;
  align-items: center;
  height: 14px;
  flex-shrink: 0;
}
.sim-media-artist {
  font-size: 11px;
  color: #86868B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-media-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.sim-ctrl-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.sim-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.12);
}
.sim-ctrl-btn:active {
  transform: scale(0.92);
}
.sim-ctrl-play {
  background: #FFFFFF;
  color: #000000;
}
.sim-ctrl-play:hover {
  background: #EAEAEA;
  color: #000000;
}

/* 3. Volume view (2-Row Layout Accurate to ExpandedVolumeView) */
.sim-view-volume {
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  gap: 10px;
}
.sim-vol-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sim-vol-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-vol-label {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
}
.sim-vol-val {
  font-size: 14px;
  font-weight: 600;
  color: #38BDF8;
  font-variant-numeric: tabular-nums;
}
.sim-vol-track {
  width: 100%;
  height: 6px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: height 0.15s ease, background 0.15s ease;
}
.sim-vol-track:hover {
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
}
.sim-vol-fill {
  height: 100%;
  border-radius: 980px;
  background: linear-gradient(90deg, #94a3b8 0%, #38bdf8 100%);
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* 4. Battery Expanded view */
.sim-view-battery {
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}
.sim-battery-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sim-battery-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-battery-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}
.sim-battery-subtitle {
  font-size: 11px;
  color: #86868B;
}

/* 5. Alert Expanded view */
.sim-view-alert {
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}
.sim-alert-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 69, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sim-alert-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-alert-title {
  font-size: 13px;
  font-weight: 600;
  color: #FF453A;
}
.sim-alert-sub {
  font-size: 11px;
  color: #86868B;
}

/* 6. Control Center view */
.sim-view-control {
  flex-direction: column;
  padding: 16px 18px;
  gap: 12px;
}
.sim-cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sim-cc-greeting {
  display: flex;
  flex-direction: column;
}
.sim-cc-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}
.sim-cc-date {
  font-size: 10.5px;
  color: #86868B;
}
.sim-cc-clock {
  font-size: 16px;
  font-weight: 800;
  color: #A78BFA;
  font-variant-numeric: tabular-nums;
}
.sim-cc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.sim-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-metric-label {
  font-size: 9.5px;
  font-weight: 600;
  color: #86868B;
}
.sim-metric-val {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.sim-metric-cpu { color: #38BDF8; }
.sim-metric-ram { color: #A78BFA; }
.sim-metric-bat { color: #34C759; }
.sim-cc-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.sim-action-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sim-action-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sim-screen-content {
  margin-top: auto;
  margin-bottom: 16px;
}
.sim-screen-hint {
  font-size: 11.5px;
  color: var(--text-secondary);
  background: #FFFFFF;
  padding: 4px 14px;
  border-radius: 980px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Simulator Controller Buttons */
.simulator-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Dock Segmented Pill */
.sim-dock-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 3px;
  margin-right: 6px;
}
.sim-dock-btn {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.sim-dock-btn.active {
  background: #000000;
  color: #FFFFFF;
  font-weight: 600;
}

.sim-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 980px;
  background: var(--bg-surface);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sim-btn:hover {
  background: #EAEAEA;
  color: var(--text-primary);
}
.sim-btn.active {
  background: #000000;
  color: #FFFFFF;
}

/* ==========================================================================
   Showcase Tabs (Apple Segmented Control Style)
   ========================================================================== */
.showcase-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 980px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
}
.tab-btn {
  padding: 8px 18px;
  border-radius: 980px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.showcase-panel {
  display: none;
}
.showcase-panel.active {
  display: block;
  animation: panelCrossfade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.showcase-img-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  background: #FFFFFF;
}
.showcase-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-desc-box h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.showcase-desc-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-checklist li {
  font-size: 13.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-checklist li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--text-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

/* ==========================================================================
   Features Grid (Apple Clean Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.glass-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px;
  transition: transform 0.2s var(--spring), box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--bg-surface);
  color: var(--text-primary);
}

.card-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Bento Performance & Architecture Section
   ========================================================================== */

/* 1. Stat Counters Grid */
.perf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.perf-metric-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  transition: transform 0.2s var(--spring), box-shadow 0.2s ease;
}
.perf-metric-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.perf-metric-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.perf-metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.perf-metric-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 2. Visual Benchmark Comparison Card */
.perf-benchmark-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.benchmark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.benchmark-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.benchmark-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 5px 12px;
  border-radius: 980px;
  border: 1px solid var(--border);
}
.benchmark-rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.benchmark-row {
  display: flex;
  flex-direction: column;
}
.benchmark-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.benchmark-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.benchmark-highlight {
  font-size: 12px;
  font-weight: 600;
  color: #0071E3;
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 10px;
  border-radius: 980px;
}
.benchmark-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bar-entry {
  display: flex;
  flex-direction: column;
}
.bar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.legend-name {
  font-weight: 500;
}
.legend-val {
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.legend-val-bad {
  color: var(--text-muted);
  font-weight: 500;
}
.bar-track {
  height: 8px;
  border-radius: 980px;
  background: var(--bg-surface);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 980px;
  transition: width 1.2s var(--spring);
}
.bar-fill-fast {
  background: #000000;
}
.bar-fill-slow {
  background: #D2D2D7;
}

/* 3. Architecture Pillars Grid */
.perf-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.perf-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform 0.2s var(--spring);
}
.perf-pillar-card:hover {
  transform: translateY(-2px);
}
.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.pillar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pillar-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 760px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item.active {
  border-color: var(--border-light);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.faq-toggle {
  color: var(--text-secondary);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Changelog Section (Apple Minimalist Luxury Timeline)
   ========================================================================== */
.changelog-container {
  max-width: 820px;
}
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.changelog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px;
  transition: transform 0.2s var(--spring), box-shadow 0.2s var(--spring);
}
.changelog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.changelog-latest {
  border-color: rgba(0, 0, 0, 0.15);
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
}
.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.changelog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.changelog-tag {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 980px;
  background: var(--border);
  color: var(--text-secondary);
}
.changelog-tag.latest-tag {
  background: #000000;
  color: #FFFFFF;
}
.changelog-version {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.changelog-date {
  font-size: 13px;
  color: var(--text-muted);
}
.changelog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.changelog-link:hover {
  color: var(--text-primary);
}

.changelog-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.changelog-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.18s var(--spring);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.changelog-download-btn:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.changelog-download-btn.changelog-download-latest {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.changelog-download-btn.changelog-download-latest:hover {
  background: #262626;
  border-color: #262626;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.changelog-download-btn svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.changelog-download-btn:hover svg {
  transform: translateY(1px);
}

.changelog-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}

.changelog-status-btn.updating {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.changelog-tag.updating-tag {
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  display: inline-block;
  animation: pulseDotAnim 1.4s ease-in-out infinite;
}

@keyframes pulseDotAnim {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}
.changelog-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.changelog-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.group-title {
  display: flex;
  align-items: center;
}
.bullet-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.bullet-new {
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
}
.bullet-fix {
  background: rgba(142, 142, 147, 0.12);
  color: #555558;
}
.changelog-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 2px;
}
.changelog-items li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.changelog-items li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--text-muted);
  font-size: 16px;
}
.changelog-items li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.changelog-items li code {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ==========================================================================
   Final CTA (Apple Minimalist Callout)
   ========================================================================== */
.final-cta-section {
  padding: 70px 0;
}
.cta-card {
  padding: 56px 24px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto;
}
.cta-logo {
  margin-bottom: 18px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.cta-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 30px;
}
.btn-large {
  padding: 14px 32px;
  font-size: 14.5px;
}
.cta-version-note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title { font-size: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .perf-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .nav-menu { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .simulator-controls { flex-direction: column; width: 100%; }
  .sim-btn { width: 100%; justify-content: center; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-cta-main, .btn-cta-secondary, .btn-cta-ghost { width: 100%; justify-content: center; }
  .changelog-actions { width: 100%; justify-content: flex-start; }
  .showcase-tabs { flex-wrap: wrap; border-radius: 12px; }
  .perf-metrics-grid { grid-template-columns: 1fr; }
  .perf-benchmark-card { padding: 24px 18px; }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
