/* ═══════════════════════════════════════════════════════════════
   RHOMBICDODECAHEDRON.COM — Shared Styles
   Theme: Ancient Future — sacred geometry meets advanced habitat
═══════════════════════════════════════════════════════════════ */

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

:root {
  --void:     #040810;
  --void-2:   #080f1e;
  --void-3:   #0d1830;
  --blue:     #1a4a8a;
  --blue-mid: #2a6cc4;
  --blue-hi:  #4a9eff;
  --cyan:     #00d4ff;
  --gold:     #d4af37;
  --gold-hi:  #f5d76e;
  --paper:    #e4f0ff;
  --paper-dim:#7aa8d4;
  --rule:     rgba(74,158,255,0.18);
  --rule-s:   rgba(74,158,255,0.42);
  --display:  'Orbitron', system-ui, sans-serif;
  --tech:     'Chakra Petch', system-ui, sans-serif;
  --body:     'Space Grotesk', system-ui, sans-serif;
  --nav-h:    60px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* DIAMOND GRID BACKGROUND */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><g fill='none' stroke='%234a9eff' stroke-width='0.5' opacity='0.22'><polygon points='50,3 97,50 50,97 3,50'/><line x1='50' y1='3' x2='50' y2='97'/><line x1='3' y1='50' x2='97' y2='50'/></g></svg>");
  background-size: 100px 100px;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,74,138,0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 100%, rgba(0,212,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(4,8,16,0.88);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: var(--display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); text-decoration: none;
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.nav-logo span { color: var(--gold-hi); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  font-family: var(--tech); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim); text-decoration: none;
  padding: 6px 12px; border: 1px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyan); border-color: var(--rule);
  text-shadow: 0 0 10px rgba(0,212,255,0.5);
}
.nav-cta {
  font-family: var(--tech); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--void); background: var(--cyan);
  padding: 8px 18px; border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  font-weight: 600; transition: all 0.2s;
}
.nav-cta:hover { background: var(--blue-hi); box-shadow: 0 0 20px rgba(0,212,255,0.4); }
.nav-mobile-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  color: var(--cyan); font-size: 18px; padding: 6px 10px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav { padding: 0 18px; }
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.page { padding-top: var(--nav-h); position: relative; z-index: 1; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .container { padding: 0 18px; } }

/* ─── SECTION HEADERS ─────────────────────────────────────── */
.section { padding: 80px 0; }
.section-label {
  font-family: var(--tech); font-weight: 500;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(0,212,255,0.4);
}
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 52px); line-height: 1.05;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--paper); margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--blue-hi));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 18px; color: var(--paper-dim); max-width: 60ch;
  line-height: 1.65; margin-bottom: 48px;
}

/* ─── CARDS ───────────────────────────────────────────────── */
.card {
  border: 1px solid var(--rule);
  background: rgba(8,15,30,0.65);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.35s;
}
.card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,212,255,0.18);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tech); font-weight: 600;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 13px 26px; cursor: pointer; text-decoration: none;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--cyan); color: var(--void); border: none;
}
.btn-primary:hover { background: var(--blue-hi); box-shadow: 0 0 28px rgba(0,212,255,0.5); }
.btn-outline {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--rule-s);
}
.btn-outline:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,212,255,0.25); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 60px 0 32px;
  background: rgba(4,8,16,0.9);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: var(--display); font-weight: 800;
  font-size: 14px; letter-spacing: 0.18em;
  color: var(--cyan); text-shadow: 0 0 16px rgba(0,212,255,0.5);
  margin-bottom: 16px;
}
.footer-brand .logo span { color: var(--gold-hi); }
.footer-brand p { font-size: 13px; color: var(--paper-dim); line-height: 1.7; max-width: 38ch; }
.footer-col h6 {
  font-family: var(--tech); font-weight: 600;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--paper-dim); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--rule); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--tech); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--paper-dim);
}
.footer-seo {
  font-size: 12px; color: rgba(122,168,212,0.5);
  line-height: 1.6; margin-top: 12px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 10px; } }

/* ─── UTILITY ─────────────────────────────────────────────── */
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold-hi); }
.text-dim { color: var(--paper-dim); }
.divider { border: none; border-top: 1px solid var(--rule); }
.tag {
  display: inline-block;
  font-family: var(--tech); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid var(--rule-s);
  padding: 4px 10px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── SCHEMA / SEO hidden ─────────────────────────────────── */
.seo-text { font-size: 11px; color: var(--paper-dim); line-height: 1.7; margin-top: 40px; opacity: 0.6; }
