/* AETHERBOOK PRO X1 — Flagship Liquid-Gold & Electric-Cyan Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-void: #030508;
  --bg-obsidian: #070A10;
  --bg-card: rgba(13, 18, 28, 0.78);
  --bg-card-solid: #0D121C;
  --bg-glass: rgba(10, 14, 23, 0.82);
  --gold-primary: #F5B942;
  --gold-bright: #FDE08D;
  --gold-deep: #C88A1B;
  --cyan-primary: #38BDF8;
  --cyan-bright: #7DD3FC;
  --cyan-deep: #0284C7;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 185, 66, 0.38);
  --border-cyan: rgba(56, 189, 248, 0.38);
  --shadow-glow-gold: 0 20px 60px -15px rgba(245, 185, 66, 0.25);
  --shadow-glow-cyan: 0 20px 60px -15px rgba(56, 189, 248, 0.25);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-void);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

img, video, canvas {
  max-width: 100%;
  display: block;
}

/* Ambient Background Mesh */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(245, 185, 66, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(245, 185, 66, 0.05) 0%, transparent 50%);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Top Utility Announcement Bar */
.top-utility-bar {
  background: linear-gradient(90deg, rgba(12, 17, 28, 0.95) 0%, rgba(22, 18, 12, 0.95) 50%, rgba(10, 20, 30, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 60;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.utility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.currency-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.currency-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-deep));
  color: #030508;
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(5, 8, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.brand- emblem {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(245, 185, 66, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(245, 185, 66, 0.2);
}

.brand-text-gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, var(--gold-bright) 55%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem;
  border-radius: 999px;
}

.nav-link {
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.22s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #04060A;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 55%, var(--cyan-bright) 100%);
  box-shadow: 0 4px 18px rgba(245, 185, 66, 0.35);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-cart-trigger {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart-trigger:hover {
  border-color: var(--gold-primary);
  background: rgba(245, 185, 66, 0.12);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, var(--gold-primary), var(--cyan-primary));
  color: #030508;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 55%, #D99116 100%);
  color: #04060A;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px -6px rgba(245, 185, 66, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(245, 185, 66, 0.65);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.45);
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px -5px rgba(37, 211, 102, 0.65);
  filter: brightness(1.06);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan-bright);
  border: 1px solid var(--border-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline-cyan:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  background: rgba(7, 10, 16, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav-drawer.open {
  display: block;
}

/* 3D Scroll Hero Stage on index.html */
.scroll-hero-track {
  position: relative;
  height: 430vh;
  background: #000000;
}

.scroll-hero-sticky {
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 52%, rgba(245, 185, 66, 0.10) 0%, rgba(56, 189, 248, 0.08) 35%, #000000 72%);
}

.hero-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#laptop-scroll-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.12s ease-out;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.85));
}

/* Floating Story Overlays Synced to Scroll */
.scroll-hud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  max-width: 1360px;
  margin: 0 auto;
}

.hud-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hud-stage-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.hud-progress-box {
  pointer-events: auto;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.1rem;
  border-radius: 14px;
  min-width: 210px;
}

.hud-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.hud-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-primary));
  border-radius: 99px;
  transition: width 0.08s linear;
}

.hud-story-card {
  pointer-events: auto;
  max-width: 470px;
  background: rgba(7, 10, 18, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 185, 66, 0.32);
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 185, 66, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hud-quick-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 12, 20, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem;
  border-radius: 999px;
}

.stage-jump-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.stage-jump-btn:hover, .stage-jump-btn.active {
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.25), rgba(56, 189, 248, 0.25));
  color: #FFFFFF;
  border: 1px solid rgba(245, 185, 66, 0.45);
}

/* Section Styling */
.section-block {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.28);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* Glass Cards & Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 1.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(245, 185, 66, 0.42);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-gold);
}

.angle-card-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.angle-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .angle-card-img-wrap img {
  transform: scale(1.06);
}

/* Product Configurator Layout */
.config-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.config-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.config-pill:hover {
  border-color: rgba(245, 185, 66, 0.4);
  background: rgba(245, 185, 66, 0.05);
}

.config-pill.selected {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.16), rgba(56, 189, 248, 0.08));
  box-shadow: 0 0 24px rgba(245, 185, 66, 0.18);
}

/* Spec Table & Benchmark Bars */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th, .spec-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.spec-table th {
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 185, 66, 0.05);
}

.bench-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.45rem;
}

.bench-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-primary));
}

/* Floating WhatsApp Widget (Every Page) */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.65);
}

/* Slide-Over Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  background: #080C14;
  border-left: 1px solid var(--border-gold);
  z-index: 96;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

/* Toast Notification */
.aether-toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 100;
  background: rgba(10, 15, 25, 0.95);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  font-size: 0.86rem;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.aether-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Executive Footer */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #05080F 0%, #020306 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

/* Form Inputs */
.input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-hud-layer { padding: 1rem; }
  .hud-story-card { max-width: 100%; padding: 1.15rem; }
  .config-option-grid { grid-template-columns: 1fr; }
}
