:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --magenta: #d946ef;
  --indigo: #6366f1;
  --text: #1e1b2e;
  --text-soft: #4a4458;
  --text-muted: #6b6580;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #a855f7 35%, #ec4899 70%, #d946ef 100%);
  --gradient-soft: linear-gradient(135deg, #ede9fe 0%, #fce7f3 50%, #fae8ff 100%);
  --gradient-hero: linear-gradient(125deg, #6d28d9 0%, #9333ea 30%, #db2777 65%, #c026d3 100%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 20px 50px rgba(124, 58, 237, 0.18);
  --shadow-xl: 0 30px 80px rgba(124, 58, 237, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--gradient-soft);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p { margin-bottom: 1rem; color: var(--text-soft); }

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a:hover { color: var(--pink); }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

ul, ol { margin: 1rem 0 1rem 1.5rem; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.logo-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--purple);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}

.btn::after {
  content: '→';
  font-family: var(--font-head);
  font-size: 1.1em;
  transition: transform 0.3s var(--ease);
}

.btn:hover::after {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.45);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  box-shadow: var(--glass-shadow);
}

.btn-glass:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}

.btn-ghost:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(217, 70, 239, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 70vh;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.75rem;
  max-width: 560px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card .hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  background: rgba(236, 72, 153, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-card h1 {
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-card p {
  font-size: 1.075rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.hero-card .btn { margin-right: 0.75rem; }

.hero-card .btn:last-of-type { margin-right: 0; }

/* ============ SECTIONS ============ */
.section {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.section-alt {
  background: linear-gradient(180deg, rgba(237, 233, 254, 0.5) 0%, rgba(253, 242, 248, 0.6) 100%);
}

.section-purple {
  background: var(--gradient-main);
  color: var(--white);
}

.section-purple h2,
.section-purple h3,
.section-purple h4 { color: var(--white); }

.section-purple p { color: rgba(255, 255, 255, 0.88); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 0.875rem;
}

.section-purple .section-eyebrow {
  color: var(--pink-light);
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  font-size: 1.075rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ WAVE DIVIDERS ============ */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-top { top: 0; }
.wave-bottom { bottom: 0; transform: rotate(180deg); }

/* ============ GLASS CARDS ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ============ GRID / CARDS ============ */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -