/* ============================================================
   ROOT
============================================================ */

:root {

  --black: #080808;
  --charcoal: #111110;
  --charcoal-light: #171715;

  --amber: #d4af5f;
  --amber-light: #6b3737;
  --amber-dark: #8f6b2e;

  --text-primary: #f3eee4;
  --text-secondary: #9d9789;
  --text-muted: #5f5a50;

  --border: lab(1% 1.27 -3.45 / 0.789);

  --serif: 'Cormorant Garamond', serif;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Tenor Sans', sans-serif;

}

/* ============================================================
   RESET
============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  background: var(--black);
  color: var(--text-primary);

  font-family: var(--sans);

  overflow-x: hidden;
}

/* ============================================================
   GRAIN
============================================================ */

.grain {

  position: fixed;
  inset: 0;

  pointer-events: none;

  opacity: 0.04;

  z-index: 9999;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");

}

/* ============================================================
   NAVBAR
============================================================ */

.navbar {

  position: fixed;
  top: 0;

  width: 100%;

  padding: 28px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000;

  backdrop-filter: blur(10px);

  background:
    linear-gradient(
      to bottom,
      rgba(3, 3, 3, 0.75),
      transparent
    );

}

.nav-logo {

  font-family: var(--mono);

  font-size: 0.82rem;
  letter-spacing: 0.22em;

  color: var(--text-primary);

}

.nav-logo span {
  color: var(--amber);
}

.nav-links {

  display: flex;
  gap: 44px;

}

.nav-links a {

  text-decoration: none;

  color: var(--text-secondary);

  font-family: var(--mono);

  font-size: 0.7rem;
  letter-spacing: 0.22em;

  transition: 0.4s;

}

.nav-links a:hover {
  color: var(--amber);
}

.nav-button {

  text-decoration: none;

  border: 1px solid var(--amber);

  padding: 14px 28px;

  color: var(--amber);

  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;

  transition: 0.4s;
}

.nav-button:hover {

  background: var(--amber);
  color: black;

}

/* ============================================================
   HERO
============================================================ */

.hero {

  position: relative;

  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 160px 24px 120px;

  overflow: hidden;
}

/* Ambient Background */

.hero-bg {

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(212,175,95,0.08),
      transparent 45%
    );

  opacity: 0.8;
}

.hero-light {

  position: absolute;

  width: 700px;
  height: 700px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(212,175,95,0.12),
      transparent 70%
    );

  filter: blur(80px);

  animation: glowMove 10s ease-in-out infinite;
}

@keyframes glowMove {

  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0px);
  }

}

/* Film Strips */

.hero-filmstrip {

  position: absolute;
  top: 0;

  width: 80px;
  height: 100%;

  border-left: 1px solid rgba(212,175,95,0.08);
  border-right: 1px solid rgba(212,175,95,0.08);

  opacity: 0.4;
}

.left-strip {
  left: 32px;
}

.right-strip {
  right: 32px;
}

.hero-filmstrip::before {

  content: '';

  position: absolute;

  width: 100%;
  height: 100%;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 70px,
      rgba(212,175,95,0.08) 71px,
      rgba(212,175,95,0.08) 72px
    );

}

/* Text */

.hero-label {

  position: relative;

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.72rem;
  letter-spacing: 0.28em;

  margin-bottom: 36px;

  text-transform: uppercase;
}

.hero-title {

  position: relative;

  font-family: var(--serif);

  font-size: clamp(5rem, 10vw, 9rem);

  line-height: 0.92;

  font-weight: 400;

  margin-bottom: 40px;

  letter-spacing: -0.04em;
}

.hero-title em {

  color: var(--amber);

  font-style: italic;
  font-weight: 400;

}

.hero-description {

  position: relative;

  max-width: 760px;

  color: var(--text-secondary);

  font-family: var(--mono);

  font-size: 0.9rem;
  line-height: 2;

  letter-spacing: 0.08em;

  margin-bottom: 60px;

}

/* Buttons */

.hero-buttons {

  display: flex;
  gap: 24px;

  position: relative;
}

.btn-primary,
.btn-secondary {

  text-decoration: none;

  padding: 18px 34px;

  font-family: var(--mono);

  font-size: 0.7rem;
  letter-spacing: 0.24em;

  transition: 0.4s;
}

.btn-primary {

  background: var(--amber);

  color: black;

}

.btn-primary:hover {

  background: var(--amber-light);

  transform: translateY(-2px);
}

.btn-secondary {

  border: 1px solid var(--border);

  color: var(--text-primary);

}

.btn-secondary:hover {

  border-color: var(--amber);
  color: var(--amber);

}

/* Product Cards */

.hero-products {

  margin-top: 110px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 24px;

  width: 100%;
  max-width: 1100px;
}

.hero-card {

  background: rgba(255,255,255,0.02);

  border: 1px solid var(--border);

  padding: 34px;

  text-align: left;

  transition: 0.4s;

  backdrop-filter: blur(10px);
}

.hero-card:hover {

  border-color: rgba(212,175,95,0.3);

  transform: translateY(-6px);

}

.hero-card-tag {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.64rem;
  letter-spacing: 0.2em;

  margin-bottom: 20px;
}

.hero-card-title {

  font-family: var(--serif);

  font-size: 2.2rem;

  margin-bottom: 14px;
}

.hero-card-description {

  color: var(--text-secondary);

  font-family: var(--mono);

  font-size: 0.72rem;
  line-height: 1.9;
}

/* ============================================================
   DIVIDER
============================================================ */

.divider {

  width: calc(100% - 120px);
  height: 1px;

  margin: 0 auto;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(212,175,95,0.15),
      transparent
    );

}

/* ============================================================
   SECTION STYLES
============================================================ */

section {

  padding: 140px 80px;

}

.section-label {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.72rem;
  letter-spacing: 0.24em;

  margin-bottom: 28px;
}

.section-title {

  font-family: var(--serif);

  font-size: clamp(3rem, 6vw, 6rem);

  line-height: 0.96;

  margin-bottom: 60px;

  font-weight: 400;
}

.section-title em {

  color: var(--amber);

  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   ECOSYSTEM
============================================================ */

.ecosystem-grid {

  display: grid;
  grid-template-columns: 1.1fr 1fr;

  gap: 80px;
  align-items: center;
}

.ecosystem-text {

  color: var(--text-secondary);

  font-size: 1rem;
  line-height: 2;

  max-width: 580px;

  margin-bottom: 26px;
}

/* Orbit */

.orbit-container {

  position: relative;

  width: 500px;
  height: 500px;

  margin: auto;
}

.orbit {

  position: absolute;

  border: 1px solid rgba(212,175,95,0.12);

  border-radius: 50%;
}

.orbit-1 {
  inset: 80px;
}

.orbit-2 {
  inset: 40px;
}

.orbit-3 {
  inset: 0;
}

.orbit-center {

  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 110px;
  height: 110px;

  border-radius: 50%;

  background: rgba(212,175,95,0.1);

  border: 1px solid rgba(212,175,95,0.2);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--mono);

  color: var(--amber);

  letter-spacing: 0.22em;
}

.orbit-node {

  position: absolute;

  padding: 12px 18px;

  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(212,175,95,0.12);

  color: var(--text-primary);

  font-family: var(--mono);

  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.node-1 {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.node-2 {
  bottom: 60px;
  left: 0;
}

.node-3 {
  bottom: 60px;
  right: 0;
}

/* ============================================================
   PRODUCT SPLIT
============================================================ */

.product-split {

  display: grid;
  grid-template-columns: repeat(2, 1fr);

}

.product-panel {

  padding: 120px 70px;

  border-right: 1px solid var(--border);
}

.dark-panel {
  background: rgba(255,255,255,0.01);
}

.product-tag {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.68rem;
  letter-spacing: 0.24em;

  margin-bottom: 26px;
}

.product-title {

  font-family: var(--serif);

  font-size: 4.5rem;

  margin-bottom: 14px;

  font-weight: 400;
}

.product-subtitle {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.76rem;
  letter-spacing: 0.18em;

  margin-bottom: 34px;
}

.product-description {

  color: var(--text-secondary);

  line-height: 2;

  margin-bottom: 50px;

  max-width: 520px;
}

/* Feature List */

.feature-list {

  display: flex;
  flex-direction: column;

  gap: 16px;

  margin-bottom: 50px;
}

.feature-item {

  padding: 16px 18px;

  border: 1px solid rgba(255,255,255,0.05);

  background: rgba(255,255,255,0.02);

  color: var(--text-secondary);

  font-family: var(--mono);

  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Mockup */

.mockup,
.terminal {

  border: 1px solid rgba(212,175,95,0.12);

  background: rgba(0,0,0,0.4);

  overflow: hidden;
}

.mockup-top,
.terminal-header {

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 16px 20px;

  border-bottom: 1px solid rgba(255,255,255,0.05);

  background: rgba(255,255,255,0.02);
}

.mockup-dot,
.terminal-dot {

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--amber);
}

.mockup-body,
.terminal-body {

  padding: 26px;
}

/* Gear Items */

.gear-item {

  display: flex;
  align-items: center;

  gap: 20px;

  padding: 20px;

  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.gear-icon {

  font-size: 1.6rem;
}

.gear-name {

  font-family: var(--serif);

  font-size: 1.2rem;
}

.gear-meta {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.62rem;
  letter-spacing: 0.18em;

  margin-top: 6px;
}

/* Terminal */

.terminal-label {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.64rem;
  letter-spacing: 0.22em;

  margin-bottom: 20px;
}

.terminal-query {

  padding: 16px;

  border-left: 2px solid var(--amber);

  background: rgba(255,255,255,0.02);

  font-family: var(--mono);

  margin-bottom: 26px;
}

.terminal-results {

  display: flex;
  flex-direction: column;

  gap: 14px;
}

.terminal-result {

  color: var(--text-secondary);

  font-family: var(--mono);

  font-size: 0.72rem;
}

/* ============================================================
   STORY
============================================================ */

.story {

  text-align: center;

  max-width: 1000px;

  margin: auto;
}

.center-label {
  text-align: center;
}

.story-title {

  font-family: var(--serif);

  font-size: clamp(4rem, 8vw, 7rem);

  line-height: 0.95;

  font-weight: 400;

  margin-bottom: 40px;
}

.story-title em {

  color: var(--amber);

  font-style: italic;
}

.story-text {

  color: var(--text-secondary);

  font-size: 1rem;
  line-height: 2;

  max-width: 700px;

  margin: 0 auto 24px;
}

/* ============================================================
   PHILOSOPHY
============================================================ */

.philosophy-grid {

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.philosophy-card {

  border: 1px solid rgba(255,255,255,0.05);

  background: rgba(255,255,255,0.02);

  padding: 44px;

  transition: 0.4s;
}

.philosophy-card:hover {

  border-color: rgba(212,175,95,0.2);

  transform: translateY(-6px);
}

.philosophy-icon {

  color: var(--amber);

  font-size: 2rem;

  margin-bottom: 24px;
}

.philosophy-title {

  font-family: var(--serif);

  font-size: 2rem;

  margin-bottom: 18px;
}

.philosophy-description {

  color: var(--text-secondary);

  line-height: 1.9;
}

/* ============================================================
   CTA
============================================================ */

.cta {

  text-align: center;
}

.cta-label {

  color: var(--amber);

  font-family: var(--mono);

  font-size: 0.72rem;
  letter-spacing: 0.24em;

  margin-bottom: 24px;
}

.cta-title {

  font-family: var(--serif);

  font-size: clamp(3rem, 6vw, 6rem);

  line-height: 1;

  font-weight: 400;

  margin-bottom: 34px;
}

.cta-title em {

  color: var(--amber);

  font-style: italic;
}

.cta-description {

  color: var(--text-secondary);

  margin-bottom: 46px;

  font-size: 1rem;
}

.cta-buttons {

  display: flex;
  justify-content: center;

  gap: 24px;
}

/* ============================================================
   FOOTER
============================================================ */

.footer {

  padding: 70px 24px;

  border-top: 1px solid rgba(255,255,255,0.05);

  text-align: center;
}

.footer-logo {

  font-family: var(--mono);

  letter-spacing: 0.22em;

  margin-bottom: 18px;
}

.footer-logo span {
  color: var(--amber);
}

.footer-text {

  color: var(--text-muted);

  font-family: var(--mono);

  font-size: 0.72rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

  .hero-products,
  .product-split,
  .ecosystem-grid,
  .philosophy-grid {

    grid-template-columns: 1fr;
  }

  .orbit-container {

    width: 380px;
    height: 380px;
  }

}

@media (max-width: 768px) {

  .navbar {

    padding: 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 110px 24px;
  }

  .hero-title {

    font-size: 4rem;
  }

  .hero-buttons,
  .cta-buttons {

    flex-direction: column;
  }

  .hero-products {

    grid-template-columns: 1fr;
  }

  .product-panel {

    padding: 90px 24px;
  }

  .product-title {

    font-size: 3rem;
  }

}