
:root {
  --bg: #050705;
  --bg-card: #0e130f;
  --line: rgba(255, 255, 255, 0.08);
  --text-white: #f4f6f3;
  --text-gray: #8d9489;
  --text-dim: #565d55;
  --green: #39d353;
  --green-bright: #8bffab;
  --green-dark: #12401f;
  --glow: rgba(57, 211, 83, 0.2);
  --f-display: 'Archivo Black', sans-serif;
  --f-body: 'Archivo', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(.16, .84, .44, 1);
  --header-bg: rgba(5, 7, 5, 0.88);
  --glow-cursor: rgba(255, 255, 255, 0.02);
  --grid-dot: transparent;
}

[data-theme="light"] {
  --bg: #f5f8f5;
  --bg-card: #ffffff;
  --line: #e5e7eb;
  --text-white: #0a110b;
  --text-gray: #4b544d;
  --text-dim: #7a857d;
  --green: #1fa236;
  --green-bright: #0f7a23;
  --green-dark: #e1f5e5;
  --glow: rgba(31, 162, 54, 0.15);
  --header-bg: rgba(245, 248, 245, 0.88);
  --glow-cursor: rgba(0, 0, 0, 0.02);
  --grid-dot: transparent;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-white);
  font-family: var(--f-body);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: var(--green);
  color: #05130a;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  padding: 13px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--text-white);
  text-decoration: none;
}

.brand-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.95);
}

.btn-solid {
  background: var(--green);
  color: #05130a;
  font-weight: 700;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -6px var(--glow);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text-white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.theme-toggle-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: rotate(15deg);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow::before {
  display: none;
}

section {
  position: relative;
  padding: 100px 0;
  border-top: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HERO ============ */
.hero {
  padding-top: 60px;
  border-top: none;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-3d-container {
  width: 100%;
  max-width: 500px;
  height: 380px;
  margin: 0 auto 10px auto;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: grab;
}

.hero-3d-container:active {
  cursor: grabbing;
}

.hero-content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 72px);
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero h1 .g {
  color: var(--green);
}

.hero p {
  color: var(--text-gray);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 34px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-video {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  background: var(--bg-card);
  position: relative;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ ROLLING DRUM ============ */
.drum-section {
  text-align: center;
  padding-bottom: 80px;
}

.drum-head h2 {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 14px;
}

.drum-head p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 50px;
}

.drum-stage {
  perspective: 1400px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  position: relative;
}

/* Ambient glow behind 3D drum stage to shine through glass cards */
.drum-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(25px);
}

.drum-stage.dragging {
  cursor: grabbing;
}

.drum {
  position: relative;
  width: 240px;
  height: 280px;
  transform-style: preserve-3d;
  z-index: 1;
}

.drum.auto {
  animation: drum-spin 26s linear infinite;
}

@keyframes drum-spin {
  to {
    transform: rotateY(360deg);
  }
}

/* Authentic Glassmorphism Card Styling */
.drum-card {
  position: absolute;
  inset: 0;
  width: 240px;
  height: 280px;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 20px 0 rgba(255, 255, 255, 0.02);
  padding: 24px 18px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

/* Glass Specular & Light Reflection Layers */
.glass-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 60%);
  pointer-events: none;
}

.glass-reflection {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.glass-border-glow {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  width: 100%;
}

.drum-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(0, 255, 102, 0.3);
  border-top-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.45);
}

.drum-card .n {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-shadow: none;
}

.drum-card h3 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green);
  max-width: 200px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: none;
}

.drum-card p.card-desc {
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.45;
  margin-top: 2px;
  text-shadow: none;
}

.drum-card .ic {
  width: 40px;
  height: 40px;
  color: var(--green);
  filter: none;
}

.drum-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.drum-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
}

.drum-btn:hover {
  border-color: var(--green);
  background: rgba(57, 211, 83, 0.08);
  color: var(--green);
}

.drum-btn svg {
  width: 18px;
  height: 18px;
}

.drum-hint {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  border: none;
}

/* ============ STATEMENT ============ */
.statement .wrap {
  max-width: 880px;
}

.statement h2 {
  font-size: clamp(24px, 3.6vw, 40px);
  text-transform: none;
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--text-gray);
  line-height: 1.4;
}

.statement h2 em {
  color: var(--text-white);
  font-style: normal;
  font-weight: 800;
}

.statement h2 .g {
  color: var(--green);
  font-style: normal;
}

/* Unified Continuous Background Canvas */
.app-root {
  background: 
    radial-gradient(800px circle at 50% 0%, rgba(57, 211, 83, 0.035) 0%, transparent 75%),
    radial-gradient(1000px circle at 50% 45%, rgba(0, 255, 102, 0.025) 0%, transparent 70%),
    radial-gradient(800px circle at 50% 90%, rgba(57, 211, 83, 0.035) 0%, transparent 75%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

[data-theme="light"] .app-root {
  background: 
    radial-gradient(800px circle at 50% 0%, rgba(31, 162, 54, 0.04) 0%, transparent 75%),
    radial-gradient(1000px circle at 50% 45%, rgba(31, 162, 54, 0.025) 0%, transparent 70%),
    radial-gradient(800px circle at 50% 90%, rgba(31, 162, 54, 0.04) 0%, transparent 75%),
    var(--bg);
  background-attachment: fixed;
}

/* ============ PROCESS ============ */
.process-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  align-items: baseline;
}

[data-theme="light"] .process-row {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.process-row:first-child {
  border-top: none;
}

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

section#audience {
  border-top: none;
}

.process-row .pn {
  font-family: var(--f-mono);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.process-row h3 {
  font-family: var(--f-display);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-white);
}

.process-row p {
  color: var(--text-gray);
  font-size: 15px;
  max-width: 520px;
}

/* ============ AUDIENCE ============ */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.aud-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 44px 36px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

[data-theme="light"] .aud-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.aud-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px var(--glow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.aud-card .tag {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.aud-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-white);
}

.aud-card p {
  color: var(--text-gray);
  font-size: 15px;
}

/* ============ CTA / FOOTER ============ */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(30px, 5.5vw, 56px);
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--text-gray);
  margin-bottom: 34px;
  font-size: 17px;
}

footer {
  border-top: none;
  padding: 48px 0 36px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* Background Mouse Cursor Glow Layer & Dot Grid Overlay */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow-cursor), transparent 80%),
    radial-gradient(var(--grid-dot) 0.8px, transparent 0.8px);
  background-size: 100% 100%, 24px 24px;
  transition: opacity 0.5s ease;
}

.ambient-blur-orb {
  display: none;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-gray);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 8px var(--green);
}

@media (max-width: 820px) {
  .aud-grid {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding: 0 20px;
  }
  .hero-3d-container {
    height: 300px;
  }
}
