/* ═══════════════════════════════════════════════════════════════
   DEVSPLATFORM — OPTION B · REFINED CYBER
   Shared stylesheet across all pages
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #06070c;
  --bg-2: #0c0e16;
  --bg-3: #131624;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --text: #f2f4fa;
  --text-dim: #a0a6b8;
  --text-muted: #636a7d;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --glow-v: rgba(139,92,246,0.25);
  --glow-c: rgba(34,211,238,0.25);
  --glow-p: rgba(244,114,182,0.25);
  --display: 'Syne', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══ Ambient aurora background ══ */
.aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}
.aurora::before {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, var(--violet), transparent 60%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora::after {
  width: 600px; height: 600px;
  top: 20%; right: -150px;
  background: radial-gradient(circle, var(--cyan), transparent 60%);
  animation: drift-b 18s ease-in-out infinite alternate;
}
@keyframes drift-a { 0%{transform:translate(0,0)} 100%{transform:translate(80px,120px)} }
@keyframes drift-b { 0%{transform:translate(0,0)} 100%{transform:translate(-60px,100px)} }
.aurora-bottom {
  position: absolute;
  bottom: -200px;
  left: 40%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink), transparent 60%);
  filter: blur(120px);
  opacity: 0.12;
}

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

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
main { flex: 1; position: relative; z-index: 2; }

/* ═══ NAV ═══ */
nav.site-nav {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(6,7,12,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  position: relative;
}
.logo-mark::after { content: ''; position: absolute; inset: 1px; border-radius: 9px; background: var(--bg); }
.logo-mark svg { position: relative; z-index: 1; width: 22px; height: 22px; }
.logo-text { line-height: 1.1; }
.logo-text .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #a0a6b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.logo-text .tag {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 6px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  position: relative;
  margin-left: 12px;
  padding: 10px 20px !important;
  border-radius: 8px;
  color: white !important;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  overflow: hidden;
}
.nav-cta::before { content: ''; position: absolute; inset: 1px; border-radius: 7px; background: var(--bg-2); z-index: 0; transition: opacity 0.3s; }
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover::before { opacity: 0; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); width: 40px; height: 40px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: white;
  box-shadow: 0 10px 40px -10px var(--glow-v), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px var(--glow-v), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.btn svg { width: 14px; height: 14px; }

/* ═══ SECTION PRIMITIVES ═══ */
.section { padding: 140px 0; position: relative; }
.section-sm { padding: 90px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 80px; }
.section-head.left { text-align: left; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 24px;
  font-weight: 600;
}
.section-label.cyan { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.3); color: var(--cyan); }
.section-label.pink { background: rgba(244,114,182,0.1); border-color: rgba(244,114,182,0.3); color: var(--pink); }
.section-label svg { width: 12px; height: 12px; }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
}
.section-head:not(.left) .section-title { margin: 0 auto; }
.section-title em { font-style: normal; background: linear-gradient(135deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-lead {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin-top: 24px;
}
.section-head:not(.left) .section-lead { margin-left: auto; margin-right: auto; }

/* ═══ PAGE HERO ═══ */
.page-hero {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}
.page-hero .crumbs {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.page-hero .crumbs a { color: var(--text-dim); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--cyan); }
.page-hero .crumbs .sep { margin: 0 8px; opacity: 0.5; }

.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 1000px;
  margin: 0 auto;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .subtitle {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin: 28px auto 0;
}

/* ═══ FOOTER ═══ */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(12,14,22,0.4));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-col h4 {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cyan); }

.footer-about { font-size: 14px; color: var(--text-dim); line-height: 1.7; max-width: 320px; margin-top: 20px; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(255,255,255,0.02);
}
.footer-socials a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.footer-contact-item .ficon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(34,211,238,0.15));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    padding: 20px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 12px 16px; }
  .nav-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 60px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .page-hero { padding: 50px 0 40px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
