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

:root {
  --pink: #e8197a;
  --purple: #4a2d9c;
  --navy: #0b0f2e;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --gradient: linear-gradient(135deg, #e8197a 0%, #4a2d9c 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(11, 15, 46, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
/* ambient glow orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 560px;
  height: 560px;
  background: rgba(232, 25, 122, 0.15);
  top: -140px;
  right: -120px;
}
.hero::after {
  width: 420px;
  height: 420px;
  background: rgba(74, 45, 156, 0.2);
  bottom: -60px;
  left: -90px;
}

.hero-headline {
  position: relative;
  z-index: 1;
  line-height: 1.05;
}
.hero-headline .line1 {
  display: block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 0.3em;
  text-transform: uppercase;
}
.hero-headline .line2 {
  display: block;
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-headline .line3 {
  display: block;
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 460px;
  line-height: 1.7;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding: 0.45rem 1.25rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ── SERVICES ── */
.services {
  padding: 7rem 2rem 6rem;
  max-width: 1080px;
  margin: 0 auto;
}
.section-label {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}
.section-heading {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 3.75rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.1rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 0;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 25, 122, 0.35);
  background: rgba(255, 255, 255, 0.055);
}
.card:hover::after {
  opacity: 0.07;
}
.card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}
.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}
.card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  max-width: 1080px;
  margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  padding: 2.25rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  nav {
    padding: 1rem 1.25rem;
  }
  .services {
    padding: 5rem 1.25rem 4rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
