@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #0b0f1a;
  --bg-dark: #0b0f1a;
  --bg-darker: #070a12;
  --bg-light: #f6f8fb;
  --section-dark: #0b0f1a;
  --section-light: #f6f8fb;
  --card: #ffffff;
  --text-dark: #0f172a;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-soft: rgba(59, 130, 246, 0.2);
  --accent-gold: #d6b36a;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 30px 90px rgba(8, 12, 24, 0.45);
  --header-bg: rgba(7, 10, 18, 0.85);
  --input-bg: rgba(7, 10, 18, 0.8);
  --input-text: #ffffff;
  --card-dark: rgba(12, 17, 30, 0.7);
  --card-border: rgba(148, 163, 184, 0.22);
}

body.theme-light {
  --bg-base: #f6f8fb;
  --bg-dark: #f6f8fb;
  --bg-darker: #eef2f7;
  --bg-light: #ffffff;
  --section-dark: #f8fafc;
  --section-light: #ffffff;
  --card: #ffffff;
  --text-light: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.15);
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  --header-bg: rgba(255, 255, 255, 0.85);
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-text: #0f172a;
  --card-dark: #ffffff;
  --card-border: rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--text-light);
  background: var(--bg-base);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(214, 179, 106, 0.18), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(14, 116, 144, 0.18), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

body.theme-light::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(214, 179, 106, 0.08), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(14, 116, 144, 0.08), transparent 45%);
}

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

main {
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.payment-page {
  padding: 120px 0 120px;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.payment-page .container {
  width: min(760px, 90vw);
}

.payment-focus {
  text-align: center;
}

.payment-focus .payment-card {
  margin-top: 22px;
  justify-items: center;
}

.payment-focus .badge {
  color: rgba(226, 232, 240, 0.8);
}

.payment-focus .note {
  color: rgba(226, 232, 240, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--text-muted);
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #4f8cff, #2f6bf2);
  color: white;
  box-shadow: 0 18px 46px rgba(47, 107, 242, 0.4);
}

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

.button.ghost {
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.08);
}

.hero {
  padding: 130px 0 100px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.2) 0%, transparent 55%),
    var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  line-height: 1.1;
  margin-top: 18px;
}

.hero-copy p {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 520px;
}

.pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

body.theme-light .pill {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-stats strong {
  display: block;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.flow-card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(12px);
}

.flow-card.before {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

.flow-card.after {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.flow-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.flow-card ul {
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--text-light);
  font-size: 0.95rem;
}

.flow-card li::before {
  content: '→';
  margin-right: 8px;
  color: var(--text-muted);
}

.section {
  padding: 110px 0;
}

.section.light {
  background: var(--section-light);
  color: var(--text-dark);
}

.section.dark {
  background: var(--section-dark);
  color: var(--text-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin: 12px 0;
}

.section-head p {
  color: inherit;
  opacity: 0.75;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.cards-note {
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
}

.section.dark .cards-note {
  color: rgba(226, 232, 240, 0.7);
}

.case-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.case-track {
  display: flex;
  gap: 22px;
  padding-right: 22vw;
}

.case-card {
  flex: 0 0 48%;
  scroll-snap-align: start;
}

.case-table {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.case-row {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.95rem;
}

.case-row strong {
  color: var(--text-dark);
}

.section.dark .case-row strong {
  color: var(--text-light);
}

.case-desc {
  margin-top: 8px;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.98rem;
}

.section.dark .case-desc {
  color: rgba(226, 232, 240, 0.7);
}

.case-benefit {
  margin-top: 14px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.8);
}

.case-note {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.95rem;
}

.section.dark .case-benefit,
.section.dark .case-note {
  color: rgba(226, 232, 240, 0.8);
}

.case-slider::-webkit-scrollbar {
  height: 8px;
}

.case-slider::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 999px;
}

.case-slider::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 1024px) {
  .case-card {
    flex-basis: 65%;
  }
}

@media (max-width: 720px) {
  .case-track {
    padding-right: 18vw;
  }

  .case-card {
    flex-basis: 84%;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: start;
}

.about-grid p {
  line-height: 1.85;
  margin-top: 12px;
}

.about-grid h2 {
  margin-bottom: 18px;
}

.about-card {
  background: var(--card-dark);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  display: grid;
  gap: 14px;
  backdrop-filter: blur(12px);
}

.about-name {
  font-weight: 700;
}

.about-role {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.95rem;
}

.about-meta {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
}

body.theme-light .about-role,
body.theme-light .about-meta {
  color: rgba(15, 23, 42, 0.7);
}

.about-card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-photo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  margin-bottom: 14px;
  background: rgba(7, 10, 18, 0.9);
}

.about-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
}

body.theme-light .about-photo-wrap {
  border-color: rgba(15, 23, 42, 0.12);
}

.pricing .card {
  text-align: center;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 46px rgba(10, 15, 30, 0.06);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.faq-item p {
  color: rgba(15, 23, 42, 0.7);
}

.section.dark .faq-item {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  backdrop-filter: blur(12px);
}

.section.dark .faq-item p {
  color: rgba(226, 232, 240, 0.7);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-status {
  min-height: 1.2em;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status[data-kind="loading"] {
  color: rgba(226, 232, 240, 0.8);
}

.form-status[data-kind="ok"] {
  color: rgba(34, 197, 94, 0.95);
}

.form-status[data-kind="error"] {
  color: rgba(248, 113, 113, 0.95);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(10, 15, 30, 0.08);
  color: var(--text-dark);
}

.section.dark .card {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  backdrop-filter: blur(12px);
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
}

.badge {
  font-weight: 600;
  color: var(--text-dark);
}

.note {
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.98rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-chip {
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--text-light);
  font-weight: 600;
}

body.theme-light .logo-chip {
  color: #1d4ed8;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.card p {
  color: inherit;
  opacity: 0.75;
  font-size: 0.98rem;
}

.card.highlight strong {
  display: block;
  margin-top: 12px;
  color: var(--accent-gold);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.14);
  display: grid;
  place-items: center;
  color: #93c5fd;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.25);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #bfdbfe;
}

.step h3 {
  margin: 16px 0 8px;
}

.step p {
  opacity: 0.75;
}

body.theme-light .step {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

body.theme-light .step p {
  color: rgba(15, 23, 42, 0.7);
  opacity: 1;
}

body.theme-light .step-icon {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.niches {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.niches span {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.form {
  background: var(--card-dark);
  padding: 24px;
  border-radius: 22px;
  display: grid;
  gap: 22px;
  border: 1px solid var(--card-border);
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text-light);
}

.form input,
.form textarea {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: var(--input-bg);
  color: var(--input-text);
  font-family: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.trust {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--text-muted);
}

.audit-grid .button.ghost {
  margin-top: 24px;
}

.footer {
  background: var(--bg-darker);
  color: var(--text-muted);
  padding: 30px 0 50px;
}

.footer-row {
  display: grid;
  gap: 12px;
  text-align: center;
}

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

@media (max-width: 720px) {
  .header-row {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Payment page helpers */
.language-toggle {
  display: inline-flex;
  gap: 8px;
  background: rgba(59, 130, 246, 0.15);
  padding: 6px;
  border-radius: 999px;
}

.language-toggle button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
}

.language-toggle button.active {
  background: var(--primary);
  color: white;
}

.photo {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
}

.payment-card {
  background: rgba(15, 23, 42, 0.6);
  padding: 32px;
  border-radius: 22px;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.payment-card input {
  padding: 14px 16px;
  font-size: 1.1rem;
}

.payment-card .note {
  color: rgba(226, 232, 240, 0.75);
}

.option-card {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 8px;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease;
  background: rgba(7, 10, 18, 0.7);
}

.option-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.amount-row button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 600;
}

.payment-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 14px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}

.testimonials .card {
  display: grid;
  gap: 12px;
}

.stars {
  color: #3b82f6;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.author {
  font-weight: 700;
  color: var(--text-dark);
}

.role {
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.9rem;
}

.section.dark .author {
  color: white;
}

.section.dark .role {
  color: rgba(226, 232, 240, 0.7);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 600;
}

.toggle-indicator {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.3);
  position: relative;
}

.toggle-indicator::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

body.theme-light .toggle-indicator::after {
  transform: translateX(12px);
}

body.theme-light .theme-toggle {
  color: var(--text-light);
  border-color: rgba(15, 23, 42, 0.2);
}
