:root {
  --purple: #5b0ea6;
  --purple-dark: #4a0990;
  --purple-light: #7b2cbf;
  --orange: #f5a623;
  --coral: #e63946;
  --white: #ffffff;
  --text-light: rgba(255,255,255,0.85);
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--purple);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 52px;
}

.logo-text { line-height: 1; }
.logo-text strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.logo-text strong span { color: var(--orange); }
.logo-text small {
  display: block;
  font-size: .56rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  opacity: .85;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 2rem 4rem 4rem;
  min-height: calc(100vh - 90px);
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 420px; height: 420px;
  background: var(--purple-light);
  bottom: -80px; left: -80px;
}
.blob-2 {
  width: 180px; height: 180px;
  background: var(--purple-light);
  top: 40%; right: 45%;
  opacity: .12;
}

.dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.dot-orange { width: 18px; height: 18px; background: var(--orange); top: 18%; left: 27%; }
.dot-coral  { width: 12px; height: 12px; background: var(--coral); bottom: 28%; left: 6%; }
.dot-purple { width: 14px; height: 14px; background: rgba(255,255,255,.3); top: 55%; right: 38%; }

/* Hero left */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--coral);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.25rem;
  animation: fadeUp .6s ease both;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s .1s ease both;
}
.hero-title .accent { color: var(--orange); }

.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s .2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

.about-section {
  padding-bottom: 6.5rem;
}

.section-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 840px;
  margin-top: .5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(245, 166, 35, 0.08));
  box-shadow: 0 18px 40px rgba(28, 7, 54, 0.18);
}

.section-bridge-tag {
  margin-bottom: .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-bridge h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: .5rem;
}

.section-bridge p:last-child {
  color: var(--text-light);
  line-height: 1.65;
  max-width: 560px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.scroll-cue:hover {
  color: var(--white);
}

.scroll-cue-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.btn {
  padding: .85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #1a0533;
  box-shadow: 0 6px 24px rgba(245,166,35,.4);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(245,166,35,.55); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ─── CONTACT SECTION ─────────────────────────────────────────── */
.contact-section {
  padding: 4rem;
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  animation: fadeUp .7s .4s ease both;
}

.contact-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  margin-bottom: .75rem;
  text-align: center;
}

.contact-kicker {
  text-align: center;
  margin-bottom: .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-intro {
  max-width: 460px;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--text-light);
  line-height: 1.7;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: .9rem;
  color: var(--text-light);
}

.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.form-message {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  display: none;
  font-size: .9rem;
}

.form-message.success {
  background: rgba(45, 106, 79, 0.3);
  border: 1px solid rgba(45, 106, 79, 0.5);
  color: #a8d5ba;
  display: block;
}

.form-message.error {
  background: rgba(230, 57, 70, 0.3);
  border: 1px solid rgba(230, 57, 70, 0.5);
  color: #ff9fa3;
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 1.5rem;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  padding: 2rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: .85rem;
}

footer a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity .2s;
}

footer a:hover {
  opacity: .8;
}

footer nav {
  margin-bottom: 1.5rem;
  padding: 0;
  gap: 2rem;
}

footer nav a {
  font-size: .85rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 1.25rem 2.5rem; }
  .hero { padding: 2rem 2.5rem 3rem; }
  footer { padding: 2rem 2.5rem; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .logo {
    gap: .7rem;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .logo-text strong {
    font-size: 1.15rem;
  }

  .logo-text small {
    font-size: .5rem;
    letter-spacing: .12em;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem 3rem;
    min-height: auto;
    gap: 3rem;
  }

  .hero-title { font-size: 2.4rem; }

  .about-section {
    padding-bottom: 5rem;
  }

  .section-bridge {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .section-bridge .btn {
    width: 100%;
    text-align: center;
  }

  .scroll-cue {
    bottom: 1rem;
    font-size: .82rem;
  }

  .hero#hero .dot {
    display: none;
  }

  .hero#hero .blob-1 {
    width: 300px;
    height: 300px;
    left: -170px;
    bottom: -130px;
    opacity: .05;
  }

  .hero#hero .blob-2 {
    width: 120px;
    height: 120px;
    top: auto;
    right: -40px;
    bottom: 16%;
    opacity: .05;
  }
  
  .contact-section {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
  }

  footer { padding: 2rem 1.5rem; }
  footer nav { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  .section-bridge h3 {
    font-size: 1.2rem;
  }

  .contact-intro {
    font-size: .92rem;
  }

  .logo {
    align-items: center;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .logo-text strong {
    font-size: .98rem;
    letter-spacing: 0;
  }

  .logo-text small {
    font-size: .43rem;
    letter-spacing: .1em;
  }

  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: .9rem; }
  .btn { padding: .75rem 1.5rem; font-size: .88rem; }
  
  nav { padding: 1rem; }
  .hero { padding: 1.5rem; }
  .contact-section { padding: 1.5rem; }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* ─── MOBILE NAV OPEN ────────────────────────────────────────── */
.nav-mobile-open .nav-links {
  display: flex !important;
}
.nav-mobile-open {
  flex-wrap: wrap;
  background: var(--purple-dark);
  padding-bottom: 1.5rem;
}
.nav-mobile-open .nav-links {
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0 0;
  order: 3;
}
