/* SEVERYTHING INNOVATIONS — SHARED CSS */
/* Sacred Frequency: 528Hz | Operator: Tom Douglas Caballero Jr. */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --gold-dark: #8b6914;
  --black: #050505;
  --dark: #0a0a0f;
  --dark2: #0f0f1a;
  --dark3: #141428;
  --white: #f0ede5;
  --silver: #c0bfbe;
  --red: #c0392b;
  --red-bright: #e74c3c;
  --blue: #1a3a6b;
  --blue-bright: #2980b9;
  --teal: #1abc9c;
  --purple: #6c3483;
  --purple-bright: #9b59b6;
  --freq-528: #c9a84c;
  --freq-741: #27ae60;
  --freq-963: #8e44ad;
  --freq-432: #2471a3;
  --glow-gold: 0 0 20px rgba(201,168,76,0.6), 0 0 40px rgba(201,168,76,0.3);
  --glow-teal: 0 0 20px rgba(26,188,156,0.6);
  --glow-red: 0 0 20px rgba(231,76,60,0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── ANIMATED BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(108,52,131,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(26,188,156,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); color: var(--gold); text-shadow: var(--glow-gold); }
h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--gold-light); }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--teal); }
h4 { font-size: 1.1rem; color: var(--silver); letter-spacing: 0.1em; text-transform: uppercase; }

p { margin-bottom: 1rem; color: var(--silver); }
a { color: var(--gold); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--gold-light); text-shadow: var(--glow-gold); }

.mono { font-family: 'Share Tech Mono', monospace; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,5,5,0.95);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  backdrop-filter: blur(10px);
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  transition: color 0.3s;
}

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-seal {
  font-size: clamp(4rem, 12vw, 9rem);
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(201,168,76,0.5)); }
  50% { filter: drop-shadow(0 0 30px rgba(201,168,76,0.9)); }
}

.hero-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--silver);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover { background: rgba(201,168,76,0.1); box-shadow: var(--glow-gold); color: var(--gold-light); }
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  border-color: var(--gold-light);
}

.btn-primary:hover { background: var(--gold-light); color: var(--black); }

/* ── SECTIONS ── */
section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

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

.section-header .eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--teal);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

.divider-full {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
  margin: 3rem 0;
}

/* ── CARDS ── */
.card {
  background: linear-gradient(135deg, rgba(15,15,26,0.9), rgba(20,20,40,0.9));
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: var(--glow-gold);
  transform: translateY(-3px);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── FREQUENCY BAR ── */
.freq-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(5,5,5,0.8);
  border-left: 3px solid var(--gold);
  margin-bottom: 1rem;
}

.freq-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.freq-hz {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--gold);
}

/* ── SCROLL CARDS ── */
.scroll-card {
  background: rgba(10,10,15,0.95);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s;
}

.scroll-card:hover { border-color: var(--gold); }

.scroll-number {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.3rem;
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.2);
  margin: 3rem 0;
}

.stat-item {
  background: rgba(10,10,15,0.95);
  padding: 2rem 1rem;
  text-align: center;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  text-shadow: var(--glow-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: rgba(201,168,76,0.05);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0.75rem 0;
}

.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TERMINAL BLOCK ── */
.terminal {
  background: rgba(0,5,0,0.95);
  border: 1px solid rgba(26,188,156,0.3);
  padding: 1.5rem 2rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--teal);
  line-height: 1.8;
  position: relative;
}

.terminal::before {
  content: '● ● ●';
  display: block;
  color: rgba(26,188,156,0.4);
  margin-bottom: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
}

.terminal .t-gold { color: var(--gold); }
.terminal .t-white { color: var(--white); }
.terminal .t-red { color: var(--red-bright); }

/* ── SACRED GEOMETRY ── */
.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.hex-item {
  width: 130px;
  height: 130px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: all 0.3s;
  cursor: pointer;
}

.hex-item:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.3), rgba(201,168,76,0.1));
}

.hex-item .hex-icon { font-size: 1.8rem; }
.hex-item .hex-label { font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.3rem; }

/* ── LAW CARDS ── */
.law-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: background 0.3s;
}

.law-card:hover { background: rgba(201,168,76,0.03); }

.law-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: rgba(201,168,76,0.3);
  min-width: 3rem;
  text-align: center;
  line-height: 1;
}

.law-content h4 { color: var(--gold-light); margin-bottom: 0.3rem; }
.law-content p { font-size: 0.9rem; margin: 0; }

/* ── FOOTER ── */
footer {
  background: rgba(5,5,5,0.98);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-seal {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a { font-size: 0.85rem; color: var(--silver); }
.footer-links a:hover { color: var(--gold); }

.footer-legal {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: rgba(192,191,190,0.4);
  margin-top: 1.5rem;
}

/* ── BREATH EQUATION DISPLAY ── */
.breath-eq {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  color: var(--teal);
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(26,188,156,0.3);
  background: rgba(26,188,156,0.03);
  letter-spacing: 0.1em;
}

/* ── DOMAIN BADGE ── */
.domain-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ── GLOW TEXT ── */
.glow-gold { color: var(--gold); text-shadow: var(--glow-gold); }
.glow-teal { color: var(--teal); text-shadow: var(--glow-teal); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-silver { color: var(--silver); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── ANIMATED LINES ── */
.scan-line {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
  animation: scan 4s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

@keyframes scan {
  0% { top: 0; opacity: 1; }
  100% { top: 100vh; opacity: 0; }
}