:root {
  --violet: #24234a;
  --violet-2: #35336b;
  --cream: #fffaf2;
  --coral: #ef6f52;
  --cyan: #8de3df;
  --yellow: #f6d35f;
  --ink: #24234a;
  --muted: #6f6e80;
  --line: rgba(36, 35, 74, 0.12);
  --white: #ffffff;
  --whatsapp: #25d366;
  --instagram: #e1306c;
}

* { box-sizing: border-box; }
html { background: var(--violet); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, calc(100% - 2.5rem)); margin: auto; }
.mono, .eyebrow { font-family: "DM Mono", monospace; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: currentColor;
  transform: rotate(45deg);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(36, 35, 74, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.brand-img {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid var(--yellow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #d9d8ed;
  font-size: 0.82rem;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  background: var(--coral);
  color: var(--violet);
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--yellow); transform: translateY(-2px); }

/* Item 3 Solution: Perfectly Balanced Buttons */
.button, 
.button.alt {
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.button {
  background: var(--coral);
  color: var(--violet);
  border: 1px solid var(--coral);
}
.button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.button.alt {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
}
.button.alt:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(141, 227, 223, 0.08);
  transform: translateY(-2px);
}

/* Sections */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section.soft { background: #f6efe6; }
.section.dark { background: var(--violet); color: #fff; }
.section-head {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}
.section-head.center {
  display: block;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
.section-intro {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.section.dark .section-intro { color: #d0cfe0; }

/* Ticker */
.ticker {
  overflow: hidden;
  padding: 0.95rem 0;
  background: var(--yellow);
  color: var(--violet);
  font: 0.72rem "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ticker-track {
  display: flex;
  justify-content: space-around;
  min-width: 900px;
  gap: 2rem;
}

/* Unified Footer Styling */
footer {
  margin-top: auto;
  padding: 2.5rem 0;
  background: #191836;
  color: #a8a7ba;
  border-top: 1px solid rgba(246, 211, 95, 0.3);
  font-size: 0.8rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a:hover { color: var(--yellow); }

/* Item 2 Solution: Modern Mobile Drawer Menu */
@media (max-width: 850px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-toggle { display: block; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background: #1d1c3a;
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
  }
  .nav-links.open { display: flex; }
  
  .nav-links a:not(.nav-cta) {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    color: #e2e1f2;
  }
  .nav-links a:not(.nav-cta):hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--yellow);
  }
  
  .nav-links .nav-cta {
    margin-top: 1.3rem;
    width: 100%;
    min-height: 3.2rem;
    justify-content: center;
  }
}
