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

:root {
  --bg-base: #0a0618;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --orchid: #c084fc;
  --indigo: #818cf8;
  --blue: #60a5fa;
  --heading: #f5f3ff;
  --body-muted: rgba(226,217,250,0.85);
  --icon-stroke: #c4b5fd;
  --glass-fill: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.11);
}

html { scroll-behavior: smooth; }

body {
  margin: 0; padding: 0;
  background-image: url('assets/binary-pattern.svg'), url('assets/hero-bg.jpg');
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center top;
  background-size: 220px 220px, cover;
  background-attachment: fixed, fixed;
  background-color: var(--bg-base);
  font-family: 'Outfit', sans-serif;
  color: var(--heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
input::placeholder, textarea::placeholder { color: rgba(196,181,253,0.35); }

.scrim {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(10,6,24,0.5);
}

.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 87% 60%, rgba(10,6,24,0.92) 0%, rgba(10,6,24,0.7) 25%, rgba(10,6,24,0.3) 45%, transparent 65%);
}

/* ─── Keyframes ─── */
@keyframes blobA {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 58% 42% 63% 37% / 46% 56% 44% 54%; }
  33%     { transform: translate(-60px,50px) scale(1.15); border-radius: 42% 58% 37% 63% / 56% 44% 56% 44%; }
  66%     { transform: translate(40px,-40px) scale(0.92); border-radius: 50% 50% 44% 56% / 40% 60% 40% 60%; }
}
@keyframes blobB {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 44% 56% 52% 48% / 60% 40% 60% 40%; }
  50%     { transform: translate(70px,60px) scale(1.2); border-radius: 60% 40% 40% 60% / 44% 56% 44% 56%; }
}
@keyframes blobC {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  50%     { transform: translate(-50px,-70px) rotate(25deg) scale(1.1); }
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Glass / reveal utilities ─── */
[data-lg] { position: relative; }
[data-lg]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: -1;
  backdrop-filter: blur(2px);
  backdrop-filter: url(#liquid-lens);
}

[data-reveal] {
  opacity: 0; transform: translateY(54px) scale(.975); filter: blur(7px);
  transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1), filter 1.1s cubic-bezier(.22,1,.36,1);
}
[data-reveal].lg-in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.blob { position: absolute; pointer-events: none; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  max-width: calc(100vw - 24px);
}
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: 14px; flex-shrink: 0; }
.nav-logo { flex-shrink: 0; filter: drop-shadow(0 3px 12px rgba(139,92,246,0.6)); }
.nav-word { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 15px; color: var(--heading); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  white-space: nowrap; padding: 9px 16px; font-size: 14px; font-weight: 500;
  color: rgba(245,243,255,0.85); border-radius: 100px; transition: all .25s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta {
  white-space: nowrap; padding: 10px 22px; font-size: 14px; font-weight: 600;
  background: linear-gradient(120deg,#8b5cf6,#c084fc); color: #fff;
  border-radius: 100px; transition: all .3s;
  box-shadow: 0 4px 20px rgba(139,92,246,0.45);
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(139,92,246,0.65); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.08); color: var(--heading);
  cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { pointer-events: none; }

/* ─── Hero ─── */
.hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 20px 60px;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 9px 22px; border-radius: 100px; margin-bottom: 40px;
  animation: fadeUp .7s ease both;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#c084fc,#8b5cf6);
  box-shadow: 0 0 10px rgba(192,132,252,0.9);
}
.badge-text { font-size: 13px; font-weight: 500; color: rgba(233,225,254,0.98); letter-spacing: .04em; }

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 30px; color: var(--heading);
  animation: fadeUp .75s ease both; animation-delay: .15s;
}
.hero h1 .gradient {
  background: linear-gradient(120deg,#c084fc,#818cf8,#60a5fa,#c084fc);
  background-size: 280% 280%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); font-weight: 300;
  color: var(--body-muted); max-width: 560px; margin: 0 auto 48px; line-height: 1.85;
  animation: fadeUp .75s ease both; animation-delay: .3s;
}

.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 88px;
  animation: fadeUp .75s ease both; animation-delay: .45s;
}
.btn-primary {
  padding: 17px 42px; font-size: 16px; font-weight: 600;
  background: linear-gradient(120deg,#8b5cf6,#a855f7,#c084fc);
  background-size: 200% 200%; color: #fff; border-radius: 100px;
  transition: all .3s;
  box-shadow: 0 8px 36px rgba(139,92,246,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: gradShift 5s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 48px rgba(139,92,246,0.7), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-outline {
  padding: 17px 42px; font-size: 16px; font-weight: 500;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(18px);
  color: #e9e1fe; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px; transition: all .3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }

.stats {
  display: flex; justify-content: center;
  animation: fadeUp .75s ease both; animation-delay: .6s;
}
.stats-capsule {
  display: flex; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.14);
}
.stat { padding: 26px 46px; text-align: center; }
.stat-num {
  font-family: 'Unbounded', sans-serif; font-size: 28px; font-weight: 700;
  background: linear-gradient(120deg,#e9e1fe,#c084fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--body-muted); margin-top: 6px; font-weight: 400; }
.stat-divider { width: 1px; background: linear-gradient(180deg,transparent,rgba(255,255,255,0.15),transparent); margin: 14px 0; }

/* ─── Section shared ─── */
.section { position: relative; z-index: 1; padding: 100px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  white-space: nowrap; display: inline-block; padding: 7px 20px;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--icon-stroke);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px;
}
.section h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 3.6vw, 44px); font-weight: 600;
  letter-spacing: -.015em; line-height: 1.15; margin: 0 0 18px; color: var(--heading);
}
.section-desc { font-size: 17px; font-weight: 300; color: rgba(226,217,250,0.8); max-width: 520px; margin: 0 auto; line-height: 1.8; }

/* ─── Services grid ─── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 22px; }
.card {
  padding: 34px 30px; background: rgba(255,255,255,0.045);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 26px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.card:hover {
  background: rgba(255,255,255,0.08); transform: translateY(-6px) scale(1.015);
  border-color: rgba(192,132,252,0.35);
  box-shadow: 0 20px 56px rgba(124,58,237,0.28), inset 0 1px 0 rgba(255,255,255,0.16);
}
.card-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(167,139,250,0.25), rgba(124,58,237,0.15));
  border: 1px solid rgba(255,255,255,0.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.card h3 { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 600; color: var(--heading); margin: 0 0 12px; line-height: 1.35; }
.card p { font-size: 14px; font-weight: 300; color: rgba(226,217,250,0.88); line-height: 1.75; margin: 0; }

/* ─── About ─── */
.about-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 72px; align-items: center; position: relative; z-index: 1; }
.about-grid h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; margin: 0 0 26px; }
.about-grid p { font-size: 16px; font-weight: 300; color: rgba(226,217,250,0.8); line-height: 1.9; margin: 0 0 18px; }
.about-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px;
  font-size: 15px; font-weight: 600;
  background: linear-gradient(120deg,#8b5cf6,#c084fc); color: #fff;
  border-radius: 100px; transition: all .3s;
  box-shadow: 0 6px 28px rgba(139,92,246,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  margin-top: 22px;
}
.about-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 38px rgba(139,92,246,0.65), inset 0 1px 0 rgba(255,255,255,0.25); }

.stat-bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bubble {
  padding: 34px 26px; background: rgba(255,255,255,0.05);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.11); text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); transition: all .35s;
}
.bubble:hover { transform: translateY(-4px); border-color: rgba(192,132,252,0.3); }
.bubble:nth-child(1) { border-radius: 32px 32px 32px 12px; }
.bubble:nth-child(2) { border-radius: 32px 32px 12px 32px; }
.bubble:nth-child(3) { border-radius: 32px 12px 32px 32px; }
.bubble:nth-child(4) { border-radius: 12px 32px 32px 32px; }
.bubble-num {
  font-family: 'Unbounded', sans-serif; font-size: 34px; font-weight: 700;
  background: linear-gradient(120deg,#c084fc,#818cf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.bubble-label { font-size: 14px; font-weight: 400; color: rgba(226,217,250,0.88); }

/* ─── Why choose us ─── */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 26px; }
.pillar {
  overflow: hidden; padding: 44px 38px; background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.11); border-radius: 34px;
  transition: all .35s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(192,132,252,0.35); box-shadow: 0 22px 60px rgba(124,58,237,0.25), inset 0 1px 0 rgba(255,255,255,0.16); }
.pillar-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg,#8b5cf6,#c084fc);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; box-shadow: 0 6px 24px rgba(139,92,246,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.pillar h3 { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600; color: var(--heading); margin: 0 0 16px; line-height: 1.3; }
.pillar p { font-size: 15px; font-weight: 300; color: rgba(226,217,250,0.77); line-height: 1.85; margin: 0; }

/* ─── Contact ─── */
.contact-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.contact-inner h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; margin: 0 0 22px; }
.contact-inner p { font-size: 16px; font-weight: 300; color: rgba(226,217,250,0.8); line-height: 1.9; margin: 0 0 44px; }
.contact-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.chip {
  display: flex; align-items: center; gap: 16px; padding: 14px 24px;
  background: rgba(255,255,255,0.04); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 100px;
}
.chip svg { flex-shrink: 0; }
.chip span { font-size: 15px; font-weight: 300; color: rgba(226,217,250,0.88); }

/* ─── Footer ─── */
.footer { position: relative; z-index: 1; padding: 70px 20px 40px; }
.footer-hairline { position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg,transparent,rgba(192,132,252,0.3),transparent); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 52px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo span { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 17px; color: var(--heading); }
.footer-tagline { font-size: 14px; font-weight: 300; color: rgba(226,217,250,0.85); line-height: 1.75; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col-title { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 600; color: rgba(245,243,255,1); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 12px; }
.footer-col-links a { font-size: 14px; font-weight: 300; color: rgba(226,217,250,0.88); transition: color .25s; }
.footer-col-links a:hover { color: var(--icon-stroke); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; font-weight: 300; color: rgba(226,217,250,0.8); }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { font-size: 13px; font-weight: 300; color: rgba(226,217,250,0.8); transition: color .25s; }
.footer-legal a:hover { color: var(--icon-stroke); }

/* ─── Legal pages ─── */
.legal { position: relative; z-index: 1; padding: 150px 20px 100px; }
.legal-inner {
  max-width: 760px; margin: 0 auto;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 26px;
  padding: 52px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.legal-eyebrow { margin-bottom: 18px; }
.legal-inner h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  letter-spacing: -.015em; line-height: 1.2; margin: 0 0 10px; color: var(--heading);
}
.legal-updated { font-size: 13px; color: rgba(226,217,250,0.6); margin: 0 0 40px; }
.legal-inner h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 600; color: var(--heading);
  margin: 40px 0 14px; letter-spacing: -.01em;
}
.legal-inner h2:first-of-type { margin-top: 0; }
.legal-inner p {
  font-size: 15px; font-weight: 300; color: rgba(226,217,250,0.82);
  line-height: 1.85; margin: 0 0 16px;
}
.legal-inner ul { margin: 0 0 16px; padding-left: 22px; }
.legal-inner li {
  font-size: 15px; font-weight: 300; color: rgba(226,217,250,0.82);
  line-height: 1.85; margin-bottom: 8px;
}
.legal-inner a.inline-link { color: var(--icon-stroke); text-decoration: underline; text-underline-offset: 2px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--icon-stroke);
  margin-bottom: 30px; transition: color .2s;
}
.legal-back:hover { color: #fff; }

@media (max-width: 640px) {
  .legal { padding: 120px 14px 70px; }
  .legal-inner { padding: 30px 22px; border-radius: 22px; }
}

/* ─── Mobile nav ─── */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    flex-direction: column; align-items: stretch; gap: 4px;
    width: 220px; padding: 10px;
    background: rgba(15,9,32,0.92); backdrop-filter: blur(28px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  }
  .nav-links.open { display: flex; }
  .nav-link, .nav-cta { text-align: center; }
  .hero { padding-top: 110px; }
  .hero-ctas { margin-bottom: 56px; }
  .stat { padding: 20px 24px; }
  .section { padding: 80px 18px; }
  .about-grid, .footer-top { gap: 40px; }
}

@media (max-width: 380px) {
  .stat { padding: 16px 14px; }
  .stats-capsule { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
