/* ═══════════════════════════════════════════
   OmniForge Dynamics — Landing Page Styles
   index.css
═══════════════════════════════════════════ */

/* ── SITE OPENER ── */
#site-opener {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
#site-opener.fade-out {
  opacity: 0;
  pointer-events: none;
}
#opener-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#opener-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 22px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}
#opener-skip:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 24px 152px;
  background: #0B1535;
  overflow: hidden;
  position: relative;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

#hero .hero-video-overlay {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(11,21,53,0.88) 78%, #0B1535 100%),
    radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.1) 0%, transparent 60%);
}

/* Diagonal stripe pattern */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(139,92,246,0.03) 18px,
    rgba(139,92,246,0.03) 19px
  );
  pointer-events: none;
}

/* Radial glow */
#hero .hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.06) 50%, transparent 80%);
  pointer-events: none;
}

.hero-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 22vw, 100px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--inv);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hero-headline em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(139,92,246,0.55);
}

.hero-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--inv-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.hero-stat {
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--inv);
  line-height: 1;
}
.hero-stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--inv-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── ABOUT ── */
#about {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.about-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}
.about-body strong { color: var(--navy); font-weight: 600; }

.manifesto {
  border-left: 3px solid var(--blue);
  padding: 12px 0 12px 24px;
  margin: 32px 0;
  background: linear-gradient(to right, rgba(37,99,235,0.04), transparent);
}
.manifesto-quote {
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}
.manifesto-attr {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
}
.pillar:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 16px rgba(37,99,235,0.07);
}
.pillar-icon  { font-size: 18px; margin-bottom: 10px; }
.pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.pillar-desc { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ── PLATFORMS ── */
#platforms {
  background: var(--ice);
  border-bottom: 1px solid var(--border);
}

.platform-intro { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; }

.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 20px rgba(37,99,235,0.05);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.platform-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 32px rgba(37,99,235,0.1);
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.platform-card.solvita-card::before { background: linear-gradient(90deg, #4ADE80, #22D3EE); }
.platform-card.rift-card::before    { background: linear-gradient(90deg, #F59E0B, #EF4444); }

/* Platform visual panels */
.platform-visual {
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.platform-brand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.solvita-visual {
  background: #ffffff;
}
.solvita-visual .platform-brand-img {
  object-fit: contain;
  padding: 8px;
}
.rift-visual .platform-brand-img {
  object-position: 89% center;
}
.rift-visual {
  background: radial-gradient(ellipse at 50% 40%, rgba(245,158,11,0.12) 0%, transparent 70%),
              linear-gradient(160deg, #1a1208 0%, #0f0d08 100%);
}

/* Hex cell grid */
.solvita-hex-display {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  grid-template-rows: repeat(3, 46px);
  gap: 4px;
}
.hex-cell {
  width: 50px; height: 44px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.22);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: rgba(74,222,128,0.35);
  animation: hexPulse 3s ease-in-out infinite;
}
.hex-cell:nth-child(2) { animation-delay:.4s; background:rgba(74,222,128,0.18); border-color:rgba(74,222,128,0.45); }
.hex-cell:nth-child(5) { animation-delay:.8s; background:rgba(74,222,128,0.22); border-color:rgba(74,222,128,0.55); }
.hex-cell:nth-child(4) { animation-delay:.2s; }
.hex-cell:nth-child(6) { animation-delay:1.2s; }
.hex-cell:nth-child(8) { animation-delay:.6s; background:rgba(74,222,128,0.12); }

@keyframes hexPulse { 0%,100%{opacity:.55} 50%{opacity:1} }

/* Turbine */
.turbine-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(245,158,11,0.3);
  position: relative;
  animation: spin 7s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
.turbine-ring::before {
  content: ''; position: absolute; inset: 10px;
  border-radius: 50%; border: 1px solid rgba(245,158,11,0.12);
}
.turbine-blade {
  position: absolute; width: 3px; height: 48px;
  background: linear-gradient(to bottom, rgba(245,158,11,0.8), transparent);
  border-radius: 3px; transform-origin: center bottom;
  left: calc(50% - 1.5px); top: calc(50% - 48px);
}
.turbine-blade:nth-child(2) { transform: rotate(120deg); transform-origin:50% calc(100% - 10px); top:auto; bottom:calc(50% - 48px); }
.turbine-blade:nth-child(3) { transform: rotate(240deg); transform-origin:50% calc(100% - 10px); top:auto; bottom:calc(50% - 48px); }
.turbine-core {
  width:18px; height:18px; border-radius:50%;
  background:rgba(245,158,11,0.25); border:2px solid rgba(245,158,11,0.6);
  z-index:1; position:relative;
}
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.visual-label {
  position: absolute; bottom: 14px; left:0; right:0;
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
}
.solvita-label-color { color: rgba(74,222,128,0.5); }
.rift-label-color    { color: rgba(245,158,11,0.5); }

/* Platform content block */
.platform-content { padding: 28px 24px 32px; flex: 1; min-width: 0; }

.platform-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid; margin-bottom: 20px;
}
.solvita-badge { color:#4ADE80; border-color:rgba(74,222,128,0.3); background:rgba(74,222,128,0.05); }
.rift-badge    { color:#F59E0B; border-color:rgba(245,158,11,0.3); background:rgba(245,158,11,0.05); }

.platform-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 52px;
  letter-spacing: 0.04em; line-height: 0.88; color: var(--text); margin-bottom: 6px;
}
.platform-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px;
}
.solvita-tagline { color: #4ADE80; }
.rift-tagline    { color: #F59E0B; }

.platform-desc { font-size: 15px; line-height: 1.72; color: var(--muted); margin-bottom: 24px; }
.platform-specs { margin-bottom: 24px; }

.platform-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.platform-link:hover { gap: 12px; }
.solvita-link { color: #4ADE80; }
.rift-link    { color: #F59E0B; }

/* ── TRACTION ── */
#traction {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.traction-list { display:flex; flex-direction:column; gap:8px; margin-top:32px; }

.traction-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.traction-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 16px rgba(37,99,235,0.06);
}

.traction-left { flex-shrink:0; display:flex; align-items:flex-start; padding-top:2px; }
.traction-num {
  font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:0.06em;
  color:var(--blue); opacity:0.35; line-height:1; min-width:36px;
}
.traction-right { flex:1; min-width:0; }
.traction-title {
  font-family:'Barlow Condensed',sans-serif; font-size:17px; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--text); margin-bottom:8px;
}
.traction-body   { font-size:14px; line-height:1.7; color:var(--muted); }
.traction-highlight { color:var(--blue-dark); font-weight:600; }

/* ── GLOBAL REACH MAP ── */
#reach {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#reach .section-title { color:var(--inv); }
#reach .section-label { color:var(--blue); }
#reach p              { color:var(--inv-muted); margin-bottom:32px; font-size:14px; }

.map-wrap {
  background: #0e2d4f;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; position: relative;
}

.conn-line { animation: dashMarch 3s linear infinite; }
#line-seattle  { animation-duration:1.2s; }
#line-toronto  { animation-duration:2s; }
#line-orlando  { animation-duration:2.5s; }
#line-england  { animation-duration:4.5s; }
#line-shenzhen { animation-duration:5.5s; }

@keyframes dashMarch { from{stroke-dashoffset:0} to{stroke-dashoffset:-40} }

.hq-pulse-ring { animation: hqPulse 2s ease-out infinite; }
@keyframes hqPulse { 0%{r:7;opacity:.8} 100%{r:18;opacity:0} }

.dest-dot { animation: destPulse 2.5s ease-in-out infinite; }
.dest-dot:nth-child(2){animation-delay:.5s}
.dest-dot:nth-child(3){animation-delay:1s}
.dest-dot:nth-child(4){animation-delay:1.5s}
.dest-dot:nth-child(5){animation-delay:.8s}
.dest-dot:nth-child(6){animation-delay:1.2s}
@keyframes destPulse { 0%,100%{opacity:.7} 50%{opacity:1} }

.map-legend {
  display:flex; flex-direction:column; gap:10px;
  padding:16px 16px 20px;
  border-top:1px solid rgba(255,255,255,0.07);
  background:rgba(11,21,53,0.85);
}
.map-legend-item {
  display:flex; align-items:center; gap:10px;
  font-family:'Share Tech Mono',monospace;
  font-size:10px; letter-spacing:0.14em; color:var(--inv-muted); text-transform:uppercase;
}
.legend-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; border:1.5px solid; }
.legend-dot.red   { background:rgba(239,68,68,0.2);  border-color:rgba(239,68,68,0.9); }
.legend-dot.blue  { background:rgba(59,130,246,0.2); border-color:rgba(59,130,246,0.9); }
.legend-dot.green { background:rgba(34,197,94,0.2);  border-color:rgba(34,197,94,0.9); }
.legend-dot.hq    { background:#22d3ee; border-color:#22d3ee; }

/* ── TEAM ── */
#team { background:var(--ice); border-bottom:1px solid var(--border); }

.team-list { display:flex; flex-direction:column; gap:12px; margin-top:32px; }

.team-card {
  background:var(--white); border:1px solid var(--border); padding:28px 24px;
  position:relative; overflow:hidden;
  box-shadow:0 2px 12px rgba(37,99,235,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.team-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:2px;
  background:var(--grad-accent);
}
.team-card:hover { border-color:var(--border-strong); box-shadow:0 4px 20px rgba(37,99,235,0.08); }

.team-header { display:flex; align-items:center; gap:16px; margin-bottom:16px; }

.team-avatar {
  width:56px; height:56px; flex-shrink:0;
  border:1px solid var(--border-strong);
  background:var(--grad-card);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bebas Neue',sans-serif; font-size:22px; letter-spacing:0.08em; color:var(--blue);
  clip-path:polygon(10% 0%,90% 0%,100% 10%,100% 90%,90% 100%,10% 100%,0% 90%,0% 10%);
}
.team-name {
  font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:0.06em;
  color:var(--text); line-height:1; margin-bottom:4px;
}
.team-role {
  font-family:'Share Tech Mono',monospace; font-size:9px; letter-spacing:0.2em;
  color:var(--blue); text-transform:uppercase;
}
.team-bio { font-size:14px; line-height:1.75; color:var(--muted); margin-bottom:16px; }
.team-tags { display:flex; flex-wrap:wrap; gap:6px; }
.team-tag {
  font-family:'Share Tech Mono',monospace; font-size:8px; letter-spacing:0.14em;
  color:var(--blue-dark); border:1px solid var(--border); padding:4px 8px;
  text-transform:uppercase; background:rgba(59,130,246,0.04);
}

/* ── INVEST ── */
#invest {
  background: var(--grad-accent);
  padding: 80px 24px;
  text-align: center;
}

.invest-round {
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:0.22em;
  color:rgba(255,255,255,0.9); background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.22); padding:7px 16px; margin-bottom:28px;
}
.invest-dot {
  width:6px; height:6px; border-radius:50%; background:var(--white);
  animation:blink 1.4s ease-in-out infinite; flex-shrink:0;
}
.invest-title {
  font-family:'Bebas Neue',sans-serif; font-size:64px; letter-spacing:0.03em;
  line-height:0.9; color:var(--white); margin-bottom:24px;
}
.invest-desc {
  font-size:15px; line-height:1.75; color:rgba(255,255,255,0.85); margin-bottom:36px;
}
.invest-metrics {
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(255,255,255,0.22); margin-bottom:36px;
}
.invest-metric { padding:16px 6px; border-right:1px solid rgba(255,255,255,0.22); }
.invest-metric:last-child { border-right:none; }
.invest-metric-val {
  font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:0.04em;
  color:var(--white); line-height:1;
}
.invest-metric-label {
  font-family:'Share Tech Mono',monospace; font-size:7px; letter-spacing:0.12em;
  color:rgba(255,255,255,0.65); text-transform:uppercase; margin-top:4px;
}
.invest-cta-pair {
  display:flex; flex-direction:column; gap:12px;
  max-width:360px; margin:0 auto;
}
#invest .btn-primary { background:var(--white); color:var(--purple-dark); }
#invest .btn-ghost   { color:var(--white); border-color:rgba(255,255,255,0.35); }
#invest .btn-ghost:hover { border-color:var(--white); background:rgba(255,255,255,0.08); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .platform-card { flex-direction: column; }
  .platform-visual { width: 100%; height: 200px; }
}

/* ── HERO BRANDING IMAGE ── */
.hero-branding-img {
  display:block;
  max-width:320px; width:100%;
  margin-bottom:24px;
  filter:brightness(0) invert(1);
}
