/* Site-wide header and footer for NOXAI (clean, professional)
   Scoped classes use .site- prefix to avoid conflicts with existing CSS.
*/
:root{
  --sc-bg: #0b0f14;
  --sc-surface: #0f141a;
  --sc-surface-2: #121922;
  --sc-border: #18212b;
  --sc-text: #e6edf7;
  --sc-muted: #98a9bb;
  --sc-accent: #22c55e;
  --sc-accent-600: #16a34a;
  --sc-radius: 10px;
  --nav-h: 38px;
}

.site-container{ max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Base reset + theme */
*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html, body{ background: var(--sc-bg); color: var(--sc-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Header */
.site-header{ position: sticky; top:0; z-index: 90; background: #0b0f14 !important; border-bottom: 1px solid var(--sc-border); color: var(--sc-text); }
.site-header.scrolled{ background: #0b0f14 !important; border-bottom-color: var(--sc-border); }
.site-header::after{ content:''; display:none; }
.site-header .row{ position: relative; display:flex; align-items:center; justify-content: space-between; min-height: 64px; }
.site-header .row::after{ content:''; position:absolute; left: 60px; right: 60px; bottom: 0; height:1px; background: rgba(255,255,255,0.06); }
.site-header .brand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px; padding:6px 10px; border-radius: 10px; background: #0b0f14 !important; border:1px solid #223041; transition: background .15s ease, border-color .15s ease; }
.site-header .brand:hover{ background: #0b0f14; border-color: #223041; }
.site-header .brand span{ color: var(--sc-accent); }
.site-header .brand img{ width:28px; height:28px; filter: drop-shadow(0 0 4px rgba(16,22,28,0.25)); }
.site-header .links{ position:absolute; left:50%; top:50%; transform: translate(-50%, -50%); z-index:2; display:flex; gap:6px; align-items:center; padding:4px 10px; height: var(--nav-h); border-radius:9999px; background: rgba(11,15,20,0.86) !important; border:1px solid #1b2532; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 28px rgba(0,0,0,0.42); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.38)); -webkit-backdrop-filter: saturate(130%) blur(8px); backdrop-filter: saturate(130%) blur(8px); overflow:hidden; }
.site-header .links::before{ content:''; position:absolute; inset:1px; border-radius:inherit; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00)); pointer-events:none; }
.site-header .links a{ color: var(--sc-muted); font-weight:600; text-decoration:none; position: relative; padding: 8px 14px; line-height: calc(var(--nav-h) - 12px); border-radius: 9999px; font-size: 14px; letter-spacing: .1px; }
.site-header .links a:hover{ background: #0f141a !important; border:1px solid #223041; }
/* Active nav chip */
.site-header .links a.active{ color: var(--sc-text); background: #0f141a !important; border:1px solid #223041; }
.site-header .links a.active::after{ content:''; position:absolute; left:50%; bottom:6px; transform: translateX(-50%); width:6px; height:6px; border-radius:50%; background: var(--sc-accent); box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.site-header .links a + a::before{ content:''; position:absolute; left:-6px; top:50%; transform: translateY(-50%); width:1px; height:16px; background: rgba(255,255,255,0.06); border-radius: 1px; }
.site-header .links a i{ margin-right: 6px; color: var(--sc-accent); }

/* Dropdown */
.site-header .dropdown{ position: relative; }
.site-header .dropdown > a::after{ content:'▾'; margin-left: 8px; color: var(--sc-muted); }
.site-header .dropdown .menu{ position:absolute; top: 100%; left: 0; min-width: 180px; background: var(--sc-surface); border:1px solid var(--sc-border); border-radius: 10px; padding: 8px; box-shadow: 0 12px 28px rgba(0,0,0,0.35); display: none; }
.site-header .dropdown:hover .menu{ display: block; }
.site-header .dropdown .menu a{ display:block; padding: 10px 12px; border-radius: 8px; border: 1px solid transparent; color: var(--sc-text); }
.site-header .dropdown .menu a:hover{ background: rgba(34,197,94,0.10); border-color: #223041; }
@media (prefers-reduced-motion: reduce){
  .site-header .links a::after{ transition: none; }
}
.site-header .cta{ display:flex; gap:10px; align-items:center; }
/* Emphasize primary CTA to match branding */
.site-header .cta .site-btn{ border-radius: 9999px; }
.site-header .cta .site-btn.primary{ background: linear-gradient(180deg, #22c55e, #169c49); border-color: rgba(0,0,0,0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 1px rgba(34,197,94,0.32), 0 8px 22px rgba(34,197,94,0.18); }
.site-header .cta .site-btn.primary:hover{ background: linear-gradient(180deg, #27d368, #18a54d); }

/* Header buttons (scoped) */
.site-btn{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius: var(--sc-radius); border:1px solid var(--sc-border); background: var(--sc-surface); color: var(--sc-text); font-weight:600; transition: background .15s ease, border-color .15s ease; text-decoration:none; }
.site-btn:hover{ background: var(--sc-surface-2); border-color: #223041; }
.site-btn.primary{ background: var(--sc-accent); color:#0b0f14; border-color: rgba(0,0,0,0.2); }
.site-btn.primary:hover{ background: var(--sc-accent-600); }
.site-btn.ghost{ background: transparent; }

/* Footer */
.site-footer{ background: var(--sc-surface); border-top: 1px solid var(--sc-border); color: var(--sc-muted); }
.site-footer .row{ display:flex; align-items:center; justify-content: space-between; gap: 10px; min-height: 64px; }
.site-footer a{ color: var(--sc-muted); text-decoration:none; }
.site-footer a:hover{ color: var(--sc-text); }

/* Make sure auth pages have breathing room below header */
.site-main{ padding-top: 24px; padding-bottom: 24px; }

/* Branded simple page layout */
.page-hero{ background: radial-gradient(1200px 300px at 50% 0, rgba(34,197,94,0.08), transparent 60%); padding: 48px 0 24px; }
.page-hero .title{ font-size: 34px; font-weight: 800; letter-spacing: -0.3px; color: var(--sc-text); }
.page-hero .subtitle{ color: var(--sc-muted); margin-top: 8px; }
.content{ padding: 24px 0 64px; }
.content .grid{ display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.content-card{ background: var(--sc-surface); border:1px solid var(--sc-border); border-radius: 12px; padding: 18px; }
.content-card h2{ margin-top:0; font-size: 20px; }
.list{ margin: 0; padding-left: 18px; color: var(--sc-muted); }
.content a{ color: var(--sc-accent); }
.content a:hover{ color: var(--sc-accent-600); }
@media (max-width: 992px){ .content .grid{ grid-template-columns: 1fr; } }

/* Header mobile fallback */
@media (max-width: 992px){
  .site-header .row{ flex-wrap: wrap; gap: 8px; }
  .site-header .links{ position: static; transform: none; margin: 0 auto; }
}

/* Pricing */
.plans{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.plan-card{ position: relative; overflow: hidden; background: var(--sc-surface); border:1px solid var(--sc-border); border-radius: 12px; padding: 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.plan-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.plan-card.featured{ border-color: rgba(34,197,94,0.5); box-shadow: 0 0 0 1px rgba(34,197,94,0.35), 0 20px 50px rgba(34,197,94,0.18); }
.plan-card.featured::before{ content:''; position:absolute; inset:-1px; border-radius:12px; background: linear-gradient(180deg, rgba(34,197,94,0.22), rgba(34,197,94,0.06)); pointer-events:none; opacity:.35; }
.plan-head{ display:flex; align-items:center; justify-content: space-between; gap:12px; margin-bottom:8px; }
.plan-title{ font-weight:800; }
.badge{ display:inline-flex; align-items:center; padding:4px 8px; border-radius:9999px; border:1px solid #223041; background: rgba(34,197,94,0.10); color: var(--sc-text); font-size:12px; font-weight:700; }
.price{ color: var(--sc-accent); font-weight:800; font-size: 20px; white-space: nowrap; }
.plan-features{ color: var(--sc-muted); margin: 8px 0 14px; }
.plan-actions{ display:flex; gap:10px; flex-wrap:wrap; }
/* Ribbon */
.ribbon{ position:absolute; top:10px; right:10px; font-size:12px; font-weight:700; color: #0b0f14; background: var(--sc-accent); padding:4px 10px; border-radius:9999px; box-shadow: 0 2px 10px rgba(34,197,94,0.2); }
@media (max-width: 992px){ .plans{ grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap-hero{ position: relative; overflow:hidden; text-align: center; padding: 72px 0 160px; background: radial-gradient(1000px 300px at 50% 0, rgba(34,197,94,0.10), transparent 60%); }
.roadmap-hero::before{ content:''; position:absolute; inset:0; background:
  radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.20) 0 1px, transparent 1.6px),
  radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.15) 0 1px, transparent 1.6px),
  radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.14) 0 1px, transparent 1.6px),
  radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.10) 0 1px, transparent 1.6px);
  pointer-events:none;
  opacity:.45;
}
.roadmap-title{ font-size: 56px; font-weight: 900; letter-spacing: -0.4px; margin: 0; }
.roadmap-subtitle{ color: var(--sc-muted); margin-top: 10px; }
.roadmap-hero .globe{ position:absolute; left:50%; transform: translateX(-50%); bottom: -220px; width: 780px; height: 780px; border-radius: 50%;
  background:
    radial-gradient(64% 64% at 52% 44%, rgba(34,197,94,0.45), rgba(34,197,94,0.12) 60%, rgba(34,197,94,0) 72%),
    radial-gradient(rgba(34,197,94,0.55) 1px, rgba(0,0,0,0) 1.7px);
  background-size: 100% 100%, 5.5px 5.5px; background-position: center, 52% 48%; background-repeat: no-repeat, repeat;
  filter: saturate(115%);
  box-shadow: 0 0 140px rgba(34,197,94,0.28), 0 -60px 200px rgba(34,197,94,0.28) inset;
  opacity: .98; pointer-events: none;
}
.roadmap-hero .globe::after{ content:''; position:absolute; inset:0; border-radius:50%; box-shadow: inset 0 12px 80px rgba(255,255,255,0.25), inset 0 0 80px rgba(34,197,94,0.35); }
.roadmap-hero .globe-img{ position:absolute; left:50%; transform: translateX(-50%); bottom:-260px; width: 980px; height: auto; filter: drop-shadow(0 0 60px rgba(44,245,140,0.32)); opacity: .95; }
.roadmap-steps-wrap{ padding: 20px 0 10px; }
.roadmap-steps{ list-style: none; margin: 0; padding: 44px 10px 10px; display: flex; justify-content: space-between; align-items: center; position: relative; }
.roadmap-steps::before{ content: ''; position: absolute; left: 80px; right: 80px; top: 52px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(34,197,94,0.45), rgba(255,255,255,0.08)); }
.roadmap-steps .step{ width: 33%; text-align: center; position: relative; }
.step .step-icon{ width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 16px; position: relative;
  background: linear-gradient(180deg, rgba(34,197,94,0.18), rgba(34,197,94,0.06)), rgba(16,22,28,0.96);
  border:1px solid #223041; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 14px 28px rgba(0,0,0,0.35);
}
.step .step-icon::after{ content:''; position:absolute; inset:-2px; border-radius:18px; box-shadow: 0 0 0 1px rgba(34,197,94,0.28), 0 0 24px rgba(34,197,94,0.32) inset; pointer-events:none; }
.step .step-icon i{ color: var(--sc-accent); font-size: 22px; text-shadow: 0 0 20px rgba(34,197,94,0.65); }
.step .step-label{ color: var(--sc-muted); font-weight: 600; }
.step.active .step-icon{ border-color: rgba(34,197,94,0.6); box-shadow: 0 0 0 1px rgba(34,197,94,0.25), 0 16px 38px rgba(34,197,94,0.18); }
.roadmap-phases{ padding: 26px 0 64px; }
.phase-card{ background: linear-gradient(180deg, rgba(34,197,94,0.08), rgba(34,197,94,0.03)); border: 1px solid #223041; border-radius: 16px; padding: 26px; margin-top: 20px; }
.phase-card h2{ margin: 0 0 6px 0; font-size: 26px; }
.phase-card p, .phase-card li{ color: var(--sc-muted); }
@media (max-width: 992px){
  .roadmap-steps{ flex-direction: column; gap: 20px; }
  .roadmap-steps::before{ display:none; }
}
