/* ==========================================================================
   CleanMacStorage — Landing Page Design System & Styles
   Palette: Royal Sapphire Blue (#3A71FB) & Obsidian Dark Surface (#090A0F)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --bg-dark: #090A0F;
  --bg-surface: #11141F;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(58, 113, 251, 0.45);
  
  --brand-blue: #3A71FB;
  --brand-blue-light: #6FA1FF;
  --brand-blue-dark: #2053D6;
  --brand-glow: rgba(58, 113, 251, 0.35);
  --brand-glow-subtle: rgba(58, 113, 251, 0.15);

  --text-primary: #FFFFFF;
  --text-secondary: #9AA6B8;
  --text-muted: #5E6C7D;

  --accent-cyan: #38BDF8;
  --accent-purple: #C084FC;
  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, monospace;

  --max-w: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(58, 113, 251, 0.18), transparent 70%),
    radial-gradient(circle at 100% 40%, rgba(168, 85, 247, 0.07), transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(58, 113, 251, 0.08), transparent 40%);
  background-attachment: fixed;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #9EB8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue {
  color: var(--brand-blue-light);
}

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

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(58, 113, 251, 0.12);
  border: 1px solid rgba(58, 113, 251, 0.3);
  color: var(--brand-blue-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3A71FB 0%, #2053D6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(58, 113, 251, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(58, 113, 251, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #4A80FC 0%, #285EE0 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #FFFFFF;
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(58, 113, 251, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.brand-tag {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(58, 113, 251, 0.15);
  border: 1px solid rgba(58, 113, 251, 0.35);
  color: var(--brand-blue-light);
  border-radius: 5px;
  font-weight: 700;
}

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

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

.nav-link:hover {
  color: #FFFFFF;
}

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

/* Desktop-only nav buttons */
.desktop-only {
  display: inline-flex;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 105;
}

.hamburger-btn:hover {
  border-color: rgba(58, 113, 251, 0.5);
  background: rgba(58, 113, 251, 0.08);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #090B12 !important;
  z-index: 100;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 105px 24px 60px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.nav-links.mobile-open li {
  width: 100%;
  text-align: center;
  list-style: none;
}

.nav-links.mobile-open .nav-link {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  color: #FFFFFF;
  text-align: center;
  display: block;
  padding: 8px 16px;
}

.nav-links.mobile-open .nav-link:hover {
  color: #6FA1FF;
}

/* Ensure navbar backdrop-filter never traps fixed drawer when menu is open */
.navbar.menu-open,
.navbar:has(.nav-links.mobile-open),
body.mobile-nav-open .navbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
}

.navbar.menu-open .brand-link,
.navbar.menu-open .hamburger-btn,
body.mobile-nav-open .brand-link,
body.mobile-nav-open .hamburger-btn {
  position: relative;
  z-index: 110;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 10px var(--brand-blue);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 68px);
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 920px;
  margin: 0 auto 24px;
  line-height: 1.08;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.hero-subtext {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-subtext span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Hero Desktop App Mockup
   ========================================================================== */
.mockup-wrap {
  margin-top: 60px;
  position: relative;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-glow {
  position: absolute;
  top: 10%;
  left: 15%;
  right: 15%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(58, 113, 251, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* MacBook Air M3 Hardware Screen Mockup */
.macbook-frame {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

/* MacBook Air M3 Ultra-slim Midnight Aluminum Display Lid */
.macbook-lid {
  background: #000000;
  border-radius: 20px 20px 0 0;
  border: 2px solid #232738;
  border-bottom: none;
  padding: 6px 6px 0 6px;
  position: relative;
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(58, 113, 251, 0.22);
}

/* MacBook Air M3 Liquid Retina Screen (16:10 aspect ratio) */
.macbook-screen {
  border-radius: 12px 12px 0 0;
  background: #0A0C14;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  display: flex;
  flex-direction: column;
}

/* The Signature MacBook Air M3 Camera Notch */
.macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 156px;
  height: 28px;
  background: #000000;
  border-radius: 0 0 10px 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.notch-sensor {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #11141E;
}

.notch-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #050608;
  border: 1px solid #161A26;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch-camera .camera-lens {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #254474 0%, #060912 100%);
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.4);
}

.notch-indicator {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #0E2416;
}

/* macOS Top Menu Bar Flanking the Notch */
.macos-menubar {
  height: 28px;
  background: rgba(12, 14, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11px;
  color: #94A3B8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  user-select: none;
  position: relative;
  z-index: 10;
}

.menubar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 12px;
}

.apple-logo {
  font-size: 13px;
  color: #E2E8F0;
  cursor: default;
}

.active-app {
  font-weight: 700;
  color: #FFFFFF;
}

.menubar-item {
  color: #94A3B8;
  font-weight: 400;
  font-size: 11px;
}

.menubar-spacer {
  width: 160px;
  flex-shrink: 0;
}

.menubar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #94A3B8;
  padding-left: 12px;
}

.menubar-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
}

.menubar-time {
  font-weight: 500;
  color: #CBD5E1;
}

/* MacBook View Mode Toggles */
.macbook-mobile-view {
  display: none;
  width: 100%;
  height: 100%;
  background: #080A10;
}

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

.macbook-desktop-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Inside screen desktop styling (App Fills the MacBook Screen) */
.macbook-desktop {
  background: #0A0C14;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.macbook-desktop .app-window {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.macbook-desktop .window-header {
  background: #11141E;
  height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.macbook-desktop .window-body {
  flex: 1;
  min-height: 520px;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.macbook-desktop .mock-main {
  display: flex;
  flex-direction: column;
}

.macbook-desktop .mock-treemap-canvas {
  flex: 1;
}

/* Screen Glass Glare */
.macbook-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 30%, transparent 60%);
  pointer-events: none;
  z-index: 15;
}

/* MacBook Air M3 Flat Unibody Chassis */
.macbook-hinge {
  height: 3px;
  background: #06070A;
  border-top: 1px solid rgba(0, 0, 0, 0.8);
}

.macbook-base {
  width: calc(100% + 28px);
  margin-left: -14px;
  height: 12px;
  background: linear-gradient(180deg, #262B3A 0%, #151823 45%, #0A0C12 100%);
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.95);
}

.macbook-notch-groove {
  width: 96px;
  height: 4px;
  background: #06070A;
  border-radius: 0 0 5px 5px;
  margin: 0 auto;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}

.macbook-shadow {
  width: 94%;
  height: 24px;
  margin: 0 auto;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.95) 0%, transparent 75%);
  filter: blur(8px);
}

.app-window {
  position: relative;
  z-index: 1;
  background: #0D0F16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(58, 113, 251, 0.15);
  overflow: hidden;
  text-align: left;
}

.window-header {
  background: #11141E;
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-search {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  width: 180px;
}

.window-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 520px;
}

.mock-sidebar {
  background: #0E1018;
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
  display: flex;
  flex-col;
  flex-direction: column;
  justify-content: space-between;
}

.mock-menu-group {
  margin-bottom: 18px;
}

.mock-group-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding: 0 8px;
  margin-bottom: 8px;
}

.mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  font-weight: 500;
}

.mock-item.active {
  background: #171A24;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.mock-item.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--brand-blue);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--brand-blue);
}

.mock-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.mock-badge.blue {
  background: rgba(58, 113, 251, 0.18);
  color: var(--brand-blue-light);
  border: 1px solid rgba(58, 113, 251, 0.35);
}

.mock-disk-card {
  background: #141722;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
}

.mock-disk-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.mock-progress-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.mock-progress-fill {
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, #3A71FB, #6FA1FF);
  border-radius: 99px;
}

.mock-disk-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
}

/* Mock Main View: Treemap */
.mock-main {
  background: #090A0F;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mock-top-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mock-stat-box {
  background: #121520;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
}

.mock-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.mock-stat-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #FFFFFF;
  margin: 3px 0;
}

.mock-stat-sub {
  font-size: 9.5px;
  color: var(--brand-blue-light);
}

.mock-treemap-canvas {
  flex: 1;
  background: #0C0E14;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
}

.treemap-left {
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  gap: 8px;
}

.treemap-cell {
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.treemap-cell:hover {
  filter: brightness(1.15);
  transform: scale(0.99);
}

.cell-derived {
  background: linear-gradient(135deg, rgba(58, 113, 251, 0.4), rgba(32, 83, 214, 0.25));
  border: 1px solid rgba(58, 113, 251, 0.5);
}

.cell-docker {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(126, 34, 206, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.treemap-right {
  display: grid;
  grid-template-rows: 1fr 1fr 0.8fr;
  gap: 8px;
}

.cell-apps {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 116, 144, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cell-models {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(5, 150, 105, 0.2));
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.cell-caches {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(217, 119, 6, 0.15));
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.cell-name {
  font-weight: 600;
  color: #FFFFFF;
}

.cell-size {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.85;
}

/* ==========================================================================
   Trust & Stats Strip
   ========================================================================== */
.stats-strip {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: #FFFFFF;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-section {
  padding: 120px 0 80px;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px var(--brand-glow-subtle);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Big Showcase Feature */
.showcase-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 44px;
  background: linear-gradient(135deg, rgba(17, 20, 31, 0.9), rgba(13, 16, 26, 0.9));
}

.showcase-feature .feature-icon-wrap {
  margin-bottom: 20px;
}

.showcase-list {
  list-style: none;
  margin-top: 20px;
  space-y: 12px;
}

.showcase-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.showcase-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(58, 113, 251, 0.2);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-box {
  background: #0E1018;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mini-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.mini-spec-row:last-child {
  border-bottom: none;
}

.mini-spec-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #FFFFFF;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

.table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.compare-table th.highlight-col {
  color: var(--brand-blue-light);
  background: rgba(58, 113, 251, 0.08);
  border-top: 3px solid var(--brand-blue);
}

.compare-table td.highlight-col {
  background: rgba(58, 113, 251, 0.04);
  font-weight: 600;
  color: #FFFFFF;
}

.check-green {
  color: var(--accent-emerald);
  font-weight: 700;
}

.cross-muted {
  color: var(--text-muted);
}

/* ==========================================================================
   PRICING SECTION (Two core plans: $15/year and $49 Lifetime)
   ========================================================================== */
.pricing-section {
  padding: 120px 0 100px;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Featured Lifetime Card */
.pricing-card.featured {
  border-color: rgba(58, 113, 251, 0.55);
  background: linear-gradient(180deg, #131726 0%, #0E111C 100%);
  box-shadow: 0 15px 50px rgba(58, 113, 251, 0.25), 0 0 0 1px rgba(58, 113, 251, 0.35);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3A71FB 0%, #2053D6 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(58, 113, 251, 0.5);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-price-wrap {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-currency {
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-display);
}

.price-number {
  font-size: 54px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-savings-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue-light);
  background: rgba(58, 113, 251, 0.15);
  border: 1px solid rgba(58, 113, 251, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(58, 113, 251, 0.18);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-guarantee {
  text-align: center;
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   Checkout Modal (Interactive Demo)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(58, 113, 251, 0.2);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 28px;
}

.modal-plan-summary {
  background: rgba(58, 113, 251, 0.08);
  border: 1px solid rgba(58, 113, 251, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  background: #090B12;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
  transition: var(--transition);
}

.modal-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(58, 113, 251, 0.2);
}

.license-generated-box {
  display: none;
  background: #090B12;
  border: 1px dashed rgba(58, 113, 251, 0.4);
  border-radius: 10px;
  padding: 16px;
  margin-top: 18px;
  text-align: center;
}

.license-key-display {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue-light);
  letter-spacing: 0.05em;
  margin: 8px 0;
  user-select: all;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
}

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

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-rating {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(58, 113, 251, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-blue-light);
  border: 1px solid rgba(58, 113, 251, 0.3);
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 80px 0 120px;
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(58, 113, 251, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-blue-light);
}

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

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-section {
  padding: 60px 0 100px;
}

.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(58, 113, 251, 0.25) 0%, rgba(17, 20, 31, 0.95) 75%);
  border: 1px solid rgba(58, 113, 251, 0.35);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(58, 113, 251, 0.15);
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 300px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--brand-blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .showcase-feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .window-body {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-actions .desktop-only {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .mock-top-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-treemap-canvas {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Mobile MacBook Air M3 Proportions & View */
  .macbook-desktop-view {
    display: none !important;
  }
  .macbook-mobile-view {
    display: block !important;
    width: 100%;
    height: 100%;
  }
  .macbook-screen {
    aspect-ratio: 16 / 10.4;
    width: 100%;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #080A10;
  }
  .macbook-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .macbook-lid {
    border-radius: 14px 14px 0 0;
    padding: 4px 4px 0 4px;
  }
  .macbook-notch {
    width: 76px;
    height: 15px;
    border-radius: 0 0 5px 5px;
    gap: 5px;
  }
  .notch-camera {
    width: 5px;
    height: 5px;
  }
  .notch-camera .camera-lens {
    width: 2px;
    height: 2px;
  }
  .notch-sensor,
  .notch-indicator {
    width: 1.5px;
    height: 1.5px;
  }
  .macbook-base {
    width: calc(100% + 14px);
    margin-left: -7px;
    height: 8px;
    border-radius: 0 0 8px 8px;
  }
  .macbook-notch-groove {
    width: 44px;
    height: 2.5px;
  }
  .macbook-shadow {
    height: 12px;
  }
}

/* ==========================================================================
   Section Scroll Fade-In Effects
   ========================================================================== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  animation: heroFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js-scroll-anim section:not(.hero-section) {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-scroll-anim section:not(.hero-section).is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards inside sections */
.js-scroll-anim .feature-card,
.js-scroll-anim .pricing-card,
.js-scroll-anim .review-card,
.js-scroll-anim .stat-item {
  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);
}

.js-scroll-anim section.is-visible .feature-card,
.js-scroll-anim section.is-visible .pricing-card,
.js-scroll-anim section.is-visible .review-card,
.js-scroll-anim section.is-visible .stat-item {
  opacity: 1;
  transform: translateY(0);
}

.js-scroll-anim section.is-visible .stat-item:nth-child(1) { transition-delay: 0.05s; }
.js-scroll-anim section.is-visible .stat-item:nth-child(2) { transition-delay: 0.12s; }
.js-scroll-anim section.is-visible .stat-item:nth-child(3) { transition-delay: 0.19s; }
.js-scroll-anim section.is-visible .stat-item:nth-child(4) { transition-delay: 0.26s; }

.js-scroll-anim section.is-visible .feature-card:nth-child(1) { transition-delay: 0.04s; }
.js-scroll-anim section.is-visible .feature-card:nth-child(2) { transition-delay: 0.10s; }
.js-scroll-anim section.is-visible .feature-card:nth-child(3) { transition-delay: 0.16s; }
.js-scroll-anim section.is-visible .feature-card:nth-child(4) { transition-delay: 0.22s; }
.js-scroll-anim section.is-visible .feature-card:nth-child(5) { transition-delay: 0.28s; }

.js-scroll-anim section.is-visible .pricing-card:nth-child(1) { transition-delay: 0.06s; }
.js-scroll-anim section.is-visible .pricing-card:nth-child(2) { transition-delay: 0.14s; }

.js-scroll-anim section.is-visible .review-card:nth-child(1) { transition-delay: 0.05s; }
.js-scroll-anim section.is-visible .review-card:nth-child(2) { transition-delay: 0.12s; }
.js-scroll-anim section.is-visible .review-card:nth-child(3) { transition-delay: 0.19s; }

@media (prefers-reduced-motion: reduce) {
  .hero-section,
  .js-scroll-anim section:not(.hero-section),
  .js-scroll-anim .feature-card,
  .js-scroll-anim .pricing-card,
  .js-scroll-anim .review-card,
  .js-scroll-anim .stat-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
