/* ===================================================
   SentraNova — Global Styles
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080c0d;
  --bg-card:   #111518;
  --bg-card2:  #161b1e;
  --border:    rgba(255,255,255,0.07);
  --accent:    #b8ff00;
  --accent-dim:#7ab800;
  --blue:      #6b8cff;
  --red:       #ff6b6b;
  --yellow:    #ffd166;
  --text:      #ffffff;
  --text-muted:#8a9aa8;
  --radius:    20px;
  --nav-h:     72px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8,12,13,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo-accent { color: var(--accent); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #080c0d;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-demo:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost::after { content: '→'; transition: transform var(--transition); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  gap: 60px;
}

.hero-inner { padding: 80px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(184,255,0,0.08);
  border: 1px solid rgba(184,255,0,0.22);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 36px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ===================================================
   HERO VISUAL — Federated Network
   =================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.fl-network {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, #111518, #0c1014);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(184,255,0,0.05),
    0 0 60px rgba(184,255,0,0.04);
}

.fl-svg {
  width: 100%;
  height: auto;
  display: block;
}

.fl-status-bar {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(8,12,13,0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.fl-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
}

.fl-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.fl-mini-stats {
  display: flex;
  gap: 20px;
}

.fl-mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.fl-mini-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.fl-mini-lbl {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-section {
  padding: 120px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 16px;
}
.about-p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}
.about-stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   TRAIN TOGETHER
   =================================================== */
.train-section {
  padding: 120px 28px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0d1115 50%, var(--bg) 100%);
}
.train-inner { max-width: 900px; margin: 0 auto; }

.train-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.train-subtitle {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-muted);
  opacity: 0.45;
}

/* ===================================================
   STATS GRID
   =================================================== */
.stats-section {
  padding: 60px 28px 120px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.stat-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon--shield { background: rgba(184,255,0,0.1); }
.stat-icon--brain  { background: rgba(107,140,255,0.12); }
.stat-icon--pulse  { background: rgba(255,107,107,0.1); }
.stat-icon--flask  { background: rgba(255,209,102,0.1); }
.stat-icon--people { background: rgba(184,255,0,0.1); }
.stat-icon--chart  { background: rgba(107,140,255,0.12); }

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.stat-x {
  font-size: 2rem;
  font-weight: 900;
}
.stat-label-small {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  align-self: center;
}

.stat-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-section {
  padding: 120px 28px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(184,255,0,0.08);
  border: 1px solid rgba(184,255,0,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.how-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
  transition: background var(--transition);
}
.step:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 4px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
}

/* ===================================================
   COMPLIANCE STRIP
   =================================================== */
.compliance-section {
  padding: 28px;
  overflow: hidden;
}
.compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}
.compliance-item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.compliance-sep {
  color: var(--border);
  font-size: 1rem;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  padding: 120px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(184,255,0,0.04) 0%, transparent 50%, rgba(107,140,255,0.04) 100%);
  border-top: 1px solid var(--border);
}
.cta-inner {
  max-width: 560px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.65;
}
.cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-input {
  flex: 1;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 22px;
  font-size: 0.92rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus { border-color: rgba(184,255,0,0.4); }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===================================================
   SCROLL FADE-IN
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; padding: 60px 0 0; }
  .fl-network { max-width: 360px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-links { margin: 0; width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-input { text-align: center; }
  .btn-demo { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ===================================================
   THREE STEPS SECTION
   =================================================== */
.steps3-section {
  padding: 120px 28px;
  background: linear-gradient(180deg, #0d1115 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.steps3-inner {
  max-width: 900px;
  margin: 0 auto;
}
.steps3-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 64px;
}

.steps3-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Top progress bar */
.steps3-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 100%);
  width: 33.33%;
  transition: width 0.5s cubic-bezier(.4,0,.2,1);
}

/* Tab row */
.steps3-tabs {
  display: flex;
  padding: 24px 28px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.steps3-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.steps3-tab:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text);
}
.steps3-tab.active {
  background: rgba(184,255,0,0.1);
  border-color: rgba(184,255,0,0.3);
  color: var(--text);
}
.steps3-tab-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.steps3-tab.active .steps3-tab-num {
  background: var(--accent);
  color: #080c0d;
}

/* Panels */
.steps3-panels { padding: 40px 28px 44px; }

.steps3-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: panel-in 0.35s ease;
}
.steps3-panel.active { display: flex; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.steps3-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps3-panel-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.steps3-panel-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}
.steps3-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 4px;
}
.steps3-checklist li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.steps3-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===================================================
   INSIGHTS SECTION
   =================================================== */
.insights-section {
  padding: 120px 28px;
  border-top: 1px solid var(--border);
}
.insights-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.insights-header {
  margin-bottom: 52px;
}
.insights-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 16px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition);
}
.insight-card:hover { transform: translateY(-4px); }

/* Image area */
.insight-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
}
.insight-img-visual {
  width: 100%; height: 100%;
}
.insight-img-visual svg {
  width: 100%; height: 100%;
  display: block;
}
.insight-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(184,255,0,0.15);
  border: 1px solid rgba(184,255,0,0.35);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}

/* Title + arrow row */
.insight-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.insight-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.insight-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-top: 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.insight-arrow:hover {
  background: var(--accent);
  color: #080c0d;
  border-color: var(--accent);
}

.insight-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr; }
  .steps3-tabs { flex-direction: column; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-card:last-child { grid-column: 1 / -1; max-width: 400px; }
}

/* ===================================================
   MOBILE MENU (toggled via JS)
   =================================================== */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px 32px;
  gap: 20px;
  z-index: 99;
}
