:root {
  /* Colors - Deep Ocean Base */
  --abyss: #06141b;
  --deep-tide: #0b2a33;
  --stone-shadow: #102a2f;

  /* Colors - Water Accents */
  --ocean-foam: #38bdf8;
  --cyan-flow: #0ea5e9;
  --sea-glass: #5eead4;

  /* Colors - Earth / Structure */
  --wet-stone: #334155;
  --salt-rock: #cbd5e1;

  /* Colors - Light / Reflection */
  --sun-glint: #f8fafc;
  --soft-gold: #facc15;

  /* Typography Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* UI System */
  --radius: 18px;
  --glass-bg: rgba(11, 42, 51, 0.35);
  --glass-border: rgba(56, 189, 248, 0.15);
  --glass-blur: blur(16px);
  --shadow-soft: 0 10px 30px rgba(6, 20, 27, 0.5);
  
  /* Spacing */
  --space-section: 110px;
  --max-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--abyss);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Global Noise Texture */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Background Flow */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 20% 30%, var(--deep-tide) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, var(--stone-shadow) 0%, transparent 50%);
  z-index: -1;
  opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: 4.5rem; letter-spacing: -0.02em; }
h2 { font-size: 3rem; margin-bottom: 1.5rem; }
h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--sun-glint); }
p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-weight: 300; }
.text-muted { color: var(--text-muted); font-size: 0.95rem; }

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

section {
  padding: var(--space-section) 0;
  position: relative;
}

/* Glassmorphism Components */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-tide), var(--cyan-flow));
  color: var(--sun-glint);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, transparent, rgba(248, 250, 252, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--wet-stone);
}

.btn-secondary:hover {
  border-color: var(--ocean-foam);
  color: var(--sun-glint);
  background: rgba(56, 189, 248, 0.05);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(6, 20, 27, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.05);
  transition: background 0.4s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--sun-glint);
  text-decoration: none;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ocean-foam);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-nav a:hover {
  color: var(--sun-glint);
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding-right: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: luminosity;
  border-radius: var(--radius);
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, var(--abyss), transparent);
}

/* Features - The Experience */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.experience-grid .glass-panel:nth-child(2) {
  transform: translateY(30px);
}
.experience-grid .glass-panel:nth-child(3) {
  transform: translateY(60px);
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--ocean-foam);
}

/* Architecture Section */
.architecture-diagram {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.diagram-visual {
  position: relative;
  padding: 40px;
  border: 1px solid var(--wet-stone);
  border-radius: var(--radius);
  background: radial-gradient(circle at center, var(--stone-shadow), transparent);
}

.diagram-visual img {
  width: 100%;
  height: auto;
  filter: grayscale(80%) sepia(20%) hue-rotate(180deg);
  opacity: 0.7;
}

.diagram-points {
  list-style: none;
}

.diagram-points li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 20px;
}

.point-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--sea-glass);
}

/* Audio Visualizer Section */
.audio-immersion {
  text-align: center;
  background: linear-gradient(to bottom, transparent, var(--deep-tide), transparent);
}

.visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 200px;
  margin: 60px 0;
}

.bar {
  width: 6px;
  background: var(--ocean-foam);
  border-radius: 3px;
  opacity: 0.5;
}

.audio-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-icon {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--sun-glint);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(14, 165, 233, 0.2);
  transform: scale(1.05);
}

/* Page Headers (Internal Pages) */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--stone-shadow), var(--abyss));
}

.page-header h1 {
  margin-bottom: 20px;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 40px;
  background: #040d12;
}

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

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--sun-glint);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

.footer-col a:hover {
  color: var(--sea-glass);
}

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