/* ==========================================================
   Eve-Tools — Centralized Stylesheet
   ========================================================== */

/* ---- CSS Variables ---- */
:root {
    --bg-base: #09090b;
    --bg-surface: #111113;
    --bg-elevated: #1a1a1e;
    --border-color: rgba(148,163,194,.08);
    --text-primary: #e2e8f0;
    --text-secondary: #8494a7;
    --text-muted: #64748b;
    --accent: #06b6d4;
    --accent-hover: #22d3ee;
    --accent-subtle: rgba(34,211,238,.1);
    --accent-gold: #f4b53f;
    --accent-gold-hover: #fbbf24;
    --color-danger: #f87171;
    --color-danger-rgb: 248, 113, 113;
    --color-success: #34d399;
    --color-success-rgb: 52, 211, 153;
    --color-warning: #fbbf24;
    --color-warning-rgb: 251, 191, 36;
}
[data-bs-theme="dark"] {
    --bs-body-bg: var(--bg-base);
    --bs-tertiary-bg: var(--bg-surface);
    --bs-danger: var(--color-danger);
    --bs-danger-rgb: var(--color-danger-rgb);
    --bs-danger-text-emphasis: var(--color-danger);
    --bs-success: var(--color-success);
    --bs-success-rgb: var(--color-success-rgb);
    --bs-success-text-emphasis: var(--color-success);
    --bs-warning: var(--color-warning);
    --bs-warning-rgb: var(--color-warning-rgb);
    --bs-warning-text-emphasis: var(--color-warning);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
}

/* ---- Sidebar ---- */
.do-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 200px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1040;
}
.sidebar-brand {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-hover);
    text-decoration: none;
    padding: .25rem 1rem .75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: .5rem;
    letter-spacing: .04em;
}
.sidebar-brand:hover { color: #fff; }
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 .5rem;
    flex: 1;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: color .15s, background .15s;
}
.sidebar-link:hover { color: var(--text-primary); background: var(--accent-subtle); }
.sidebar-link.active { color: #fff; background: var(--accent-subtle); }
.sidebar-link svg { flex-shrink: 0; opacity: .7; }
.sidebar-link.active svg { opacity: 1; }

.sidebar-section-label {
    padding: .9rem .75rem .3rem;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
}

.sidebar-bottom {
    padding: .75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sidebar-user .user-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--bg-base);
    color: transparent;
}
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sidebar-user-info .user-name {
    font-weight: 600;
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user-info .user-id {
    font-size: .65rem;
    color: var(--text-muted);
}
.sidebar-bottom .btn-logout {
    display: block;
    text-align: center;
    padding: .3rem .8rem;
    font-size: .75rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid rgba(var(--color-danger-rgb), .3);
    color: var(--color-danger);
    background: transparent;
    text-decoration: none;
    transition: all .15s;
}
.sidebar-bottom .btn-logout:hover { background: rgba(var(--color-danger-rgb), .1); border-color: rgba(var(--color-danger-rgb), .5); }

/* ---- Main content offset when sidebar is visible ---- */
@media (min-width: 768px) {
    .has-sidebar .do-navbar { margin-left: 200px; }
    .has-sidebar .do-main-content { margin-left: 200px; }
    /* Hide mobile nav collapse and hamburger on md+ */
    .has-sidebar #mainNavbar { display: none !important; }
}
.do-main-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 50px);
}

/* ---- Navbar ---- */
.do-navbar {
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-color);
    padding: .6rem 0;
}
.do-navbar .brand {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.do-navbar .nav-link {
    color: var(--text-secondary);
    font-size: .85rem;
    font-weight: 500;
    padding: .4rem .9rem;
    border-radius: 8px;
    transition: color .15s, background .15s;
}
.do-navbar .nav-link:hover { color: var(--text-primary); background: var(--accent-subtle); }
.do-navbar .nav-link.active { color: #fff; background: var(--accent-subtle); }

.do-navbar .btn-logout {
    padding: .3rem .8rem;
    font-size: .75rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid rgba(var(--color-danger-rgb), .3);
    color: var(--color-danger);
    background: transparent;
    text-decoration: none;
    transition: all .15s;
}
.do-navbar .btn-logout:hover { background: rgba(var(--color-danger-rgb), .1); border-color: rgba(var(--color-danger-rgb), .5); }

/* ---- Navbar stats bar (wallet + skills) ---- */
.navbar-stats-bar {
    display: flex;
    align-items: center;
    gap: .25rem .75rem;
    font-size: .85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: .35rem .9rem;
}

.navbar-stat-sep {
    width: 1px;
    height: 14px;
    background: var(--border-color);
}

/* ---- Compact user (< md, always visible) ---- */
.user-avatar-sm {
    width: 28px; height: 28px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--bg-surface);
    color: transparent;
}

/* ---- Welcome ---- */
.welcome-title { color: #fff; font-weight: 700; }
.welcome-title span { color: var(--accent-hover); }

/* ---- Footer ---- */
.do-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: .75rem;
    padding: 1rem 0;
}

/* ---- Shared tooltip component ---- */
.tooltip-market-details {
    --bs-tooltip-max-width: 420px;
    --bs-tooltip-opacity: 1;
}
.tooltip-market-details .tooltip-inner {
    max-width: 420px;
    padding: 0;
    background: transparent;
}
.tooltip-detail-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.tooltip-detail-card .table {
    margin-bottom: 0;
    font-size: 0.78rem;
}
.tooltip-detail-card .table thead th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom-color: var(--border-color);
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
}
.tooltip-detail-card .table td {
    padding: 0.25rem 0.5rem;
    border-bottom-color: var(--border-color);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---- Action button ---- */
.action-btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.action-btn:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

/* ==========================================================
   Dashboard (index)
   ========================================================== */

/* ---- Cards ---- */
.do-card {
    background:
        radial-gradient(ellipse at top, rgba(34,211,238,.08), transparent 60%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}
.do-card-half {
    flex: 1 1 0;
    min-height: 0;
}
.do-card-header {
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.do-card-header .title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-primary);
}
.do-card-header .subtitle {
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}
.do-card-body {
    padding: 1.25rem;
}
.do-card-body-sm {
    padding: .5rem;
}
.do-card-body-info {
    padding: .75rem 1.25rem;
}

/* ---- Dashboard table ---- */
.do-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
    table-layout: fixed;
}
.do-table thead th {
    padding: .55rem 1.25rem;
    font-size: .67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.do-table tbody td {
    padding: .5rem 1.25rem;
    border-bottom: 1px solid rgba(148,163,194,.04);
    vertical-align: middle;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}
.do-table tbody tr { transition: background .15s; }
.do-table tbody tr:hover { background: rgba(148,163,194,.03); }
.do-table tbody tr:last-child td { border-bottom: none; }
.do-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* ---- Badges ---- */
.do-badge {
    display: inline-block;
    padding: .18rem .5rem;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.do-badge.sell { background: rgba(var(--color-danger-rgb), .1); color: var(--color-danger); }
.do-badge.buy  { background: rgba(var(--color-success-rgb), .1); color: var(--color-success); }

/* ---- Status indicators ---- */
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.status-dot.importing { background: var(--color-warning); animation: pulse-dot 1.5s infinite; }
.status-dot.success   { background: var(--color-success); }
.status-dot.error     { background: var(--color-danger); }
.status-dot.waiting   { background: var(--text-muted); }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

.status-line { text-align: center; padding-top: .5rem; }
.status-text { display: inline-flex; align-items: center; font-size: .78rem; }
.status-text.importing { color: var(--color-warning); }
.status-text.success   { color: var(--color-success); }
.status-text.error     { color: var(--color-danger); }
.status-text.waiting   { color: var(--text-muted); }
.status-text-sm        { font-size: .72rem; }

.orders-count { color: var(--accent-hover); font-weight: 500; }
.orders-deleted { color: var(--text-muted); font-size: .74rem; }

/* ---- Loader ---- */
.do-loader {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: .82rem;
}
.do-spinner {
    width: 14px; height: 14px;
    border-width: 2px;
    margin-right: 6px;
    vertical-align: middle;
}

/* ---- Info list ---- */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    font-size: .8rem;
    border-bottom: 1px solid rgba(148,163,194,.04);
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-muted); }
.info-row .value { color: var(--text-primary); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ==========================================================
   Premium
   ========================================================== */
.premium-container {
    max-width: 720px;
}
.premium-card {
    background:
        radial-gradient(ellipse at top, rgba(34,211,238,.08), transparent 60%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
}
.premium-card h5 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
}
.premium-check {
    color: var(--color-success);
    margin-right: .5rem;
    margin-top: 2px;
}
.premium-list span {
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.5;
}
.premium-detail {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    font-size: .85rem;
}
.premium-detail .label { color: var(--text-muted); }
.premium-detail .value { font-weight: 600; color: var(--text-primary); }
.premium-progress-bar {
    height: 22px;
    border-radius: 11px;
    background: var(--bg-elevated);
    overflow: hidden;
}
.premium-progress-fill {
    height: 100%;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    min-width: 2em;
    transition: width .4s ease;
}
.premium-link {
    color: var(--accent-hover);
    text-decoration: none;
}
.premium-link:hover {
    color: var(--accent);
}
.premium-active-card {
    border-color: rgba(var(--color-success-rgb), .25);
    background: rgba(var(--color-success-rgb), .06);
}
.premium-active-text {
    color: var(--color-success);
    font-weight: 600;
}
.premium-progress-label {
    font-size: .9rem;
}
.premium-progress-amount {
    font-size: .78rem;
    color: var(--text-muted);
}
.premium-promo-badge {
    display: inline-block;
    margin-left: .5rem;
    padding: .15rem .5rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(244, 181, 63, .12);
    border: 1px solid rgba(244, 181, 63, .35);
    border-radius: 999px;
    vertical-align: middle;
}
.premium-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    margin-right: .35rem;
}
.premium-price-new {
    color: var(--accent-gold);
}

/* ==========================================================
   Regional Trading
   ========================================================== */
.form-card {
    background:
        radial-gradient(ellipse at top, rgba(34,211,238,.08), transparent 60%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.summary-card {
    background:
        radial-gradient(ellipse at top, rgba(34,211,238,.08), transparent 60%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.summary-stat {
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border-radius: 10px;
}
.summary-stat .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.summary-stat .value {
    font-size: 1rem;
    font-weight: 600;
}
.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}
.profit-cell {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Trade status indicators */
.trade-completed > td:first-child { box-shadow: inset 4px 0 0 var(--bs-success); }
.trade-active    > td:first-child { box-shadow: inset 4px 0 0 var(--bs-warning); }
.trade-pending   > td:first-child { box-shadow: inset 4px 0 0 var(--bs-secondary); }

.trade-status-filters .btn {
    border-radius: 20px !important;
    font-size: .7rem !important;
    padding: 2px 10px !important;
    line-height: normal !important;
}
.trade-badge {
    font-size: .65rem;
    font-weight: 500;
    vertical-align: middle;
    margin-left: 4px;
}
.links-cell a {
    font-size: 0.8rem;
}
.badge-on-sale {
    font-size: 0.75rem;
}
.table > :not(caption) > * > * {
    vertical-align: middle;
}
.rt-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-card .form-check {
    display: inline-block;
    margin-right: 0.75rem;
}

/* Table override for regional trading */
.marketOrdersTable {
    font-size: .82rem;
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-hover-bg: rgba(34,211,238,.06);
    --bs-table-hover-color: var(--text-primary);
    --bs-table-striped-bg: transparent;
}
.marketOrdersTable thead.table-dark th {
    background: var(--bg-surface) !important;
    --bs-table-bg: var(--bg-surface);
    --bs-table-color: var(--text-muted);
    border-bottom: 2px solid var(--accent) !important;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}
.marketOrdersTable tbody td {
    background: transparent !important;
    border-bottom-color: var(--border-color);
}
.marketOrdersTable tbody tr:hover td {
    background: rgba(34,211,238,.06) !important;
}

/* Form styling */
.form-card .form-label {
    font-size: .78rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.form-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: .65rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    user-select: none;
}
.form-help-icon:hover {
    background: var(--accent-subtle);
    color: var(--accent);
    border-color: var(--accent);
}
.form-card .form-control,
.form-card .form-select {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: .85rem;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-subtle);
}

/* Swap button */
.btn-swap {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all .15s;
}
.btn-swap:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--accent-hover);
}

/* Submit button */
.btn-submit {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: .5rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .85rem;
    transition: all .2s;
}
.btn-submit:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(6,182,212,.3);
    color: #fff;
}

/* Action buttons in summary */
.btn-action-alt {
    padding: .4rem 1.2rem;
    font-size: .8rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all .15s;
}

/* ==========================================================
   Fragments — Wallet, Skills
   ========================================================== */
.text-wallet   { color: var(--color-warning); }
.text-buy-total { color: var(--color-danger); }
.text-sell-total { color: var(--accent-hover); }
.text-total-value { color: var(--color-success); }
.text-muted-theme { color: var(--text-muted); }
.badge-skill {
    background: var(--accent-subtle);
    color: var(--accent-hover);
    font-size: .8rem;
    font-weight: 600;
    padding: .25em .55em;
    border: 1px solid rgba(34,211,238,.25);
}
.icon-inline {
    vertical-align: -1px;
}
.avatar-inline {
    vertical-align: text-bottom;
}

/* ---- Shared utilities ---- */
.hr-subtle {
    border-color: var(--border-color);
}

/* ==========================================================
   Landing page (logged-out index)
   ========================================================== */
.landing-hero {
    position: relative;
    text-align: center;
    padding: 2rem 1rem 3rem;
    margin-bottom: 2rem;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at top, rgba(34,211,238,.12), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(244,181,63,.08), transparent 55%),
        linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.landing-h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #fff, var(--accent-hover));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.landing-lead {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}
.landing-lead-sm {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.landing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.landing-cta-btn img {
    max-height: 48px;
    filter: drop-shadow(0 0 12px rgba(34,211,238,.35));
    transition: filter .2s ease, transform .2s ease;
}
.landing-cta-btn:hover img {
    filter: drop-shadow(0 0 18px rgba(34,211,238,.55));
    transform: translateY(-1px);
}
.landing-cta-hint {
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}

.landing-section {
    margin: 3rem 0;
}
.landing-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ---- Feature cards ---- */
.landing-feature {
    height: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
    transition: border-color .2s ease, transform .2s ease;
}
.landing-feature:hover {
    border-color: rgba(34,211,238,.35);
    transform: translateY(-2px);
}
.landing-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-subtle);
    color: var(--accent-hover);
    margin-bottom: .85rem;
}
.landing-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--text-primary);
}
.landing-feature p {
    font-size: .88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}
.landing-feature code {
    color: var(--accent-hover);
    background: transparent;
    padding: 0;
}

/* ---- Pricing plans ---- */
.landing-plan {
    position: relative;
    height: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
}
.landing-plan-premium {
    border-color: rgba(244,181,63,.4);
    background:
        linear-gradient(180deg, rgba(244,181,63,.05), transparent 60%),
        var(--bg-surface);
    box-shadow: 0 0 0 1px rgba(244,181,63,.15), 0 8px 24px rgba(244,181,63,.05);
}
.landing-plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(244,181,63,.12);
    color: var(--accent-gold);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.landing-plan-name {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .4rem;
}
.landing-plan-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
}
.landing-plan-premium .landing-plan-price {
    color: var(--accent-gold);
}
.landing-plan-price-old {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
}
.landing-plan-promo {
    font-size: .75rem;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: 6px;
    background: rgba(52,211,153,.15);
    color: var(--color-success);
    letter-spacing: .03em;
}
.landing-plan-sub {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.landing-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.landing-plan-list li {
    position: relative;
    padding: .35rem 0 .35rem 1.35rem;
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.landing-plan-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: .35rem;
    color: var(--accent-hover);
    font-weight: 700;
}
.landing-plan-premium .landing-plan-list li::before {
    color: var(--accent-gold);
}
.landing-plan-list li strong {
    color: var(--text-primary);
}

/* ---- How it works ---- */
.landing-step {
    height: 100%;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.landing-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-subtle);
    color: var(--accent-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .75rem;
}
.landing-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--text-primary);
}
.landing-step p {
    font-size: .88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}

/* ---- Hubs row ---- */
.landing-hubs {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.landing-hub {
    padding: .55rem .9rem;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    font-size: .9rem;
}
.landing-hub small {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: .35rem;
}

/* ---- FAQ ---- */
.landing-faq {
    margin: 0;
}
.landing-faq dt {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    padding-bottom: .35rem;
}
.landing-faq dt:first-child {
    margin-top: 0;
}
.landing-faq dd {
    color: var(--text-secondary);
    margin-bottom: .25rem;
    line-height: 1.55;
    font-size: .92rem;
}
