:root {
  --bg: #06010d;
  --bg-soft: #0b0416;
  --card: rgba(14, 8, 24, 0.76);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #f6f4fb;
  --muted: #c7c1d8;
  --primary: #8f35ff;
  --primary-2: #c88dff;
  --radius: 26px;
  --shadow: 0 22px 70px rgba(113, 46, 196, 0.22);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 53, 255, 0.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(143, 53, 255, 0.14), transparent 28%),
    var(--bg);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

figure {
  margin: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.4;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -70px;
  background: #7122df;
}

.orb-2 {
  width: 380px;
  height: 380px;
  bottom: -150px;
  right: -90px;
  background: #4d14a6;
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(9, 5, 17, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke);
}

.section {
  padding: 96px 0;
}

.glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary-2);
}

h1 {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-heading p,
.problem-grid p,
.step-card p,
.service-card p,
.feature-list li,
.faq p,
.modal-text,
.who-copy p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 10px 48px 18px;
}

.hero-copy-centered {
  max-width: 980px;
  margin-inline: auto;
  padding: 28px 10px 20px;
  align-items: center;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
}

.hero-metrics-centered {
  width: 100%;
  max-width: 980px;
}

.hero-metrics article,
.problem-grid article,
.step-card,
.service-card,
.result-card,
.compare-card,
.cta-panel,
.faq details,
.modal-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-metrics article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 38px;
}

.center {
  text-align: center;
}

.compact {
  max-width: 940px;
}

.problem-grid,
.method-grid,
.services-grid,
.results-grid {
  display: grid;
  gap: 22px;
}

.problem-grid,
.method-grid,
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-grid article,
.step-card,
.service-card {
  padding: 28px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(143, 53, 255, 0.25), rgba(255, 255, 255, 0.05));
  color: var(--primary-2);
  font-weight: 800;
}

.who-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.who-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.who-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-inline: 12px;
  align-items: stretch;
}

.compare-card,
.result-card {
  position: relative;
}

.compare-card.large {
  position: relative;
  aspect-ratio: 4 / 4.6;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.compare-card img,
.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-card.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.compare-card figcaption,
.result-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.portrait-card {
  aspect-ratio: 4 / 5.6;
}

.results-transformations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
}

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

.transformation-pair .result-card {
  width: 100%;
}

.transformation-pair .result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured {
  background: linear-gradient(180deg, rgba(143, 53, 255, 0.2), rgba(14, 8, 24, 0.8));
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 34px;
}

.cta-panel > div:first-child {
  max-width: 640px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.faq details {
  padding: 22px 24px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin-top: 14px;
}

.footer {
  padding: 0 0 54px;
  display: flex;
  justify-content: center;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.lead-form,
.lead-form label {
  display: grid;
  gap: 10px;
}

.lead-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lead-form span {
  font-size: 0.92rem;
  color: var(--muted);
}

.lead-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  outline: none;
}

.lead-form input:focus {
  border-color: rgba(200, 141, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(143, 53, 255, 0.14);
}

.form-message {
  min-height: 24px;
  color: var(--primary-2);
  font-size: 0.95rem;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  .topbar,
  .section,
  .footer {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar {
    padding: 12px 16px;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-copy-centered {
    max-width: 100%;
    padding: 18px 6px 10px;
  }

  .hero-metrics,
  .problem-grid,
  .method-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .who-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .who-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-inline: 0;
  }

  .compare-card.large {
    min-height: 420px;
  }

  .compare-card.large img {
    object-position: center 85%;
  }

  .results-transformations {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .transformation-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cta-panel {
    display: grid;
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .topbar,
  .section,
  .footer {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    top: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    gap: 10px;
    border-radius: 20px;
  }

  .brand img {
    height: 30px;
    max-width: 150px;
  }

  .topbar .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-copy,
  .hero-copy-centered {
    max-width: 100%;
    padding: 8px 0 0;
    gap: 18px;
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
    line-height: 1.08;
  }

  .lead,
  .section-heading p,
  .problem-grid p,
  .step-card p,
  .service-card p,
  .feature-list li,
  .faq p,
  .modal-text,
  .who-copy p,
  .cta-panel p {
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .hero-actions,
  .hero-actions-centered,
  .cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions-centered .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-metrics,
  .hero-metrics-centered {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .hero-metrics article {
    padding: 16px;
    text-align: left;
  }

  .problem-grid,
  .method-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-grid article,
  .step-card,
  .service-card {
    padding: 22px 18px;
  }

  .section-heading {
    margin: 0 auto 28px;
  }

  .who-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .who-copy {
    gap: 14px;
  }

  .who-photos {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-inline: 0;
  }

 .compare-card.large {
  min-height: 440px;
  aspect-ratio: 4 / 4.8;
}

.compare-card.large img {
  object-position: center 25%;
}

  .results-transformations {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .transformation-pair {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .portrait-card {
    aspect-ratio: 4 / 5.2;
    min-height: 260px;
  }

  .result-card figcaption,
  .compare-card figcaption {
    left: 10px;
    bottom: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .cta-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .cta-panel h2 {
    margin-bottom: 10px;
  }

  .cta-panel p {
    margin-top: 0;
    max-width: 100%;
  }

  .cta-actions {
    margin-top: 6px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .faq details {
    padding: 18px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    width: 100%;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .footer {
    padding: 0 0 34px;
    text-align: center;
    font-size: 0.92rem;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .topbar {
    padding: 10px 10px;
  }

  .brand img {
    height: 26px;
    max-width: 130px;
  }

  .topbar .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .section {
    padding: 56px 0;
  }

  .transformation-pair {
    gap: 10px;
  }

  .portrait-card {
    min-height: 220px;
  }

  .cta-panel {
    padding: 24px 18px;
    gap: 18px;
  }

  .cta-panel h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.08;
  }

  .cta-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-metrics article,
  .problem-grid article,
  .step-card,
  .service-card {
    padding: 18px 14px;
  }
}
