@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Noto+Serif:wght@400;500;600;700&display=swap');

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

:root {
  --plum-900: #0D0618;
  --plum-800: #130924;
  --plum-700: #1A0A2E;
  --plum-600: #230D3D;
  --plum-500: #2E1050;
  --plum-400: #3D1668;
  --lav-bright: #C4A0FF;
  --lav-mid: #A07CDC;
  --lav-soft: #7B5BA8;
  --lav-dim: #4A3470;
  --lav-glow: rgba(196,160,255,0.12);
  --lav-border: rgba(196,160,255,0.18);
  --gold: #F0C060;
  --gold-dim: rgba(240,192,96,0.15);
  --white: #FFFFFF;
  --off-white: #F3E8FF;
  --text-muted: #9E86B8;
  --text-faint: #5E4880;
  --ff: 'Bricolage Grotesque', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--plum-900);
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  height: 72px;
  background: rgba(13,6,24,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lav-border);
  transition: background 0.3s;
}
.logo {
  text-decoration: none; display: flex; align-items: center;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  font-family: var(--ff);
}
.logo .tech { color: #CC2229; }
.logo .ramp { color: #1E4FA3; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links li { position: relative; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color 0.2s; letter-spacing: 0.2px;
  padding: 8px 16px; display: block;
}
.nav-links a:hover, .nav-links a.active { color: var(--lav-bright); }
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--plum-700);
  border: 1px solid var(--lav-border);
  border-radius: 12px; padding: 8px;
  min-width: 200px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.dropdown a {
  border-radius: 8px; padding: 10px 14px;
  color: var(--text-muted); font-size: 13px;
}
.dropdown a:hover { background: var(--lav-glow); color: var(--lav-bright); }
.nav-cta {
  background: var(--lav-bright); color: var(--plum-900);
  padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.2px; margin-left: 12px;
}
.nav-cta:hover { background: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--off-white); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--plum-800); border-bottom: 1px solid var(--lav-border);
  padding: 20px 6%; z-index: 99; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); font-size: 15px; font-weight: 500;
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid rgba(196,160,255,0.08);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--lav-bright); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 6%; }
section { padding: 110px 6%; }
.label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--lav-bright); margin-bottom: 18px;
}
h1 {
  font-family: 'Noto Serif', serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -1px; color: var(--white);
  margin-bottom: 26px;
}
h1 .accent { color: var(--lav-bright); }
h1 .gold { color: var(--gold); }
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600; line-height: 1.1; letter-spacing: -1px;
  color: var(--white); margin-bottom: 18px;
}
h3 { color: var(--white); }
.sec-sub { font-size: 17px; color: var(--text-muted); max-width: 500px; line-height: 1.75; font-weight: 400; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--lav-bright); color: var(--plum-900);
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: all 0.2s; display: inline-block; font-family: var(--ff);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--off-white);
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--lav-border);
  transition: all 0.2s; display: inline-block; font-family: var(--ff);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--lav-bright); color: var(--lav-bright); }
.btn-outline {
  background: transparent; color: var(--lav-bright);
  padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--lav-border);
  transition: all 0.2s; display: inline-block; font-family: var(--ff);
  cursor: pointer;
}
.btn-outline:hover { background: var(--lav-glow); border-color: var(--lav-bright); }

/* ── BADGE / PILL ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lav-glow);
  border: 1px solid var(--lav-border);
  color: var(--lav-bright);
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 30px; margin-bottom: 32px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lav-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* ── DOTS / ORBS ── */
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(196,160,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.orb-1 {
  top: -180px; right: -120px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(196,160,255,0.14) 0%, transparent 65%);
}
.orb-2 {
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(160,124,220,0.1) 0%, transparent 65%);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 6% 90px;
  background: var(--plum-800);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--lav-border);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 62px); margin-bottom: 18px; }
.page-hero .sec-sub { font-size: 18px; }

/* ── CARDS ── */
.card {
  background: var(--plum-700);
  border: 1px solid var(--lav-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--lav-bright); transform: translateY(-4px); }

/* ── FADE IN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── FOOTER ── */
footer {
  background: var(--plum-800);
  border-top: 1px solid var(--lav-border);
}
.footer-main {
  padding: 72px 6% 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.75; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lav-bright); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--lav-bright); }
.footer-bottom {
  padding: 20px 6%;
  border-top: 1px solid rgba(196,160,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-faint); }
.footer-tagline { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* ── FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 8px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
.fg input, .fg textarea, .fg select {
  background: rgba(196,160,255,0.06);
  border: 1px solid var(--lav-border);
  border-radius: 10px; color: var(--off-white);
  padding: 13px 18px; font-family: var(--ff);
  font-size: 14px; font-weight: 400; outline: none;
  transition: border-color 0.2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-faint); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--lav-bright); }
.fg textarea { height: 120px; resize: vertical; }
.fg select { appearance: none; cursor: pointer; }
.fg select option { background: var(--plum-700); color: var(--off-white); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--plum-600); border: 1px solid var(--lav-bright);
  color: var(--lav-bright); padding: 14px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(20px);
  transition: all 0.4s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  h1 { letter-spacing: -2px; }
}
@media (max-width: 600px) {
  section { padding: 80px 5%; }
  .footer-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
