:root {
  --bg: #0d0717;
  --panel: #140b25;
  --text: #f7f3ff;
  --muted: #dfd4f5;
  --primary: #8d1cfe;
  --secondary: #ce8fff;
  --line: rgba(255, 255, 255, 0.2);
  --radius: 18px;
  --shadow: 0 18px 60px rgba(41, 12, 76, 0.45);
  --container-max: 1360px;
  --container-gutter: clamp(16px, 3vw, 40px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 5%, rgba(141, 28, 254, 0.22), transparent 38%),
    radial-gradient(circle at 90% 24%, rgba(206, 143, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #0b0615 0%, #1b1030 45%, #0c0716 100%);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p,
ul {
  margin: 0;
}

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

.container {
  width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
  margin: 0 auto;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(13, 7, 23, 0.65);
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.4px;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.quick-contact a:hover,
.footer-links a:hover {
  color: var(--secondary);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding-top: 5.5rem;
  align-items: center;
}

.kicker {
  color: var(--secondary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
}

.hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.lead {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 62ch;
}

.cta-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.82rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.btn-small {
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
}

.quick-contact {
  margin-top: 1.35rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card ul,
.card ul {
  padding-left: 1rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.trust-strip {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.trust-strip div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0.75rem;
}

.trust-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  color: #fff;
}

.trust-strip span {
  color: #f4ecff;
  font-size: 0.88rem;
}

.badge {
  margin-top: 1rem;
  font-size: 0.83rem;
  color: #fff;
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(141, 28, 254, 0.3);
  border: 1px solid rgba(206, 143, 255, 0.42);
}

.section {
  padding: 5.2rem 0;
}

.section-head h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 70ch;
}

.cards {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.card ul {
  margin-top: 0.9rem;
}

.timeline {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
}

.case-card h3 {
  font-size: 1.1rem;
}

.case-card p {
  color: var(--muted);
}

.case-card ul {
  margin-top: 0.7rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #f4ecff;
}

.case-tag {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.step span {
  font-family: "Sora", sans-serif;
  color: var(--secondary);
  font-size: 1.8rem;
}

.step h3 {
  margin-top: 0.55rem;
}

.step p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 3rem;
}

.contact-form {
  margin-top: 1.7rem;
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.96rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 6, 21, 0.85);
  color: var(--text);
  padding: 0.76rem 0.85rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(206, 143, 255, 0.52);
  border-color: transparent;
}

.feedback {
  min-height: 1.2rem;
  color: var(--secondary);
  font-size: 0.9rem;
}

.offer-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.85rem;
}

.offer-card h3 {
  font-size: 1.25rem;
}

.offer-name {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.8rem;
  font-weight: 700;
}

.offer-text {
  color: #efe6ff;
}

.offer-card ul {
  padding-left: 1rem;
  color: #f4ecff;
  display: grid;
  gap: 0.45rem;
}

.offer-card.highlight {
  background: linear-gradient(165deg, rgba(206, 143, 255, 0.22), rgba(141, 28, 254, 0.19));
}

.checkout-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 0.65rem;
}

.price {
  font-family: "Sora", sans-serif;
  font-size: 1.7rem;
  color: #fff;
}

.checkout-text {
  color: #efe6ff;
  min-height: 2.6rem;
}

.checkout-features {
  margin: 0.2rem 0 0.4rem;
  padding-left: 1rem;
  color: #f4ecff;
  display: grid;
  gap: 0.4rem;
  font-size: 0.93rem;
}

.checkout-btn {
  width: 100%;
  margin-top: 0.2rem;
}

.checkout-note {
  margin-top: 1rem;
  color: var(--muted);
}

.checkout-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.checkout-feedback {
  margin-top: 0.5rem;
}

.payment-success {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(102, 255, 175, 0.45);
  border-radius: 14px;
  background: rgba(102, 255, 175, 0.1);
  color: #eafff3;
  display: none;
}

.payment-success.visible {
  display: block;
}

.embedded-checkout-wrap {
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  display: none;
}

.embedded-checkout-wrap.visible {
  display: block;
}

#embedded-checkout {
  min-height: 540px;
}

.proof-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
}

.proof-card p {
  margin-top: 0.65rem;
  color: #f2eaff;
}

.faq-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.faq-item p {
  margin-top: 0.6rem;
  color: #f0e6ff;
}

.legal-box {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.legal-box p {
  color: #f3eaff;
}

.legal-box a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bg-orb {
  position: fixed;
  z-index: -3;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
}

.bg-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(141, 28, 254, 0.6);
  top: -70px;
  left: -90px;
}

.bg-orb-2 {
  width: 340px;
  height: 340px;
  background: rgba(206, 143, 255, 0.52);
  bottom: -110px;
  right: -80px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 20% 5%, black, transparent 70%);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.9rem;
  }

  .timeline,
  .case-grid,
  .cards,
  .offer-grid,
  .checkout-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 18px;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    position: sticky;
    top: 0.5rem;
  }

  .topbar.site-nav .menu-toggle {
    display: inline-flex;
  }

  .topbar.site-nav > .btn.btn-small {
    display: none;
  }

  .topbar.site-nav .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 7, 23, 0.96);
    overflow: hidden;
  }

  .topbar.site-nav .nav a {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .topbar.site-nav .nav a:last-child {
    border-bottom: 0;
  }

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

  .section {
    padding: 4.2rem 0;
  }

  .media-img {
    height: 220px;
  }

  .contact-form,
  .card,
  .offer-card,
  .checkout-card,
  .proof-card,
  .case-card,
  .faq-item {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.2rem;
    gap: 1.4rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .cta-row {
    gap: 0.6rem;
  }

  .cta-row .btn,
  .cta-row .btn-ghost,
  .checkout-actions .btn {
    width: 100%;
  }

  .quick-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .price {
    font-size: 1.45rem;
  }

  #embedded-checkout {
    min-height: 480px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-links {
    gap: 0.7rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 420px) {
  .topbar {
    border-radius: 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .media-img {
    height: 170px;
  }

  .kicker {
    font-size: 0.75rem;
  }

  .section-head h2 {
    font-size: 1.45rem;
  }
}
