/* ══════════════════════════════════════
   FASTASSVPS — Global Stylesheet
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #07080c;
  --bg-secondary: #0d0f16;
  --bg-tertiary: #0a0c12;
  --bg-card: #111420;
  --bg-card-hover: #161a28;
  --border: #1c2035;
  --border-accent: #2a3050;
  --border-bright: #3a4070;
  --text-primary: #e8eaf0;
  --text-secondary: #8b90a8;
  --text-muted: #5a5f78;
  --accent: #00e5a0;
  --accent-dim: #00c98b;
  --accent-dark: #00a06e;
  --accent-glow: rgba(0, 229, 160, 0.12);
  --accent-glow-md: rgba(0, 229, 160, 0.2);
  --accent-glow-strong: rgba(0, 229, 160, 0.35);
  --hot: #ff3d6e;
  --hot-glow: rgba(255, 61, 110, 0.12);
  --blue: #3d8bff;
  --blue-glow: rgba(61, 139, 255, 0.12);
  --yellow: #ffc53d;
  --yellow-glow: rgba(255, 197, 61, 0.12);
  --purple: #a78bfa;
  --purple-glow: rgba(167, 139, 250, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-bright); }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before { content: '//'; opacity: 0.5; }
.section-label.center { justify-content: center; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}
.section-desc.center { margin: 0 auto; text-align: center; }
.text-accent { color: var(--accent); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #3dd9ff 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: #00f0aa;
  box-shadow: 0 0 30px var(--accent-glow-strong);
  transform: translateY(-1px);
}
.btn-primary.lg { font-size: 1rem; padding: 14px 32px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}

/* ── SECONDARY NAV ── */
.secondary-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  height: 36px;
  display: flex;
  align-items: center;
}
.secondary-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.secondary-nav-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.promo-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
.secondary-nav-promo strong { color: var(--accent); font-weight: 700; }
.promo-cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(0,229,160,0.25);
  border-radius: 4px;
  background: var(--accent-glow);
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}
.promo-cta:hover { background: rgba(0,229,160,0.2); border-color: var(--accent); }
.secondary-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.secondary-nav-links a {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
  font-weight: 500;
}
.secondary-nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.snav-divider { color: var(--border-accent); font-size: 0.7rem; user-select: none; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(7, 8, 12, 0.82);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
header.scrolled { background: rgba(7, 8, 12, 0.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #00b880);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--bg-primary);
}
.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
nav a:hover, nav a.active { color: var(--text-primary); background: rgba(255,255,255,0.04); }
nav a.active { color: var(--accent); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border-accent);
  transition: background 0.3s ease;
}
.card:hover::before { background: var(--accent); }

/* ── SPEC BADGE ── */
.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.spec-badge.green { background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(0,229,160,0.2); }
.spec-badge.blue { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(61,139,255,0.2); }
.spec-badge.red { background: var(--hot-glow); color: var(--hot); border: 1px solid rgba(255,61,110,0.2); }
.spec-badge.yellow { background: var(--yellow-glow); color: var(--yellow); border: 1px solid rgba(255,197,61,0.2); }
.spec-badge.purple { background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(167,139,250,0.2); }

/* ── TERMINAL ── */
.terminal {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.r { background: #ff5f57; }
.terminal-dot.y { background: #ffbd2e; }
.terminal-dot.g { background: #28c840; }
.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.terminal-body .prompt { color: var(--accent); }
.terminal-body .cmd { color: var(--text-primary); }
.terminal-body .output { color: var(--text-muted); }
.terminal-body .hl { color: var(--yellow); }
.terminal-body .hl-green { color: var(--accent); }
.terminal-body .hl-blue { color: var(--blue); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .secondary-nav { display: none; }
  .container { padding: 0 16px; }
  .container-narrow { padding: 0 16px; }
  .section { padding: 72px 0; }
  nav { display: none; }
  .mobile-toggle { display: block; }
  nav.show {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(7,8,12,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    animation: fadeDown 0.2s ease;
  }
  nav.show a { width: 100%; text-align: center; padding: 12px; }
  nav.show .btn-primary { margin-top: 8px; justify-content: center; }
  .page-hero { padding: 120px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
