/*
 * Shared premium calculator styles for the localized generic country calculators
 * (/de/krypto-steuer-rechner, /at/krypto-steuer-rechner, /fr/calculateur-impot-crypto,
 * /es/calculadora-impuestos-cripto, /br/calculadora-impostos-cripto,
 * /pl/kalkulator-podatku-od-kryptowalut) and the country hubs that embed them.
 * Mirrors the page-scoped <style> block of the English crypto-tax-calculator-{country} pages.
 */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 54px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(820px, 100%);
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.24) 0%, rgba(99, 102, 241, 0.12) 30%, rgba(99, 102, 241, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.hero-brand {
  margin-bottom: 14px;
}

.hero h1 {
  margin-bottom: 0;
}

.hero-sub {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(241, 245, 249, 0.82);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 28px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 15, 26, 0.78);
  border: 1px solid rgba(129, 140, 248, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
}

.hero-trust-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
  flex-shrink: 0;
}

.calc-wrap {
  max-width: 920px;
  margin-bottom: 0;
}

.uc-calculator {
  max-width: 100%;
  padding: 0;
}

.uc-flow-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.uc-config-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
  gap: 16px;
}

.uc-config-card,
.uc-premium-input-card {
  position: relative;
  overflow: hidden;
}

.uc-config-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 18, 32, 0.96) 0%, rgba(22, 24, 40, 0.9) 100%);
  border: 1px solid rgba(129, 140, 248, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
}

.uc-config-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.42), rgba(129, 140, 248, 0));
}

.uc-config-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.uc-step-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.24);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.uc-config-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.uc-config-copy {
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.72);
  line-height: 1.6;
}

.uc-config-card .uc-countries,
.uc-config-card .uc-year-buttons {
  justify-content: flex-start;
}

.uc-config-card .uc-countries {
  margin-bottom: 0;
  gap: 8px;
}

.uc-config-card .uc-year-label {
  text-align: left;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.uc-country-btn,
.uc-year-btn,
.uc-exchange-btn {
  border-radius: 12px;
  border-color: rgba(129, 140, 248, 0.14);
  box-shadow: none;
}

.uc-country-btn:hover,
.uc-year-btn:hover,
.uc-exchange-btn:hover {
  border-color: rgba(129, 140, 248, 0.34);
  color: var(--text-primary);
}

.uc-country-btn.active,
.uc-year-btn.active,
.uc-exchange-btn.active {
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.uc-premium-input-card {
  max-width: none;
  margin: 0;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: linear-gradient(180deg, rgba(16, 18, 34, 0.98) 0%, rgba(12, 14, 28, 0.96) 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.uc-premium-input-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0) 28%, rgba(34, 197, 94, 0.08) 100%);
  opacity: 0.9;
}

.uc-premium-input-card > * {
  position: relative;
  z-index: 1;
}

.uc-card-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: end;
  gap: 20px 28px;
  margin-bottom: 24px;
  text-align: left;
}

.uc-flow-title {
  margin: 10px 0 6px;
  max-width: 15ch;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.uc-flow-support {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  max-width: 420px;
}

.uc-flow-copy {
  max-width: 420px;
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.65;
}

.uc-flow-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uc-flow-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.uc-flow-bullets span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.88);
  flex-shrink: 0;
}

.uc-step-panel {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(20, 22, 38, 0.72);
  text-align: left;
}

.uc-step-panel-primary {
  border-color: rgba(129, 140, 248, 0.18);
  background: rgba(22, 24, 42, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.uc-step-panel-secondary {
  background: rgba(20, 22, 38, 0.64);
}

.uc-step-panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.uc-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.uc-panel-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.uc-panel-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.uc-primary-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uc-primary-badge-required {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.2);
  color: var(--accent-light);
}

.uc-step-helper {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.uc-exchange-selector {
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}

.uc-csv-upload-area {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background:
    radial-gradient(circle at top, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.uc-csv-upload-area::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(129, 140, 248, 0.24);
  border-radius: 14px;
  pointer-events: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.uc-csv-upload-area:hover::before,
.uc-csv-upload-area.uc-dragging::before {
  border-color: rgba(129, 140, 248, 0.5);
  transform: scale(0.995);
}

.uc-csv-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  text-align: center;
}

.uc-drop-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.uc-csv-icon {
  font-size: 24px;
  display: block;
  margin: 0;
}

.uc-drop-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.uc-drop-copy {
  max-width: 420px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.uc-help-section {
  margin-top: 12px;
}

.uc-help-toggle {
  font-size: 0.84rem;
  font-weight: 600;
}

.uc-help-content {
  padding-left: 0;
  color: var(--text-secondary);
}

.uc-help-title {
  margin-bottom: 8px;
}

/* Multi-exchange section */
.uc-multi-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(129, 140, 248, 0.1); }
.uc-additional-slot { margin-top: 14px; padding: 18px; border-radius: 16px; border: 1px solid rgba(129, 140, 248, 0.16); background: rgba(22, 24, 40, 0.55); }
.uc-additional-slot-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.uc-additional-exchange-select { flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(129, 140, 248, 0.22); background: rgba(16, 18, 34, 0.85); color: var(--text-primary); font-size: 0.9rem; font-family: inherit; cursor: pointer; }
.uc-additional-slot-remove { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(129, 140, 248, 0.18); background: transparent; color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; line-height: 1; }
.uc-additional-slot-remove:hover { border-color: rgba(239, 68, 68, 0.4); color: #ef4444; }
.uc-additional-upload-area { padding: 18px; cursor: pointer; }
.uc-additional-upload-area .uc-csv-placeholder { flex-direction: row; gap: 12px; text-align: left; }
.uc-additional-upload-area .uc-csv-icon { font-size: 18px; flex-shrink: 0; }
.uc-additional-upload-area .uc-drop-title { font-size: 0.9rem; }
.uc-additional-loaded { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(34, 197, 94, 0.07); border: 1px solid rgba(34, 197, 94, 0.18); font-size: 0.88rem; color: var(--text-primary); }
.uc-add-exchange-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.uc-add-exchange-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px dashed rgba(129, 140, 248, 0.35); background: rgba(99, 102, 241, 0.06); color: var(--accent-light); font-size: 0.88rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.uc-add-exchange-btn:hover:not(:disabled) { border-color: rgba(129, 140, 248, 0.6); background: rgba(99, 102, 241, 0.12); }
.uc-add-exchange-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.uc-add-exchange-note { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
[data-theme="light"] .uc-additional-slot { background: rgba(240, 242, 255, 0.7); border-color: rgba(79, 70, 229, 0.12); }
[data-theme="light"] .uc-additional-exchange-select { background: rgba(255, 255, 255, 0.95); border-color: rgba(79, 70, 229, 0.18); color: #111827; }
[data-theme="light"] .uc-additional-loaded { background: rgba(34, 197, 94, 0.06); }
@media (max-width: 640px) { .uc-add-exchange-row { flex-direction: column; align-items: flex-start; gap: 8px; } }

.uc-flow-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.9;
  text-align: center;
}

.uc-flow-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(129, 140, 248, 0.1);
  line-height: 1.4;
}

.uc-flow-divider::before,
.uc-flow-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.16), transparent);
}

.uc-wallet-section {
  margin-top: 0;
}

.uc-wallet-box {
  padding: 0;
  border: none;
  background: transparent;
}

.uc-wallet-header {
  display: none;
}

.uc-wallet-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.uc-wallet-connect {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 14px;
}

.uc-wallet-connect-grid .uc-wallet-connect {
  margin-bottom: 0;
}

.uc-btn-wallet-connect {
  min-height: 54px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.24);
  gap: 10px;
}

.uc-wallet-connect-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.uc-wallet-connect-note {
  text-align: center;
  color: var(--text-secondary);
}

.uc-wallet-connect-grid .uc-wallet-connect-note {
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.45;
}

.uc-wallet-connect-divider {
  margin: 8px 0 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.uc-manual-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.uc-wallet-input {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
}

.uc-wallet-badges,
.uc-inline-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uc-wallet-badges {
  margin-top: 14px;
  gap: 8px;
}

.uc-wallet-badges span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(129, 140, 248, 0.08);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.72);
}

.uc-inline-trust span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.uc-cta-zone {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
}

.uc-btn-primary {
  min-height: 56px;
  margin-top: 0;
  border-radius: 16px;
  font-size: 1rem;
}

.uc-btn-primary:disabled {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 26px rgba(15, 23, 42, 0.22);
  color: rgba(241, 245, 249, 0.82);
  opacity: 1;
}

.uc-cta-helper {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: -2px auto 0;
}

.uc-cta-helper.uc-ready {
  color: rgba(241, 245, 249, 0.72);
}

.uc-country-info {
  margin-top: 0;
  display: grid;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--text-secondary);
}

.uc-country-info-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.uc-country-info-text {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.features-row {
  align-items: stretch;
  gap: 18px;
  margin-top: 12px;
}

.features-head {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto 6px;
  text-align: center;
}

.features-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.features-head h2 {
  margin-bottom: 10px;
}

.features-head p {
  max-width: 640px;
  margin: 0 auto;
}

.feat {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 15, 26, 0.92), rgba(21, 21, 38, 0.9));
  border-color: rgba(129, 140, 248, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.feat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.5), rgba(129, 140, 248, 0));
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.feat-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.feat h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feat p {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

[data-theme="light"] .hero-sub {
  color: rgba(17, 24, 39, 0.76);
}

[data-theme="light"] .hero-trust-pill {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(79, 70, 229, 0.16);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .uc-config-card,
[data-theme="light"] .uc-premium-input-card,
[data-theme="light"] .uc-step-panel {
  background: rgba(255, 255, 255, 0.99);
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow:
    0 18px 48px rgba(79, 70, 229, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .uc-premium-input-card::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0) 28%, rgba(34, 197, 94, 0.05) 100%);
}

[data-theme="light"] .uc-flow-copy {
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .uc-config-copy {
  color: rgba(17, 24, 39, 0.66);
}

[data-theme="light"] .uc-flow-bullets span {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .uc-csv-upload-area,
[data-theme="light"] .uc-wallet-badges span,
[data-theme="light"] .uc-inline-trust span {
  background: rgba(79, 70, 229, 0.035);
  border-color: rgba(79, 70, 229, 0.1);
}

[data-theme="light"] .uc-csv-upload-area {
  background:
    radial-gradient(circle at top, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 247, 255, 0.98));
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .uc-csv-upload-area::before {
  border-color: rgba(79, 70, 229, 0.18);
}

[data-theme="light"] .uc-flow-divider::before,
[data-theme="light"] .uc-flow-divider::after {
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.14), transparent);
}

[data-theme="light"] .uc-flow-divider span {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.68);
}

[data-theme="light"] .uc-drop-visual {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .uc-btn-primary:disabled {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(79, 70, 229, 0.06));
  border-color: rgba(79, 70, 229, 0.14);
  color: rgba(17, 24, 39, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 26px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .uc-cta-helper.uc-ready {
  color: rgba(17, 24, 39, 0.68);
}

[data-theme="light"] .uc-country-info-kicker {
  color: rgba(79, 70, 229, 0.65);
}

[data-theme="light"] .uc-wallet-badges span {
  background: rgba(79, 70, 229, 0.025);
  border-color: rgba(79, 70, 229, 0.08);
  color: rgba(17, 24, 39, 0.66);
}

[data-theme="light"] .feat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 255, 0.96));
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow:
    0 18px 36px rgba(79, 70, 229, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .feat-icon {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.1);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.08);
}

@media (max-width: 860px) {
  .uc-config-strip {
    grid-template-columns: 1fr;
  }

  .uc-card-intro {
    grid-template-columns: 1fr;
  }

  .uc-flow-support {
    justify-self: start;
  }

  .uc-wallet-connect-grid {
    grid-template-columns: 1fr;
  }

  .uc-wallet-connect-grid .uc-wallet-connect-note {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 16px 36px;
  }

  .hero-badge {
    gap: 6px;
    max-width: 320px;
    padding: 5px 12px;
    margin-bottom: 14px;
    font-size: 0.67rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .hero-brand {
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-brand-logo {
    width: 24px;
    height: 24px;
  }

  .hero-sub {
    font-size: 0.94rem;
    line-height: 1.62;
    margin-bottom: 18px;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 360px;
    margin-bottom: 18px;
  }

  .hero-trust-pill {
    min-height: 42px;
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.76rem;
    line-height: 1.25;
    text-align: left;
  }

  .hero-trust-pill::before {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
  }

  .uc-config-card,
  .uc-premium-input-card,
  .uc-step-panel {
    border-radius: 20px;
  }

  .uc-premium-input-card {
    padding: 24px 18px;
  }

  .uc-card-intro {
    gap: 14px;
    margin-bottom: 20px;
  }

  .uc-step-panel,
  .uc-config-card {
    padding: 18px;
  }

  .uc-flow-title {
    max-width: none;
  }

  .uc-flow-support {
    gap: 8px;
  }

  .uc-flow-copy {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .uc-flow-bullets {
    display: none;
  }

  .uc-config-card .uc-countries,
  .uc-config-card .uc-year-buttons,
  .uc-exchange-selector {
    gap: 8px;
  }

  .uc-country-btn,
  .uc-year-btn,
  .uc-exchange-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .uc-wallet-badges,
  .uc-inline-trust {
    gap: 8px;
  }

  .uc-wallet-connect {
    gap: 8px;
    margin-bottom: 12px;
  }

  .uc-btn-wallet-connect {
    min-height: 52px;
  }

  .uc-flow-divider {
    gap: 10px;
    margin: 14px 0;
    color: rgba(241, 245, 249, 0.7);
    opacity: 1;
  }

  .uc-flow-divider span {
    padding: 6px 10px;
    font-size: 10px;
    background: rgba(129, 140, 248, 0.08);
    border-color: rgba(129, 140, 248, 0.2);
    color: rgba(241, 245, 249, 0.8);
  }

  .uc-flow-divider::before,
  .uc-flow-divider::after {
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.24), transparent);
  }

  .uc-wallet-connect-note {
    max-width: 30ch;
    margin: 0 auto;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .uc-wallet-connect-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .uc-wallet-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .uc-wallet-badges span {
    width: 100%;
    justify-content: center;
    padding: 6px 8px;
    font-size: 11px;
    text-align: center;
  }

  .uc-wallet-badges span:last-child {
    grid-column: 1 / -1;
  }

  .uc-wallet-badges--balanced span:last-child {
    grid-column: auto;
  }

  .uc-step-panel-header {
    margin-bottom: 14px;
  }

  .uc-step-panel-upload .uc-step-panel-header {
    margin-bottom: 12px;
  }

  .uc-csv-upload-area {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .uc-csv-upload-area::before {
    inset: 8px;
    border-radius: 12px;
  }

  .uc-csv-placeholder {
    gap: 8px;
  }

  .uc-drop-visual {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .uc-csv-icon {
    font-size: 20px;
  }

  .uc-drop-title {
    font-size: 0.93rem;
  }

  .uc-drop-copy {
    max-width: 30ch;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .uc-help-section {
    margin-top: 10px;
  }

  .uc-cta-zone {
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .uc-btn-primary {
    min-height: 52px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .uc-cta-helper {
    max-width: 30ch;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .uc-inline-trust span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 7px 8px;
    font-size: 11px;
    text-align: center;
  }

  [data-theme="light"] .uc-flow-divider span {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.16);
    color: rgba(17, 24, 39, 0.72);
  }
}
