:root {
  --color-bg: #020617;
  --color-surface: rgba(15, 23, 42, 0.72);
  --color-surface-strong: rgba(15, 23, 42, 0.92);
  --color-border: rgba(148, 163, 184, 0.2);
  --color-primary: #6366f1;
  --color-primary-strong: #4f46e5;
  --color-secondary: #22d3ee;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 40px 120px -35px rgba(79, 70, 229, 0.5);
  --shadow-card: 0 25px 70px -30px rgba(15, 23, 42, 0.9);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font-sans);
}

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

html,
body {
  min-height: 100%;
}

body {
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.25), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.2), transparent 40%), var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding-bottom: 120px;
}

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

a:hover {
  color: var(--color-secondary);
}

.page {
  position: relative;
  overflow: hidden;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1.8rem 0 1.4rem;
  z-index: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  color: var(--color-text);
}

.brand-accent {
  color: var(--color-secondary);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-link {
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

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

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

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

.hero-section {
  position: relative;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(99, 102, 241, 0.55), rgba(14, 116, 144, 0.1) 42%, transparent 72%);
  filter: blur(120px);
  opacity: 0.9;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.6rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.2vw + 1.1rem, 3.8rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 1.1rem;
}

.hero-description {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--color-text-muted);
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #0f172a;
  box-shadow: 0 20px 38px -22px rgba(99, 102, 241, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 42px -26px rgba(99, 102, 241, 0.95);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.12);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.25);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.18);
}

.btn-ghost {
  border-color: rgba(99, 102, 241, 0.35);
  color: var(--color-text);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.18);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.stat-card {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(16px);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.login-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(20px);
  padding: 2.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-title {
  font-weight: 600;
  font-size: 1rem;
}

.status-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--color-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.login-form input {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.65);
  padding: 0.8rem 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.login-form input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

.login-form button {
  width: 100%;
}

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

.login-footer {
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.partner-strip {
  margin-top: 3.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.3), rgba(2, 6, 23, 0.05));
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.6);
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 5.6rem 0;
  position: relative;
  z-index: 2;
}

.section-surface {
  background: rgba(10, 15, 30, 0.55);
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--color-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.5vw + 1rem, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.section-description {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.highlight-card {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 320px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.highlight-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.highlight-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.highlight-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.86);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: var(--color-primary);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.icon-check {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

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

.plan-card {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(10, 17, 35, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: var(--shadow-card);
}

.plan-card.is-popular {
  background: linear-gradient(160deg, rgba(79, 70, 229, 0.32), rgba(15, 23, 42, 0.75));
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-10px);
}

.popular-pill {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.85);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-description {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
}

.plan-price .suffix {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin-bottom: 0.5rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.92rem;
}

.plan-card .btn {
  margin-top: auto;
  width: fit-content;
  padding-inline: 1.8rem;
}

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

.step-card {
  border-radius: var(--radius-md);
  background: rgba(10, 17, 35, 0.65);
  border: 1px solid rgba(99, 102, 241, 0.16);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(99, 102, 241, 0.22);
  display: grid;
  place-items: center;
  color: var(--color-secondary);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: rgba(10, 17, 35, 0.65);
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.services-table thead {
  background: rgba(15, 23, 42, 0.82);
}

.services-table th {
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.services-table td {
  padding: 1.05rem 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.95rem;
}

.services-table tbody tr:hover {
  background: rgba(79, 70, 229, 0.12);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.testimonial-card {
  border-radius: var(--radius-md);
  background: rgba(10, 17, 35, 0.68);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-card);
}

.testimonial-card blockquote {
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.96rem;
  line-height: 1.7;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.testimonial-meta .name {
  font-weight: 600;
  color: var(--color-text);
}

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

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: rgba(10, 17, 35, 0.65);
  padding: 1.8rem 1.6rem;
  transition: border 0.2s ease;
}

.faq-item.open {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  max-width: 85%;
}

.faq-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
}

.faq-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-toggle span:last-child {
  transform: rotate(90deg);
}

.faq-item.open .faq-toggle span:last-child {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  margin-top: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  opacity: 1;
}

.cta-section {
  padding: 6rem 0 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(14, 165, 233, 0.18));
  padding: 3.1rem 3.4rem;
  box-shadow: 0 35px 80px -30px rgba(79, 70, 229, 0.65);
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw + 1rem, 2.6rem);
  margin-bottom: 0.9rem;
}

.cta-text p {
  color: rgba(226, 232, 240, 0.86);
  max-width: 440px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 220px;
}

.footer {
  margin-top: 6rem;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(99, 102, 241, 0.12);
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
  color: rgba(226, 232, 240, 0.8);
}

.footer-bottom {
  text-align: center;
  padding: 2.2rem 0 3rem;
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.82rem;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 1100px) {
  .highlight-grid,
  .plan-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    gap: 2.5rem;
  }

  .login-card {
    padding: 2.1rem;
  }
}

@media (max-width: 920px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.6rem;
    background: rgba(10, 17, 35, 0.96);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transform: scale(0.95);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid,
  .plan-grid,
  .steps-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .login-card {
    padding: 1.8rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 520px) {
  .nav-menu {
    width: 100%;
    right: 0;
    left: 0;
  }

  .hero-section {
    padding-bottom: 2rem;
  }

  .section {
    padding: 4rem 0;
  }
}
