/* =====================================================================
   TOP ONE TRADER — CHECKOUT PROTOTYPE
   Premium Trader Terminal Aesthetic
   Brand tokens extracted from toponetrader.com Webflow CSS (2026-06-03)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS (CSS custom properties)
   --------------------------------------------------------------------- */
:root {
  /* PRIMARY PALETTE — extracted from live TOT site */
  --brand-primary: #7ee8fa;       /* Cyan/aqua — the brand */
  --brand-primary-deep: #00e2d3;  /* Teal variant */
  --brand-primary-pale: #d3f9ff;  /* Tinted backgrounds */
  --brand-dark: #0a1315;          /* Primary dark bg */
  --brand-darker: #06120d;        /* Section variant dark bg */
  --brand-deep: #00071a;          /* Deepest contrast */

  /* SEMANTIC */
  --brand-success: #7dff7d;       /* Positive amounts, "live" */
  --brand-success-soft: rgba(125, 255, 125, 0.12);
  --brand-warning: #f6ff78;       /* Urgency */
  --brand-gold: #ffce2d;          /* Premium / VIP */
  --brand-error: #ff6b6b;         /* Form errors */

  /* NEUTRALS */
  --neutral-100: #fafafa;
  --neutral-200: #f5f5f5;
  --neutral-300: #dedede;
  --neutral-400: #c8c8c8;
  --neutral-500: #898989;
  --neutral-600: #78828a;
  --neutral-700: #5d6c7b;
  --neutral-800: #232c2d;
  --neutral-900: #101c1e;
  --white: #ffffff;
  --black: #000000;

  /* TYPOGRAPHY */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* TYPE SCALE */
  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.875rem;   /* 14 */
  --text-base: 1rem;     /* 16 */
  --text-lg: 1.125rem;   /* 18 */
  --text-xl: 1.25rem;    /* 20 */
  --text-2xl: 1.5rem;    /* 24 */
  --text-3xl: 1.875rem;  /* 30 */
  --text-4xl: 2.25rem;   /* 36 */
  --text-5xl: 3rem;      /* 48 */
  --text-6xl: 3.75rem;   /* 60 */

  /* SPACING */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* RADII */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* SHADOWS / GLOWS */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.55);
  --glow-primary: 0 0 0 1px var(--brand-primary), 0 0 32px rgba(126, 232, 250, 0.25);
  --glow-primary-strong: 0 0 0 1px var(--brand-primary), 0 0 48px rgba(126, 232, 250, 0.45), 0 0 0 6px rgba(126, 232, 250, 0.08);
  --glow-success: 0 0 24px rgba(125, 255, 125, 0.3);

  /* TRANSITIONS */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* LAYOUT */
  --container-max: 1280px;
  --header-h: 64px;
}

/* ---------------------------------------------------------------------
   2. RESET + BASE
   --------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--neutral-100);
  background: var(--brand-darker);
  background-image:
    radial-gradient(ellipse 800px 600px at 20% -10%, rgba(126, 232, 250, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 90% 10%, rgba(0, 226, 211, 0.06), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle terminal grid texture — visible only on dark sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 232, 250, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 232, 250, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity var(--t-fast);
}
a:hover { opacity: 0.8; }

/* Tabular numerals for ALL numeric content */
.num, .tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------------
   3. TICKER TAPE (top of page, above header)
   --------------------------------------------------------------------- */
.ticker {
  position: relative;
  z-index: 20;
  background: var(--brand-deep);
  border-bottom: 1px solid rgba(126, 232, 250, 0.12);
  overflow: hidden;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-600);
}
.ticker__inner {
  display: flex;
  gap: var(--space-12);
  padding: var(--space-2) var(--space-6);
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
  width: fit-content;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.ticker__value {
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.ticker__value--green { color: var(--brand-success); }
.ticker__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-success);
  box-shadow: 0 0 8px var(--brand-success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------------------------------------------------------------------
   4. HEADER
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(6, 18, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(126, 232, 250, 0.08);
}
.site-header__inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
}
.site-header__inner .logo { justify-self: start; }
.site-header__inner .secure-pill { justify-self: center; }
.site-header__inner .payment-badges { justify-self: end; }

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--white);
}
.logo__accent { color: var(--brand-primary); }
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  margin-right: var(--space-2);
  color: var(--brand-dark);
  font-weight: 800;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--brand-success);
  background: var(--brand-success-soft);
  border: 1px solid rgba(125, 255, 125, 0.2);
  border-radius: var(--radius-full);
}
.secure-pill svg { width: 12px; height: 12px; }

.payment-badges {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.payment-badge {
  height: 22px;
  opacity: 0.55;
  transition: opacity var(--t-fast);
}
.payment-badge:hover { opacity: 1; }

/* Mobile header: stack into two centered rows (logo on top, all 6 badges below) */
@media (max-width: 768px) {
  .secure-pill { display: none; }
  .site-header { height: auto; }
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }
  .site-header__inner .logo { justify-self: center; }
  .site-header__inner .payment-badges {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
  }
  .payment-badge { height: 19px; }  /* slightly smaller so all 6 fit one centered row */
}

/* ---------------------------------------------------------------------
   5. MAIN LAYOUT
   --------------------------------------------------------------------- */
.checkout-main {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-20);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

@media (max-width: 640px) {
  .checkout-main { padding: var(--space-6) var(--space-4) var(--space-12); }
}

/* ---------------------------------------------------------------------
   6. HEADING BLOCK
   --------------------------------------------------------------------- */
.page-heading { margin-bottom: var(--space-8); }

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(126, 232, 250, 0.08);
  border: 1px solid rgba(126, 232, 250, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.step-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary);
}

.page-heading__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
}
@media (max-width: 640px) {
  .page-heading__title { font-size: var(--text-4xl); }
}

.page-heading__subtitle {
  margin-top: var(--space-3);
  font-size: var(--text-lg);
  color: var(--neutral-600);
  max-width: 36ch;
}

/* ---------------------------------------------------------------------
   7. CARDS (sections)
   --------------------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}
.card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.card__label-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.card__label-hint {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.field-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-300);
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
}
.field-label__required { color: var(--brand-primary); margin-left: 4px; }

@media (max-width: 640px) {
  .card { padding: var(--space-6); }
}

/* ---------------------------------------------------------------------
   8. QUANTITY TILES
   --------------------------------------------------------------------- */
.qty-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.qty-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-base);
  text-align: center;
}
.qty-tile:hover {
  transform: translateY(-2px);
  background: rgba(126, 232, 250, 0.04);
  border-color: rgba(126, 232, 250, 0.25);
}
.qty-tile__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.qty-tile__label {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.qty-tile__badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--brand-gold);
  color: var(--brand-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.qty-tile.is-active {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.08), rgba(126, 232, 250, 0.02));
  border-color: var(--brand-primary);
  box-shadow: var(--glow-primary-strong);
}
.qty-tile.is-active .qty-tile__num { color: var(--brand-primary); }
.qty-tile__check {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-dark);
  display: none;
  align-items: center;
  justify-content: center;
}
.qty-tile.is-active .qty-tile__check { display: flex; }
.qty-tile__check svg { width: 10px; height: 10px; }

/* ---------------------------------------------------------------------
   9. SEGMENTED CONTROL (account sizes)
   --------------------------------------------------------------------- */
.seg {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 2px;
  overflow-x: auto;
}
.seg__item {
  flex: 1;
  min-width: 60px;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-600);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.seg__item:hover { color: var(--neutral-100); }
.seg__item.is-active {
  background: var(--brand-primary);
  color: var(--brand-dark);
  box-shadow: 0 0 0 1px rgba(126, 232, 250, 0.6), 0 0 16px rgba(126, 232, 250, 0.3);
}

/* ---------------------------------------------------------------------
   10. FORM FIELDS
   --------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-grid--single { grid-template-columns: 1fr; }
.form-grid__full { grid-column: 1 / -1; }

@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; }

.input,
.select {
  height: 50px;
  padding: 0 var(--space-4);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 400;
  transition: all var(--t-fast);
  outline: none;
}
.input::placeholder { color: var(--neutral-700); }
.input:hover,
.select:hover { border-color: rgba(126, 232, 250, 0.22); }
.input:focus,
.select:focus {
  border-color: var(--brand-primary);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(126, 232, 250, 0.12);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%237ee8fa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

/* Phone input with country */
.phone-field {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t-fast);
}
.phone-field:focus-within {
  border-color: var(--brand-primary);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(126, 232, 250, 0.12);
}
.phone-field__country {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3) 0 var(--space-4);
  border-right: 1px solid rgba(126, 232, 250, 0.1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-200);
  white-space: nowrap;
}
.phone-field__country .flag {
  font-size: 18px;
}
.phone-field input {
  flex: 1;
  height: 50px;
  background: transparent;
  border: none;
  padding: 0 var(--space-4);
  outline: none;
  color: var(--white);
}

/* ---------------------------------------------------------------------
   11. PAYMENT METHOD CARDS
   --------------------------------------------------------------------- */
.pay-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pay-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-base);
}
.pay-option:hover {
  background: rgba(126, 232, 250, 0.04);
  border-color: rgba(126, 232, 250, 0.25);
}
.pay-option__radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(126, 232, 250, 0.3);
  flex-shrink: 0;
  position: relative;
  transition: all var(--t-fast);
}
.pay-option__radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--brand-primary);
  transform: scale(0);
  transition: transform var(--t-base) cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pay-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 32px;
  background: var(--brand-darker);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.pay-option__icon img { height: 18px; opacity: 0.85; }
.pay-option__label {
  flex: 1;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--neutral-100);
}
.pay-option__hint {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-weight: 500;
}
.pay-option.is-active {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.07), rgba(126, 232, 250, 0.02));
  border-color: var(--brand-primary);
}
.pay-option.is-active .pay-option__radio { border-color: var(--brand-primary); }
.pay-option.is-active .pay-option__radio::after { transform: scale(1); }

.pay-fields {
  display: none;
  padding: var(--space-5) var(--space-5) var(--space-2);
  border-top: 1px dashed rgba(126, 232, 250, 0.12);
  margin-top: var(--space-2);
}
.pay-option.is-active .pay-fields { display: block; }

/* ---------------------------------------------------------------------
   12. COUPON INPUT
   --------------------------------------------------------------------- */
.coupon-row {
  display: flex;
  gap: var(--space-3);
}
.coupon-row .input { flex: 1; }
.btn-secondary {
  height: 50px;
  padding: 0 var(--space-6);
  background: transparent;
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-md);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--t-fast);
}
.btn-secondary:hover {
  background: var(--brand-primary);
  color: var(--brand-dark);
}

/* ---------------------------------------------------------------------
   13. TERMS CHECKBOX (custom)
   --------------------------------------------------------------------- */
.terms {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  cursor: pointer;
}
.terms__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(126, 232, 250, 0.3);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--t-fast);
  margin-top: 1px;
}
.terms__check svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  padding: 3px;
  color: var(--brand-dark);
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--t-base) cubic-bezier(0.34, 1.56, 0.64, 1);
}
.terms input { display: none; }
.terms input:checked ~ .terms__check {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.terms input:checked ~ .terms__check svg {
  opacity: 1;
  transform: scale(1);
}
.terms__text {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------
   14. PRIMARY CTA BUTTON
   --------------------------------------------------------------------- */
.btn-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  height: 64px;
  padding: 0 var(--space-6);
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(126, 232, 250, 0.4),
    0 4px 32px rgba(126, 232, 250, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all var(--t-base);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(126, 232, 250, 0.6),
    0 8px 40px rgba(126, 232, 250, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.btn-primary__arrow {
  transition: transform var(--t-fast);
}
.btn-primary:hover .btn-primary__arrow { transform: translateX(4px); }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}
.btn-primary:hover::before { transform: translateX(100%); }

/* ---------------------------------------------------------------------
   15. ORDER SUMMARY (right column)
   --------------------------------------------------------------------- */
.order-summary {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
}

.summary-card {
  background: linear-gradient(180deg, var(--brand-dark), var(--brand-deep));
  border: 1px solid rgba(126, 232, 250, 0.14);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.summary-header__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}
.summary-header__count {
  font-size: var(--text-xs);
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.line-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px dashed rgba(126, 232, 250, 0.1);
}
.line-item:last-child { border-bottom: none; }
.line-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(126, 232, 250, 0.15), rgba(0, 226, 211, 0.08));
  border: 1px solid rgba(126, 232, 250, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.line-item__body { flex: 1; min-width: 0; }
.line-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.line-item__meta {
  font-size: var(--text-xs);
  color: var(--neutral-600);
}
.line-item__price {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.summary-rows {
  padding: var(--space-5) 0;
  border-bottom: 1px dashed rgba(126, 232, 250, 0.1);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
}
.summary-row__label { color: var(--neutral-400); }
.summary-row__value {
  font-weight: 500;
  color: var(--neutral-100);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.summary-row--discount .summary-row__label { color: var(--brand-success); }
.summary-row--discount .summary-row__value { color: var(--brand-success); }
.summary-row--muted .summary-row__value { color: var(--neutral-700); }

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: var(--space-5);
}
.summary-total__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.summary-total__value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.summary-total__currency {
  color: var(--brand-primary);
  font-size: 0.6em;
  font-weight: 600;
  margin-right: 4px;
}

/* ---------------------------------------------------------------------
   16. TRUST SIGNALS (in summary)
   --------------------------------------------------------------------- */
.trust-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(126, 232, 250, 0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--neutral-200);
  font-weight: 500;
}
.trust-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-md);
  color: var(--brand-primary);
}
.trust-item__icon svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
   17. TESTIMONIAL CARD (in summary)
   --------------------------------------------------------------------- */
.testimonial {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-lg);
}
.testimonial__quote {
  font-size: var(--text-sm);
  color: var(--neutral-200);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial__quote::before {
  content: '“';
  color: var(--brand-primary);
  font-family: Georgia, serif;
  font-size: 24px;
  margin-right: 4px;
  line-height: 0;
  vertical-align: -8px;
}
.testimonial__byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.testimonial__info { flex: 1; }
.testimonial__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.testimonial__payout {
  font-size: var(--text-xs);
  color: var(--brand-success);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin-top: 2px;
}
.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--brand-primary);
}
.testimonial__stars svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------------
   18. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--brand-deep);
  border-top: 1px solid rgba(126, 232, 250, 0.08);
  padding: var(--space-8) var(--space-6);
}
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  font-size: var(--text-xs);
  color: var(--neutral-600);
}
.site-footer__links {
  display: inline-flex;
  gap: var(--space-5);
}
.site-footer__links a { color: var(--neutral-500); }
.site-footer__links a:hover { color: var(--brand-primary); }
.site-footer__powered {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0.04em;
}
.site-footer__powered svg { width: 12px; height: 12px; color: var(--brand-success); }

@media (max-width: 768px) {
  .site-footer__inner { flex-direction: column; text-align: center; }
}

/* =====================================================================
   THANK-YOU PAGE SPECIFIC
   ===================================================================== */

.thanks-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-20) var(--space-6) var(--space-12);
  max-width: 720px;
  margin: 0 auto;
}

/* Animated checkmark */
.success-check {
  width: 96px; height: 96px;
  margin: 0 auto var(--space-8);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(126, 232, 250, 0.15), rgba(125, 255, 125, 0.1));
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px rgba(126, 232, 250, 0.08),
    0 0 48px rgba(126, 232, 250, 0.4);
  animation: pop-in 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-check svg {
  width: 48px; height: 48px;
  color: var(--brand-primary);
}
.success-check__path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-check 600ms 400ms ease-out forwards;
}
@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.thanks-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--space-4);
}
@media (max-width: 640px) {
  .thanks-title { font-size: var(--text-3xl); }
}

.thanks-subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  font-variant-numeric: tabular-nums;
}
.thanks-subtitle__order {
  color: var(--brand-primary);
  font-weight: 600;
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.05em;
}

/* What happens next — timeline */
.timeline-section {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-12);
}
.timeline-section__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-8);
  text-align: center;
  letter-spacing: -0.01em;
}

.timeline {
  position: relative;
  padding-left: 64px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-primary), rgba(126, 232, 250, 0.2));
}

.timeline-step {
  position: relative;
  margin-bottom: var(--space-8);
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step__marker {
  position: absolute;
  left: -64px;
  top: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-dark);
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: var(--text-lg);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 24px rgba(126, 232, 250, 0.2);
}
.timeline-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.timeline-step__body {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: 1.6;
  max-width: 56ch;
}
.timeline-step__time {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--brand-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Thank-you CTA section */
.thanks-cta {
  max-width: 540px;
  margin: 0 auto;
  padding: var(--space-6);
}

/* Support + Refer cards row */
.thanks-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 960px;
  margin: var(--space-12) auto;
  padding: 0 var(--space-6);
}
@media (max-width: 768px) {
  .thanks-row { grid-template-columns: 1fr; }
}

.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.info-card__icon {
  width: 40px; height: 40px;
  background: rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: var(--space-4);
}
.info-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.info-card__body {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}
.info-card__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.info-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
}

.referral-input {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.referral-input input {
  flex: 1;
  height: 42px;
  padding: 0 var(--space-3);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(126, 232, 250, 0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-mono), monospace;
  font-size: var(--text-xs);
  outline: none;
}
.referral-input button {
  height: 42px;
  padding: 0 var(--space-4);
  background: var(--brand-primary);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}
.referral-input button:hover {
  background: var(--white);
}
.referral-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed rgba(126, 232, 250, 0.12);
}
.referral-stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.referral-stat__label {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

/* ---------------------------------------------------------------------
   PRINT-LIKE order summary for thank-you page
   --------------------------------------------------------------------- */
.thanks-summary {
  max-width: 720px;
  margin: 0 auto var(--space-12);
  padding: 0 var(--space-6);
}
.thanks-summary .summary-card { padding: var(--space-8); }

/* ---------------------------------------------------------------------
   STAGGERED ENTRY ANIMATIONS
   --------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 600ms ease-out forwards;
}
.fade-up[data-delay="1"] { animation-delay: 100ms; }
.fade-up[data-delay="2"] { animation-delay: 200ms; }
.fade-up[data-delay="3"] { animation-delay: 300ms; }
.fade-up[data-delay="4"] { animation-delay: 400ms; }
.fade-up[data-delay="5"] { animation-delay: 500ms; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   V2 ADDITIONS — Platform selection, bundle nudge, payment tabs, right-rail
   ===================================================================== */

/* ---------------------------------------------------------------------
   PLATFORM TILES
   --------------------------------------------------------------------- */
.platform-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.platform-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-base);
  min-height: 200px;
}
.platform-tile:hover {
  transform: translateY(-2px);
  background: rgba(126, 232, 250, 0.04);
  border-color: rgba(126, 232, 250, 0.25);
}

.platform-tile__mark {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  border: 1px solid rgba(126, 232, 250, 0.15);
  border-radius: var(--radius-md);
  color: var(--brand-primary);
  transition: all var(--t-base);
}
.platform-tile__mark svg {
  width: 32px;
  height: 32px;
}

.platform-tile__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.platform-tile__tagline {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  line-height: 1.4;
  font-weight: 400;
}

.platform-tile__badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--brand-gold);
  color: var(--brand-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.platform-tile__check {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-dark);
  display: none;
  align-items: center;
  justify-content: center;
}
.platform-tile.is-active .platform-tile__check { display: flex; }
.platform-tile__check svg { width: 10px; height: 10px; }

.platform-tile.is-active {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.08), rgba(126, 232, 250, 0.02));
  border-color: var(--brand-primary);
  box-shadow: var(--glow-primary-strong);
}
.platform-tile.is-active .platform-tile__mark {
  background: linear-gradient(135deg, rgba(126, 232, 250, 0.15), rgba(0, 226, 211, 0.08));
  border-color: var(--brand-primary);
  box-shadow: 0 0 24px rgba(126, 232, 250, 0.3);
}

@media (max-width: 640px) {
  .platform-tiles { grid-template-columns: 1fr; }
  .platform-tile { min-height: 0; flex-direction: row; text-align: left; align-items: center; }
  .platform-tile__mark { margin-bottom: 0; margin-right: var(--space-3); flex-shrink: 0; }
  .platform-tile__badge { left: auto; right: var(--space-3); transform: none; }
}

.platform-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  padding: var(--space-3) var(--space-4);
  background: rgba(126, 232, 250, 0.04);
  border: 1px dashed rgba(126, 232, 250, 0.15);
  border-radius: var(--radius-md);
  line-height: 1.4;
}
.platform-meta svg { color: var(--brand-primary); flex-shrink: 0; }
.platform-meta strong { color: var(--brand-primary); font-weight: 600; }

/* Disabled platform tile — unavailable for current Account Steps combo */
.platform-tile.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(126, 232, 250, 0.06);
}
.platform-tile.is-disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(126, 232, 250, 0.06);
}
.platform-tile.is-disabled .platform-tile__name {
  color: var(--neutral-600);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}
.platform-tile.is-disabled .platform-tile__tagline {
  color: var(--neutral-700);
  font-style: italic;
}
.platform-tile.is-disabled .platform-tile__mark {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
  color: var(--neutral-700);
}

/* Live configuration summary (below quantity / bundle nudge) */
.config-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-md);
}
.config-summary__label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--neutral-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.config-summary__value {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
  text-align: right;
}
@media (max-width: 540px) {
  .config-summary { flex-direction: column; align-items: flex-start; }
  .config-summary__value { text-align: left; }
}

/* ---------------------------------------------------------------------
   BUNDLE NUDGE (Add X more for Y% off — progress bar)
   --------------------------------------------------------------------- */
.bundle-nudge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(90deg, rgba(255, 206, 45, 0.08), rgba(126, 232, 250, 0.04));
  border: 1px solid rgba(255, 206, 45, 0.2);
  border-radius: var(--radius-md);
}
.bundle-nudge__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 206, 45, 0.15);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bundle-nudge__icon svg { width: 16px; height: 16px; }
.bundle-nudge__body { flex: 1; min-width: 0; }
.bundle-nudge__title {
  font-size: var(--text-xs);
  color: var(--neutral-200);
  margin-bottom: 4px;
  font-weight: 500;
}
.bundle-nudge__title strong {
  color: var(--brand-gold);
  font-weight: 700;
}
.bundle-nudge__bar {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.bundle-nudge__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-primary));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 206, 45, 0.4);
}

/* ---------------------------------------------------------------------
   PAYMENT SECTION IN RIGHT RAIL
   --------------------------------------------------------------------- */
.pay-section {
  margin-bottom: var(--space-2);
}

.pay-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.pay-section__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.pay-section__secure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-success);
}
.pay-section__secure svg { width: 11px; height: 11px; }

.pay-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-md);
}

.pay-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--neutral-500);
  transition: all var(--t-fast);
  min-height: 60px;
}
.pay-tab:hover {
  color: var(--neutral-200);
  background: rgba(126, 232, 250, 0.04);
}
.pay-tab svg {
  width: 22px;
  height: 18px;
}
.pay-tab__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pay-tab.is-active {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.12), rgba(126, 232, 250, 0.04));
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 0 16px rgba(126, 232, 250, 0.2);
}

.pay-fields-inline {
  margin-top: var(--space-4);
}
.pay-fields-inline[hidden] { display: none; }

.pay-fields-inline .input { height: 44px; }
.pay-fields-inline .field-label {
  font-size: var(--text-xs);
  margin-bottom: var(--space-2);
}

.pay-notice {
  padding: var(--space-4);
  background: rgba(126, 232, 250, 0.05);
  border: 1px dashed rgba(126, 232, 250, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--neutral-300);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
   SUMMARY DIVIDER (between sections in right rail)
   --------------------------------------------------------------------- */
.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 232, 250, 0.18), transparent);
  margin: var(--space-6) 0;
}

/* ---------------------------------------------------------------------
   RIGHT-RAIL COUPON + HINT
   --------------------------------------------------------------------- */
.rail-coupon {
  margin-top: var(--space-5);
}
.rail-coupon .field-label {
  font-size: var(--text-xs);
  margin-bottom: var(--space-2);
}
.rail-coupon .coupon-row .input { height: 44px; }
.rail-coupon .btn-secondary { height: 44px; padding: 0 var(--space-4); }

.rail-hint {
  margin-top: var(--space-2);
  font-size: 11px;
  color: var(--neutral-600);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ---------------------------------------------------------------------
   COMPACT TERMS (in right rail)
   --------------------------------------------------------------------- */
.terms--compact {
  padding: var(--space-4) 0 var(--space-3);
}
.terms--compact .terms__text {
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--neutral-400);
}
.terms--compact .terms__check {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------------
   Right-rail spacing inside summary-card after restructure
   --------------------------------------------------------------------- */
.order-summary .summary-card .btn-primary {
  margin-top: var(--space-4);
}
.order-summary .summary-card .trust-stack {
  margin-top: var(--space-6);
}

/* Mobile: right rail un-sticks naturally on small screens */
@media (max-width: 1024px) {
  .order-summary { position: static; }
}

/* =====================================================================
   V4 ADDITIONS — Two-column desktop layout (left steps / right order+pay)
   ===================================================================== */

/* Tighten the main wrapper for checkout feel */
.checkout-main {
  max-width: 1140px;
}

/* Two-column grid */
.checkout-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 960px) {
  .checkout-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}

/* Column stacks */
.checkout-col-left,
.checkout-col-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.checkout-col-left .card { margin-bottom: 0; }

/* Step number badge in card headers */
.card__label-head {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(126, 232, 250, 0.3);
}

/* Right-column summary cards spacing */
.checkout-col-right .summary-card { margin-bottom: 0; }

/* Compact bundle banner (inside the order summary card) */
.bundle-banner--compact {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}
.bundle-banner--compact .bundle-banner__icon { width: 38px; height: 38px; }
.bundle-banner--compact .bundle-banner__icon svg { width: 18px; height: 18px; }
.bundle-banner--compact .bundle-banner__title { font-size: var(--text-sm); }
.bundle-banner--compact .bundle-banner__text { font-size: var(--text-xs); }

/* Account row tweak inside summary card (no bottom border needed before bundle) */
.checkout-col-right .account-row {
  padding-top: var(--space-2);
  border-bottom: none;
}

/* On mobile, show order summary FIRST is a common pattern — but here we keep
   left (config) first so users configure, then review. Right column follows. */

/* =====================================================================
   V5 ADDITIONS — Steps 2+3 grid, dynamic copy, CRO elements
   ===================================================================== */

/* Wider container + more gap between columns (feedback: too close) */
.checkout-main { max-width: 1200px; }
.checkout-cols { gap: var(--space-12); }
@media (max-width: 960px) {
  .checkout-cols { gap: var(--space-6); }
}

/* ACCOUNT STEPS — 2 on top, 3 on bottom */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-2);
}
.steps-grid .step-option:nth-child(1),
.steps-grid .step-option:nth-child(2) { grid-column: span 3; }
.steps-grid .step-option:nth-child(3),
.steps-grid .step-option:nth-child(4),
.steps-grid .step-option:nth-child(5) { grid-column: span 2; }

.step-option {
  padding: var(--space-4) var(--space-2);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--neutral-500);
  text-align: center;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.step-option:hover {
  color: var(--neutral-100);
  border-color: rgba(126, 232, 250, 0.25);
  background: rgba(126, 232, 250, 0.04);
}
.step-option.is-active {
  background: var(--brand-primary);
  color: var(--brand-dark);
  border-color: var(--brand-primary);
  box-shadow: 0 0 16px rgba(126, 232, 250, 0.3);
}

/* Dynamic "who it's for" box (replaces locked warning) */
.account-fit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: rgba(126, 232, 250, 0.05);
  border: 1px solid rgba(126, 232, 250, 0.2);
  border-radius: var(--radius-md);
}
.account-fit svg { color: var(--brand-primary); flex-shrink: 0; margin-top: 2px; }
.account-fit__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 4px;
}
.account-fit__text {
  display: block;
  font-size: var(--text-sm);
  color: var(--neutral-200);
  line-height: 1.5;
  transition: opacity var(--t-base);
}

/* "X viewing now" indicator (order summary header) */
.viewing-now {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  font-weight: 500;
}
.viewing-now__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-success);
  box-shadow: 0 0 8px var(--brand-success);
  animation: pulse 2s ease-in-out infinite;
}
.viewing-now .num { color: var(--brand-success); font-weight: 700; }

/* Price-lock countdown */
.price-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 206, 45, 0.08);
  border: 1px solid rgba(255, 206, 45, 0.25);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--neutral-200);
}
.price-lock svg { color: var(--brand-gold); flex-shrink: 0; }
.price-lock strong { color: var(--brand-gold); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Trust strip under CTA */
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.cta-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--neutral-500);
}
.cta-trust__item svg { width: 14px; height: 14px; color: var(--brand-success); }

/* Aggregate rating badge */
.rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-3);
}
.rating-badge__stars { display: inline-flex; gap: 2px; color: var(--brand-primary); }
.rating-badge__stars svg { width: 16px; height: 16px; }
.rating-badge__text { font-size: var(--text-sm); color: var(--neutral-400); }
.rating-badge__text strong { color: var(--white); font-size: var(--text-base); font-weight: 700; }
.rating-badge__text .num { color: var(--neutral-200); font-weight: 600; }

/* Live social-proof toast */
.proof-toast {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 330px;
  padding: var(--space-3) var(--space-4);
  background: rgba(10, 19, 21, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(126, 232, 250, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(126, 232, 250, 0.1);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.proof-toast.is-visible { opacity: 1; transform: translateY(0); }
.proof-toast__avatar {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-success), var(--brand-primary));
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  display: flex; align-items: center; justify-content: center;
}
.proof-toast__body { flex: 1; min-width: 0; }
.proof-toast__text { font-size: var(--text-sm); font-weight: 600; color: var(--white); }
.proof-toast__meta { font-size: var(--text-xs); color: var(--neutral-600); margin-top: 2px; }
.proof-toast__close {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--neutral-600);
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--t-fast);
}
.proof-toast__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
@media (max-width: 540px) {
  .proof-toast { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); max-width: none; }
}

/* =====================================================================
   V6 ADDITIONS — CRO audit: express pay, order bump, Trustpilot, mobile CTA
   ===================================================================== */

/* Express wallet buttons */
.express-pay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.express-pay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 50px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--t-fast);
}
.express-pay__btn--apple { background: #fff; color: #000; }
.express-pay__btn--apple:hover { background: #ededed; transform: translateY(-1px); }
.express-pay__btn--google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.express-pay__btn--google:hover { background: #f6f7f8; transform: translateY(-1px); }

.express-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--neutral-600);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}
.express-divider::before,
.express-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(126, 232, 250, 0.12);
}

/* Order bump */
.order-bump {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  padding: var(--space-4);
  background: rgba(255, 206, 45, 0.06);
  border: 1px dashed rgba(255, 206, 45, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast);
}
.order-bump:hover { background: rgba(255, 206, 45, 0.1); border-color: rgba(255, 206, 45, 0.55); }
.order-bump input { display: none; }
.order-bump__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(255, 206, 45, 0.5);
  border-radius: var(--radius-sm);
  position: relative;
  margin-top: 1px;
}
.order-bump__check svg {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 3px;
  color: var(--brand-dark); opacity: 0; transform: scale(0.5);
  transition: all var(--t-base) cubic-bezier(0.34, 1.56, 0.64, 1);
}
.order-bump input:checked ~ .order-bump__check { background: var(--brand-gold); border-color: var(--brand-gold); }
.order-bump input:checked ~ .order-bump__check svg { opacity: 1; transform: scale(1); }
.order-bump__body { flex: 1; }
.order-bump__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: 3px;
}
.order-bump__price { color: var(--brand-gold); font-weight: 700; }
.order-bump__desc { display: block; font-size: var(--text-xs); color: var(--neutral-400); line-height: 1.5; }
.order-bump__desc strong { color: var(--brand-gold); }

/* Trustpilot rating treatment */
.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
}
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star {
  display: inline-flex;
  width: 22px; height: 22px;
  background: #00b67a;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
}
.tp-star svg { width: 15px; height: 15px; }

/* Mobile sticky CTA bar */
.mobile-cta-bar { display: none; }
@media (max-width: 960px) {
  .mobile-cta-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 45;
    background: rgba(6, 18, 13, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(126, 232, 250, 0.15);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
  }
  .checkout-main { padding-bottom: 132px; }
  /* lift the social proof toast above the (now taller) sticky bar */
  .proof-toast { bottom: 116px; }
}
.mobile-cta-bar__lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px var(--space-4);
  background: rgba(255, 206, 45, 0.1);
  border-bottom: 1px solid rgba(255, 206, 45, 0.2);
  font-size: var(--text-xs);
  color: var(--neutral-200);
}
.mobile-cta-bar__lock svg { width: 13px; height: 13px; color: var(--brand-gold); flex-shrink: 0; }
.mobile-cta-bar__lock strong { color: var(--brand-gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.mobile-cta-bar__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-3) var(--space-4);
}
.mobile-cta-bar__info { display: flex; flex-direction: column; }
.mobile-cta-bar__label {
  font-size: 10px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.mobile-cta-bar__total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mobile-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 50px;
  padding: 0 var(--space-5);
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  box-shadow: 0 0 24px rgba(126, 232, 250, 0.4);
  white-space: nowrap;
}

/* Real brand logo (replaces text placeholder) */
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 540px) {
  .logo__img { height: 36px; }
}

/* Trading Capital — fit all options on mobile, no horizontal scroll */
@media (max-width: 640px) {
  .seg {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .seg__item {
    min-width: 0;
    padding: var(--space-3) var(--space-1);
    font-size: var(--text-sm);
    text-align: center;
  }
}

/* CTA: keep price together; on mobile drop the price (shown in total bar + sticky bar
   directly adjacent) so the button stays a clean one-line "Complete Purchase" */
.btn-primary__price { white-space: nowrap; }
@media (max-width: 640px) {
  .btn-primary__price { display: none; }
}

/* =====================================================================
   END V6 ADDITIONS
   ===================================================================== */

/* =====================================================================
   END V5 ADDITIONS
   ===================================================================== */

/* =====================================================================
   END V4 ADDITIONS
   ===================================================================== */

/* =====================================================================
   V3 ADDITIONS — Single-column components (reused in two-column layout)
   ===================================================================== */

/* Single-column container */
.checkout-single {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-20);
}
@media (max-width: 640px) {
  .checkout-single { padding: var(--space-6) var(--space-4) var(--space-12); }
}

/* Hero */
.checkout-hero {
  text-align: center;
  margin-bottom: var(--space-8);
}
.checkout-hero .step-pill { margin-bottom: var(--space-4); }
.checkout-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 16ch;
  margin: 0 auto;
}
.checkout-hero__subtitle {
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--neutral-600);
}
@media (max-width: 640px) {
  .checkout-hero__title { font-size: var(--text-3xl); }
}

/* Bundle banner (prominent — matches TOF promo banner) */
.bundle-banner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(100deg, rgba(125, 255, 125, 0.08), rgba(126, 232, 250, 0.05));
  border: 1px solid rgba(125, 255, 125, 0.25);
  border-radius: var(--radius-xl);
}
.bundle-banner__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(125, 255, 125, 0.12);
  color: var(--brand-success);
  display: flex; align-items: center; justify-content: center;
}
.bundle-banner__icon svg { width: 22px; height: 22px; }
.bundle-banner__body { flex: 1; min-width: 0; }
.bundle-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.bundle-banner__text {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  margin-bottom: var(--space-3);
}
.bundle-banner__text strong { color: var(--brand-success); font-weight: 700; }
.bundle-banner__bar {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.bundle-banner__bar span {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--brand-success), var(--brand-primary));
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(125, 255, 125, 0.5);
}
.bundle-banner__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(125, 255, 125, 0.15);
  border: 1px solid rgba(125, 255, 125, 0.3);
  color: var(--brand-success);
  display: flex; align-items: center; justify-content: center;
}
.bundle-banner__check svg { width: 14px; height: 14px; }
@media (max-width: 540px) {
  .bundle-banner__check { display: none; }
}

/* Account row with quantity stepper */
.account-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-6);
  border-bottom: 1px dashed rgba(126, 232, 250, 0.12);
}
.account-row__info { flex: 1; min-width: 0; }
.account-row__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
}
.account-row__meta {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  margin-top: 2px;
}
.account-row__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(126, 232, 250, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-stepper__btn {
  width: 40px; height: 44px;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--brand-primary);
  transition: background var(--t-fast);
  display: flex; align-items: center; justify-content: center;
}
.qty-stepper__btn:hover { background: rgba(126, 232, 250, 0.1); }
.qty-stepper__value {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  border-left: 1px solid rgba(126, 232, 250, 0.12);
  border-right: 1px solid rgba(126, 232, 250, 0.12);
  line-height: 44px;
}

/* PRICE BREAKDOWN (expandable — the centerpiece) */
.price-breakdown {
  margin-top: var(--space-5);
  border: 1px solid rgba(126, 232, 250, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.price-breakdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  transition: background var(--t-fast);
}
.price-breakdown__header:hover { background: rgba(126, 232, 250, 0.03); }
.price-breakdown__head-left { display: flex; flex-direction: column; gap: 2px; }
.price-breakdown__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
}
.price-breakdown__summary {
  font-size: var(--text-xs);
  color: var(--neutral-500);
}
.price-breakdown__summary .num { color: var(--brand-primary); font-weight: 600; }
.price-breakdown__chevron {
  width: 16px; height: 16px;
  color: var(--brand-primary);
  transition: transform var(--t-base);
}
.price-breakdown.is-open .price-breakdown__chevron { transform: rotate(180deg); }

.price-breakdown__body {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  border-top: 1px solid rgba(126, 232, 250, 0.1);
}
.price-breakdown.is-open .price-breakdown__body { display: block; }
.price-breakdown__subhead {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding: var(--space-4) 0 var(--space-3);
}

.pb-account {
  padding: var(--space-4) 0;
  border-bottom: 1px dashed rgba(126, 232, 250, 0.1);
}
.pb-account:last-child { border-bottom: none; padding-bottom: 0; }
.pb-account__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.pb-account__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral-600);
  background: rgba(126, 232, 250, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.pb-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-1) 0;
  font-size: var(--text-sm);
  color: var(--neutral-500);
}
.pb-line .num { color: var(--neutral-400); font-variant-numeric: tabular-nums; }
.pb-line--discount { color: var(--brand-success); }
.pb-line--discount .num { color: var(--brand-success); font-weight: 500; }
.pb-line--subtotal {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  color: var(--white);
}
.pb-line--subtotal .num { color: var(--white); font-weight: 700; }

/* Compact total bar (replaces the giant Total Due block) */
.total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(180deg, var(--brand-dark), var(--brand-deep));
  border: 1px solid rgba(126, 232, 250, 0.18);
  border-radius: var(--radius-lg);
}
.total-bar__label {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.total-bar__note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--neutral-600);
  margin-top: 1px;
}
.total-bar__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.total-bar__currency {
  font-size: 0.45em;
  color: var(--brand-primary);
  font-weight: 600;
  vertical-align: 0.4em;
  margin-right: 2px;
}
.total-bar__cents { font-size: 0.55em; color: var(--neutral-500); }

/* Horizontal trust bar (3 across) */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.trust-bar .trust-item {
  flex-direction: column;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
}
.trust-bar .trust-item__icon { width: 36px; height: 36px; }
.trust-bar .trust-item__icon svg { width: 18px; height: 18px; }
@media (max-width: 540px) {
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar .trust-item { flex-direction: row; text-align: left; }
}

/* Wide testimonial (single column context) */
.testimonial--wide {
  margin-top: var(--space-6);
  padding: var(--space-6);
}
.testimonial--wide .testimonial__quote { font-size: var(--text-base); }

/* Warning variant of platform-meta */
.platform-meta--warn {
  background: rgba(255, 206, 45, 0.06);
  border-color: rgba(255, 206, 45, 0.25);
  color: var(--neutral-300);
}
.platform-meta--warn svg { color: var(--brand-gold); }
.platform-meta--warn strong { color: var(--brand-gold); }

/* =====================================================================
   END V3 ADDITIONS
   ===================================================================== */

/* =====================================================================
   END V2 ADDITIONS
   ===================================================================== */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
