@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  --primary: #734c85;
  --primary-light: #cfa9e2;
  --pink: #ff31ab;
  --orange: #ff6f05;
  --heading: #ffffff;
  --text: #b6aec0;
  --muted: #8c8496;
  --bg: #08040d;
  --bg-tint: #0f0817;
  --surface: #170d22;
  --border: #2a1d36;
  --gradient: linear-gradient(100deg, var(--primary) 0%, var(--pink) 55%, var(--orange) 100%);
  --gradient-text: linear-gradient(100deg, #b98ad0 0%, #ff5cbd 50%, #ff8a3d 100%);
  --radius: 24px;
  --shadow: 0 24px 60px -28px rgba(255, 49, 171, 0.45);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--bg);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(255, 49, 171, 0.7);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px -14px rgba(255, 49, 171, 0.85);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 4, 13, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-name {
  color: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 6px;
  margin-inline: auto;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--heading);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch button {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--bg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.blob-1 {
  top: -160px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: var(--pink);
}

.blob-2 {
  right: 22%;
  bottom: -220px;
  width: 460px;
  height: 460px;
  background: var(--orange);
  opacity: 0.16;
}

.blob-3 {
  top: 10%;
  left: -200px;
  width: 440px;
  height: 440px;
  background: var(--primary);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 span {
  display: block;
}

.hero .lead {
  max-width: 34rem;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}

.hero-mark {
  position: relative;
  width: 88%;
  animation: spin 80s linear infinite;
}

.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.ring-1 {
  inset: 0;
}

.ring-2 {
  inset: 12%;
  border-style: dashed;
  border-color: rgba(255, 49, 171, 0.4);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sections */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.about-media {
  padding: clamp(12px, 2vw, 24px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  border-radius: var(--radius);
}

.about-copy h2 {
  margin-bottom: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--heading);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Services */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 49, 171, 0.45);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
}

.card-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.card h3 {
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.chip-row li {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  display: block;
  margin-bottom: 20px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step h3 {
  margin-bottom: 10px;
}

/* CTA */

.section-cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 49, 171, 0.45), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(255, 111, 5, 0.32), transparent 70%),
    radial-gradient(60% 80% at 20% 0%, rgba(115, 76, 133, 0.6), transparent 70%),
    var(--surface);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  overflow: hidden;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: #fff;
}

.cta-panel .lead {
  max-width: 36rem;
  margin: 20px auto 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-nav a,
.footer-phone {
  color: var(--heading);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-phone:hover {
  color: var(--pink);
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

/* Scroll reveal (only when JS is running) */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.9);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-inner,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 380px;
  }

  .card-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .site-header .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-header .brand-name {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-mark {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card {
    transition: none;
  }
}
