/* ==========================================================================
   Xapprovals — Design System & Shared Styles
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7fb;
  --color-ink: #101223;
  --color-ink-soft: #4b4f66;
  --color-muted: #767a91;
  --color-border: #e6e7f0;

  --color-primary: #5b5fef;
  --color-primary-dark: #4347c9;
  --color-primary-light: #eceafd;
  --color-accent: #17c3a2;
  --color-accent-dark: #0fa287;
  --color-warn: #ff6b6b;

  --color-navy: #0d0e23;
  --color-navy-soft: #171935;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 18, 35, 0.06);
  --shadow-md: 0 12px 30px rgba(16, 18, 35, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 18, 35, 0.16);

  --container-w: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--color-ink-soft);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  font-size: 17px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--color-navy);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-soft);
  transition: color 0.15s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 2px;
  background: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 85% -10%, rgba(91, 95, 239, 0.14), transparent 60%),
    radial-gradient(600px 360px at 5% 10%, rgba(23, 195, 162, 0.12), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.hero p.lead {
  font-size: 18px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-muted);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 26px;
  color: var(--color-ink);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--color-muted);
}

/* ---------- App mockup card (pure CSS) ---------- */

.mockup {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mockup-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-title h4 {
  margin: 0;
  font-size: 15px;
  color: #fff;
}

.mockup-title span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.mockup-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.mockup-row strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

.mockup-row small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
}

.mockup-amount {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-align: right;
}

.mockup-amount.flag {
  color: #ffb4b4;
}

.mockup-amount small {
  display: block;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.mockup-footer {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-footer strong {
  font-size: 15px;
}

.mockup-footer span {
  font-size: 12px;
  opacity: 0.85;
}

/* ---------- Logo strip ---------- */

.logo-strip {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.logo-strip p {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}

.logo-row span {
  font-weight: 800;
  font-size: 19px;
  color: var(--color-ink-soft);
  opacity: 0.55;
  letter-spacing: -0.02em;
}

/* ---------- Feature grid ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 19px;
}

.card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
}

.step p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--color-navy);
  color: #fff;
  padding: 72px 0;
}

.stats-band .grid-4 {
  text-align: center;
}

.stats-band strong {
  display: block;
  font-size: 38px;
  background: linear-gradient(135deg, #fff, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.testimonial p {
  font-size: 15.5px;
  color: var(--color-ink);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--color-muted);
}

.stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* ---------- Pricing ---------- */

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.switch {
  width: 46px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  position: relative;
  cursor: pointer;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s ease;
}

.save-badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan.featured p,
.plan.featured .plan-price span {
  color: rgba(255, 255, 255, 0.65);
}

.plan.featured li {
  color: rgba(255, 255, 255, 0.85);
}

.plan-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
}

.plan > p {
  font-size: 14px;
  margin-bottom: 24px;
}

.plan ul {
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-ink-soft);
  padding: 7px 0;
}

.plan li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.pricing-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  font-size: 15px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

.cta-band h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-band .hero-cta {
  justify-content: center;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Legal content ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p, .legal li {
  color: var(--color-ink-soft);
  font-size: 15.5px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.legal-updated {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 40px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .card-icon {
  margin-bottom: 0;
}

.contact-info-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Values / team (about) ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 101px;
  top: 6px;
  bottom: -12px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 15px;
  padding-top: 2px;
}

.timeline-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.footer-brand {
  text-align: center;
}

.footer-brand .brand {
  color: #fff;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
  margin: 0 auto;
  font-size: 14.5px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col address {
  font-style: normal;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Disclaimer / Consent Form Widget ---------- */

.contact-form-column {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-info-title,
.consent-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.contact-info-section {
  margin-bottom: 8px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-ink);
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--color-bg-alt);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.input-group input.error {
  border-color: var(--color-warn);
  background: #fff5f5;
}

.input-group input.valid {
  border-color: var(--color-accent);
}

.error-message {
  display: none;
  font-size: 12.5px;
  color: var(--color-warn);
  margin-top: 6px;
}

.consent-section {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}

.required-checkbox {
  margin: 20px 0;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.disclaimer-links,
.required-checkbox-links {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--color-muted);
  cursor: pointer;
}

.disclaimer-links strong,
.required-checkbox-links strong {
  color: var(--color-ink-soft);
}

.required-checkbox-links a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.bot-check-container {
  margin: 24px 0;
}

.bot-check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bot-check-button:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.bot-check-button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.bot-check-button.verified {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.bot-check-timer {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: 8px;
  text-align: center;
}

.bot-check-error {
  display: none;
  font-size: 12.5px;
  color: var(--color-warn);
  margin-top: 8px;
  text-align: center;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.submit-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Success Modal ---------- */

#success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 35, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

#success-modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.modal-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.modal-message {
  font-size: 14.5px;
  margin-bottom: 24px;
}

.close-button {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.close-button:hover {
  background: var(--color-primary-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .grid-3,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan.featured {
    transform: none;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-border);
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .pricing-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 48px 24px;
    margin: 0 16px;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr;
  }

  .timeline-item::before {
    left: 81px;
  }

  .contact-form-column {
    padding: 24px;
  }

  .pricing-toggle {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 16px;
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .nav-actions {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

  .cta-band {
    padding: 40px 20px;
  }

  .modal-content {
    padding: 28px 24px;
  }
}
