/* ============================================
   ATLAS MACHINE — Premium Preview v3
   Matches atlasmachines.co structure, elevated visuals
   ============================================ */

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

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

:root {
  /* Core palette — matches live site */
  --black:       #0a0a0a;
  --dark:        #111111;
  --darker:      #080808;
  --surface:     #131313;
  --surface-lt:  #1a1a1a;
  --card-bg:     rgba(19, 19, 19, 0.8);
  --card-bg-solid: #141414;
  --border:      rgba(255,255,255,0.06);
  --border-lt:   rgba(255,255,255,0.03);

  /* Gold — matches live site */
  --gold:        #D4A853;
  --gold-light:  #e0b960;
  --gold-bright: #f0d68a;
  --gold-warm:   #c49b45;
  --gold-dim:    rgba(212,168,83,0.10);
  --gold-glow:   rgba(212,168,83,0.25);
  --gold-subtle: rgba(212,168,83,0.04);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #c49b45, #D4A853, #f0d68a, #e0b960, #D4A853);
  --gradient-gold-text: linear-gradient(135deg, #D4A853 0%, #f0d68a 40%, #e0b960 60%, #D4A853 100%);
  --gradient-gold-border: linear-gradient(135deg, rgba(212,168,83,0.3), rgba(240,214,138,0.15), rgba(212,168,83,0.3));

  /* Text — high contrast */
  --white:       #ffffff;
  --cream:       #f5f5f5;
  --cream-soft:  #cccccc;
  --muted:       #999999;
  --muted-lt:    #666666;

  /* Fonts — matches live site */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Radius */
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-luxury: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition:  0.5s var(--ease-out);
  --transition-fast: 0.3s var(--ease-out);
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes textShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(212,168,83,0.15), 0 4px 20px rgba(0,0,0,0.5); }
  50%      { box-shadow: 0 0 60px rgba(212,168,83,0.35), 0 4px 20px rgba(0,0,0,0.5); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes goldPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.15); opacity: 0.8; }
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection {
  background: rgba(212,168,83,0.25);
  color: var(--gold-bright);
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(212,168,83,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,168,83,0.4); }

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#constellationCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gradient-gold);
  z-index: 10001;
  width: 0;
  pointer-events: none;
  opacity: 0.85;
  transition: width 0.15s linear;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-luxury), visibility 0.6s;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-gold);
  border-radius: 2px;
  animation: loaderFill 1.2s var(--ease-out) forwards;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ============================================
   TYPOGRAPHY — matches live site (Inter, no serif)
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
}

.display-hero {
  font-family: var(--font-body);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.display-xl {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.display-lg {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.display-md {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

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

/* Gold gradient text */
.text-gold-gradient {
  background: linear-gradient(120deg, var(--white) 0%, var(--cream-soft) 25%, var(--gold) 50%, var(--gold-bright) 75%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 8s linear infinite;
}

/* ============================================
   NAVIGATION — Frosted Glass (matches live site)
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all 0.6s var(--ease-luxury);
}
.nav.scrolled {
  background: rgba(10,10,10,0.85);
  border-color: var(--border);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
  height: 60px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo .gold {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(212,168,83,0.35);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: all 0.3s var(--ease-out) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 35px var(--gold-glow);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.nav-mobile a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--white); }

/* ============================================
   BUTTONS — matches live site
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before { left: 140%; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 0 30px var(--gold-glow), 0 4px 20px rgba(0,0,0,0.5);
  animation: glowPulse 4s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(212,168,83,0.4), 0 12px 40px rgba(0,0,0,0.6);
  animation: none;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(212,168,83,0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212,168,83,0.08);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-lg {
  padding: 1.15rem 2.8rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover svg { transform: translateX(4px); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 7.5rem 0;
  position: relative;
  z-index: 1;
}

/* ============================================
   GLASS CARDS — visible borders/glow
   ============================================ */
.glass-card {
  background: rgba(19, 19, 19, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
/* Top shine line */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.2), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.glass-card:hover {
  border-color: rgba(212,168,83,0.2);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(212,168,83,0.06);
}
.glass-card:hover::before { opacity: 1; }

/* Mouse-tracked glow */
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212,168,83,0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-luxury);
  pointer-events: none;
  z-index: -1;
}
.glass-card:hover::after { opacity: 1; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-luxury),
              transform 0.8s var(--ease-luxury);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: 4rem;
}
.section-header.centered { text-align: center; }
.section-header .label {
  display: block;
  margin-bottom: 1.25rem;
}
.section-header h2 { margin-bottom: 1.25rem; }
.section-header p {
  color: var(--muted);
  max-width: 55ch;
  font-size: 1.05rem;
  line-height: 1.75;
}
.section-header.centered p { margin: 0 auto; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 6rem 0 4rem;
}
.hero-ambient {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(212,168,83,0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: heroAmbient1 8s ease-in-out infinite alternate;
}
@keyframes heroAmbient1 {
  0%   { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-20px); }
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(19,19,19,0.8);
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 2rem;
  animation: fade-in-up 1s var(--ease-luxury) 0.2s both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
  animation: goldPulse 2s ease-in-out infinite;
}
.hero-badge-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.hero-title {
  margin-bottom: 1.5rem;
  animation: fade-in-up 1s var(--ease-luxury) 0.4s both;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 550px;
  margin: 0 auto 0.75rem;
  animation: fade-in-up 1s var(--ease-luxury) 0.6s both;
}
.hero-detail {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  animation: fade-in-up 1s var(--ease-luxury) 0.75s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 1s var(--ease-luxury) 0.9s both;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fade-in-up 1s var(--ease-luxury) 1.5s both;
}
.hero-scroll svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  animation: chevronBounce 2s ease-in-out infinite;
}

/* Floating hero particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
}

/* ============================================
   CAPABILITIES GRID
   ============================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cap-card {
  padding: 2.5rem 2rem;
}
.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,83,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.cap-card:hover .cap-icon {
  background: rgba(212,168,83,0.18);
  border-color: rgba(212,168,83,0.35);
}
.cap-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.cap-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   ARCHITECTURE — Agent Hub
   ============================================ */
.arch-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}
.arch-core {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.12), rgba(212,168,83,0.02));
  border: 1px solid rgba(212,168,83,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}
.arch-core-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}
.arch-core-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.arch-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.08);
  animation: rotate-slow 30s linear infinite;
}
.arch-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}
.agent-card {
  padding: 1.5rem;
  text-align: center;
}
.agent-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.agent-card p {
  font-size: 0.75rem;
  color: var(--muted);
}
.arch-tagline {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  text-align: center;
  opacity: 0.9;
}

/* ============================================
   INTELLIGENCE / MEMORY SECTION
   ============================================ */
.intel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intel-orb {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
.intel-orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.15), rgba(212,168,83,0.03));
  border: 1px solid rgba(212,168,83,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbFloat 6s ease-in-out infinite;
}
.intel-orb-text {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.intel-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.06);
  animation: ringPulse 4s ease-in-out infinite;
}
.intel-ring-2 {
  position: absolute;
  inset: -35px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.03);
  animation: ringPulse 4s ease-in-out infinite 1s;
}
.intel-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.intel-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.intel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--gold-glow);
}
.intel-feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.intel-feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   USE CASES
   ============================================ */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.usecase-card {
  padding: 2.5rem 2rem;
}
.usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.usecase-card .usecase-sub {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.usecase-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.usecase-card li {
  font-size: 0.85rem;
  color: var(--cream-soft);
  padding-left: 1.25rem;
  position: relative;
}
.usecase-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================
   HARDWARE / MACHINE
   ============================================ */
.machine-hero {
  position: relative;
  z-index: 1;
}
.machine-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.12), transparent);
}
.machine-content p.desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 60ch;
}
.machine-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.spec-card {
  padding: 2rem;
  text-align: center;
}
.spec-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.spec-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Casing section */
.casing-card {
  margin-top: 4rem;
  padding: 3rem;
}
.casing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.casing-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
}
.casing-card .casing-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.casing-card .casing-details li {
  font-size: 0.85rem;
  color: var(--cream-soft);
  padding-left: 1.25rem;
  position: relative;
}
.casing-card .casing-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Mockup images */
.mockup-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.mockup-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.mockup-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}
.mockup-item:hover img { transform: scale(1.04); }
.mockup-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(10,10,10,0.75);
  border: 1px solid var(--border);
  border-radius: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* ============================================
   CTA / DEMO FORM
   ============================================ */
.cta-section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(212,168,83,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 1.25rem; }
.cta-section .cta-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}
.demo-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(19,19,19,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: var(--muted-lt);
}
.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(212,168,83,0.4);
  box-shadow: 0 0 0 3px var(--gold-dim), 0 0 20px rgba(212,168,83,0.06);
}
.demo-form textarea {
  resize: vertical;
  min-height: 100px;
}
.demo-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-success.show {
  display: block;
  animation: fade-in-up 0.6s var(--ease-luxury);
}
.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================
   DIVIDER
   ============================================ */
.section-divider {
  width: 100%;
  max-width: 600px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.15), transparent);
  animation: lineGlow 4s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.12), transparent);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted-lt);
}
.footer-contact {
  font-size: 0.78rem;
  color: var(--muted-lt);
}
.footer-contact a {
  color: var(--gold);
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--gold-light); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav { padding: 0 2rem; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .intel-layout { grid-template-columns: 1fr; gap: 3rem; }
  .machine-specs { grid-template-columns: 1fr; max-width: 400px; }
  .usecases-grid { grid-template-columns: 1fr; }
  .mockup-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 5rem 0; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container, .container-lg { padding: 0 1.25rem; }
  .nav { padding: 0 1.25rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #constellationCanvas { display: none; }
  .scroll-progress { display: none; }
  .hero-particles { display: none; }
}
