:root {
  --bg: #000000;
  --bg-surface: #0a0a0d;
  --bg-card: #0e0e12;
  --cream: #f7f7f5;
  --text-main: #f7f7f5;
  --text-muted: #8e8e9f;
  --text-light: #525260;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --white: #ffffff;
  --black: #09090b;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --mac-bezel: #09090b;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========================================
   Floating Pill Navigation (Rotato Style)
   ========================================= */
.navbar-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  max-width: 880px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 12px 8px 18px;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 24px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 2px rgba(255, 255, 255, 0.18) inset;
}

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

.brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-btn-solid {
  background: var(--cream) !important;
  color: var(--black) !important;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.84rem !important;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-btn-solid:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 15px;
  border-radius: 9999px;
  color: var(--cream) !important;
  font-size: 0.84rem !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* =========================================
   Hero Showcase Section
   ========================================= */
.hero-showcase {
  position: relative;
  width: 100%;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 90px;
  overflow: hidden;
  background: #000000;
}

.prism-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #d1d5db;
  margin-bottom: 24px;
}

.tag-badge {
  background: var(--cream);
  color: var(--black);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-heading {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 880px;
}

.hero-description {
  font-size: 1.15rem;
  color: #9ca3af;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--cream);
  color: var(--black);
  border: 1px solid var(--cream);
  box-shadow: 0 4px 20px rgba(247, 247, 245, 0.2);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247, 247, 245, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.btn-arrow {
  transition: transform 0.15s ease;
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* =========================================
   Realistic CSS MacBook Pro Hardware Mockup
   ========================================= */
.macbook-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.macbook-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.macbook-mockup:hover {
  transform: translateY(-3px);
}

/* MacBook Screen Lid */
.macbook-screen {
  position: relative;
  width: 100%;
  background: #09090b;
  border-radius: 16px 16px 2px 2px;
  padding: 6px 8px 10px 8px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 80px -15px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

/* Top Bezel & Camera Lens (Centered inside bezel, clean pinhole lens) */
.macbook-top-bezel {
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}

.camera-lens {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 1px #000;
}

/* Screen Display Content */
.macbook-display-content {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.screen-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  user-select: none;
  pointer-events: none;
}

/* MacBook Unibody Base / Keyboard Deck */
.macbook-base {
  position: relative;
  width: calc(100% + 36px);
  margin-left: -18px;
  margin-right: -18px;
  height: 14px;
  background: linear-gradient(180deg, #27272a 0%, #18181b 45%, #09090b 100%);
  border-radius: 0 0 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.macbook-notch-indent {
  width: 72px;
  height: 4px;
  background: #070709;
  border-radius: 0 0 5px 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.06);
}

.macbook-shadow {
  width: 92%;
  height: 30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 70%);
  margin: -4px auto 0;
  filter: blur(10px);
  pointer-events: none;
}

/* =========================================
   Clean Rotato-Style Bento Grid Features
   ========================================= */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-intro {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  color: var(--cream);
}

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

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.bento-span-2,
.bento-wide {
  grid-column: span 2;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #71717a;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   Comparison Table
   ========================================= */
.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
}

.minimal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.minimal-table th, .minimal-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.minimal-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.minimal-table th.primary-col, .minimal-table td.primary-col {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  color: var(--cream);
}

.minimal-table td.bold {
  font-weight: 700;
}

/* =========================================
   Platform Installation Tabs
   ========================================= */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-pill.active, .tab-pill:hover {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
  font-weight: 600;
}

.terminal-card {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.terminal-card.active {
  display: block;
}

.terminal-bar {
  background: var(--bg-surface);
  padding: 10px 16px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.terminal-card pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.terminal-card code {
  font-family: var(--font-mono);
  color: #f1f5f9;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* =========================================
   Download Section & Footer
   ========================================= */
.download-section {
  padding-bottom: 110px;
}

.download-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
}

.download-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--cream);
}

.download-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.download-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: #000000;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--cream);
}

@media (max-width: 900px) {
  .hero-heading { font-size: 2.6rem; }
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2,
  .bento-span-3,
  .bento-wide { grid-column: span 1; }
}
