/* =====================================================================
   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;
}
/* Real brand-icon images inside the gradient mark box (MetaTrader / MatchTrader).
   Non-square logos: constrain to fit the 56px box where the 32px SVG sat. */
.platform-tile__icon-img {
  width: auto;
  height: auto;
  max-width: 40px;
  max-height: 34px;
  object-fit: contain;
  display: block;
}

.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);
}

/* Brand-logo platform tiles (--logo): swap the 56px gradient icon box for the
   real monochrome-white wordmark (transparent PNG) so the brand is instantly
   recognizable. Drop the box chrome + the now-redundant text name; the tagline
   stays. !important overrides the .active / .is-disabled mark backgrounds. */
.platform-tile--logo .platform-tile__mark {
  width: auto;
  height: 56px; /* match the icon-box height so the wordmark vertically aligns with the other tiles */
  background: none !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 0;
}
.platform-tile--logo .platform-tile__logo-img {
  height: 30px;
  width: auto;
  max-width: 168px;
  display: block;
  object-fit: contain;
}
.platform-tile--logo .platform-tile__name { display: none; }

/* Region-blocked platform (geo): badge flips from "Popular" to a muted red
   "Not in your region" and the tile dims — still selectable, clearly secondary. */
.platform-tile.is-region-blocked .platform-tile__badge {
  background: rgba(255, 138, 128, 0.14);
  color: #ff8a80;
  border: 1px solid rgba(255, 138, 128, 0.4);
}
.platform-tile.is-region-blocked .platform-tile__mark { opacity: 0.55; }
.platform-tile.is-region-blocked .platform-tile__name { color: var(--neutral-500); }

/* 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); }

/* ===== Add-on selector — 3 individual power-ups + an all-in "best value" bundle ===== */
.addons { margin: var(--space-5) 0; }
.addons__head { margin-bottom: var(--space-3); }
.addons__title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
}
.addons__sub {
  display: block;
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: 2px;
}
/* Stacked spacing inside the selector overrides the standalone .order-bump margin. */
.addons .addon-box { margin: 0 0 var(--space-3); }
.addons .addon-box:last-child { margin-bottom: 0; }

/* Bundle box — cyan "best value" treatment + floating badge, distinct from the gold add-ons. */
.addon-box--bundle {
  position: relative;
  margin-top: var(--space-5) !important;
  background: linear-gradient(100deg, rgba(126, 232, 250, 0.1), rgba(125, 255, 125, 0.05));
  border: 1px solid rgba(126, 232, 250, 0.5);
  box-shadow: 0 0 0 1px rgba(126, 232, 250, 0.12), 0 8px 24px rgba(126, 232, 250, 0.08);
}
.addon-box--bundle:hover {
  background: linear-gradient(100deg, rgba(126, 232, 250, 0.15), rgba(125, 255, 125, 0.07));
  border-color: rgba(126, 232, 250, 0.7);
}
.addon-box--bundle .order-bump__check { border-color: rgba(126, 232, 250, 0.6); }
.addon-box--bundle input:checked ~ .order-bump__check {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.addon-box--bundle .order-bump__price,
.addon-box--bundle .order-bump__desc strong { color: var(--brand-primary); }
.addon-box--bundle .order-bump__price s { color: var(--neutral-600); font-weight: 400; margin-right: 5px; }
.addon-box__badge {
  position: absolute;
  top: -10px;
  left: var(--space-4);
  display: inline-block;
  padding: 3px 11px;
  background: var(--brand-primary);
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}
/* Individual add-ons dim out while the All-Access bundle is selected. */
.addon-box.is-disabled { opacity: 0.45; pointer-events: none; }

/* 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 progress animates as the account count climbs; the completed (qty=max)
   state brightens the whole card. */
.bundle-banner__bar span { transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.bundle-banner.is-complete {
  border-color: rgba(125, 255, 125, 0.55);
  background: linear-gradient(100deg, rgba(125, 255, 125, 0.16), rgba(126, 232, 250, 0.08));
}

/* Second compact bundle nudge — injected by the host bridge just above the Total
   bar (mirrors the TOF "Add N more to get X% OFF" pill). Right-aligned, shrink-wrap. */
.bundle-pill-total {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  align-self: flex-end;          /* flex-column parents */
  margin: var(--space-3) 0 var(--space-3) auto; /* block parents → push right; top gap so it doesn't crowd the breakdown box */
  padding: 7px 14px;
  background: rgba(125, 255, 125, 0.08);
  border: 1px solid rgba(125, 255, 125, 0.3);
  border-radius: 999px;
  font-size: var(--text-xs);
  line-height: 1;
  color: var(--neutral-300);
  white-space: nowrap;
}
.bundle-pill-total svg { flex-shrink: 0; color: var(--brand-success); }
.bundle-pill-total strong { color: var(--brand-success); font-weight: 700; }
.bundle-pill-total.is-complete {
  background: rgba(125, 255, 125, 0.15);
  border-color: rgba(125, 255, 125, 0.5);
}
.bundle-banner__check svg { width: 14px; height: 14px; }

/* Applied-coupon chips by the promo field — show CODE · X% off · [remove]. */
.applied-coupons { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.coupon-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 5px 6px 5px 12px;
  background: rgba(125, 255, 125, 0.08);
  border: 1px solid rgba(125, 255, 125, 0.3);
  border-radius: 999px;
  font-size: var(--text-xs);
  line-height: 1;
}
.coupon-chip__code { font-weight: 700; letter-spacing: 0.02em; color: var(--brand-success); }
.coupon-chip__pct { color: var(--neutral-300); }
.coupon-chip__remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--neutral-300);
  font-size: 14px; line-height: 1; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.coupon-chip__remove:hover { background: rgba(255, 80, 80, 0.22); color: #ff6b6b; }

/* Remove the redundant WooCommerce review-order TABLE (subtotal/discount/fees/total) — the
   custom Price Breakdown panel above is the single breakdown shown to the customer. The table
   stays in the DOM (hidden) as the data source gamification.js mirrors + for order submission. */
.woocommerce-checkout-review-order-table { display: none !important; }

/* Coupon celebration: toast pill + full-viewport confetti canvas. */
.tot-coupon-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(11, 38, 33, 0.97), rgba(8, 26, 30, 0.97));
  border: 1px solid rgba(125, 255, 125, 0.45);
  border-radius: 999px;
  color: var(--white);
  font-size: var(--text-sm);
  white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(125, 255, 125, 0.25);
  animation: tot-toast-in 0.35s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
  pointer-events: none;
}
.tot-coupon-toast strong { color: var(--brand-success); }
.tot-coupon-toast.is-out { transition: opacity 0.4s ease, transform 0.4s ease; opacity: 0; transform: translateX(-50%) translateY(-18px); }
@keyframes tot-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-22px) scale(0.92); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.tot-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .tot-coupon-toast { animation: none; transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   TY. THANK-YOU PAGE v2 — Futures-layout port, Trader tokens.
   Success banner → Order overview → Customer/Order details grid → actions.
   --------------------------------------------------------------------- */
.ty-main { max-width: 1080px; display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-8); padding-bottom: var(--space-10); }

.ty-hero {
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(125, 255, 125, 0.3);
  background: rgba(125, 255, 125, 0.05);
  padding: var(--space-8) var(--space-9, 40px);
}
.ty-hero__head { display: flex; align-items: flex-start; gap: var(--space-5); }
.ty-hero__content { display: flex; flex-direction: column; gap: var(--space-3); padding-top: 6px; }
.ty-hero__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--white); line-height: 1.3; }
.success-check--inline { width: 48px; height: 48px; margin: 0; flex-shrink: 0; box-shadow: 0 0 0 6px rgba(126, 232, 250, 0.08); }
.success-check--inline svg { width: 24px; height: 24px; }
.ty-hero__notes { display: flex; flex-direction: column; gap: 6px; }
.ty-hero__notes p { margin: 0; font-size: var(--text-sm); color: var(--neutral-400); line-height: 1.6; }

/* Thank-you header: floating PILL bar — logo left, ORDER CONFIRMED centered,
   My Account right (the base .site-header__inner is already a 1fr/auto/1fr grid).
   Generous vertical padding so the logo breathes; fully rounded ends. */
.site-header.ty-bar {
  position: static;                 /* receipt page — no sticky chrome */
  height: auto;
  max-width: min(1080px, calc(100% - 32px));
  margin: var(--space-5) auto 0;
  padding: var(--space-4) var(--space-8); /* NOTE: scale has no --space-7/9 — an undefined var() invalidates the whole declaration (padding → 0) */
  border: 1px solid rgba(126, 232, 250, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.ty-bar .site-header__inner { height: auto; padding: 0; }
.ty-bar .logo { justify-self: start; }
.ty-bar .ty-btn-outline--sm { justify-self: end; }
.ty-btn-outline--sm { padding: 10px 20px; font-size: var(--text-xs); white-space: nowrap; }

/* Center the middle money column (Coupons used) — label + chip align on one axis. */
.ty-field--center { align-items: center; text-align: center; }

.ty-card { padding: 0; overflow: hidden; }
.ty-card__head { padding: var(--space-5) var(--space-6); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ty-card__title { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--white); }
.ty-card__sub { margin: 6px 0 0; font-size: var(--text-sm); color: var(--neutral-500); }
.ty-card__body { padding: var(--space-5) var(--space-6); }

.ty-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.ty-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-6); align-items: start; }
.ty-stack { display: flex; flex-direction: column; gap: var(--space-5); }
.ty-spread { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: space-between; }

.ty-field { display: flex; flex-direction: column; gap: 4px; min-width: 80px; }
.ty-field__label { font-size: var(--text-xs); color: var(--neutral-500); }
.ty-field__value { font-size: var(--text-base); font-weight: 600; color: var(--white); overflow-wrap: anywhere; }
.ty-field__value .woocommerce-Price-amount { color: var(--white); }
.ty-link { color: var(--brand-primary); text-decoration: none; }
.ty-link:hover { text-decoration: underline; }
.ty-chiprow { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ty-chiprow .coupon-chip { padding: 5px 12px; }

.ty-divided { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.ty-row { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-sm); color: var(--neutral-300); }
.ty-row__value { font-weight: 600; color: var(--white); }
.ty-row--green .ty-row__label, .ty-row--green .ty-row__value,
.ty-row--green .ty-row__value .woocommerce-Price-amount { color: var(--brand-success); }
.ty-row .woocommerce-Price-amount { color: inherit; }

.ty-totalbox {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 232, 250, 0.25);
  background: rgba(126, 232, 250, 0.05);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-2);
}
.ty-totalbox__label { font-size: var(--text-sm); color: var(--neutral-400); }
.ty-totalbox__value, .ty-totalbox__value .woocommerce-Price-amount { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--white); }

.ty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); justify-content: space-between; }
.ty-actions__note { font-size: var(--text-sm); color: var(--neutral-500); }
.ty-actions__btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ty-actions__btns .btn-primary { width: auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.ty-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-size: var(--text-sm); font-weight: 500;
  text-decoration: none;
  transition: background var(--t-fast);
}
.ty-btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

@media (max-width: 860px) {
  .ty-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ty-grid-2 { grid-template-columns: 1fr; }
  .ty-spread { flex-direction: column; }
  .ty-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .ty-actions__btns { flex-direction: column; }
  .ty-hero { padding: var(--space-6) var(--space-5); }
  .ty-hero__head { gap: var(--space-4); }
  .site-header.ty-bar { padding: var(--space-3) var(--space-5); border-radius: var(--radius-lg); }
  .ty-bar .secure-pill { display: none; } /* small screens: logo + button only */
}
@media (max-width: 540px) {
  .bundle-banner__check { display: none; }
}

/* Account row with quantity stepper */
.account-row {
  display: flex;
  align-items: flex-start;
  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; }

/* Broken-out config pills — Type / Size / Platform chips in the order summary,
   matching the proven TOF layout. Live-written by the host-bridge JS from the
   active configurator tiles (#cfgType / #cfgSize / #cfgPlatform). */
.account-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(126, 232, 250, 0.15);
  border-radius: 999px;
  font-size: var(--text-xs);
  line-height: 1;
}
.account-pill__k { color: var(--neutral-600); }
.account-pill__v { color: var(--white); font-weight: 600; }
.account-pill--platform .account-pill__v { color: var(--brand-primary); }

/* Single-product mode (reset / Nova / one-off) — the stripped "Confirm Your Order"
   card shown in place of the configurator. */
.single-product-confirm__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.single-product-confirm__note {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin: 0;
  line-height: 1.5;
}
.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; }
/* display:flex above overrides the HTML [hidden] attr, so zero-value discount/bundle
   lines would show as "-$0.00". Enforce the hidden contract. */
.pb-line[hidden] { display: none !important; }
.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; }

/* Per-account price breakdown (qty > 1) — one block per account. */
.pb-by-account__head { font-weight: 600; color: var(--white); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.pb-acct-block { padding: var(--space-3) 0; border-bottom: 1px dashed rgba(126, 232, 250, 0.12); }
.pb-acct-block:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-acct-block__title { font-weight: 600; color: var(--white); font-size: var(--text-sm); margin-bottom: var(--space-2); }
.pb-acct-block__ord { color: var(--neutral-500); font-weight: 400; }

/* 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
   ===================================================================== */

/* =====================================================================
   TOT-CHECKOUT — WOOCOMMERCE + checkout.js INTEGRATION LAYER
   (Everything ABOVE this banner is the byte-faithful prototype stylesheet.
    Do not edit above; add real-DOM styling only here.)

   The prototype above is a static mock. On the live theme, the real DOM is
   produced by two systems that the mock never had:
     1. checkout.js — the proven v6 selector brain. It toggles `.active`
        (NOT the mock's `.is-active`) on buttons inside #account-type /
        #trading-capital / #platform, and writes price text into
        .selected-variations / .challege-price / .original-price / .duration
        / .activation-fee. It drives BOTH the 1-page checkout selector AND
        the 4 [trading_account_variations*] landing-page shortcodes, which
        use the .pricing-buttons / .price-buttons / .payday-buttons markup.
     2. WooCommerce core templates — payment box (#payment), the place-order
        button (#place_order), review-order table, notices, and the blockUI
        AJAX overlay.
   This layer skins all of that to the prototype's cyan aesthetic using the
   same design tokens, so nothing renders unstyled.
   ===================================================================== */

/* ---------------------------------------------------------------------
   A. checkout.js `.active` contract — mirror the mock's `.is-active`
      selected states onto `.active` for the 1-page checkout selector.
   --------------------------------------------------------------------- */
.step-option.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);
}
.seg__item.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);
}
.qty-tile.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.active .qty-tile__num { color: var(--brand-primary); }
.qty-tile.active .qty-tile__check { display: flex; }
.platform-tile.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.active .platform-tile__check { display: flex; }
.platform-tile.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);
}
.pay-tab.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-option.active {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.07), rgba(126, 232, 250, 0.02));
  border-color: var(--brand-primary);
}
.pay-option.active .pay-option__radio { border-color: var(--brand-primary); }
.pay-option.active .pay-option__radio::after { transform: scale(1); }
.pay-option.active .pay-fields { display: block; }

/* ---------------------------------------------------------------------
   B. v6 SELECTOR LANDING PAGES — the 4 [trading_account_variations*]
      shortcodes (standard, crypto/two, nova, payday). Different markup
      than the mock; skinned here to the same brand so the funnel is
      cohesive and the §0.5 "all 4 selectors render" gate passes.
   --------------------------------------------------------------------- */
.variation-sec {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-20);
}
.variation-sec .container { width: 100%; }
.variation-sec .page-top-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.variation-sec .page-top-logo img { height: 44px; width: auto; }
.variation-sec .title-area { text-align: center; margin-bottom: var(--space-8); }
.variation-sec .sec-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);
}
.variation-sec .sec-title .text-theme { color: var(--brand-primary); }
.variation-sec .sec-text {
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--neutral-600);
}
@media (max-width: 640px) {
  .variation-sec { padding: var(--space-8) var(--space-4) var(--space-12); }
  .variation-sec .sec-title { font-size: var(--text-3xl); }
}

.variation-sec .home-variations {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  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);
}
@media (max-width: 640px) {
  .variation-sec .home-variations { padding: var(--space-6); }
}
.price-btn-wrap h6,
.payday-btn-wrap h6 {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-300);
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
}

/* Button groups (account-type / trading-capital / platform / multiplier).
   SCOPED to .variation-sec (the landing/select pages) on purpose: the 1-page
   CHECKOUT selector reuses the same #account-type/#trading-capital/#platform
   containers + .price-buttons (the checkout.js hook) but is dressed in the
   prototype's .steps-grid/.step-option, .seg/.seg__item, .platform-tiles/
   .platform-tile classes (Section A owns their .active states). Scoping here
   keeps these generic button styles from overriding the prototype look on the
   checkout, while the 4 landing shortcodes (all wrapped in .variation-sec)
   render exactly as before. */
.variation-sec .pricing-buttons,
.variation-sec .price-buttons,
.variation-sec .payday-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.variation-sec .pricing-buttons button,
.variation-sec .price-buttons button,
.variation-sec .payday-buttons button {
  flex: 1 1 auto;
  min-width: 90px;
  padding: var(--space-4) var(--space-3);
  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-400);
  text-align: center;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.variation-sec .pricing-buttons button:hover,
.variation-sec .price-buttons button:hover,
.variation-sec .payday-buttons button:hover {
  color: var(--neutral-100);
  border-color: rgba(126, 232, 250, 0.25);
  background: rgba(126, 232, 250, 0.04);
}
.variation-sec .pricing-buttons button.active,
.variation-sec .price-buttons button.active,
.variation-sec .payday-buttons button.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);
}

/* Payday multiplier buttons: stacked label + sublabel */
.payday-buttons.account-multiplier button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 120px;
}
.payday-buttons.account-multiplier .big {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.1;
}
.payday-buttons.account-multiplier .trade-info {
  font-size: var(--text-xs);
  font-weight: 400;
  color: inherit;
  opacity: 0.7;
  white-space: normal;
}

/* Payday stake slider (native range, self-contained — no extra JS needed) */
.payday-buttons.account-stake { flex-direction: column; gap: var(--space-3); }
.account-stake .selected {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-primary);
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.account-stake .slider-wrap { position: relative; padding: var(--space-2) 0; }
.account-stake .slider,
.account-stake .slider-active { display: none; }
.account-stake .calc__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(126, 232, 250, 0.15);
  outline: none;
  cursor: pointer;
}
.account-stake .calc__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid var(--brand-dark);
  box-shadow: 0 0 16px rgba(126, 232, 250, 0.5);
  cursor: pointer;
}
.account-stake .calc__input::-moz-range-thumb {
  width: 22px; height: 22px;
  border: 2px solid var(--brand-dark);
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 16px rgba(126, 232, 250, 0.5);
  cursor: pointer;
}
.account-stake .pay-ranges {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
}
.account-stake .range-value {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.account-stake .range-value:hover { color: var(--brand-primary); }

/* ---------------------------------------------------------------------
   C. checkout.js DISPLAY HOOKS — the live price/summary block that
      checkout.js writes into (shared by landing pages and the checkout
      price readout).
   --------------------------------------------------------------------- */
.info-box {
  margin-top: var(--space-6);
  padding: 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-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.selected-variations,
.selected-stakes {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  margin-bottom: var(--space-2);
}
.challege-price,
.stake-price {
  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;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.challege-price .original-price,
.stake-price .original-price { color: var(--white); }
.challege-price .duration {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--neutral-600);
  margin-left: var(--space-2);
}
.activation-fee {
  font-size: var(--text-sm);
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.price-info {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  margin-bottom: var(--space-4);
}
.price-info b { color: var(--brand-success); }

/* ---------------------------------------------------------------------
   D. CONTINUE / GET-ACCOUNT button (anchor links checkout.js retargets to
      /checkout/?add-to-cart=<id>). Styled to match .btn-primary.
   --------------------------------------------------------------------- */
.ot-btn,
.toponeproduct-url,
.payday-checkout-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 56px;
  margin-top: var(--space-2);
  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-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  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);
}
.ot-btn:hover,
.toponeproduct-url:hover,
.payday-checkout-url:hover {
  transform: translateY(-1px);
  opacity: 1;
  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);
}

/* ---------------------------------------------------------------------
   E. WOOCOMMERCE PAYMENT BOX (#payment) — overrides WC core's light-grey
      default to the dark cyan skin. Our sheet loads at priority 9999 so
      equal-specificity rules win on load order.
   --------------------------------------------------------------------- */
.woocommerce-checkout #payment,
.tot-checkout-theme #payment {
  background: transparent;
  border-radius: var(--radius-lg);
}
#payment ul.payment_methods,
#payment .wc_payment_methods {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
#payment ul.payment_methods li {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}
#payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  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);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--neutral-100);
  cursor: pointer;
  transition: all var(--t-base);
}
#payment .wc_payment_method > label:hover {
  background: rgba(126, 232, 250, 0.04);
  border-color: rgba(126, 232, 250, 0.25);
}
#payment .wc_payment_method input[type="radio"] {
  accent-color: var(--brand-primary);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
#payment .wc_payment_method input[type="radio"]:checked + label {
  background: linear-gradient(180deg, rgba(126, 232, 250, 0.07), rgba(126, 232, 250, 0.02));
  border-color: var(--brand-primary);
}
#payment .wc_payment_method img {
  display: inline-block;
  max-height: 24px;
  width: auto;
  margin-left: auto;
}
#payment .payment_box {
  margin-top: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(126, 232, 250, 0.18);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--neutral-300);
  line-height: 1.5;
}
#payment .payment_box::before { display: none; } /* kill WC's default callout arrow */
#payment .payment_box p { margin: 0 0 var(--space-2); }
#payment .payment_box p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   F. #place_order — the money button (real WC submit). Mirrors .btn-primary.
   --------------------------------------------------------------------- */
#place_order,
.woocommerce-checkout #place_order {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  height: 64px;
  margin-top: var(--space-2);
  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: none;
  border-radius: var(--radius-lg);
  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);
  cursor: pointer;
}
#place_order: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);
}
#place_order:disabled,
#place_order.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------------------------------------------------------------------
   F2. PLACE-ORDER trimmings + review-order/payment TOT specifics — the
       classes the carried review-order.php / payment.php emit (.place-order,
       .place-order__arrow, .secured-text, .stb-ck Instant balance,
       .added-stake fee row, and the required privacy/terms consent row).
   --------------------------------------------------------------------- */
.place-order { margin-top: var(--space-4); }
.place-order__arrow { flex-shrink: 0; transition: transform var(--t-fast); }
#place_order:hover .place-order__arrow { transform: translateX(4px); }

.secured-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  padding-top: var(--space-5); /* margin-top collapses here; padding gives a reliable gap below the Complete Purchase button */
  font-size: var(--text-xs);
  color: var(--neutral-500);
}
.secured-text svg { color: var(--brand-success); flex-shrink: 0; }

/* Instant funded starting-balance note under the cart line item. */
.stb-ck {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 2px var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--brand-success);
  background: var(--brand-success-soft);
  border: 1px solid rgba(125, 255, 125, 0.25);
  border-radius: var(--radius-full);
  font-variant-numeric: tabular-nums;
}

/* "Added Stake" fee row — subtle gold accent (matches the payday treatment). */
.woocommerce-checkout-review-order-table tr.added-stake th,
.woocommerce-checkout-review-order-table tr.added-stake td {
  color: var(--brand-gold);
}

/* Required privacy/terms consent (functions.php injects it before #place_order).
   #6 — the real checkbox+text live nested in <span.woocommerce-input-wrapper><label>,
   so the flex layout has to sit on the LABEL, not the outer <p>. */
.woocommerce-checkout .form-row.privacy {
  margin: var(--space-4) 0;
  padding: 0;
}
.woocommerce-checkout .form-row.privacy .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}
.woocommerce-checkout .form-row.privacy label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin: 0;
  cursor: pointer;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--neutral-400);
}
.woocommerce-checkout .form-row.privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
  margin: 1px 0 0;
}
.woocommerce-checkout .form-row.privacy a {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Billing/customer fields: keep inputs inside the card. min-width:0 lets the
   country <select> (long option names give it a huge intrinsic width) shrink to
   the grid cell instead of overflowing the card. box-sizing already border-box. */
.field .input,
.field .select,
.field .phone-field {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.phone-field { box-sizing: border-box; }

/* ---------------------------------------------------------------------
   G. WOOCOMMERCE REVIEW-ORDER TABLE (defensive — custom review-order.php
      replaces this, but skin the default in case it ever renders).
   --------------------------------------------------------------------- */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: var(--space-3) 0;
  text-align: left;
  border-bottom: 1px dashed rgba(126, 232, 250, 0.1);
  color: var(--neutral-200);
}
.woocommerce-checkout-review-order-table th:last-child,
.woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.woocommerce-checkout-review-order-table tfoot th { color: var(--neutral-400); font-weight: 500; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  border-bottom: none;
  padding-top: var(--space-4);
}
.woocommerce-checkout-review-order-table .order-total .amount { color: var(--brand-primary); }

/* ---------------------------------------------------------------------
   H. WOOCOMMERCE NOTICES (validation errors, coupon messages, info).
      These WILL appear during real checkout — must be in-brand.
   --------------------------------------------------------------------- */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.woocommerce-error {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: var(--brand-error);
}
.woocommerce-message {
  background: var(--brand-success-soft);
  border: 1px solid rgba(125, 255, 125, 0.3);
  color: var(--brand-success);
}
.woocommerce-info {
  background: rgba(126, 232, 250, 0.06);
  border: 1px solid rgba(126, 232, 250, 0.25);
  color: var(--neutral-200);
}
.woocommerce-error li { list-style: none; margin: 0; }
.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a { color: var(--brand-primary); font-weight: 600; }

/* ---------------------------------------------------------------------
   I. WOOCOMMERCE FORM ROWS / VALIDATION / RENDERED FIELDS (defensive —
      the proven host uses raw name="billing_*" .input fields, but skin the
      WC field-renderer output too so nothing breaks if it appears).
   --------------------------------------------------------------------- */
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-account-fields .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-4);
}
.woocommerce form .form-row label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-300);
  margin-bottom: var(--space-3);
}
.woocommerce form .form-row .required { color: var(--brand-primary); border: none; text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  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);
  transition: all var(--t-fast);
  outline: none;
}
.woocommerce form .form-row textarea { height: auto; padding: var(--space-3) var(--space-4); }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row 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);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--brand-error); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: rgba(125, 255, 125, 0.5); }

/* ---------------------------------------------------------------------
   J. WOOCOMMERCE blockUI AJAX OVERLAY — WC sets inline styles via JS, so
      these need !important to override. Replaces the white box + ugly
      spinner with a dark veil + cyan spinner during update_order_review.
   --------------------------------------------------------------------- */
.blockUI.blockOverlay {
  background: rgba(6, 18, 13, 0.4) !important;
  opacity: 0.65 !important;
  cursor: wait;
}
.blockUI.blockOverlay::before {
  content: '';
  position: absolute;
  top: 28px; left: 50%;
  width: 26px; height: 26px;
  margin: 0 0 0 -13px;
  border: 3px solid rgba(126, 232, 250, 0.25);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: tot-spin 0.7s linear infinite;
}
@keyframes tot-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   K. MISC RESETS
   --------------------------------------------------------------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  float: none;
  padding: 0;
}

/* ---------------------------------------------------------------------
   L. LEAD-CAPTURE POPUP (#tot-ac-modal) — pre-checkout first-name + email
      gate for logged-out visitors. Behavior lives in popup.js; the REST
      endpoint (api/modal-subscribe) lives in inc/checkout-extras.php.
      Reskinned from TOF's light modal to the TOT cyan-on-dark brand.
   --------------------------------------------------------------------- */
.tot-ac-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.tot-ac-modal.hidden { display: none; }

.tot-ac-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 7, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tot-ac-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: var(--space-10) var(--space-8) var(--space-8);
  background: linear-gradient(180deg, rgba(13, 21, 23, 0.98), rgba(6, 18, 13, 0.98));
  border: 1px solid rgba(126, 232, 250, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--glow-primary), var(--shadow-card-hover);
  text-align: center;
  animation: tot-modal-in var(--t-base);
}
@keyframes tot-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tot-ac-modal-back {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: none;
  color: var(--neutral-400);
  font-size: var(--text-sm);
  cursor: pointer;
}

.tot-ac-modal-logo { margin-bottom: var(--space-6); text-align: center; }
.tot-ac-modal-logo img { height: 40px; width: auto; display: block; margin: 0 auto; }

.tot-ac-modal-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.tot-ac-modal-subtitle {
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--neutral-400);
}

.tot-ac-modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.tot-ac-input {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(126, 232, 250, 0.14);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.tot-ac-input::placeholder { color: var(--neutral-500); }
.tot-ac-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(126, 232, 250, 0.14);
}

.tot-ac-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 56px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--glow-primary);
  transition: transform var(--t-fast), box-shadow var(--t-base), opacity var(--t-base);
}
.tot-ac-continue-btn:hover { transform: translateY(-1px); box-shadow: var(--glow-primary-strong); }
.tot-ac-continue-btn:active { transform: translateY(0); }
.tot-ac-continue-btn.enabled { box-shadow: var(--glow-primary-strong); }
.tot-ac-continue-btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: var(--glow-primary); }
.tot-ac-continue-btn svg { width: 20px; height: 20px; }

.tot-ac-modal-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-5);
}
.tot-ac-trust-badge,
.tot-ac-trustpilot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-400);
}
.tot-ac-trustpilot span:first-child { color: var(--brand-gold); letter-spacing: 1px; }

@media (max-width: 480px) {
  .tot-ac-modal-content { padding: var(--space-8) var(--space-5) var(--space-6); }
  .tot-ac-modal-title { font-size: var(--text-xl); }
}

/* =====================================================================
   M. PASS A — credibility panels (sample data) + frame polish + fixes
   ===================================================================== */

/* "Sample data" flag on not-yet-wired panels */
.dummy-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(255, 206, 45, 0.1);
  border: 1px solid rgba(255, 206, 45, 0.25);
  border-radius: var(--radius-full);
  vertical-align: middle;
}

/* Mini section (rules snapshot) inside the summary card */
.mini-section {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px dashed rgba(126, 232, 250, 0.12);
}
.mini-section__head {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: var(--space-2);
}
.mini-section .summary-rows { padding: 0; border: none; }
.mini-section .summary-row { padding: var(--space-1) 0; }

/* #2 — Account Rules collapse into a native <details>/<summary> (no JS).
   Collapsed by default (no [open] attr); click the head to expand. */
.mini-section--collapsible > summary.mini-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.mini-section--collapsible > summary::-webkit-details-marker { display: none; }
.mini-section--collapsible > summary::marker { content: ""; }
.mini-section__head-text { display: inline-flex; align-items: center; }
.mini-section__chevron {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--neutral-500);
  transition: transform var(--t-base);
}
.mini-section--collapsible[open] > summary .mini-section__chevron { transform: rotate(180deg); }
.mini-section--collapsible[open] .summary-rows { margin-top: var(--space-3); }
.mini-section--collapsible > summary:hover .mini-section__head-text,
.mini-section--collapsible > summary:hover .mini-section__chevron { color: var(--brand-primary); }

/* Quantity stepper — locked state (multi-account coming later) */
.qty-stepper--locked { opacity: 0.6; }
.qty-stepper--locked .qty-stepper__btn { cursor: not-allowed; color: var(--neutral-600); }
.qty-stepper--locked .qty-stepper__btn:hover { background: transparent; }

/* Verified Payout Proof panel (Codex #1) */
.payout-proof .summary-header { margin-bottom: var(--space-4); }
.payout-proof__icon { width: 15px; height: 15px; color: var(--brand-success); vertical-align: -2px; margin-right: 4px; }
.payout-proof__link { font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.payout-list { display: flex; flex-direction: column; gap: var(--space-1); }
.payout-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed rgba(126, 232, 250, 0.08);
}
.payout-item:last-child { border-bottom: none; }
.payout-item__avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  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;
}
.payout-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.payout-item__name { font-size: var(--text-sm); font-weight: 600; color: var(--white); line-height: 1.2; }
.payout-item__meta { font-size: var(--text-xs); color: var(--neutral-600); }
.payout-item__amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--brand-success);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.payout-item__check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-success-soft);
  color: var(--brand-success);
  display: flex; align-items: center; justify-content: center;
}
.payout-item__check svg { width: 10px; height: 10px; }

/* Express pay — disabled "coming soon" design affordance */
.express-pay--soon .express-pay__btn { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.3); }
.express-pay--soon .express-pay__btn:hover { transform: none; }
.express-pay__soon {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 11px;
  color: var(--neutral-600);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* Payment-confidence microcopy */
.pay-confidence { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.pay-confidence li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--neutral-300); }
.pay-confidence svg { width: 13px; height: 13px; color: var(--brand-success); flex-shrink: 0; }

/* Delivery-mini timeline (pre-purchase) */
.delivery-mini {
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(126, 232, 250, 0.08);
  border-radius: var(--radius-xl);
}
.delivery-mini__title { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--white); margin-bottom: var(--space-3); }
.delivery-mini__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.delivery-mini__steps li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--neutral-300); }
.delivery-mini__num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(126, 232, 250, 0.1);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  display: flex; align-items: center; justify-content: center;
}
.delivery-mini__txt { flex: 1; }
.delivery-mini__when { font-size: var(--text-xs); color: var(--brand-primary); font-weight: 600; white-space: nowrap; }

/* "What happens if…" clarity block */
.clarity-block {
  padding: var(--space-5);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(126, 232, 250, 0.1);
  border-radius: var(--radius-xl);
}
.clarity-block__head { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--white); margin-bottom: var(--space-3); }
.clarity-row { font-size: var(--text-xs); color: var(--neutral-400); line-height: 1.55; padding: var(--space-1) 0; }
.clarity-row strong { color: var(--neutral-200); }

/* =====================================================================
   N. BRYCEN REVISION PASS — #5 addon dump, #6 "Complete Purchase" area
   ===================================================================== */

/* #5 — Hide the raw 24-checkbox SkyVerge add-on dump in the left column.
   The honest, styled order-bump (.order-bump) is the only add-on UI; it
   proxies the real #a7584a0_no-stop-loss checkbox, which still POSTs even
   while its container is display:none (only `disabled` excludes a field). */
#wc_checkout_add_ons { display: none !important; }

/* #6a — Drop WooCommerce's redundant privacy legalese paragraph. Our own
   consent checkbox (with Privacy Policy + Terms links) sits right below it,
   so this WC block is duplicate clutter in the place-order area. */
.woocommerce-checkout .place-order .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text { display: none; }

/* #6b — "All payments secured" stays on one clean centered line. The base
   .secured-text flex container was collapsing to width:0 (rendering the lock
   icon + label as a vertical sliver overlapping #place_order). Force full
   width so it flows as a centered line directly below the button. */
.secured-text {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  text-align: center;
}

/* #6c — #place_order grows for long gateway/plugin labels instead of overflowing. */
#place_order,
.woocommerce-checkout #place_order {
  height: auto;
  min-height: 64px;
  white-space: normal;
  line-height: 1.2;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

/* Live total recalculation flash (gamification.js syncSummaryFromWoo adds .is-flashing) */
.total-bar__value.is-flashing,
.btn-primary__price .is-flashing { animation: tot-total-flash 600ms ease; }
@keyframes tot-total-flash {
  0% { color: var(--brand-primary); text-shadow: 0 0 16px rgba(126, 232, 250, 0.6); }
  100% { color: inherit; text-shadow: none; }
}

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

/* #7 — Enforce the HTML `hidden` contract on the JS price-hook elements. The
   section-D `.ot-btn` group sets display:inline-flex, which overrode the
   `hidden` attribute and rendered .toponeproduct-url as an empty cyan strip
   under the order summary. checkout.js/gamification.js read these hooks but
   they must never paint. `hidden` always means hidden. */
.ot-btn[hidden],
.toponeproduct-url[hidden],
.payday-checkout-url[hidden] { display: none !important; }
