@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-alt: #0b0f19;
  --fg: #f8fbff;
  --muted: #9ba4bf;
  --accent: #ec4899;
  --accent-2: #38bdf8;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(15, 20, 34, 0.8);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #10142a, #05060a 60%);
  color: var(--fg);
}

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

.hero {
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(236, 72, 153, 0.12));
  border-bottom: 1px solid var(--border);
}

.hero-nav {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem;
}

.logo.small {
  height: 36px;
  width: 36px;
}

.hero-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}

.hero-links a:hover {
  color: #fff;
}

.hero-links a.active {
  color: #fff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.2rem;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

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

h1 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.1;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  margin: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.small {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.25);
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--muted);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(5, 6, 10, 0.6);
}

.card-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
}

.card-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.pill.soft {
  background: rgba(56, 189, 248, 0.08);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.2);
}

.pill.accent {
  background: rgba(236, 72, 153, 0.15);
  color: #fdf2f8;
  border-color: rgba(236, 72, 153, 0.4);
}

.fake-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.request-preview {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.request-preview li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.request-preview .amount {
  color: #f9a8d4;
  font-weight: 700;
  font-size: 0.95rem;
}

.track {
  font-weight: 600;
}

.meta {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.hero-card-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
}

.hero-card li {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1rem;
}

.hero-card strong {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

main {
  padding: 3rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  margin-bottom: 4rem;
}

.section.alt {
  background: var(--bg-alt);
  padding: 3rem;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.section-content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

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

.sub-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.grid article,
.cta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
}

.subdomain .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.script-card {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-radius: 20px;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.05);
}

.script-card pre {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  font-family: "Space Grotesk", monospace;
  overflow-x: auto;
  color: #f8fbff;
}

.script-card code {
  color: inherit;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.cta-card .btn {
  width: 100%;
  margin-top: 0.8rem;
}

.signup-form {
  display: grid;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
}

.signup-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.signup-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.signup-form input::placeholder {
  color: var(--muted);
}

.form-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

.form-hint.success {
  color: #34d399;
}

.form-hint.error {
  color: #fda4af;
}

.testimonials .quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
}

.testimonials .author {
  margin-top: 1rem;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-grid article {
  text-align: center;
}

.pricing-grid .price {
  font-size: 2.4rem;
  margin: 0.5rem 0 1rem;
}

.pricing-grid .price span {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-grid ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.pricing-grid .featured {
  border: 1px solid rgba(236, 72, 153, 0.4);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(56, 189, 248, 0.08));
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.legal-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.legal-card h1 {
  margin-top: 0;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.legal-section + .legal-section {
  margin-top: 2rem;
}

.legal-section h2 {
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-list {
  color: var(--muted);
  line-height: 1.7;
  padding-left: 1.2rem;
}

.legal-list li {
  margin-bottom: 0.4rem;
}

/* Purchase checkout */
body.purchase-body {
  min-height: 100vh;
  margin: 0;
  padding: 2.5rem 1.5rem 4rem;
  background: radial-gradient(circle at top, #111832, #05060a 70%);
  color: #f8fbff;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.purchase-main {
  max-width: 760px;
  margin: 0 auto;
}

.purchase-back-link {
  color: #9ba4bf;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.purchase-card {
  margin-top: 1.5rem;
  background: rgba(9, 12, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 32px;
  padding: 2.25rem;
  box-shadow: 0 30px 80px rgba(3, 5, 11, 0.7);
}

.purchase-plan-badge {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: #fb7185;
  margin: 0;
}

.purchase-card h1 {
  font-size: clamp(2.4rem, 4.5vw, 3rem);
  margin: 0.35rem 0 0.5rem;
}

.purchase-plan-meta {
  font-size: 0.95rem;
  color: #cbd5f5;
  margin: 0;
}

.purchase-hint {
  font-size: 0.78rem;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 0.8rem;
}

.purchase-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.purchase-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purchase-section-title {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.purchase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.purchase-grid--thirds {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.purchase-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.purchase-label span {
  font-weight: 500;
}

.purchase-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.65);
  color: #f8fbff;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-input::placeholder {
  color: rgba(248, 251, 255, 0.5);
}

.purchase-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.purchase-input--locked {
  background: rgba(15, 23, 42, 0.55);
  border-style: dashed;
  cursor: not-allowed;
}

.purchase-input--locked:focus {
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: none;
}

.purchase-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.purchase-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.purchase-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: #ec4899;
}

.purchase-legal a {
  color: #38bdf8;
  text-decoration: underline;
}

.purchase-note {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.purchase-note--inline {
  font-size: 0.75rem;
  color: #cbd5f5;
}

.purchase-error {
  min-height: 1.4rem;
  color: #fb7185;
  font-size: 0.9rem;
}

.purchase-button {
  border: none;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ec4899, #38bdf8);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.purchase-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.purchase-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero-card {
    order: -1;
  }
  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-links {
    width: 100%;
    justify-content: flex-start;
  }
  .section.alt {
    padding: 2rem;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
