/* ============================================
   JOPEED — Airtime Sales Platform
   ============================================ */

:root {
  --primary: #00A651;
  --primary-dark: #008C44;
  --primary-light: #E8F8EF;
  --accent-red: #E30613;
  --accent-red-dark: #B8050F;
  --accent-red-light: #FDE8EA;
  --black: #000000;
  --black-soft: #111827;
  --white: #FFFFFF;
  --navy: #0F172A;
  --gray: #6B7280;
  --light-gray: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --border-input: #D1D5DB;
  --surface: #F9FAFB;
  --danger: #E30613;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--transition);
}

.navbar--transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.navbar.scrolled .navbar__logo,
.navbar--solid .navbar__logo {
  color: var(--black);
}

.logo-text {
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.logo-icon {
  height: 48px;
  width: auto;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link,
.navbar--solid .nav-link {
  color: var(--navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .navbar__toggle span,
.navbar--solid .navbar__toggle span {
  background: var(--navy);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.32) 100%),
    url('assets/bg.png') center / cover no-repeat;
}

.hero--form-only .hero__gradient {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.25) 100%),
    url('assets/bg.png') center / cover no-repeat;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__illustrations {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__phone {
  position: absolute;
  opacity: 0.15;
  animation: floatPhone 8s ease-in-out infinite;
}

.hero__phone--1 {
  width: 120px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.hero__phone--2 {
  width: 90px;
  bottom: 20%;
  right: 10%;
  animation-delay: -4s;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero__coin {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  animation: floatCoin 6s ease-in-out infinite;
}

.hero__coin--1 {
  top: 30%;
  right: 15%;
  animation-delay: -2s;
}

.hero__coin--2 {
  bottom: 35%;
  left: 12%;
  animation-delay: -3s;
}

@keyframes floatCoin {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

/* Form-only homepage */
.page-form-only {
  min-height: 100vh;
}

.page-form-only .navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-form-only .navbar .navbar__logo,
.page-form-only .navbar .nav-link {
  color: var(--text-primary);
}

.page-form-only .navbar .nav-link.active {
  color: var(--primary);
}

.page-form-only .navbar .nav-link:hover {
  color: var(--text-primary);
}

.page-form-only .navbar__toggle span {
  background: var(--text-primary);
}

/* ============================================
   DAIMA-STYLE THEME (JOPEED brand colors)
   ============================================ */

.page-daima {
  background: var(--primary-light);
  min-height: 100vh;
}

.page-daima .navbar,
.page-daima .navbar.scrolled,
.page-daima .navbar--daima {
  position: sticky;
  background: var(--primary);
  border-bottom: 3px solid var(--accent-red);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.page-daima .navbar__inner--daima {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.page-daima .navbar__logo,
.page-daima .navbar.scrolled .navbar__logo {
  color: var(--white);
}

.page-daima .logo-text::after {
  display: block;
  background: var(--accent-red);
}

.page-daima .navbar__pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.page-daima .navbar__pill-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition), opacity var(--transition);
}

.page-daima .navbar__pill-link:hover {
  color: var(--white);
  opacity: 1;
}

.page-daima .navbar__pill-link.active {
  color: var(--accent-red);
  font-weight: 700;
  opacity: 1;
}

.page-daima .navbar__pill-link:not(.active) {
  opacity: 0.95;
}

.page-daima .navbar__pill-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  user-select: none;
}

.page-daima .navbar__nav--right {
  justify-self: end;
  gap: 22px;
}

.page-daima .nav-link,
.page-daima .navbar.scrolled .nav-link {
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.page-daima .nav-link::after {
  display: none;
}

.page-daima .nav-link:hover {
  color: var(--white);
  opacity: 0.9;
}

.page-daima .nav-link.active {
  color: var(--accent-red);
  font-weight: 600;
  opacity: 1;
}

.page-daima .nav-link--menu-only {
  display: none;
}

.page-daima .navbar__toggle span {
  background: var(--white);
}

.page-daima .hero--daima,
.page-daima .hero--form-only,
.page-daima .hero--auth {
  min-height: calc(100vh - 72px);
  padding: 32px 0 48px;
  background: var(--primary-light);
  display: flex;
  align-items: flex-start;
}

.page-daima .hero__bg {
  display: none;
}

.page-daima .hero--form-only .purchase-card,
.page-daima .hero--daima .purchase-card {
  width: 100%;
  max-width: min(720px, 94vw);
  margin: 0 auto;
}

.purchase-card--daima {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 36px 40px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.purchase-card--daima::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
  display: block;
}

.purchase-card__head--daima {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
  text-align: center;
}

.purchase-card__tagline {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.purchase-card__tagline-accent {
  color: var(--accent-red);
}

.operator-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.operator-logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.operator-logo--saf {
  background: var(--white);
  color: var(--accent-red);
  border-color: var(--primary);
}

.operator-logo--air {
  background: var(--accent-red);
  color: var(--white);
  border-color: var(--accent-red);
  font-style: italic;
  text-transform: lowercase;
  font-size: 0.85rem;
}

.operator-logo--tel {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  text-transform: lowercase;
  font-size: 0.8rem;
}

.purchase-card__paybill {
  text-align: center;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.purchase-card__paybill strong {
  color: var(--accent-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.tabs--segmented {
  display: flex;
  width: 100%;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 0;
  margin: 0 auto 24px;
}

.tabs--segmented .tab {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 999px;
  background: transparent;
  text-align: center;
}

.tabs--segmented .tab::after {
  display: none;
}

.tabs--segmented .tab:hover:not(.active) {
  color: var(--primary);
  background: var(--primary-light);
}

.tabs--segmented .tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.25);
  font-weight: 700;
}

.page-daima .purchase-form--pro .form-group label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-daima .input-field {
  border-radius: 999px;
  border-color: var(--border-input);
  background: var(--white);
}

.page-daima .input-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.page-daima .input-prefix {
  background: var(--white);
  border-right: 1px solid var(--border);
  border-radius: 999px 0 0 999px;
  color: var(--primary);
  font-weight: 700;
}

.page-daima .input-field input {
  border-radius: 0 999px 999px 0;
}

.page-daima .input-box {
  border-radius: 999px;
  border-color: var(--border-input);
}

.page-daima .input-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.page-daima .captcha-box,
.page-daima .captcha-refresh {
  border-radius: 12px;
}

.page-daima .btn--submit {
  border-radius: 999px;
  background: var(--primary);
  padding: 16px 24px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 166, 81, 0.28);
}

.page-daima .btn--submit:hover:not(:disabled) {
  background: var(--primary-dark);
}

.page-daima .btn--submit:disabled {
  background: var(--border-input);
  color: var(--text-muted);
}

.page-daima .purchase-card--pro {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.page-daima .purchase-card--pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
  display: block;
}

.page-daima .purchase-card__head {
  border-bottom-color: rgba(0, 166, 81, 0.15);
}

.page-daima .purchase-card__title {
  color: var(--primary);
}

.page-daima .secure-note svg {
  color: var(--primary);
}

.page-daima .form-footer-note a:hover {
  color: var(--accent-red);
}

@media (max-width: 960px) {
  .page-daima .navbar__inner--daima {
    grid-template-columns: 1fr auto;
  }

  .page-daima .navbar__pill {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-daima .nav-link--menu-only {
    display: block;
  }

  .page-daima .navbar__nav--right .nav-link {
    color: var(--navy) !important;
  }

  .page-daima .navbar__nav--right .nav-link.active {
    color: var(--accent-red) !important;
    font-weight: 600;
  }

  .page-daima .navbar__nav--right .nav-link:hover {
    color: var(--primary) !important;
  }
}

@media (max-width: 540px) {
  .purchase-card--daima {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .operator-logo {
    width: 60px;
    height: 60px;
    font-size: 0.6rem;
  }

  .tabs--segmented .tab {
    font-size: 0.72rem;
    padding: 10px 6px;
  }

  .page-daima .hero--daima,
  .page-daima .hero--form-only,
  .page-daima .hero--auth {
    padding: 20px 0 32px;
  }
}

/* ============================================
   JO BRAND LANDING (jo.png background)
   ============================================ */

.page-jo {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-jo .navbar--jo {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  z-index: 100;
}

.page-jo .navbar__inner--jo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.page-jo .navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}

.page-jo .navbar__brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-jo .navbar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-jo .navbar__brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

.page-jo .navbar__brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.page-jo .navbar__actions {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.page-jo .nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.page-jo .nav-action:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.page-jo .nav-action--active {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.25);
}

.page-jo .nav-action--active:hover {
  background: var(--accent-red-dark);
  color: var(--white);
}

.page-jo .navbar__nav--jo {
  justify-self: end;
  gap: 24px;
}

.page-jo .navbar__nav--jo .nav-link {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
}

.page-jo .navbar__nav--jo .nav-link:hover {
  color: var(--primary);
}

.page-jo .nav-link--menu-only {
  display: none;
}

.page-jo .navbar__toggle span {
  background: var(--text-primary);
}

.hero--jo {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 28px 0 40px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero__bg-jo {
  position: absolute;
  inset: 0;
  background: url('assets/jo.png') center top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.hero__content--jo {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.purchase-card--jo {
  width: 100%;
  max-width: min(640px, 94vw);
  background: var(--white);
  border: 2px solid rgba(0, 166, 81, 0.25);
  border-radius: 22px;
  padding: 28px 32px 26px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 166, 81, 0.06);
  position: relative;
  overflow: hidden;
}

.purchase-card--jo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
}

.purchase-card__head--jo {
  text-align: center;
  margin-bottom: 18px;
}

.purchase-card--jo .purchase-card__tagline {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.purchase-card--jo .purchase-card__tagline-accent {
  color: var(--accent-red);
}

.operator-logos--jo {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.purchase-card--jo .operator-logo {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  font-size: 0.65rem;
}

.purchase-card--jo .purchase-card__paybill {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0;
}

.purchase-card--jo .purchase-card__paybill strong {
  color: var(--accent-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tabs--jo-wrap {
  margin: 0 0 22px;
}

.tabs--jo {
  display: flex;
  width: 100%;
  background: var(--primary-light);
  border: 1px solid rgba(0, 166, 81, 0.15);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}

.tabs--jo .tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.2;
}

.tabs--jo .tab::after {
  display: none;
}

.tabs--jo .tab:hover:not(.active) {
  color: var(--primary);
  background: var(--primary-light);
}

.tabs--jo .tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.3);
}

.purchase-form--jo .form-group {
  margin-bottom: 16px;
}

.purchase-form--jo .form-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.purchase-form--jo .label--green {
  color: var(--primary);
}

.purchase-form--jo .label--red {
  color: var(--accent-red);
}

.purchase-form--jo .input-field {
  border-radius: 999px;
  border-width: 2px;
  background: var(--white);
  overflow: hidden;
}

.purchase-form--jo .input-field--green {
  border-color: var(--primary);
}

.purchase-form--jo .input-field--green:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.purchase-form--jo .input-field--red {
  border-color: var(--accent-red);
}

.purchase-form--jo .input-field--red:focus-within {
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.purchase-form--jo .input-field input {
  width: 100%;
  padding: 14px 18px;
  border: none;
  outline: none;
  font-size: 0.9375rem;
  background: transparent;
  color: var(--text-primary);
}

.purchase-form--jo .input-field input::placeholder {
  color: var(--text-muted);
}

.amount-quick--jo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.amount-quick--jo .amount-chip {
  padding: 8px 14px;
  border: 2px solid var(--primary);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.amount-quick--jo .amount-chip:hover {
  background: var(--primary-light);
}

.amount-quick--jo .amount-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.purchase-form--jo .form-group--captcha {
  margin-bottom: 16px;
  text-align: center;
}

.purchase-form--jo .input-box {
  border-radius: 999px;
}

.btn--gradient {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 166, 81, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: var(--font);
}

.btn--gradient:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 166, 81, 0.35);
  color: var(--white);
}

.btn--gradient:disabled {
  background: var(--border-input);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.trust-badge__icon--green {
  background: var(--primary-light);
  color: var(--primary);
}

.trust-badge__icon--red {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.trust-badge__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-badge__desc {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.purchase-form--jo .form-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.purchase-form--jo .field-hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.purchase-form--jo .form-group--captcha label {
  display: block;
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
}

.purchase-form--jo .captcha-box {
  border-radius: 12px;
  border-color: var(--border-input);
}

.purchase-form--jo .captcha-refresh {
  border-radius: 12px;
}

.purchase-form--jo .form-footer-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.purchase-form--jo .form-footer-note a {
  color: var(--primary);
  font-weight: 600;
}

.purchase-form--jo .form-footer-note a:hover {
  color: var(--accent-red);
}

.purchase-card--jo.purchase-card--offline-mode .form-actions {
  display: none;
}

.purchase-card--jo.purchase-card--offline-mode .purchase-card__head--jo {
  margin-bottom: 14px;
}

/* Offline panel — JO theme */
.offline-panel--jo {
  text-align: left;
}

.offline-panel__intro {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 18px;
}

.offline-panel__details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.offline-detail {
  background: var(--primary-light);
  border: 2px solid rgba(0, 166, 81, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
}

.offline-detail--account {
  background: var(--accent-red-light);
  border-color: rgba(227, 6, 19, 0.2);
}

.offline-detail__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.offline-detail--account .offline-detail__label {
  color: var(--accent-red);
}

.offline-detail__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offline-detail__value {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-red);
  font-variant-numeric: tabular-nums;
}

.offline-detail__value--account {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
}

.offline-detail__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.offline-detail__copy:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.offline-detail__copy.copied {
  background: var(--primary-dark);
}

.offline-panel__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.offline-panel__steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offline-panel__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.offline-step {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}

.offline-step--green {
  background: var(--primary);
}

.offline-step--red {
  background: var(--accent-red);
}

.offline-panel__steps .text-red {
  color: var(--accent-red);
  font-weight: 700;
}

.offline-panel__note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  background: var(--white);
  border: 1px dashed rgba(0, 166, 81, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0;
}

.offline-panel__note strong {
  color: var(--primary);
}

.offline-panel__note .text-red {
  color: var(--accent-red);
  font-weight: 700;
}

.offline-paybill--jo {
  background: var(--white);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.offline-paybill--jo .offline-paybill__steps li {
  color: var(--text-primary);
}

.offline-paybill--jo .offline-paybill__note {
  background: var(--primary-light);
  color: var(--text-primary);
  border-color: rgba(0, 166, 81, 0.2);
}

.offline-paybill--jo .offline-paybill__number {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border-color: rgba(227, 6, 19, 0.3);
}

.site-footer--jo {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer__badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
}

.site-footer__badge--green {
  color: var(--primary);
}

/* Auth pages on JO theme */
.page-jo.page-auth {
  background: var(--white);
}

.page-jo.page-auth .hero--jo {
  padding: 28px 0 32px;
}

.page-jo .purchase-card--jo.auth-card--jo {
  max-width: min(520px, 94vw);
}

.page-jo .auth-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-jo .purchase-card--jo .purchase-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.page-jo .purchase-card--jo .purchase-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-jo .purchase-card--jo .purchase-card__head {
  text-align: center;
  margin-bottom: 22px;
  border-bottom: none;
  padding-bottom: 0;
}

.page-jo .auth-form--pro .form-group label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.page-jo .auth-form--pro .input-field {
  border-radius: 999px;
  border: 2px solid var(--border-input);
  overflow: hidden;
}

.page-jo .auth-form--pro .input-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.page-jo .auth-form--pro .input-prefix {
  color: var(--primary);
  font-weight: 700;
  border-right: 1px solid var(--border);
}

.page-jo .auth-form__link {
  color: var(--accent-red);
  font-weight: 600;
}

.page-jo .auth-form__link:hover {
  color: var(--accent-red-dark);
}

.page-jo .auth-form__terms a {
  color: var(--primary);
}

.signup-account-type {
  margin-bottom: 4px;
}

.signup-type-toggle {
  margin-bottom: 8px;
}

.signup-account-preview {
  margin-top: 4px;
  text-align: center;
}

.signup-account-preview strong {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (min-width: 992px) {
  .page-jo .auth-card--signup .signup-account-preview {
    text-align: left;
  }
}

.page-jo .auth-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.page-jo .auth-perk {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.page-jo .auth-perk__icon {
  color: var(--primary);
}

.page-jo .auth-perk:nth-child(2) .auth-perk__icon {
  color: var(--accent-red);
}

.page-jo .auth-perk__text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-jo .auth-card--signup {
  max-width: min(560px, 94vw);
}

@media (min-width: 992px) {
  .page-jo.page-auth .hero--auth-signup {
    padding: 40px 0 48px;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
  }

  .page-jo .hero--auth-signup .hero__content--jo {
    align-items: center;
  }

  .page-jo .purchase-card--jo.auth-card--jo.auth-card--signup,
  .hero--auth-signup .auth-card--signup {
    max-width: min(1080px, 94vw);
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 0 40px;
    padding: 36px 40px 32px;
    align-items: stretch;
  }

  .page-jo .auth-card--signup .purchase-card__head {
    grid-column: 1;
    text-align: left;
    margin-bottom: 0;
    padding-right: 32px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  .page-jo .auth-card--signup .auth-seller-badge {
    align-self: flex-start;
  }

  .page-jo .auth-card--signup .purchase-card__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .page-jo .auth-card--signup .purchase-card__subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .page-jo .auth-card--signup .auth-form--pro {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    align-content: start;
  }

  .page-jo .auth-card--signup .auth-form--pro > .form-group--full,
  .page-jo .auth-card--signup .auth-form--pro > .form-group--id-upload,
  .page-jo .auth-card--signup .auth-form--pro > .auth-form__terms,
  .page-jo .auth-card--signup .auth-form--pro > .btn--submit,
  .page-jo .auth-card--signup .auth-form--pro > .form-footer-note {
    grid-column: 1 / -1;
  }

  .page-jo .auth-card--signup .id-upload-grid {
    gap: 16px;
  }

  .page-jo .auth-card--signup .file-upload__zone {
    min-height: 112px;
  }

  .page-jo .auth-card--signup .file-upload--preview .file-upload__zone {
    min-height: 132px;
  }
}

.page-jo .navbar__nav--jo .nav-link.active {
  color: var(--accent-red);
  font-weight: 600;
}

/* Contact & Terms on JO theme */
.page-jo.page-contact,
.page-jo.page-terms {
  background: var(--white);
}

.page-jo .hero--contact,
.page-jo .hero--terms {
  padding: 28px 0 40px;
}

.page-jo .hero__content--jo .contact-layout,
.page-jo .hero__content--jo .terms-layout--pro {
  width: 100%;
}

.page-jo .contact-card--form {
  max-width: none;
}

.page-jo .contact-card--form .purchase-card__title {
  color: var(--primary);
  font-weight: 800;
}

.page-jo .contact-form--pro .form-group label {
  color: var(--primary);
  font-weight: 700;
}

.page-jo .contact-form--pro .input-field {
  border-radius: 999px;
  border: 2px solid var(--border-input);
}

.page-jo .contact-form--pro .input-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.page-jo .contact-form--pro .input-box {
  border-radius: 12px;
  border: 2px solid var(--border-input);
}

.page-jo .contact-form--pro .input-box:focus {
  border-color: var(--primary);
}

.page-jo .contact-panel--pro {
  border: 2px solid var(--primary);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.page-jo .contact-panel--pro::before {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
}

.page-jo .contact-panel__head h2 {
  color: var(--primary);
}

.page-jo .contact-channel__icon {
  background: var(--primary-light);
  color: var(--primary);
}

.page-jo .contact-channel:nth-child(2) .contact-channel__icon {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.page-jo .terms-sidebar--pro,
.page-jo .terms-content--pro {
  border: 2px solid var(--primary);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.page-jo .terms-sidebar--pro::before,
.page-jo .terms-content--pro::before {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
}

.page-jo.page-terms .terms-content__title {
  color: var(--primary);
}

.page-jo.page-terms .terms-section h2 {
  color: var(--primary);
}

.page-jo.page-terms .terms-section a {
  color: var(--accent-red);
}

.page-jo.page-terms .terms-section a:hover {
  color: var(--accent-red-dark);
}

.page-jo.page-terms .terms-contact-box {
  border-color: rgba(0, 166, 81, 0.25);
  background: var(--primary-light);
}

@media (max-width: 960px) {
  .page-jo .navbar__inner--jo {
    grid-template-columns: 1fr auto;
  }

  .page-jo .navbar__actions {
    display: none;
  }
}

.purchase-form--jo .tab-panels {
  width: 100%;
}

.purchase-form--jo .tab-panel {
  display: none;
}

.purchase-form--jo .tab-panel.active {
  display: block;
}

.purchase-form--jo .form-actions {
  width: 100%;
}

@media (max-width: 768px) {
  .page-jo .nav-link--menu-only {
    display: block;
  }

  .page-jo .navbar__nav--jo .nav-link {
    color: var(--navy) !important;
  }

  .page-jo .navbar__nav--jo .nav-link.active {
    color: var(--accent-red) !important;
    font-weight: 600;
  }

  .page-jo .navbar--jo {
    padding: 10px 0;
  }

  .page-jo .hero--jo {
    padding: 8px 0 20px;
  }

  .page-jo.page-auth .hero--jo {
    padding: 16px 0 24px;
  }

  .purchase-card--jo {
    padding: 24px 18px 20px;
  }

  .purchase-card__head--jo {
    margin-bottom: 12px;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__badges {
    justify-content: center;
  }

  .tabs--jo .tab {
    font-size: 0.7rem;
    padding: 10px 4px;
  }

  .tabs--jo .tab svg {
    display: none;
  }
}

.hero--form-only {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 88px 0 24px;
  display: flex;
  align-items: flex-start;
}

.hero__content--centered {
  justify-content: flex-start;
  min-height: 0;
  width: 100%;
  padding-top: 0;
}

.hero--form-only .purchase-card {
  width: 100%;
  max-width: clamp(320px, 92vw, 540px);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero--form-only .purchase-card {
    max-width: clamp(380px, 55vw, 520px);
  }
}

@media (min-width: 1200px) {
  .hero--form-only .purchase-card {
    max-width: 560px;
  }
}

.purchase-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.purchase-form--pro .form-row {
  display: grid;
  gap: 14px;
}

.purchase-form--pro .form-row--2 {
  grid-template-columns: 1fr;
}

/* Tab panels */
.purchase-form--pro .tab-panels {
  width: 100%;
  margin-bottom: 0;
}

.purchase-form--pro .tab-panel {
  display: none;
}

.purchase-form--pro .tab-panel.active {
  display: block;
}

.purchase-card--offline-mode .form-actions {
  display: none;
}

.offline-notice {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Offline Paybill panel */
.offline-paybill-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.4;
}

.offline-paybill {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 166, 81, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.offline-paybill__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 50%, var(--accent-red) 50%);
}

.offline-paybill__inner {
  padding: 20px 18px 18px;
}

.offline-paybill__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.offline-paybill__number-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 20px;
}

.offline-paybill__number {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-red);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(227, 6, 19, 0.45);
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}

.offline-paybill__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.offline-paybill__copy:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

.offline-paybill__copy.copied {
  background: var(--primary-dark);
}

.offline-paybill__steps-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.offline-paybill__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offline-paybill__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.offline-paybill__steps .step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

.step-num--green {
  background: var(--primary);
}

.step-num--red {
  background: var(--accent-red);
}

.offline-paybill__steps .text-red,
.text-red {
  color: var(--accent-red);
  font-weight: 700;
}

.offline-paybill__steps .text-green,
.offline-paybill__note .text-green {
  color: var(--primary);
  font-weight: 700;
}

.offline-paybill__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.offline-paybill__note .text-red {
  color: var(--accent-red);
  font-weight: 700;
}

.purchase-card--offline-mode .purchase-card__head {
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.form-footer-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-footer-note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-footer-note a:hover {
  color: var(--primary);
}

.btn--submit:disabled {
  background: #D1D5DB;
  color: #9CA3AF;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 540px) {
  .hero--form-only {
    padding: 60px 0 12px;
    min-height: 100dvh;
    min-height: 100svh;
  }

  .hero--form-only .container {
    padding: 0 10px;
  }

  .hero--form-only .purchase-card {
    max-width: clamp(300px, 94vw, 100%);
  }

  .purchase-card--pro {
    padding: 16px 14px 14px;
    border-radius: 10px;
  }

  .purchase-card__head {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .purchase-card__eyebrow {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .purchase-card--pro .purchase-card__title {
    font-size: 1.15rem;
    margin-bottom: 2px;
  }

  .purchase-card__subtitle {
    font-size: 0.75rem;
  }

  .tabs--pro {
    margin-bottom: 10px;
    gap: 12px;
    padding: 0;
  }

  .tabs--pro .tab {
    padding: 8px 2px;
    font-size: 0.65rem;
    letter-spacing: -0.01em;
  }

  .purchase-form--pro .form-row--2 {
    gap: 8px;
  }

  .purchase-form--pro .form-group {
    margin-bottom: 8px;
  }

  .purchase-form--pro .form-group label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .purchase-form--pro .input-prefix {
    padding: 0 8px;
    font-size: 0.75rem;
  }

  .purchase-form--pro .input-field input {
    padding: 9px 8px;
    font-size: 0.875rem;
  }

  .field-hint {
    font-size: 0.65rem;
    margin-top: 2px;
  }

  .offline-paybill-title {
    font-size: 0.75rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .offline-paybill {
    border-radius: 10px;
  }

  .offline-paybill__inner {
    padding: 10px;
  }

  .offline-paybill__label {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .offline-paybill__number-row {
    gap: 8px;
    margin-bottom: 10px;
  }

  .offline-paybill__number {
    font-size: 1.25rem;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .offline-paybill__copy {
    width: 40px;
    border-radius: 8px;
  }

  .offline-paybill__steps-title {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .offline-paybill__steps {
    gap: 5px;
    margin-bottom: 10px;
  }

  .offline-paybill__steps li {
    font-size: 0.6875rem;
    gap: 6px;
    line-height: 1.35;
  }

  .offline-paybill__steps .step-num {
    width: 17px;
    height: 17px;
    font-size: 0.6rem;
  }

  .offline-paybill__note {
    font-size: 0.6875rem;
    padding: 8px 10px;
    line-height: 1.4;
  }

  .form-group--captcha {
    margin-bottom: 10px !important;
  }

  .captcha-row {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .captcha-row .input-box,
  .input-box {
    padding: 9px 10px;
    font-size: 0.875rem;
  }

  .captcha-box {
    min-width: 72px;
    padding: 0 10px;
    flex: 0 0 auto;
  }

  .captcha-row .input-box {
    width: auto;
    flex: 1;
  }

  .captcha-box .captcha-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .captcha-row .captcha-refresh {
    width: 38px;
  }

  .btn--submit {
    padding: 11px 16px;
    font-size: 0.9rem;
  }

  .purchase-form--pro .secure-note {
    margin-top: 8px;
    font-size: 0.75rem;
  }

  .form-footer-note {
    margin-top: 8px;
    font-size: 0.6875rem;
  }

  .hero__particles {
    display: none;
  }

  .navbar {
    padding: 10px 0;
  }
}

/* ============================================
   PROFESSIONAL PURCHASE FORM
   ============================================ */

.purchase-card--pro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.purchase-card--pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.purchase-card__head {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.purchase-form--pro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.purchase-form--pro .tab-panels,
.purchase-form--pro .form-actions {
  width: 100%;
}

.tabs--pro-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.purchase-card--pro .purchase-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.purchase-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Tabs */
.tabs--pro {
  display: inline-flex;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  padding: 0 2px;
}

.tabs--pro .tab {
  flex: 0 0 auto;
  padding: 10px 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}

.tabs--pro .tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.tabs--pro .tab:hover {
  color: var(--text-primary);
  background: transparent;
}

.tabs--pro .tab.active {
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  box-shadow: none;
}

.tabs--pro .tab.active::after {
  background: var(--primary);
}

/* Form fields */
.purchase-form--pro .form-group {
  margin-bottom: 14px;
}

.purchase-form--pro .tab-panel .form-group:last-child {
  margin-bottom: 0;
}

.purchase-form--pro .form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.purchase-form--pro .label-hint {
  font-weight: 400;
  color: var(--text-muted);
}

/* Bordered input field with prefix */
.input-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-input);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.08);
}

.input-field.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.purchase-form--pro .input-prefix {
  position: static;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface);
  border-right: 1px solid var(--border-input);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.purchase-form--pro .input-field input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: none;
  outline: none;
  box-shadow: none;
}

.purchase-form--pro .input-field input::placeholder {
  color: var(--text-muted);
}

.purchase-form--pro .input-field input:focus {
  border: none;
  box-shadow: none;
  background: var(--white);
}

/* Standalone bordered input / textarea */
.input-box {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.input-box::placeholder {
  color: var(--text-muted);
}

.input-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.08);
}

.input-box.error,
textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.purchase-form--pro textarea.input-box {
  min-height: 80px;
  line-height: 1.5;
}

/* Captcha row */
.purchase-form--pro .form-group--captcha {
  margin-top: 4px;
  margin-bottom: 14px;
}

.captcha-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.captcha-row .input-box {
  flex: 1;
  min-width: 0;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  user-select: none;
}

.captcha-box .captcha-text {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  font-style: italic;
}

.captcha-row .captcha-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.captcha-row .captcha-refresh:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.captcha-row .captcha-refresh svg {
  width: 18px;
  height: 18px;
}

/* Submit button */
.btn--submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  margin-top: 4px;
}

.purchase-form--pro .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.purchase-form--pro .secure-note svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Legacy compact styles (kept for other pages if needed) */
.purchase-card--compact {
  padding: 24px 22px;
}

.purchase-form--compact .form-group {
  margin-bottom: 12px;
}

.purchase-form--compact .form-group label {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.purchase-form--compact input[type="text"],
.purchase-form--compact input[type="tel"],
.purchase-form--compact input[type="number"],
.purchase-form--compact textarea,
.purchase-form--compact select {
  padding: 10px 12px;
  font-size: 0.9rem;
}

.purchase-form--compact .input-wrapper input {
  padding-left: 52px;
}

.purchase-form--compact textarea {
  min-height: 64px;
}

.tabs--compact {
  margin-bottom: 16px;
}

.tabs--compact .tab {
  padding: 8px 10px;
  font-size: 0.82rem;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row--2 {
  grid-template-columns: 1fr 1fr;
}

.amount-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.amount-row .amount-quick {
  flex: 1;
  margin-bottom: 0;
  gap: 6px;
}

.amount-row .amount-chip {
  padding: 6px 10px;
  font-size: 0.8rem;
  flex: 1;
  min-width: 0;
}

.amount-input {
  width: 72px;
  flex-shrink: 0;
  padding: 8px 10px !important;
  text-align: center;
}

.form-group--captcha {
  margin-bottom: 14px !important;
}

.captcha-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.captcha-inline .captcha-text {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--navy);
  user-select: none;
  font-style: italic;
  text-decoration: line-through;
  flex-shrink: 0;
}

.captcha-inline .captcha-refresh {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 2px;
  flex-shrink: 0;
}

.captcha-inline .captcha-refresh svg {
  width: 16px;
  height: 16px;
}

.captcha-inline input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 6px 8px !important;
  min-width: 0;
}

.btn--compact {
  padding: 13px 24px;
  font-size: 0.95rem;
  width: 100%;
}

.secure-note--compact {
  margin-top: 10px;
  font-size: 0.75rem;
}

@media (max-width: 480px) {
  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .amount-row {
    flex-direction: column;
    align-items: stretch;
  }

  .amount-input {
    width: 100%;
  }

  .purchase-card--compact {
    padding: 20px 16px;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__text {
  text-align: center;
  color: var(--white);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   PURCHASE CARD
   ============================================ */

.purchase-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-glass);
}

.floating-card {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.purchase-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.purchase-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.network-badge--safaricom {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.network-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ============================================
   TABS
   ============================================ */

.tabs {
  display: flex;
  gap: 4px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab:hover {
  color: var(--navy);
}

.tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.label-hint {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.8rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  pointer-events: none;
  z-index: 1;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--gray);
  pointer-events: none;
  z-index: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--light-gray);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.input-wrapper input {
  padding-left: 58px;
}

.input-wrapper .input-icon + input {
  padding-left: 44px;
}

input:focus,
textarea:focus,
select:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

input.error,
textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray);
  pointer-events: none;
}

.amount-quick {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.amount-chip {
  padding: 6px 14px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}

.amount-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.amount-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.captcha-placeholder {
  display: flex;
  gap: 12px;
  align-items: center;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  border: 2px dashed var(--gray);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 120px;
  justify-content: center;
}

.captcha-text {
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--navy);
  user-select: none;
  text-decoration: line-through;
  font-style: italic;
}

.captcha-refresh {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  transition: all var(--transition);
}

.captcha-refresh:hover {
  color: var(--primary);
  transform: rotate(180deg);
}

.captcha-refresh svg {
  width: 18px;
  height: 18px;
}

.captcha-placeholder input {
  flex: 1;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  transition: color var(--transition);
}

.toggle-password:hover {
  color: var(--primary);
}

.toggle-password svg {
  width: 18px;
  height: 18px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gray);
}

.secure-note svg {
  color: var(--primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.2);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 166, 81, 0.28);
  color: var(--white);
}

.btn--accent {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(227, 6, 19, 0.25);
}

.btn--accent:hover {
  background: var(--accent-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.35);
  color: var(--white);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  width: 100%;
}

.btn--full {
  width: 100%;
}

.btn--ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

.text-green {
  color: var(--primary);
}

.text-red {
  color: var(--accent-red);
}

/* ============================================
   FEATURES
   ============================================ */

.features {
  background: var(--light-gray);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:nth-child(even) .feature-card__icon {
  background: var(--accent-red-light);
}

.feature-card:hover .feature-card__icon {
  background: var(--primary);
}

.feature-card:nth-child(even):hover .feature-card__icon {
  background: var(--accent-red);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color var(--transition);
}

.feature-card:nth-child(even) .feature-card__icon svg {
  color: var(--accent-red);
}

.feature-card:hover .feature-card__icon svg {
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   STATS
   ============================================ */

.stats {
  position: relative;
  background: var(--black);
  padding: 60px 0;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red), var(--black));
}

.stat-number {
  display: inline;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.stat-item:nth-child(even) .stat-number {
  color: var(--accent-red);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step__number {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 16px;
}

.step:nth-child(1) .step__number {
  background: var(--primary);
}

.step:nth-child(3) .step__number {
  background: var(--black);
}

.step:nth-child(5) .step__number {
  background: var(--accent-red);
}

.step__icon {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.step:hover .step__icon {
  background: var(--primary);
  transform: scale(1.08);
}

.step__icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color var(--transition);
}

.step:hover .step__icon svg {
  color: var(--white);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray);
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red), var(--black));
  margin-top: 90px;
  flex-shrink: 0;
}

/* ============================================
   DEALER SECTION
   ============================================ */

.dealer {
  background: var(--light-gray);
}

.dealer__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--accent-red);
}

.dealer__badge {
  display: inline-block;
  background: var(--accent-red-light);
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dealer__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.dealer__text {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 1rem;
}

.dealer__list {
  margin-bottom: 32px;
}

.dealer__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--navy);
}

.dealer__list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.dealer__visual {
  display: flex;
  justify-content: center;
}

.dealer__dashboard {
  width: 100%;
  max-width: 360px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dashboard-header {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-dot:first-child { background: #EF4444; }
.dashboard-dot:nth-child(2) { background: #F59E0B; }
.dashboard-dot:nth-child(3) { background: #00A651; }

.dashboard-body {
  padding: 24px;
}

.dashboard-stat {
  margin-bottom: 24px;
}

.dashboard-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.dashboard-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 24px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-red-dark), var(--primary));
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
  animation: growBar 1.5s ease forwards;
}

@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-row strong {
  color: var(--accent-red);
  font-size: 1rem;
}

/* ============================================
   AUTH PAGES — SELLER PORTAL
   ============================================ */

.page-auth {
  background: var(--light-gray);
}

.hero--auth .purchase-card--pro {
  max-width: clamp(320px, 92vw, 460px);
}

.hero--auth-signup .purchase-card--pro,
.auth-card--signup {
  max-width: clamp(320px, 94vw, 580px);
}

@media (min-width: 992px) {
  .hero--auth-signup .purchase-card--pro,
  .auth-card--signup {
    max-width: min(1080px, 94vw);
  }
}

.hero--auth-signup {
  padding-bottom: 48px;
}

.auth-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(0, 166, 81, 0.08);
  border: 1px solid rgba(0, 166, 81, 0.2);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 12px;
}

.auth-form--pro {
  width: 100%;
}

.auth-form--pro .form-group,
.auth-form--pro .auth-form__extras,
.auth-form--pro .auth-form__terms {
  width: 100%;
}

.auth-form__extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
  gap: 12px;
}

.auth-form__extras .checkbox-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.auth-form__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}

.auth-form__link:hover {
  text-decoration: underline;
}

.input-field__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--surface);
  border-right: 1px solid var(--border-input);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.input-field__icon svg {
  width: 18px;
  height: 18px;
}

.purchase-form--pro .input-field--password .toggle-password {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--surface);
  border-left: 1px solid var(--border-input);
  align-self: stretch;
  height: auto;
}

.input-field--select {
  position: relative;
}

.purchase-form--pro .input-field--select select {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 12px 8px 12px 0;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.purchase-form--pro .input-field--select select:invalid {
  color: var(--text-muted);
}

.input-field__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
  pointer-events: none;
}

.auth-form__terms {
  margin: 6px 0 4px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.auth-form__terms a {
  color: var(--primary);
  font-weight: 500;
}

.auth-form__terms a:hover {
  text-decoration: underline;
}

.id-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.file-upload {
  position: relative;
  width: 100%;
}

.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-upload__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 118px;
  padding: 14px 10px;
  border: 1px dashed var(--border-input);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.file-upload__preview {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
}

.file-upload--preview .file-upload__preview {
  display: block;
}

.file-upload--preview .file-upload__icon,
.file-upload--preview .file-upload__title,
.file-upload--preview .file-upload__hint {
  display: none;
}

.file-upload--preview .file-upload__zone {
  padding: 0;
  min-height: 140px;
}

.file-upload--preview .file-upload__name {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
}

.file-upload__zone:hover {
  border-color: var(--primary);
  background: rgba(0, 166, 81, 0.04);
}

.file-upload__zone:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.08);
}

.file-upload__zone.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.file-upload--done .file-upload__zone {
  border-style: solid;
  border-color: var(--primary);
  background: rgba(0, 166, 81, 0.06);
}

.file-upload__icon {
  color: var(--text-secondary);
}

.file-upload--done .file-upload__icon {
  color: var(--primary);
}

.file-upload__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.file-upload__hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.file-upload__name {
  display: none;
  font-size: 0.6875rem;
  color: var(--primary);
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 4px;
}

.file-upload--done .file-upload__name {
  display: block;
}

.file-upload--done .file-upload__hint {
  display: none;
}

@media (max-width: 480px) {
  .id-upload-grid {
    grid-template-columns: 1fr;
  }

  .file-upload__zone {
    min-height: 100px;
  }
}

/* ============================================
   CONTACT PAGE — PRO
   ============================================ */

.hero--contact {
  padding-bottom: 48px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-card--form {
  max-width: none;
}

.contact-form--pro {
  width: 100%;
}

.contact-form--pro .form-group {
  width: 100%;
}

.contact-badge {
  margin-bottom: 10px;
}

.contact-panel--pro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact-panel--pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.contact-panel__head h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.contact-panel__head p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.contact-hours {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(0, 166, 81, 0.06);
  border: 1px solid rgba(0, 166, 81, 0.15);
  border-radius: 8px;
  margin-bottom: 18px;
}

.contact-hours__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.2);
}

.contact-hours strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-hours p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.contact-channels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-channel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-channel__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 166, 81, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-channel a,
.contact-channel p {
  display: block;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-channel a:hover {
  color: var(--primary);
}

.contact-panel__note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
}

@media (max-width: 540px) {
  .hero--contact {
    padding-bottom: 32px;
  }

  .contact-panel--pro {
    padding: 18px 16px;
  }
}

/* ============================================
   TERMS PAGE — PRO
   ============================================ */

.hero--terms {
  padding-bottom: 48px;
}

.terms-layout--pro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.terms-sidebar--pro {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.terms-sidebar--pro::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 12px 12px 0 0;
  margin: -20px -16px 16px;
}

.terms-sidebar__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 10px;
}

.page-terms .terms-nav__link {
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-terms .terms-nav__link:hover,
.page-terms .terms-nav__link.active {
  color: var(--primary);
  background: rgba(0, 166, 81, 0.08);
  border-left-color: var(--primary);
}

.terms-content--pro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.terms-content--pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.terms-content__head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.terms-content__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.terms-content__updated {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.page-terms .terms-section {
  scroll-margin-top: 96px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.page-terms .terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.page-terms .terms-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.page-terms .terms-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.page-terms .terms-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.page-terms .terms-section li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 6px;
}

.page-terms .terms-section a {
  color: var(--primary);
  font-weight: 500;
}

.page-terms .terms-section a:hover {
  text-decoration: underline;
}

.page-terms .terms-contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 14px 0;
}

.page-terms .terms-contact-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
}

.page-terms .terms-contact-box p:last-child {
  margin-bottom: 0;
}

.page-terms .terms-contact-box strong {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .terms-layout--pro {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .terms-sidebar--pro {
    position: static;
    padding: 16px 14px;
  }

  .terms-sidebar--pro::before {
    margin: -16px -14px 12px;
  }

  .page-terms .terms-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-terms .terms-nav::-webkit-scrollbar {
    display: none;
  }

  .page-terms .terms-nav__link {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .page-terms .terms-nav__link.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .terms-sidebar__label {
    display: none;
  }

  .terms-content--pro {
    padding: 22px 18px 24px;
  }
}

@media (max-width: 540px) {
  .hero--terms {
    padding-bottom: 32px;
  }

  .terms-content__title {
    font-size: 1.25rem;
  }
}

.auth-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.auth-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.auth-perk__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 166, 81, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-perk__text {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

@media (max-width: 540px) {
  .auth-perks {
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .auth-perk__icon {
    width: 30px;
    height: 30px;
  }

  .auth-perk__text {
    font-size: 0.625rem;
  }

  .auth-form__extras {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
}

.auth-page__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%),
    url('assets/bg.png') center / cover no-repeat;
}

.auth-page__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red), var(--black));
}

.auth-page__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.auth-card--wide {
  max-width: 640px;
}

.auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-card__header p {
  color: var(--gray);
  font-size: 0.95rem;
}

.auth-card__footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #CBD5E1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}

.checkbox-label--terms {
  margin-bottom: 24px;
}

.link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.form-group--full {
  grid-column: 1 / -1;
}

/* ============================================
   INNER PAGES
   ============================================ */

.page-inner {
  background: var(--light-gray);
}

.inner-page {
  padding-top: 72px;
}

.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%),
    url('assets/bg.png') center / cover no-repeat;
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red), var(--black));
}

.page-hero--compact {
  padding: 48px 0;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-card,
.contact-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2,
.contact-info h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-info__item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-info__item a,
.contact-info__item p {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.6;
}

.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px dashed #CBD5E1;
  background: var(--light-gray);
  height: 200px;
}

.map-placeholder__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  gap: 4px;
}

.map-placeholder__inner svg {
  color: var(--primary);
  opacity: 0.5;
}

.map-placeholder__inner span {
  font-weight: 600;
  font-size: 0.9rem;
}

.map-placeholder__inner p {
  font-size: 0.8rem;
}

/* Terms */
.terms-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.terms-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-nav__link {
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.terms-nav__link:hover,
.terms-nav__link.active {
  color: var(--accent-red);
  background: var(--accent-red-light);
  border-left-color: var(--accent-red);
}

.terms-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.terms-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #E2E8F0;
}

.terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.terms-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.terms-section p {
  color: var(--gray);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.terms-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.terms-section li {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.terms-contact-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
}

.terms-contact-box p {
  margin-bottom: 4px;
  color: var(--navy);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer--minimal {
  padding-top: 0;
  background: transparent;
}

.footer--minimal .footer__bottom {
  background: var(--black);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer__brand .navbar__logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--accent-red);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.9rem;
  max-width: 400px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  border-left: 4px solid var(--primary);
}

.toast--error {
  border-left: 4px solid var(--danger);
}

.site-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-banner--warning {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.purchase-card__bonus {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--primary);
}

.recaptcha-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.75rem;
}

.recaptcha-wrap > div {
  margin-inline: auto;
}

.purchase-form--jo .form-group--captcha .field-hint {
  text-align: center;
}

.otp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.otp-modal[hidden] {
  display: none !important;
}

.otp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.otp-modal__card {
  position: relative;
  width: min(100%, 420px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.otp-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.otp-modal__text {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.otp-modal__input {
  width: 100%;
  margin-bottom: 1rem;
}

.otp-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn--outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #334155;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dealer__card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-sidebar {
    position: static;
  }

  .terms-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .logo-icon {
    height: 40px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .navbar__nav.open {
    right: 0;
  }

  .nav-link {
    color: var(--navy) !important;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    background: var(--primary-light);
  }

  .hero:not(.hero--jo):not(.hero--form-only) {
    padding: 100px 0 60px;
  }

  .purchase-card {
    padding: 24px;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    font-size: 0.85rem;
    padding: 12px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .captcha-placeholder {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-content {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .dealer__card {
    padding: 28px 20px;
  }
}
