/* ViSE™ — Vedic Cyberpunk Design System */

:root {
  --void: #020408;
  --deep: #060c14;
  --surface: #0a1420;
  --elevated: #0f1e2e;
  --border: rgba(255,200,80,0.12);
  --border-blue: rgba(100,200,255,0.12);
  
  --gold: #FFB800;
  --gold-light: #FFD060;
  --gold-dim: rgba(255,184,0,0.6);
  --cyan: #64C8FF;
  --cyan-dim: rgba(100,200,255,0.6);
  --saffron: #FF6B35;
  --emerald: #00C896;
  
  --text-primary: #F0E8D0;
  --text-secondary: rgba(240,232,208,0.65);
  --text-muted: rgba(240,232,208,0.35);
  
  --font-display: 'Cinzel Decorative', serif;
  --font-title: 'Cinzel', serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  --radius: 4px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  --glow-gold: 0 0 40px rgba(255,184,0,0.3), 0 0 80px rgba(255,184,0,0.1);
  --glow-cyan: 0 0 40px rgba(100,200,255,0.3), 0 0 80px rgba(100,200,255,0.1);
}

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

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

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── COSMOS BACKGROUND ─── */
.cosmos-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.sacred-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,184,0,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(100,200,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 50%, rgba(255,107,53,0.03) 0%, transparent 60%);
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section { padding: 6rem 0; position: relative; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(6,12,20,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-symbol {
  font-size: 1.5rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(255,184,0,0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.logo-text sup {
  font-size: 0.6rem;
  color: var(--gold);
  vertical-align: super;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  border-left: 1px solid var(--border);
  padding-left: 0.5rem;
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-transform: uppercase;
}

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

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.5rem 1.2rem;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--void) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s ease;
  position: relative;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.btn-primary.btn-large {
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(240,232,208,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-icon {
  font-size: 1.1rem;
  color: var(--void);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-mandala {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 120vw);
  height: min(800px, 120vw);
  animation: mandala-rotate 60s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.mandala-svg { width: 100%; height: 100%; }

@keyframes mandala-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  background: rgba(10,20,32,0.8);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(0,200,150,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,200,150,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0,200,150,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,150,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.title-line-1 {
  color: var(--text-primary);
  opacity: 0;
  animation: fade-up 1s 0.3s forwards;
}

.title-divider {
  font-size: 0.5em;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-shadow: var(--glow-gold);
  opacity: 0;
  animation: fade-up 1s 0.5s forwards;
}

.title-line-2 {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fade-up 1s 0.7s forwards;
}

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

.hero-sub {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 1s 0.9s forwards;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: fade-up 1s 1.1s forwards;
}

.hero-ctagroup {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fade-up 1s 1.3s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s 1.5s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-divider {
  color: var(--border);
  font-size: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── VISION STRIP ─── */
.vision-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,184,0,0.03), rgba(100,200,255,0.03));
}

.vision-quote {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  justify-content: center;
}

.vision-quote p {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.quote-symbol {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
  flex-shrink: 0;
}

/* ─── PORTALS ─── */
.portals { background: var(--deep); }

.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.portal-card:hover .portal-glow {
  opacity: 1;
}

.portal-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,184,0,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.portal-glyph {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.portal-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.portal-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.portal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.portal-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
}

.portal-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.portal-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.portal-cta:hover { letter-spacing: 0.15em; }

.portal-cta-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--void) !important;
  border-bottom: none !important;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, box-shadow 0.2s !important;
}

.portal-cta-primary:hover {
  background: var(--gold-light) !important;
  box-shadow: var(--glow-gold);
}

.portal-featured {
  border-color: rgba(255,184,0,0.4);
  background: linear-gradient(135deg, var(--surface), rgba(255,184,0,0.06));
}

.portal-featured-tag {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

.seed-price {
  margin-bottom: 1.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.price-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── FRAMEWORK ─── */
.framework { background: var(--void); }

.framework-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.radar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-center {
  position: absolute;
  text-align: center;
  pointer-events: none;
}

.radar-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.radar-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.dimensions-group {
  margin-bottom: 2.5rem;
}

.group-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-blue);
}

.dimension-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dimension-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.dimension-item:hover {
  background: rgba(255,184,0,0.04);
  border-left-color: var(--gold);
}

.dim-code {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  min-width: 2.5rem;
  line-height: 1.4;
}

.dim-info strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.dim-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── COMMONS / PILLARS ─── */
.commons { background: var(--deep); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

.pillar-card:hover::before { height: 100%; }

.pillar-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateX(4px);
}

.pillar-symbol {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.pillar-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillar-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  color: var(--text-muted);
}

/* ─── HELIX SECTION ─── */
.helix-section {
  background: var(--void);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.helix-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.helix-content .section-tag { margin-bottom: 1rem; }

.helix-content .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.helix-content > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.helix-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hf-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.hf-item:hover { border-color: var(--gold-dim); }

.hf-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}

.hf-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hf-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* HELIX CARD VISUAL */
.helix-card-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hcard-wrapper {
  animation: card-float 4s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
  50% { transform: translateY(-15px) rotateY(5deg) rotateX(-2deg); }
}

.hcard-front {
  width: 340px;
  height: 210px;
  background: linear-gradient(135deg, #0a1828, #0d2240, #071830);
  border: 1px solid rgba(255,184,0,0.4);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,184,0,0.1), var(--glow-cyan);
}

.hcard-bg-pattern {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(100,200,255,0.02) 20px, rgba(100,200,255,0.02) 21px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,184,0,0.02) 20px, rgba(255,184,0,0.02) 21px);
}

.hcard-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #b8960c, #f0c040);
  border-radius: 4px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.chip-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 3px 5px;
}

.chip-lines span {
  display: block;
  height: 1px;
  background: rgba(0,0,0,0.3);
}

.hcard-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.hcard-sigil {
  position: absolute;
  right: 1.5rem;
  bottom: 2.5rem;
  opacity: 0.8;
}

.hcard-name {
  position: absolute;
  bottom: 3rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.9;
}

.hcard-id {
  position: absolute;
  bottom: 1.75rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hcard-footer {
  position: absolute;
  bottom: 0.75rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(240,232,208,0.2);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,184,0,0.1);
  padding-top: 0.5rem;
}

/* ─── AUDIT SECTION ─── */
.audit-section { background: var(--deep); }

.audit-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.audit-phase {
  flex: 1;
  min-width: 180px;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: border-color 0.3s;
}

.audit-phase:hover { border-color: var(--gold-dim); }

.audit-result {
  border-color: rgba(255,184,0,0.3);
  background: linear-gradient(135deg, var(--surface), rgba(255,184,0,0.04));
}

.audit-day {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.audit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.audit-phase h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.audit-phase p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.audit-connector {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.5;
  padding-top: 4rem;
  flex-shrink: 0;
}

.cert-bands {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.band {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}

.band.bronze { background: rgba(205,127,50,0.2); color: #cd7f32; border: 1px solid rgba(205,127,50,0.4); }
.band.silver { background: rgba(192,192,192,0.2); color: #c0c0c0; border: 1px solid rgba(192,192,192,0.4); }
.band.gold { background: rgba(255,184,0,0.2); color: var(--gold); border: 1px solid rgba(255,184,0,0.4); }
.band.platinum { background: rgba(229,228,226,0.2); color: #e5e4e2; border: 1px solid rgba(229,228,226,0.4); }

.audit-cost {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.audit-cost p {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.audit-cost strong {
  color: var(--gold);
}

/* ─── PRICING ─── */
.pricing { background: var(--void); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,184,0,0.3);
}

.price-featured {
  border-color: rgba(255,184,0,0.5);
  background: linear-gradient(135deg, var(--surface), rgba(255,184,0,0.06));
  transform: translateY(-8px);
}

.price-featured:hover { transform: translateY(-12px); }

.price-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.price-amount span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.price-cta {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.75rem;
  transition: all 0.2s;
}

.price-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.price-cta-primary {
  background: var(--gold);
  color: var(--void) !important;
  border-color: var(--gold) !important;
}

.price-cta-primary:hover {
  background: var(--gold-light) !important;
  box-shadow: var(--glow-gold);
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--gold);
  text-decoration: none;
}

.pricing-note a:hover { text-decoration: underline; }

/* ─── CORRIDOR ─── */
.corridor-section {
  background: var(--deep);
  text-align: center;
}

.corridor-cities {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.city-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.city-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--glow-gold);
  animation: pulse 2.5s ease-in-out infinite;
}

.city-node:nth-child(2) .city-dot { animation-delay: 0.4s; }
.city-node:nth-child(3) .city-dot { animation-delay: 0.8s; }
.city-node:nth-child(4) .city-dot { animation-delay: 1.2s; }
.city-node:nth-child(5) .city-dot { animation-delay: 1.6s; }
.city-node:nth-child(6) .city-dot { animation-delay: 2s; }

.city-node span {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

/* ─── TEAM ─── */
.team-section { background: var(--void); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s;
}

.team-card:hover { border-color: rgba(255,184,0,0.3); }

.team-sigil {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,184,0,0.2), rgba(100,200,255,0.2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  margin: 0 auto 1.25rem;
}

.team-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--deep);
  padding: 8rem 0;
}

.cta-box {
  background: var(--surface);
  border: 1px solid rgba(255,184,0,0.3);
  padding: 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.cta-mandala-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,184,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-domains {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ─── FORM STYLES (used in partner.html) ─── */
.form-section {
  min-height: 100vh;
  padding: 10rem 2rem 5rem;
  background: var(--deep);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.form-wrapper {
  max-width: 700px;
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.2s;
  border-right: 1px solid var(--border);
}

.form-tab:last-child { border-right: none; }

.form-tab.active {
  background: rgba(255,184,0,0.1);
  color: var(--gold);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(255,184,0,0.03);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--deep);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.form-error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ff6b6b;
  margin-top: 0.3rem;
  display: none;
}

.form-error.visible { display: block; }

/* SUCCESS STATE */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,4,8,0.95);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.success-box {
  background: var(--surface);
  border: 1px solid rgba(255,184,0,0.4);
  padding: 4rem;
  max-width: 600px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
  position: relative;
  overflow: hidden;
}

.success-mandala {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,184,0,0.06), transparent 70%);
}

.success-glyph {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
  margin-bottom: 1.5rem;
  display: block;
  animation: success-pulse 2s ease-in-out infinite;
}

@keyframes success-pulse {
  0%, 100% { text-shadow: var(--glow-gold); }
  50% { text-shadow: 0 0 60px rgba(255,184,0,0.6), 0 0 120px rgba(255,184,0,0.3); }
}

.success-box h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.success-box .success-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.success-box p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.success-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  border: 1px solid var(--border-blue);
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.success-back {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  background: transparent;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.success-back:hover { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .portals-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-layout { grid-template-columns: 1fr; }
  .helix-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(6,12,20,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .pillars-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .audit-timeline { flex-direction: column; }
  .audit-connector { transform: rotate(90deg); align-self: center; padding-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .helix-card-visual { display: none; }
  .hcard-front { width: 100%; }
  section { padding: 4rem 0; }
}
