/* TBSZ Info Page — DeFi Hungary
 * Dual-theme: követi a globális data-theme attribútumot (light + dark).
 * Az összes szín a .tbsz-page scope --tbsz-* tokenjeiből jön — light variant
 * a [data-theme="light"] .tbsz-page blokkban definiálva. */

.tbsz-page {
    color: var(--tbsz-text);
    background: var(--tbsz-bg);
    min-height: 100vh;
}

.tbsz-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--tbsz-border);
}

/* Progress bar */
.tbsz-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #10b981);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Mobile */
@media (max-width: 768px) {
    .tbsz-section { padding: 48px 0; }
}

/* ============================================================
 * FÁZIS 2 — Hero, What-is-it, Why-IBKR, Timeline, Disclaimer
 * ============================================================ */

/* Color tokens — scope-olt a .tbsz-page-re, hogy a globális --bg-main/--text-primary
 * theme-flipping ne szivárogjon be. Az accent/success/warning/danger színek mindkét
 * theme-en ugyanazok (alpha-blended kompozit komponensekkel). */
.tbsz-page {
    /* Dark default (megegyezik a globális dark theme-mel) */
    --tbsz-accent: #2563eb;
    --tbsz-success: #10b981;
    --tbsz-warning: #f59e0b;
    --tbsz-danger: #ef4444;
    --tbsz-text: #e5e7eb;
    --tbsz-text-muted: #9ca3af;
    --tbsz-text-dim: #6b7280;
    --tbsz-bg: #0a0a0a;
    --tbsz-surface: #111111;
    --tbsz-surface-2: #1a1a1a;
    --tbsz-border: rgba(255,255,255,0.08);
    --tbsz-border-strong: rgba(255,255,255,0.14);
    --tbsz-tint: rgba(255,255,255,0.04);
}

[data-theme="light"] .tbsz-page {
    --tbsz-text: #111827;       /* gray-900 — heading + strong body */
    --tbsz-text-muted: #374151; /* gray-700 — body / lead */
    --tbsz-text-dim: #4b5563;   /* gray-600 — meta / breadcrumb */
    --tbsz-bg: #f7f8fb;         /* page bg — match a globális --bg-main light értékéhez */
    --tbsz-surface: #ffffff;    /* card pure white */
    --tbsz-surface-2: #f3f4f6;  /* gray-100 — recessed/info-box surface */
    --tbsz-border: rgba(0,0,0,0.10);
    --tbsz-border-strong: rgba(0,0,0,0.18);
    --tbsz-tint: rgba(0,0,0,0.05);
}

.tbsz-accent {
    color: var(--tbsz-accent);
}

/* ===== HERO ===== */
.tbsz-hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(ellipse at top, rgba(37,99,235,0.10), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(16,185,129,0.06), transparent 60%);
    border-bottom: 1px solid var(--tbsz-border);
}

.tbsz-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.tbsz-hero-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,0.10);
    border: 1px solid rgba(37,99,235,0.25);
    color: var(--tbsz-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tbsz-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--tbsz-text);
}

.tbsz-hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
}

.tbsz-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.tbsz-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.tbsz-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.tbsz-btn-primary {
    background: var(--tbsz-accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}

.tbsz-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.tbsz-btn-ghost {
    background: transparent;
    color: var(--tbsz-text);
    border-color: var(--tbsz-border-strong);
}

.tbsz-btn-ghost:hover {
    background: var(--tbsz-surface);
    color: var(--tbsz-text);
}

.tbsz-hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tbsz-trust-item {
    text-align: center;
}

.tbsz-trust-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.tbsz-trust-label {
    font-size: 12px;
    color: var(--tbsz-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tbsz-trust-divider {
    width: 1px;
    height: 32px;
    background: var(--tbsz-border-strong);
}

/* ===== SECTION HEAD ===== */
.tbsz-section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.tbsz-section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tbsz-accent);
    margin-bottom: 12px;
}

.tbsz-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--tbsz-text);
    margin: 0 0 16px;
}

.tbsz-section-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
    margin: 0;
}

/* ===== CARDS 3-COL ===== */
.tbsz-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.tbsz-card {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbsz-card:hover {
    transform: translateY(-2px);
    border-color: var(--tbsz-border-strong);
}

.tbsz-card-highlight {
    background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--tbsz-surface));
    border-color: rgba(16,185,129,0.35);
}

.tbsz-card-highlight:hover {
    border-color: rgba(16,185,129,0.55);
    box-shadow: 0 8px 24px rgba(16,185,129,0.15);
}

.tbsz-card-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tbsz-tag-neutral {
    background: rgba(148,163,184,0.15);
    color: var(--tbsz-text-muted);
}

.tbsz-tag-warning {
    background: rgba(245,158,11,0.15);
    color: var(--tbsz-warning);
}

.tbsz-tag-success {
    background: rgba(16,185,129,0.18);
    color: var(--tbsz-success);
}

.tbsz-card-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--tbsz-text);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.tbsz-card-label {
    font-size: 13px;
    color: var(--tbsz-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.tbsz-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--tbsz-text-muted);
}

/* ===== INFO BOX ===== */
.tbsz-info-box {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-left: 3px solid var(--tbsz-accent);
    border-radius: 10px;
    padding: 24px 28px;
    margin-top: 8px;
}

.tbsz-info-box-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tbsz-accent);
    margin-bottom: 12px;
}

.tbsz-info-box-body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--tbsz-text-muted);
}

.tbsz-info-box-body strong {
    color: var(--tbsz-text);
}

/* ===== COMPARE TABLE ===== */
.tbsz-compare-wrap {
    overflow-x: auto;
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    margin-bottom: 24px;
}

.tbsz-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tbsz-compare-table th,
.tbsz-compare-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--tbsz-border);
    color: var(--tbsz-text-muted);
}

.tbsz-compare-table th {
    background: var(--tbsz-surface-2);
    color: var(--tbsz-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.tbsz-compare-table th.tbsz-compare-highlight,
.tbsz-compare-table td:nth-child(3) {
    background: rgba(37,99,235,0.04);
}

.tbsz-compare-table th.tbsz-compare-highlight {
    color: var(--tbsz-accent);
    background: rgba(37,99,235,0.10);
}

.tbsz-compare-table td:first-child {
    color: var(--tbsz-text);
    font-weight: 500;
}

.tbsz-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.tbsz-compare-table strong {
    color: var(--tbsz-text);
}

/* ===== TRADEOFF BOX ===== */
.tbsz-tradeoff-box {
    background: linear-gradient(180deg, rgba(245,158,11,0.06), transparent);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 12px;
    padding: 20px 24px;
}

.tbsz-tradeoff-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tbsz-warning);
    margin-bottom: 10px;
}

.tbsz-tradeoff-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
}

.tbsz-tradeoff-body strong {
    color: var(--tbsz-text);
}

/* ===== TIMELINE ===== */
.tbsz-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.tbsz-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg,
        var(--tbsz-border-strong),
        rgba(16,185,129,0.4));
}

.tbsz-timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.tbsz-timeline-item:last-child {
    padding-bottom: 0;
}

.tbsz-timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--tbsz-bg);
    border: 3px solid var(--tbsz-accent);
}

.tbsz-timeline-dot-warning {
    border-color: var(--tbsz-warning);
}

.tbsz-timeline-dot-success {
    border-color: var(--tbsz-success);
    background: var(--tbsz-success);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}

.tbsz-timeline-content {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 12px;
    padding: 18px 22px;
}

.tbsz-timeline-date {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tbsz-text-dim);
    margin-bottom: 6px;
}

.tbsz-timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 8px;
}

.tbsz-timeline-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
}

/* ===== DISCLAIMER ===== */
.tbsz-disclaimer-section {
    background: var(--tbsz-surface);
}

.tbsz-disclaimer-box {
    max-width: 860px;
    margin: 0 auto;
    background: var(--tbsz-bg);
    border: 1px solid var(--tbsz-border);
    border-radius: 12px;
    padding: 32px 36px;
}

.tbsz-disclaimer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tbsz-text);
    margin-bottom: 20px;
}

.tbsz-disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tbsz-disclaimer-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--tbsz-text-dim);
}

.tbsz-disclaimer-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 24px;
    line-height: 1;
    color: var(--tbsz-text-dim);
}

.tbsz-disclaimer-list li:last-child {
    margin-bottom: 0;
}

.tbsz-disclaimer-list strong {
    color: var(--tbsz-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .tbsz-hero-title { font-size: 2.4rem; }
    .tbsz-section-title { font-size: 1.8rem; }
    .tbsz-cards-3 { grid-template-columns: 1fr; }
    .tbsz-card-value { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .tbsz-hero { padding: 60px 0 50px; }
    .tbsz-hero-title { font-size: 1.9rem; }
    .tbsz-hero-sub { font-size: 1rem; }
    .tbsz-hero-trust { gap: 16px; }
    .tbsz-trust-divider { display: none; }
    .tbsz-section-title { font-size: 1.6rem; }
    .tbsz-section-lead { font-size: 0.95rem; }
    .tbsz-disclaimer-box { padding: 24px; }
    .tbsz-compare-table th,
    .tbsz-compare-table td { padding: 12px 14px; font-size: 13px; }
}

/* ============================================================
 * FÁZIS 3 — Stepper + NAV bejelentés
 * ============================================================ */

.tbsz-section-alt {
    background: var(--tbsz-surface);
}

/* ===== STEPPER ===== */
.tbsz-stepper-wrap {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    padding-left: 64px;
}

.tbsz-stepper-wrap::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg,
        var(--tbsz-border-strong) 0%,
        var(--tbsz-accent) 50%,
        var(--tbsz-success) 100%);
}

.tbsz-step {
    position: relative;
    margin-bottom: 28px;
    transition: opacity 0.3s ease;
    opacity: 0.55;
}

.tbsz-step:last-child {
    margin-bottom: 0;
}

.tbsz-step-active,
.tbsz-step:hover {
    opacity: 1;
}

.tbsz-step-num {
    position: absolute;
    left: -64px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tbsz-surface);
    border: 2px solid var(--tbsz-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--tbsz-text-muted);
    transition: all 0.25s ease;
}

.tbsz-step-active .tbsz-step-num {
    background: var(--tbsz-accent);
    border-color: var(--tbsz-accent);
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(37,99,235,0.15);
}

.tbsz-step-num-success {
    background: var(--tbsz-success) !important;
    border-color: var(--tbsz-success) !important;
    color: #ffffff !important;
    font-size: 22px !important;
}

.tbsz-step-final {
    opacity: 1;
}

.tbsz-step-content {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 12px;
    padding: 22px 26px;
    transition: border-color 0.25s ease;
}

.tbsz-step-active .tbsz-step-content {
    border-color: var(--tbsz-border-strong);
}

.tbsz-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tbsz-step-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--tbsz-text-muted);
    margin-bottom: 14px;
}

.tbsz-step-body:last-child {
    margin-bottom: 0;
}

.tbsz-step-body strong {
    color: var(--tbsz-text);
}

.tbsz-step-body a {
    color: var(--tbsz-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,0.35);
}

.tbsz-step-body a:hover {
    border-bottom-color: var(--tbsz-accent);
}

/* Pro tip callout (also used by NAV stages) */
.tbsz-pro-tip {
    background: rgba(37,99,235,0.06);
    border-left: 3px solid var(--tbsz-accent);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--tbsz-text-muted);
    margin-top: 4px;
}

.tbsz-pro-tip-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--tbsz-accent);
    margin-right: 8px;
}

.tbsz-screenshot-placeholder {
    margin-top: 14px;
    background: var(--tbsz-bg);
    border: 1px dashed var(--tbsz-border-strong);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--tbsz-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tbsz-btn-sm {
    padding: 10px 18px;
    font-size: 14px;
    margin-top: 6px;
}

/* ===== NAV BEJELENTÉS ===== */
.tbsz-warn-callout {
    max-width: 820px;
    margin: 0 auto 36px;
    background: linear-gradient(180deg, rgba(245,158,11,0.08), transparent);
    border: 1px solid rgba(245,158,11,0.30);
    border-radius: 12px;
    padding: 18px 22px;
}

.tbsz-warn-callout-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tbsz-warning);
    margin-bottom: 8px;
}

.tbsz-warn-callout-body {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
}

.tbsz-warn-callout-body strong {
    color: var(--tbsz-text);
}

.tbsz-warn-callout-danger {
    background: linear-gradient(180deg, rgba(239,68,68,0.08), transparent);
    border-color: rgba(239,68,68,0.30);
}

.tbsz-warn-callout-danger .tbsz-warn-callout-title {
    color: var(--tbsz-danger);
}

.tbsz-nav-stages {
    max-width: 820px;
    margin: 0 auto 36px;
    display: grid;
    gap: 18px;
}

.tbsz-nav-stage {
    position: relative;
    background: var(--tbsz-bg);
    border: 1px solid var(--tbsz-border);
    border-radius: 12px;
    padding: 22px 26px 22px 76px;
}

.tbsz-nav-stage-num {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(37,99,235,0.10);
    color: var(--tbsz-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.tbsz-nav-stage-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.tbsz-nav-stage-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--tbsz-text-muted);
}

.tbsz-nav-stage-body strong {
    color: var(--tbsz-text);
}

.tbsz-nav-stage-body a {
    color: var(--tbsz-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,0.35);
}

.tbsz-nav-stage-body a:hover {
    border-bottom-color: var(--tbsz-accent);
}

.tbsz-nav-stage .tbsz-pro-tip {
    margin-top: 14px;
}

/* e-papír params table */
.tbsz-epapir-params {
    margin-top: 16px;
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 8px;
    overflow: hidden;
}

.tbsz-epapir-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--tbsz-border);
}

.tbsz-epapir-row:last-child {
    border-bottom: none;
}

.tbsz-epapir-key {
    padding: 10px 16px;
    background: var(--tbsz-surface-2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tbsz-text-dim);
    border-right: 1px solid var(--tbsz-border);
}

.tbsz-epapir-val {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--tbsz-text);
}

/* Template block (copy-paste) */
.tbsz-template-block {
    max-width: 820px;
    margin: 0 auto 36px;
    background: var(--tbsz-bg);
    border: 1px solid var(--tbsz-border);
    border-radius: 12px;
    overflow: hidden;
}

.tbsz-template-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--tbsz-surface-2);
    border-bottom: 1px solid var(--tbsz-border);
}

.tbsz-template-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--tbsz-text);
    line-height: 1.4;
}

.tbsz-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--tbsz-accent);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.tbsz-copy-btn:hover {
    background: #1d4ed8;
}

.tbsz-copy-btn:active {
    transform: scale(0.97);
}

.tbsz-copy-btn-icon {
    font-size: 14px;
    line-height: 1;
}

.tbsz-template-body {
    margin: 0;
    padding: 18px 22px;
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.65;
    color: var(--tbsz-text);
    background: transparent;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

/* Toast */
.tbsz-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--tbsz-success);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.tbsz-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE (Fázis 3) ===== */
@media (max-width: 768px) {
    .tbsz-stepper-wrap { padding-left: 48px; }
    .tbsz-stepper-wrap::before { left: 17px; }
    .tbsz-step-num { left: -48px; width: 36px; height: 36px; font-size: 13px; }
    .tbsz-step-content { padding: 18px 18px; }
    .tbsz-step-title { font-size: 1.05rem; }

    .tbsz-nav-stage { padding: 18px 18px 18px 62px; }
    .tbsz-nav-stage-num { left: 16px; top: 18px; width: 32px; height: 32px; font-size: 14px; }

    .tbsz-epapir-row { grid-template-columns: 120px 1fr; }
    .tbsz-epapir-key { padding: 8px 12px; font-size: 11px; }
    .tbsz-epapir-val { padding: 8px 12px; font-size: 13px; }

    .tbsz-template-header { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
    .tbsz-template-body { padding: 14px 16px; font-size: 12px; }
}

/* ============================================================
 * FÁZIS 4 — Adókalkulátor
 * ============================================================ */

.tbsz-calc {
    max-width: 920px;
    margin: 0 auto;
}

/* ===== Inputs panel ===== */
.tbsz-calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 24px;
}

.tbsz-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tbsz-input-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.tbsz-input-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tbsz-text-dim);
    margin: 0;
}

.tbsz-input-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--tbsz-text);
    font-variant-numeric: tabular-nums;
}

/* Slider */
.tbsz-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--tbsz-surface-2);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    margin: 0;
}

.tbsz-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: var(--tbsz-surface-2);
}

.tbsz-slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: var(--tbsz-surface-2);
    border: none;
}

.tbsz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tbsz-accent);
    border: 3px solid var(--tbsz-bg);
    box-shadow: 0 0 0 1px var(--tbsz-accent);
    cursor: pointer;
    margin-top: -7px;
    transition: transform 0.1s ease;
}

.tbsz-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.tbsz-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tbsz-accent);
    border: 3px solid var(--tbsz-bg);
    box-shadow: 0 0 0 1px var(--tbsz-accent);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.tbsz-slider:focus {
    outline: none;
}

.tbsz-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px var(--tbsz-accent), 0 0 0 4px rgba(37,99,235,0.20);
}

.tbsz-slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--tbsz-text-dim);
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

/* Toggle (3 év / 5 év) */
.tbsz-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--tbsz-surface-2);
    border-radius: 10px;
    padding: 4px;
}

.tbsz-toggle-btn {
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: background 0.15s ease, color 0.15s ease;
    color: var(--tbsz-text-muted);
}

.tbsz-toggle-btn:hover:not(.tbsz-toggle-active) {
    background: var(--tbsz-tint);
    color: var(--tbsz-text);
}


.tbsz-toggle-active {
    background: var(--tbsz-bg);
    color: var(--tbsz-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.tbsz-toggle-main {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
}

.tbsz-toggle-sub {
    font-size: 11px;
    color: var(--tbsz-text-dim);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.tbsz-toggle-active .tbsz-toggle-sub {
    color: var(--tbsz-accent);
}

/* ===== Results panel ===== */
.tbsz-calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.tbsz-result-card {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    padding: 24px 26px;
    transition: border-color 0.2s ease;
}

.tbsz-result-tbsz {
    background: linear-gradient(180deg, rgba(16,185,129,0.06), var(--tbsz-surface));
    border-color: rgba(16,185,129,0.30);
}

.tbsz-result-head {
    margin-bottom: 18px;
}

.tbsz-result-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tbsz-result-net-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tbsz-text-dim);
    margin-bottom: 6px;
}

.tbsz-result-net {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--tbsz-text);
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.tbsz-result-tbsz .tbsz-result-net {
    color: var(--tbsz-success);
}

.tbsz-result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--tbsz-border);
}

.tbsz-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

.tbsz-result-row-key {
    color: var(--tbsz-text-dim);
}

.tbsz-result-row-val {
    color: var(--tbsz-text-muted);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.tbsz-result-row-tax .tbsz-result-row-key,
.tbsz-result-row-tax .tbsz-result-row-val {
    color: var(--tbsz-text);
    font-weight: 600;
}

.tbsz-result-normal .tbsz-result-row-tax .tbsz-result-row-val {
    color: var(--tbsz-danger);
}

.tbsz-result-tbsz .tbsz-result-row-tax .tbsz-result-row-val {
    color: var(--tbsz-success);
}

/* ===== Savings punchline ===== */
.tbsz-calc-savings {
    background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(16,185,129,0.10));
    border: 1px solid rgba(16,185,129,0.30);
    border-radius: 14px;
    padding: 22px 28px;
    text-align: center;
    margin-bottom: 20px;
}

.tbsz-calc-savings-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tbsz-text-muted);
    margin-bottom: 6px;
}

.tbsz-calc-savings-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--tbsz-text);
    font-variant-numeric: tabular-nums;
}

.tbsz-calc-savings-value strong {
    color: var(--tbsz-success);
    font-weight: 800;
}

/* ===== RESPONSIVE (Fázis 4) ===== */
@media (max-width: 991px) {
    .tbsz-calc-inputs { grid-template-columns: 1fr; gap: 24px; }
    .tbsz-calc-results { grid-template-columns: 1fr; gap: 12px; }
    .tbsz-result-net { font-size: 2rem; }
}

@media (max-width: 768px) {
    .tbsz-calc-inputs { padding: 18px 18px; }
    .tbsz-result-card { padding: 20px 18px; }
    .tbsz-result-net { font-size: 1.7rem; }
    .tbsz-calc-savings { padding: 18px 20px; }
    .tbsz-calc-savings-value { font-size: 1.2rem; }
}

/* ============================================================
 * FÁZIS 5 — What-to-buy + FAQ + CTA
 * ============================================================ */

/* ===== WHAT TO BUY ===== */
.tbsz-buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.tbsz-buy-card {
    background: var(--tbsz-bg);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    padding: 26px 24px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
}

.tbsz-buy-card:hover {
    transform: translateY(-2px);
    border-color: var(--tbsz-border-strong);
}

.tbsz-buy-card-highlight {
    background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--tbsz-bg));
    border-color: rgba(16,185,129,0.35);
}

.tbsz-buy-card-highlight:hover {
    border-color: rgba(16,185,129,0.55);
    box-shadow: 0 8px 24px rgba(16,185,129,0.15);
}

.tbsz-buy-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.tbsz-buy-card-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tbsz-buy-card-icon {
    font-size: 22px;
    color: var(--tbsz-text-dim);
    opacity: 0.7;
    line-height: 1;
}

.tbsz-buy-card-highlight .tbsz-buy-card-icon {
    color: var(--tbsz-success);
    opacity: 1;
}

.tbsz-buy-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tbsz-buy-card-body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--tbsz-text-muted);
    margin-bottom: 16px;
}

.tbsz-buy-card-body strong {
    color: var(--tbsz-text);
}

.tbsz-buy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--tbsz-border);
    padding-top: 14px;
}

.tbsz-buy-list li {
    font-size: 13.5px;
    line-height: 1.5;
    padding: 5px 0;
    color: var(--tbsz-text-muted);
}

.tbsz-buy-list li strong {
    color: var(--tbsz-text);
    font-weight: 600;
}

/* Don't box */
.tbsz-dont-box {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(239,68,68,0.06), transparent);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 14px;
    padding: 24px 28px;
}

.tbsz-dont-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tbsz-danger);
    margin-bottom: 14px;
}

.tbsz-dont-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tbsz-dont-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
}

.tbsz-dont-list li::before {
    content: '×';
    position: absolute;
    left: 4px;
    top: -1px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--tbsz-danger);
    font-weight: 700;
}

.tbsz-dont-list li:last-child {
    margin-bottom: 0;
}

.tbsz-dont-list strong {
    color: var(--tbsz-text);
}

/* ===== FAQ ===== */
.tbsz-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tbsz-faq-item {
    background: var(--tbsz-surface);
    border: 1px solid var(--tbsz-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.tbsz-faq-item-open {
    border-color: var(--tbsz-border-strong);
}

.tbsz-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    color: var(--tbsz-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    transition: color 0.15s ease;
}

.tbsz-faq-q:hover {
    color: var(--tbsz-accent);
}

.tbsz-faq-icon {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 400;
    color: var(--tbsz-text-dim);
    transition: transform 0.25s ease, color 0.15s ease;
    line-height: 1;
}

.tbsz-faq-item-open .tbsz-faq-icon {
    transform: rotate(45deg);
    color: var(--tbsz-accent);
}

.tbsz-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tbsz-faq-item-open .tbsz-faq-a {
    max-height: 600px;
}

.tbsz-faq-a p {
    margin: 0;
    padding: 0 22px 18px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--tbsz-text-muted);
}

.tbsz-faq-a p strong {
    color: var(--tbsz-text);
}

/* ===== CTA ===== */
.tbsz-cta-wrap {
    max-width: 1080px;
    margin: 0 auto;
}

.tbsz-cta-head {
    text-align: center;
    margin-bottom: 36px;
}

.tbsz-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--tbsz-text);
    margin: 0 0 14px;
}

.tbsz-cta-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
    max-width: 620px;
    margin: 0 auto;
}

.tbsz-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tbsz-cta-card {
    display: flex;
    flex-direction: column;
    background: var(--tbsz-bg);
    border: 1px solid var(--tbsz-border);
    border-radius: 14px;
    padding: 28px 26px;
    text-decoration: none;
    color: var(--tbsz-text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbsz-cta-card:hover {
    text-decoration: none;
    color: var(--tbsz-text);
    transform: translateY(-3px);
    border-color: var(--tbsz-border-strong);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tbsz-cta-card-primary {
    background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(37,99,235,0.04));
    border-color: rgba(37,99,235,0.35);
}

.tbsz-cta-card-primary:hover {
    border-color: rgba(37,99,235,0.60);
    box-shadow: 0 12px 36px rgba(37,99,235,0.20);
}

.tbsz-cta-card-num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--tbsz-text-dim);
    margin-bottom: 14px;
}

.tbsz-cta-card-primary .tbsz-cta-card-num {
    color: var(--tbsz-accent);
}

.tbsz-cta-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tbsz-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tbsz-cta-card-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tbsz-text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.tbsz-cta-card-action {
    font-size: 14px;
    font-weight: 600;
    color: var(--tbsz-accent);
    margin-top: auto;
}

/* ===== RESPONSIVE (Fázis 5) ===== */
@media (max-width: 991px) {
    .tbsz-buy-grid { grid-template-columns: 1fr; }
    .tbsz-cta-grid { grid-template-columns: 1fr; }
    .tbsz-cta-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .tbsz-buy-card { padding: 22px 20px; }
    .tbsz-dont-box { padding: 20px 22px; }
    .tbsz-cta-card { padding: 24px 22px; }
    .tbsz-faq-q { padding: 14px 18px; font-size: 14px; }
    .tbsz-faq-a p { padding: 0 18px 16px; font-size: 13.5px; }
    .tbsz-cta-title { font-size: 1.5rem; }
}

/* ===== BREADCRUMB (TBSZ-page-local) ===== */
.tbsz-breadcrumb-wrap {
    padding: 20px 0 0;
    background: transparent;
}

.tbsz-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--tbsz-text-dim);
}

.tbsz-breadcrumb a {
    color: var(--tbsz-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.tbsz-breadcrumb a:hover {
    color: var(--tbsz-accent);
    text-decoration: none;
}

.tbsz-breadcrumb-sep {
    opacity: 0.4;
}

.tbsz-breadcrumb-current {
    color: var(--tbsz-text);
    font-weight: 600;
}
