/* BootupTek — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

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

:root {
  --bg: #080b12;
  --bg2: #0f1420;
  --bg3: #161d2e;
  --accent: #00e5a0;
  --ai: #c084fc;
  --ai2: #e879f9;
  --blue: #38bdf8;
  --orange: #fb923c;
  --text: #eef2ff;
  --muted: #7986a8;
  --border: rgba(255,255,255,0.07);
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; font-size: 15px; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,11,18,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-mobile-cta { display: none; }
.nav-cta { background: linear-gradient(135deg, var(--accent), var(--blue)); color: #000; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 6px; text-decoration: none; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }

/* ── BURGER ── */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text);
  position: relative; transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
  transition: transform .25s, top .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ── LAYOUT ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.section-label { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.section-label.ai-label { color: var(--ai); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 1rem; }
h2 em { font-style: normal; background: linear-gradient(135deg, var(--ai), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
h2 .g { background: linear-gradient(135deg, var(--accent), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: normal; }
.sub { color: var(--muted); font-size: 1rem; max-width: 560px; line-height: 1.75; margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--blue)); color: #000; font-weight: 700; font-size: 14px; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: transform .15s, opacity .15s; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); opacity: .9; }
.btn-ghost { color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; opacity: .6; transition: opacity .2s; }
.btn-ghost:hover { opacity: 1; }

/* ── TICKER ── */
.ticker { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 2.5rem; animation: marquee 35s linear infinite; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.ticker-inner .t-ai { color: var(--ai); }
.ticker-inner .t-plat { color: var(--accent); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── CHIPS / TAGS ── */
.chip { font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.chip-ai { color: var(--ai); background: rgba(192,132,252,0.1); border: 1px solid rgba(192,132,252,0.2); }
.chip-platform { color: var(--accent); background: rgba(0,229,160,0.07); border: 1px solid rgba(0,229,160,0.18); }
.chip-infra { color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.new-badge { font-family: var(--mono); font-size: 9px; color: var(--ai2); background: rgba(232,121,249,0.1); border: 1px solid rgba(232,121,249,0.25); padding: 1px 6px; border-radius: 3px; margin-left: 4px; }
.tag { font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 4px; }
.tag-ai { color: var(--ai); background: rgba(192,132,252,0.08); border: 1px solid rgba(192,132,252,0.2); }
.tag-plat { color: var(--accent); background: rgba(0,229,160,0.07); border: 1px solid rgba(0,229,160,0.18); }
.tag-train { color: var(--orange); background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.2); }

/* ── CTA SECTION ── */
.cta-section { text-align: center; padding: 5rem 2rem; border-top: 1px solid var(--border); background: var(--bg2); }
.cta-section h2 { margin-bottom: .75rem; }
.cta-section p { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; }

/* ── FOOTER ── */
footer { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
footer .logo img { height: 26px; }
footer small { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 12px; font-family: var(--mono); letter-spacing: .05em; transition: color .2s; }
.footer-legal a:hover { color: var(--text); }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 5rem 2rem; }
.legal-wrap h2 { margin-bottom: 2rem; }
.legal-wrap h3 { font-size: 1.125rem; font-weight: 600; margin-top: 2.25rem; margin-bottom: .75rem; color: var(--text); }
.legal-wrap p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; font-size: .9375rem; }
.legal-wrap ul { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; padding-left: 1.5rem; font-size: .9375rem; }
.legal-wrap li { margin-bottom: .35rem; }
.legal-wrap a { color: var(--accent); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap .legal-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 1.25rem 0; }
.legal-wrap .legal-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 2rem; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: var(--sans); font-size: .95rem; font-weight: 500; text-align: left; padding: 1.25rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { color: var(--ai); font-size: 1.2rem; transition: transform .25s; flex-shrink: 0; font-family: var(--mono); }
.faq-a { font-size: .875rem; color: var(--muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.25rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(8,11,18,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: .5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: .9rem .5rem;
    border-bottom: 1px solid var(--border); font-size: 14px;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-mobile-cta { display: block; border-bottom: none !important; }
  .nav-links .nav-cta-mobile {
    display: block; text-align: center; margin-top: .75rem;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #000; font-weight: 700; padding: 12px 20px; border-radius: 8px;
    text-decoration: none; letter-spacing: 0; text-transform: none;
  }
  .wrap { padding: 3rem 1rem; }
  h2 { font-size: 1.8rem; }
}
