/* ThunderX brand fonts — self-hosted subset (latin). Generated. */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */
/* @ds-font-face-dropped: unresolvable src */

/* ThunderX design tokens — derived from the BGS launch mockups. */
:root {
  /* Core surfaces (near-black with a blue cast) */
  --tx-bg: #05060b;
  --tx-bg-elevated: #0a0c15;
  --tx-surface: #10131f;
  --tx-surface-2: #161a2b;

  /* Brand — electric blue → violet */
  --tx-blue: #3d5afe;
  --tx-blue-bright: #5b7fff;
  --tx-blue-dim: #2a3ba8;
  --tx-violet: #8b5cf6;
  --tx-purple: #7c3aed;
  --tx-purple-deep: #4c1d95;

  /* Signature gradient */
  --tx-gradient: linear-gradient(135deg, #3d5afe 0%, #7c3aed 100%); /* @kind color */
  --tx-gradient-soft: linear-gradient(135deg, rgba(61, 90, 254, 0.16) 0%, rgba(124, 58, 237, 0.16) 100%); /* @kind color */

  /* Text */
  --tx-text: #f4f6ff;
  --tx-text-muted: #9aa3bd;
  --tx-text-faint: #5c6484;

  /* Lines & glow */
  --tx-border: rgba(123, 140, 255, 0.16);
  --tx-border-strong: rgba(123, 140, 255, 0.34);
  --tx-glow: 0 0 24px rgba(77, 124, 255, 0.45);
  --tx-glow-strong: 0 0 36px rgba(91, 127, 255, 0.6);

  /* Type families */
  --tx-font-display: "Saira Condensed", sans-serif;
  --tx-font-ui: "Rajdhani", "Segoe UI", sans-serif;
  --tx-font-body: "Saira", system-ui, sans-serif;
  --tx-font-digital: "Orbitron", "Courier New", monospace;

  /* Radii */
  --tx-radius-sm: 6px;
  --tx-radius-md: 10px;
  --tx-radius-lg: 16px;
  --tx-radius-pill: 999px;

  /* Spacing scale */
  --tx-space-1: 4px;
  --tx-space-2: 8px;
  --tx-space-3: 12px;
  --tx-space-4: 16px;
  --tx-space-5: 24px;
  --tx-space-6: 32px;
  --tx-space-7: 48px;
  --tx-space-8: 64px;
}

/* ThunderX base layer — applied inside the ThunderXProvider root. */
.tx-root {
  font-family: var(--tx-font-body);
  color: var(--tx-text);
  background: var(--tx-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.tx-root *,
.tx-root *::before,
.tx-root *::after {
  box-sizing: border-box;
}

/* ThunderX component styles. Class-based; all colors/fonts come from tokens.css. */

/* ---------- Button ---------- */
.tx-btn {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tx-space-2);
  border: 1px solid transparent;
  border-radius: var(--tx-radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.tx-btn:active { transform: translateY(1px); }
.tx-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.tx-btn--sm { font-size: 12px; padding: 8px 14px; }
.tx-btn--md { font-size: 14px; padding: 12px 22px; }
.tx-btn--lg { font-size: 16px; padding: 16px 30px; }
.tx-btn--full { width: 100%; }
.tx-btn--primary {
  background: var(--tx-gradient);
  color: #fff;
  box-shadow: var(--tx-glow);
}
.tx-btn--primary:hover:not(:disabled) { box-shadow: var(--tx-glow-strong); }
.tx-btn--secondary {
  background: rgba(123, 140, 255, 0.06);
  border-color: var(--tx-border-strong);
  color: var(--tx-text);
}
.tx-btn--secondary:hover:not(:disabled) { border-color: var(--tx-blue-bright); color: var(--tx-blue-bright); }
.tx-btn--ghost { background: transparent; color: var(--tx-text-muted); }
.tx-btn--ghost:hover:not(:disabled) { color: var(--tx-text); }
.tx-btn__icon { display: inline-flex; }

/* ---------- Logo ---------- */
.tx-logo { display: inline-flex; flex-direction: column; align-items: flex-start; user-select: none; line-height: 0.9; }
.tx-logo__word {
  font-family: var(--tx-font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.tx-logo__thunder { color: var(--tx-text); }
.tx-logo__x {
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.04em;
}
.tx-logo__bolt { color: var(--tx-violet); margin: 0 -0.06em; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.7)); }
.tx-logo__tagline {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
  margin-top: 2px;
  align-self: stretch;
  text-align: right;
}
.tx-logo--sm .tx-logo__word { font-size: 22px; }
.tx-logo--sm .tx-logo__tagline { font-size: 7px; }
.tx-logo--md .tx-logo__word { font-size: 34px; }
.tx-logo--md .tx-logo__tagline { font-size: 9px; }
.tx-logo--lg .tx-logo__word { font-size: 54px; }
.tx-logo--lg .tx-logo__tagline { font-size: 13px; }

/* ---------- NavBar ---------- */
.tx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tx-space-6);
  padding: var(--tx-space-4) var(--tx-space-6);
  background: rgba(5, 6, 11, 0.72);
  border-bottom: 1px solid var(--tx-border);
  backdrop-filter: blur(10px);
}
.tx-nav__brand { display: inline-flex; align-items: center; }
.tx-nav__links { display: flex; align-items: center; gap: var(--tx-space-6); list-style: none; margin: 0; padding: 0; }
.tx-nav__link {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.tx-nav__link:hover { color: var(--tx-text); }
.tx-nav__link--active { color: var(--tx-blue-bright); }
.tx-nav__actions { display: inline-flex; align-items: center; gap: var(--tx-space-4); }

/* ---------- CountdownTimer ---------- */
.tx-countdown { display: inline-flex; flex-direction: column; align-items: center; gap: var(--tx-space-3); }
.tx-countdown__grid { display: inline-flex; align-items: flex-start; gap: var(--tx-space-3); }
.tx-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: var(--tx-space-2); }
.tx-countdown__value {
  font-family: var(--tx-font-digital);
  font-weight: 700;
  color: var(--tx-blue-bright);
  text-shadow: 0 0 18px rgba(91, 127, 255, 0.55);
  background: rgba(10, 14, 30, 0.6);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-md);
  padding: 0.12em 0.18em;
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: center;
}
.tx-countdown__label {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
}
.tx-countdown__sep {
  font-family: var(--tx-font-digital);
  color: var(--tx-blue-dim);
  align-self: flex-start;
}
.tx-countdown--sm .tx-countdown__value { font-size: 34px; }
.tx-countdown--sm .tx-countdown__label { font-size: 9px; }
.tx-countdown--sm .tx-countdown__sep { font-size: 34px; }
.tx-countdown--md .tx-countdown__value { font-size: 56px; }
.tx-countdown--md .tx-countdown__label { font-size: 11px; }
.tx-countdown--md .tx-countdown__sep { font-size: 56px; }
.tx-countdown--lg .tx-countdown__value { font-size: 88px; }
.tx-countdown--lg .tx-countdown__label { font-size: 13px; }
.tx-countdown--lg .tx-countdown__sep { font-size: 88px; }

/* ---------- EmailCapture ---------- */
.tx-capture { display: flex; flex-direction: column; gap: var(--tx-space-3); width: 100%; max-width: 520px; }
.tx-capture__label {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--tx-text);
  display: inline-flex;
  align-items: center;
  gap: var(--tx-space-2);
}
.tx-capture__row {
  display: flex;
  align-items: stretch;
  gap: var(--tx-space-2);
  background: var(--tx-surface);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-md);
  padding: 6px;
}
.tx-capture__field { display: flex; align-items: center; gap: var(--tx-space-2); flex: 1; padding-left: var(--tx-space-3); }
.tx-capture__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tx-text);
  font-family: var(--tx-font-body);
  font-size: 15px;
}
.tx-capture__input::placeholder { color: var(--tx-text-faint); }
.tx-capture__note {
  font-family: var(--tx-font-body);
  font-size: 12px;
  color: var(--tx-text-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- SectionHeading ---------- */
.tx-heading { display: flex; flex-direction: column; gap: var(--tx-space-2); text-align: center; align-items: center; }
.tx-heading--left { text-align: left; align-items: flex-start; }
.tx-heading__eyebrow {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tx-heading__title {
  font-family: var(--tx-font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.02;
  color: var(--tx-text);
  margin: 0;
}
.tx-heading__subtitle {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tx-blue-bright);
  font-size: 14px;
  margin: 0;
}

/* ---------- Badge ---------- */
.tx-badge {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--tx-radius-pill);
  line-height: 1;
}
.tx-badge--blue { background: var(--tx-gradient-soft); color: var(--tx-blue-bright); border: 1px solid var(--tx-border-strong); }
.tx-badge--solid { background: var(--tx-gradient); color: #fff; box-shadow: var(--tx-glow); }
.tx-badge--muted { background: rgba(154, 163, 189, 0.1); color: var(--tx-text-muted); }
.tx-badge--live { background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.35); }
.tx-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- ProductCard ---------- */
.tx-card {
  display: flex;
  flex-direction: column;
  gap: var(--tx-space-3);
  background: linear-gradient(180deg, var(--tx-surface) 0%, var(--tx-bg-elevated) 100%);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-lg);
  padding: var(--tx-space-4);
  width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.tx-card--blue { border-color: rgba(91, 127, 255, 0.35); }
.tx-card--green { border-color: rgba(52, 211, 153, 0.3); }
.tx-card--red { border-color: rgba(248, 113, 113, 0.3); }
.tx-card__media {
  position: relative;
  border-radius: var(--tx-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 120% at 30% 20%, rgba(61, 90, 254, 0.28), transparent 60%), var(--tx-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tx-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tx-card__badge { position: absolute; top: var(--tx-space-3); left: var(--tx-space-3); }
.tx-card__title { font-family: var(--tx-font-display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 18px; color: var(--tx-text); margin: 0; }
.tx-card__meta { font-family: var(--tx-font-ui); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; color: var(--tx-text-muted); }
.tx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--tx-space-3); margin-top: var(--tx-space-2); }

/* ---------- SocialLinks ---------- */
.tx-social { display: inline-flex; align-items: center; gap: var(--tx-space-3); }
.tx-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--tx-radius-md);
  color: var(--tx-text-muted);
  border: 1px solid var(--tx-border);
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.tx-social__link:hover { color: var(--tx-blue-bright); border-color: var(--tx-border-strong); box-shadow: var(--tx-glow); }

