@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:ital,wght@0,300;0,400;0,600;1,300&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #050c18;
  --bg2: #091528;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(59,158,255,0.25);
  --accent: #3b9eff;
  --accent2: #00d4ff;
  --gold: #f5c518;
  --white: #e8f1ff;
  --muted: #6a82a0;
  --radius: 18px;
  --grad-blue: linear-gradient(135deg, #3b9eff 0%, #00d4ff 100%);
  --grad-gold: linear-gradient(135deg, #f5c518 0%, #ff9a00 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ── GLOBAL MESH BACKGROUND ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 5%,  rgba(59,158,255,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 85% 85%, rgba(0,212,255,0.09)  0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 55% 40%, rgba(245,197,24,0.06)  0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(9,21,40,0.95)    0%, transparent 100%);
}

/* ── NAVIGATION ── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 70px;
  background: rgba(5,12,24,0.7);
  backdrop-filter: blur(28px) saturate(1.5);
  border-bottom: 1px solid var(--border-glow);
  transition: background 0.3s, box-shadow 0.3s;
}
#mainNav.scrolled {
  background: rgba(5,12,24,0.97);
  box-shadow: 0 2px 40px rgba(59,158,255,0.12);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: contain; background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 14px rgba(59,158,255,0.45);
}
.nav-brand-text { line-height: 1.25; }
.nav-brand-text strong { font-family: 'Syne', sans-serif; font-size: 0.92rem; color: var(--white); display: block; }
.nav-brand-text em { font-style: normal; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.06em; }
.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.42rem 0.85rem; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active {
  color: #fff; background: var(--grad-blue); font-weight: 700;
}
.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border-glow); color: var(--white);
  padding: 0.4rem 0.7rem; border-radius: 8px; font-size: 1.1rem; cursor: pointer;
}

/* ── PAGE HERO ── */
.page-hero {
  padding-top: 70px;
  background: linear-gradient(160deg, #050c18 0%, #0c2040 55%, #050c18 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 450px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,158,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2rem 4rem; text-align: center; position: relative; z-index: 1;
}
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.page-hero h1 span { background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── LAYOUT ── */
section { padding: 5.5rem 2rem; position: relative; z-index: 1; }
.inner { max-width: 1100px; margin: 0 auto; }
.s-label { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.s-title { font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
.s-title span { background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.divider { width: 50px; height: 3px; background: var(--grad-blue); border-radius: 2px; margin-bottom: 2.5rem; }

/* ── GLASS CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: 0 20px 50px rgba(59,158,255,0.1); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; padding: 0.8rem 1.9rem; border-radius: 50px; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 24px rgba(59,158,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(59,158,255,0.55); }
.btn-gold { background: var(--grad-gold); color: var(--bg); font-weight: 700; box-shadow: 0 4px 24px rgba(245,197,24,0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(245,197,24,0.5); }
.btn-outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── FORM ── */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.45rem; letter-spacing: 0.07em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(59,158,255,0.04); border: 1.5px solid var(--border); border-radius: 12px; padding: 0.85rem 1rem; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,158,255,0.12); }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── TAGS & PILLS ── */
.tag { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--accent); border: 1px solid var(--border-glow); border-radius: 20px; padding: 0.25rem 0.8rem; margin-bottom: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pill { display: inline-block; background: rgba(59,158,255,0.1); border: 1px solid rgba(59,158,255,0.2); color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; border-radius: 6px; padding: 0.3rem 0.75rem; margin: 0.25rem; }

/* ── FOOTER ── */
footer {
  background: rgba(0,0,0,0.55);
  border-top: 1px solid var(--border-glow);
  padding: 3.5rem 2rem 1.5rem;
  position: relative; z-index: 1;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; background: white; object-fit: contain; border: 2px solid var(--accent); box-shadow: 0 0 16px rgba(59,158,255,0.3); }
.footer-brand strong { display: block; font-family: 'Syne', sans-serif; font-size: 0.95rem; color: var(--white); }
.footer-brand span { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; display: block; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links h4, .footer-contact h4 { font-family: 'Syne', sans-serif; font-size: 0.78rem; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.footer-links a, .footer-contact a, .footer-contact span { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; display: block; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { max-width: 1100px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 0.78rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

@media (max-width: 820px) {
  #mainNav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(5,12,24,0.98); padding: 1rem; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
