/* ==================== Tokens ==================== */
:root {
  --purple: #611bea;
  --purple-light: #9b6bff;
  --purple-pale: #d9c9ff;
  --bg: #0a0714;
  --bg-alt: #0f0b1d;
  --surface: #14102670;
  --border: #ffffff17;
  --text: #f3f1fa;
  --text-dim: #a79fc2;
  --text-faint: #8f86ab;
  --radius: 18px;
  --container: 1180px;
  --ff-display: 'Space Grotesk', 'Manrope', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.15rem; }

.text-gradient {
  background: linear-gradient(90deg, var(--purple-light), #c9a3ff 60%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}

/* ==================== Background glow ==================== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.bg-glow--one {
  width: 640px; height: 640px;
  top: -220px; left: -160px;
  background: radial-gradient(circle, #611bea88, transparent 70%);
}
.bg-glow--two {
  width: 560px; height: 560px;
  top: 30%; right: -220px;
  background: radial-gradient(circle, #7c3aed6b, transparent 70%);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple), #8b3ff0);
  color: #fff;
  box-shadow: 0 8px 24px -6px #611beaaa;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px #611beacc; }

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--purple-light); background: #ffffff08; }

.btn--outline {
  background: transparent;
  border-color: #ffffff2a;
  color: var(--text);
  width: 100%;
}
.btn--outline:hover { border-color: var(--purple-light); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: #0a0714b0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 120px; height: auto; filter: drop-shadow(0 0 10px #9b6bff77); image-rendering: -webkit-optimize-contrast; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s ease;
}
.nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  z-index: 1;
  padding: 120px 0 90px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-sub {
  margin: 26px auto 0;
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1.1rem;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* ==================== Logos marquee ==================== */
.marquee-section {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff03;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
}
.marquee-item svg { width: 26px; height: 26px; flex: none; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==================== Sections ==================== */
.section { position: relative; z-index: 1; padding: 100px 0; }
.section--alt { background: linear-gradient(180deg, transparent, #ffffff04 10%, #ffffff04 90%, transparent); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-sub { margin-top: 16px; color: var(--text-dim); font-size: 1.05rem; }

.group-title {
  text-align: center;
  font-size: 1.3rem;
  margin: 60px 0 30px;
  color: var(--text);
}
.group-title:first-of-type { margin-top: 0; }

/* ==================== Grid / Cards ==================== */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #8b3ff055;
  background: #1a1330a0;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #611bea3a, #8b3ff01f);
  color: var(--purple-light);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ==================== Banner ==================== */
.banner {
  position: relative;
  z-index: 1;
  margin: 20px 24px;
  border-radius: 28px;
  padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, #8b3ff055, transparent 55%),
    radial-gradient(circle at 80% 80%, #611bea55, transparent 55%),
    linear-gradient(135deg, #150f28, #1c1330);
  border: 1px solid var(--border);
  overflow: hidden;
}
.banner-inner { max-width: 640px; margin: 0 auto; }
.banner-tags { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #ffffff22;
  color: var(--purple-pale);
  background: #ffffff08;
}
.banner h2 { margin-bottom: 14px; }
.banner p { color: var(--text-dim); margin-bottom: 30px; font-size: 1.05rem; }

/* ==================== Steps ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step {
  padding: 26px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--purple-light);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ==================== Pricing ==================== */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: #8b3ff08a;
  background: linear-gradient(180deg, #611bea22, #14102670);
  box-shadow: 0 20px 50px -20px #611bea77;
}
.badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: linear-gradient(135deg, var(--purple), #8b3ff0);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h4 { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 10px; }
.price-card .price {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.price-card ul { margin-bottom: 28px; flex: 1; }
.price-card li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}
.price-card li:first-child { border-top: none; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
}

/* ==================== About ==================== */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.about-text { color: var(--text-dim); font-size: 1.05rem; margin: 20px 0 30px; }
.mission {
  border-left: 2px solid var(--purple-light);
  padding-left: 20px;
}
.mission h3 { margin-bottom: 8px; }
.mission p { color: var(--text-dim); }

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 40%, #611bea33, transparent 70%);
}
.about-logo { width: 55%; opacity: 0.95; filter: drop-shadow(0 0 30px #9b6bff55); }

/* ==================== Final CTA ==================== */
.final-cta { text-align: center; padding-bottom: 140px; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { color: var(--text-dim); margin-bottom: 34px; font-size: 1.1rem; }

/* ==================== Footer ==================== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--text-faint); margin-top: 14px; font-size: 0.9rem; max-width: 260px; }
.footer-col h3 {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-newsletter p { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff08;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.88rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ==================== Reveal animation ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #0a0714f5;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 90px 0 60px; }
  .section { padding: 70px 0; }
}

/* ==================== WhatsApp Float ==================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px #000000a0, 0 0 0 rgba(37, 211, 102, .6);
  z-index: 999;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.08);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 8px 24px #000000a0, 0 0 0 0 #25d36666; }
  50% { box-shadow: 0 8px 24px #000000a0, 0 0 0 10px #25d36600; }
}
@media (max-width: 760px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

/* ==================== Language switch ==================== */
.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.lang-switch:hover {
  color: var(--text);
  border-color: var(--purple-light);
}
