/* ═══════════════════════════════════════════
   NexCore Shared Stylesheet
   ═══════════════════════════════════════════ */
:root {
  --bg: #050a12;
  --surface: #0b1422;
  --surface2: #111d2e;
  --border: rgba(0,200,255,0.12);
  --accent: #00c8ff;
  --accent2: #7b5cfa;
  --accent3: #00ffb2;
  --warn: #ffb800;
  --text: #e8f0fe;
  --muted: #6b8099;
  --card-bg: rgba(11,20,34,0.8);
  --glow: 0 0 40px rgba(0,200,255,0.15);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(5,10,18,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { box-shadow: 0 0 20px rgba(0,200,255,0.4); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block !important;
  padding: 0.5rem 0.8rem !important;
  border-radius: 8px !important;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--surface2) !important; color: var(--accent) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,200,255,0.3); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 5% 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; padding: 90px 5%; }
.alt-bg { background: var(--surface); }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}
h2 em { font-style: normal; color: var(--accent); }
.section-sub { color: var(--muted); font-weight: 300; max-width: 520px; font-size: 0.95rem; margin-bottom: 0.5rem; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,200,255,0.25);
  box-shadow: var(--glow);
}
.feat-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-card p { color: var(--muted); font-size: 0.875rem; }

/* ── PACKAGES / PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.pkg-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: rgba(0,200,255,0.28); }
.pkg-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(0,200,255,0.05), rgba(123,92,250,0.05));
}
.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pkg-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.pkg-tagline { color: var(--muted); font-size: 0.82rem; margin-bottom: 1.2rem; }
.pkg-price { margin-bottom: 1.5rem; }
.price-val { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; }
.price-val small { font-size: 1rem; color: var(--muted); }
.price-period { color: var(--muted); font-size: 0.78rem; }
.pkg-features { list-style: none; margin-bottom: 1.8rem; }
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.855rem;
  color: var(--muted);
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pkg-features li:last-child { border-bottom: none; }
.pkg-features .ck { color: var(--accent3); flex-shrink: 0; }
.pkg-features li.off { opacity: 0.35; }
.pkg-features li.off .ck { color: var(--muted); }
.btn-pkg {
  width: 100%;
  padding: 0.82rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-pkg-p { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn-pkg-o { background: transparent; color: var(--text); border: 1px solid var(--border) !important; }
.btn-pkg:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,200,255,0.2); }

/* ── STATS BAND ── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 4rem;
}
.stat-cell {
  background: var(--surface);
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; display: block; }
.stat-num em { font-style: normal; color: var(--accent); }
.stat-lbl { color: var(--muted); font-size: 0.8rem; }

/* ── HOW IT WORKS ── */
.steps-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0,200,255,0.12);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step-card h4 { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); font-size: 0.85rem; }

/* ── USE CASES ── */
.use-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.use-case {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.use-case:hover { border-color: rgba(0,200,255,0.3); }
.use-case .uc-icon { font-size: 1.4rem; }
.use-case span { font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, rgba(0,200,255,0.07), rgba(123,92,250,0.07));
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  margin: 0 5% 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0,200,255,0.08), transparent 55%);
  pointer-events: none;
}
.cta-strip h2 { margin-bottom: 0.8rem; }
.cta-strip p { color: var(--muted); margin-bottom: 2rem; max-width: 450px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { display: block; margin-bottom: 0.8rem; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; line-height: 1.7; max-width: 250px; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: 0.3px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.social-links { display: flex; gap: 0.8rem; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}
.social-link:hover { border-color: var(--accent); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
