/* Welcome Choose Premium Path — Page-specific styles */
/* v2.0.0 — restyled to canonical shadcn-dark tokens (from assets/landing.css
   :root). No gradients, no glow, no Orbitron — system font stack only. Both
   path cards now read as the same restrained institutional product instead
   of one being "cyan brand" and the other "amber marketing". */

.welcome-choose-premium-path-page-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    padding-top: 2rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== Sign-In Banner (shown when user is NOT logged in) ===== */
.welcome-choose-premium-path-sign-in-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.6rem 1rem;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.welcome-choose-premium-path-sign-in-banner a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
}

.welcome-choose-premium-path-sign-in-banner a:hover {
    text-decoration: underline;
}

.welcome-choose-premium-path-sign-in-banner-dismiss-button {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 0.25rem;
    line-height: 1;
    margin-left: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.welcome-choose-premium-path-sign-in-banner-dismiss-button:hover {
    opacity: 1;
}

/* When banner is visible, push content down */
body.welcome-choose-premium-path-banner-visible .welcome-choose-premium-path-page-container {
    padding-top: 4rem;
}

/* ===== Language Switcher ===== */
.welcome-choose-premium-path-language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 1rem;
}

/* ===== Welcome Header ===== */
.welcome-choose-premium-path-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem 1rem 0;
}

.welcome-choose-premium-path-main-title {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 650;
    color: var(--foreground);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.welcome-choose-premium-path-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* ===== Two Path Cards Grid ===== */
.welcome-choose-premium-path-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .welcome-choose-premium-path-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Path 1: Trade Free Card ===== */
.welcome-choose-premium-path-trade-free-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.15s ease;
}

.welcome-choose-premium-path-trade-free-card:hover {
    border-color: var(--border-strong);
}

.welcome-choose-premium-path-recommended-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    background: rgba(34, 197, 94, 0.10);
    color: var(--buy);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.welcome-choose-premium-path-card-heading {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 620;
    color: var(--foreground);
    margin: 0 0 0.75rem;
}

.welcome-choose-premium-path-card-body-text {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

/* ===== Numbered Steps ===== */
.welcome-choose-premium-path-numbered-steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.welcome-choose-premium-path-numbered-step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.welcome-choose-premium-path-numbered-step-item:last-child {
    margin-bottom: 0;
}

.welcome-choose-premium-path-step-number-circle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--muted);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-choose-premium-path-step-text {
    padding-top: 0.2rem;
}

/* ===== Exchange Buttons ===== */
.welcome-choose-premium-path-exchange-buttons-row {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.welcome-choose-premium-path-exchange-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.welcome-choose-premium-path-exchange-button:active {
    transform: scale(0.98);
}

/* MEXC — same green used for the buy side / active-status semantics
   throughout the app (--buy). Not a decorative color, it's the exchange's
   own brand green and matches user-profile-and-trading-activity's
   exchange-badge--mexc treatment. */
.welcome-choose-premium-path-open-mexc-account-button {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--buy);
}

.welcome-choose-premium-path-open-mexc-account-button:hover {
    background: rgba(34, 197, 94, 0.2);
}

/* BingX — same blue used for --up-exchange-bingx in
   user-profile-and-trading-activity.css. */
.welcome-choose-premium-path-open-bingx-account-button {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.welcome-choose-premium-path-open-bingx-account-button:hover {
    background: rgba(59, 130, 246, 0.2);
}

.welcome-choose-premium-path-exchange-button svg {
    flex-shrink: 0;
}

/* ===== Path 2: VIP Club Card ===== */
.welcome-choose-premium-path-vip-club-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.15s ease;
}

.welcome-choose-premium-path-vip-club-card:hover {
    border-color: var(--border-strong);
}

.welcome-choose-premium-path-vip-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    background: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border-strong);
}

.welcome-choose-premium-path-vip-club-price-display {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 650;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.welcome-choose-premium-path-vip-club-price-display .price-original {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--faint-foreground);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.welcome-choose-premium-path-vip-club-price-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted-foreground);
}

.welcome-choose-premium-path-vip-club-features-text {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.welcome-choose-premium-path-vip-club-payment-methods-text {
    font-size: 0.8rem;
    color: var(--faint-foreground);
    line-height: 1.5;
    margin: 0 0 1.5rem;
    font-style: normal;
}

.welcome-choose-premium-path-subscribe-via-tribute-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    background: var(--foreground);
    color: var(--background);
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    margin-top: auto;
}

.welcome-choose-premium-path-subscribe-via-tribute-button:hover {
    opacity: 0.88;
}

.welcome-choose-premium-path-subscribe-via-tribute-button:active {
    transform: scale(0.98);
}

/* ===== Already Trading Section ===== */
.welcome-choose-premium-path-already-trading-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-choose-premium-path-already-trading-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.welcome-choose-premium-path-already-trading-profile-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: opacity 0.15s;
}

.welcome-choose-premium-path-already-trading-profile-link:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.welcome-choose-premium-path-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--border);
    width: 100%;
    margin-top: auto;
}

.welcome-choose-premium-path-footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-choose-premium-path-footer-link {
    color: var(--faint-foreground);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.15s;
}

.welcome-choose-premium-path-footer-link:hover {
    color: var(--muted-foreground);
}

.welcome-choose-premium-path-footer-separator {
    color: var(--border-strong);
    font-size: 0.8rem;
}

.welcome-choose-premium-path-footer-copyright {
    font-size: 0.7rem;
    color: var(--faint-foreground);
    margin-top: 0.75rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 480px) {
    .welcome-choose-premium-path-exchange-buttons-row {
        flex-direction: column;
    }

    .welcome-choose-premium-path-trade-free-card,
    .welcome-choose-premium-path-vip-club-card {
        padding: 1.5rem 1.25rem;
    }

    .welcome-choose-premium-path-page-container {
        padding: 0.75rem;
        padding-top: 1.5rem;
    }

    .welcome-choose-premium-path-header {
        padding: 1.5rem 0.5rem 0;
    }
}

/* ===== V2 Opening Notification Opt-In (logged-in non-premium members) ===== */
.welcome-choose-premium-path-v2-open-notification-opt-in-section {
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 1.25rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-text {
    margin: 0 0 0.875rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-text strong {
    color: var(--foreground);
}

.welcome-choose-premium-path-v2-open-notification-opt-in-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: var(--foreground);
    color: var(--background);
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-button:hover {
    opacity: 0.88;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-status-message {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    min-height: 1em;
}

.welcome-choose-premium-path-v2-open-notification-opt-in-status-message-success {
    color: var(--buy);
}

.welcome-choose-premium-path-v2-open-notification-opt-in-status-message-error {
    color: var(--destructive);
}
