@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #15121F;
  --surface: #1D192A;
  --surface-light: #292238;
  --purple: #A477FF;
  --purple-light: #C1A2FF;
  --white: #FFFFFF;
  --muted: #B9B2C8;
  --border: #393047;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(1120px, 90%); margin: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21,18,31,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font: 700 1.8rem 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
}

.logo span, .footer h2 span { color: var(--purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: .9rem;
  transition: .2s;
}

.nav-links a:hover, .nav-links a.active-link {
  color: var(--purple-light);
}

.nav-links .nav-cta {
  background: var(--purple);
  color: var(--bg);
  padding: 10px 17px;
  border-radius: 7px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  padding: 90px 0;
  background: radial-gradient(circle at 80% 30%, #39245c, transparent 42%);
}

.hero h1, .page-hero h1 {
  max-width: 850px;
  font: 700 clamp(2.8rem, 7vw, 5.4rem)/1.08 'Space Grotesk', sans-serif;
  margin: 20px 0;
}

.gradient-text, .page-hero h1 span, .section-heading span {
  color: var(--purple-light);
}

.hero p, .page-hero p {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--purple-light);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  background: var(--purple);
  color: var(--bg);
  border: 0;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s;
}

.btn:hover { background: var(--purple-light); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--purple);
  margin-left: 10px;
}

.section { padding: 85px 0; }

.section-heading { margin-bottom: 35px; }
.section-heading h2 {
  font: 700 clamp(2rem, 4vw, 3rem) 'Space Grotesk', sans-serif;
  margin: 8px 0;
}
.section-heading p { color: var(--muted); max-width: 650px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 14px;
  transition: .25s;
}

.card:hover { transform: translateY(-5px); border-color: var(--purple); }
.card h3 { font: 600 1.35rem 'Space Grotesk', sans-serif; margin: 12px 0; }
.card p, .muted { color: var(--muted); }
.card .tag { color: var(--purple-light); font-size: .75rem; font-weight: 700; letter-spacing: 1px; }

.page-hero {
  padding: 100px 0 75px;
  background: radial-gradient(circle at 80% 20%, #38245c, transparent 45%);
}

.project-preview {
  min-height: 230px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.savor { background: linear-gradient(135deg, #5b382b, #d2b99c); color: #241a16; }
.pure { background: linear-gradient(135deg, #241a3c, #7651bd); }
.gale { background: linear-gradient(135deg, #243d2a, #82965d); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tags span {
  background: var(--surface-light);
  color: var(--purple-light);
  padding: 5px 10px;
  border-radius: 30px;
  font-size: .75rem;
}

.form-card {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 32px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }

.field label { color: var(--muted); font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: white;
  padding: 13px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--purple); }
.field textarea { min-height: 140px; resize: vertical; }

.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 7px; }
.stars input { display: none; }
.stars label { font-size: 2rem; color: #655d70; cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #ffc857; }

.cta-band {
  background: var(--surface);
  padding: 75px 0;
  text-align: center;
}
.cta-band h2 { font: 700 clamp(2rem, 4vw, 3.2rem) 'Space Grotesk', sans-serif; margin: 10px 0; }
.cta-band p { color: var(--muted); margin-bottom: 25px; }

.footer {
  padding: 45px 0 25px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer h2 { font: 700 1.8rem 'Space Grotesk', sans-serif; }
.footer p { color: var(--muted); margin: 8px 0; }
.footer a:hover { color: var(--purple-light); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 25px; padding-top: 20px; color: var(--muted); font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 22px 5%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; }
  .nav-links .nav-cta { text-align: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-3, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 22px; }
  .btn-outline { margin: 12px 0 0; }
  .hero { min-height: 500px; }
}
