/* ==========================================================================
   Pay4Coins - Telegram Access Manager (TAM)
   Mobile-First Premium Stylesheet
   ========================================================================== */

/* Import Google Fonts & Icons */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css');

/* ── Design Tokens ────────────────────────────────────────────────────── */
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(17, 25, 40, 0.75);
    --bg-card-hover: rgba(23, 33, 53, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.35);
    --telegram-blue: #24A1DE;
    --telegram-glow: rgba(36, 161, 222, 0.3);
    --accent-emerald: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-speed: 0.25s;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Reset & Base (Mobile) ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Ambient Glow (isolated container to prevent scroll/shift) ───────── */
.ambient-glow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(9, 13, 22, 0) 70%);
}

.glow-2 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--telegram-glow) 0%, rgba(9, 13, 22, 0) 70%);
}

/* ── Header ───────────────────────────────────────────────────────────── */
header {
    padding: 0.875rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 0.5rem;
}

header .lang-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    min-height: 40px;
    min-width: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

header .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

header .header-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    gap: 0.35rem;
}

header .header-btn .nav-text {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.brand-logo {
    white-space: nowrap;
}

.badge-tcm {
    background: linear-gradient(135deg, var(--telegram-blue), var(--primary-color));
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px var(--telegram-glow);
    flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-height: 48px; /* Touch target */
    -webkit-appearance: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
    cursor: pointer;
    min-height: 40px;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
}

/* ── Landing Page (Creator) ───────────────────────────────────────────── */
main.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    transition: all var(--transition-speed);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ── Customer Portal (Payment Page) ───────────────────────────────────── */
.customer-portal {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0.75rem;
    padding-bottom: calc(1rem + var(--safe-bottom));
    width: 100%;
}

/* Channel Header Card */
.channel-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.channel-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--telegram-blue), var(--primary-color));
}

.channel-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.channel-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.channel-description {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.channel-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    width: 100%;
    flex-wrap: wrap;
}

.channel-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.channel-meta-item i {
    color: var(--telegram-blue);
}

/* ── Step Sections ────────────────────────────────────────────────────── */
.step-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ── Tier Cards (Packages) ────────────────────────────────────────────── */
.tiers-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-card {
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 56px; /* Touch target */
    -webkit-tap-highlight-color: transparent;
}

.tier-card:active {
    transform: scale(0.98);
}

.tier-card.selected {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.12);
}

.tier-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--accent-emerald);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 0 8px var(--accent-glow);
}

.tier-badge-best {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.tier-duration {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    min-width: 90px;
    flex-shrink: 0;
}

.tier-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    flex-grow: 1;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    white-space: nowrap;
    line-height: 1.1;
}

.tier-period {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: none; /* Hidden on mobile row layout */
}

.tier-saving {
    color: var(--accent-emerald);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.tier-original-price {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: line-through;
    line-height: 1.2;
}

/* ── Telegram Login ───────────────────────────────────────────────────── */
.telegram-login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
}

.telegram-login-button {
    background-color: var(--telegram-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 14px var(--telegram-glow);
    text-decoration: none;
    min-height: 48px;
    -webkit-appearance: none;
}

.telegram-login-button:hover {
    box-shadow: 0 6px 18px var(--telegram-glow);
    background-color: #2194cc;
}

.telegram-login-button:active {
    transform: scale(0.97);
}

.logged-in-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--accent-emerald);
    border-radius: var(--radius-sm);
    width: 100%;
}

.logged-in-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.logged-in-info {
    flex-grow: 1;
    min-width: 0; /* Allow text to truncate */
}

.logged-in-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logged-in-status {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    text-decoration: underline;
    padding: 0.5rem;
    min-height: 36px;
    flex-shrink: 0;
}

.btn-logout:hover {
    color: white;
}

/* ── Payment Methods ──────────────────────────────────────────────────── */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity var(--transition-speed);
}

.payment-methods-grid.enabled {
    opacity: 1;
    pointer-events: auto;
}

.payment-method-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
}

.payment-method-card:active {
    transform: scale(0.96);
}

.payment-method-card.selected {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.06);
}

.payment-method-card i {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.payment-method-card.selected i {
    color: var(--primary-color);
}

.payment-method-name {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ── Checkout Button ──────────────────────────────────────────────────── */
.checkout-box {
    margin-top: 1.25rem;
    text-align: center;
}

.checkout-box .btn-primary {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    min-height: 52px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1rem;
    padding-bottom: calc(1.25rem + var(--safe-bottom));
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: auto;
    line-height: 1.6;
}

footer a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 0.35rem;
}

footer a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   TABLET BREAKPOINT (≥ 600px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
    header {
        padding: 1rem 1.5rem;
    }

    header .header-btn {
        padding: 0.5rem 1rem;
    }

    header .header-btn .nav-text {
        display: inline;
    }

    .badge-tcm {
        font-size: 0.7rem;
        padding: 0.22rem 0.55rem;
    }

    .customer-portal {
        padding: 1.5rem 1.25rem;
    }

    .channel-profile-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.5rem;
    }

    .channel-profile-card::before {
        height: 5px;
    }

    .channel-avatar {
        width: 84px;
        height: 84px;
        font-size: 2.25rem;
    }

    .channel-title {
        font-size: 1.65rem;
    }

    .channel-description {
        font-size: 0.95rem;
    }

    .step-section {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.5rem;
    }

    .step-title {
        font-size: 1.15rem;
    }

    /* Switch tiers to horizontal grid */
    .tiers-container {
        flex-direction: row;
    }

    .tier-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        flex: 1;
        gap: 0;
    }

    .tier-badge {
        top: -11px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .tier-duration {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        min-width: auto;
    }

    .tier-price-container {
        margin: 0.75rem 0;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .tier-price {
        font-size: 1.85rem;
    }

    .tier-period {
        display: block;
    }

    .tier-saving {
        margin-top: 0.25rem;
    }

    .payment-methods-grid {
        gap: 0.85rem;
    }

    .payment-method-card {
        padding: 1.1rem 0.75rem;
    }

    .payment-method-card i {
        font-size: 1.65rem;
    }

    .payment-method-name {
        font-size: 0.78rem;
    }

    .checkout-box .btn-primary {
        max-width: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   DESKTOP BREAKPOINT (≥ 960px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 960px) {
    .glow-1 {
        top: -200px;
        left: -200px;
        width: 600px;
        height: 600px;
    }

    .glow-2 {
        bottom: -200px;
        right: -200px;
        width: 700px;
        height: 700px;
    }

    header {
        padding: 1.25rem 2rem;
    }

    .badge-tcm {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .container {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero {
        margin-bottom: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .feature-card:hover {
        transform: translateY(-4px);
    }

    .customer-portal {
        padding: 2rem 1.5rem;
    }

    .channel-profile-card {
        padding: 2.5rem;
        border-radius: 24px;
        margin-bottom: 2rem;
    }

    .channel-profile-card::before {
        height: 6px;
    }

    .channel-avatar {
        width: 96px;
        height: 96px;
        font-size: 2.5rem;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    }

    .channel-title {
        font-size: 2rem;
    }

    .channel-description {
        font-size: 1rem;
    }

    .step-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .tier-card {
        padding: 1.75rem 1.25rem;
    }

    .tier-price {
        font-size: 2rem;
    }

    .payment-methods-grid {
        gap: 1rem;
    }

    .payment-method-card {
        padding: 1.25rem 0.75rem;
        gap: 0.5rem;
    }

    .payment-method-card i {
        font-size: 1.75rem;
    }

    .payment-method-name {
        font-size: 0.8rem;
    }

    footer {
        padding: 2rem;
        font-size: 0.85rem;
    }
}

/* ── Modern Footer Compatibility ── */
.footer-modern {
    background: linear-gradient(180deg, #1b2230 0%, #090d16 100%) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 60px 0 20px 0 !important;
    text-align: left !important;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
}
.footer-modern h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.footer-modern a {
    color: #b0b0b0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    text-align: left !important;
    white-space: nowrap !important;
}
.footer-modern a:hover {
    color: #3b82f6 !important;
    padding-left: 5px !important;
    text-decoration: none !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-color) !important;
    padding-top: 20px !important;
    margin-top: 40px !important;
    font-size: 0.875rem !important;
    color: var(--text-secondary) !important;
}
.footer-logo {
    max-height: 40px !important;
    margin-bottom: 1.5rem !important;
    filter: brightness(0) invert(1) !important;
}

@media (min-width: 576px) {
    .footer-modern .small {
        white-space: nowrap !important;
    }
}

#DigiCertClickID_Ukx1FSFt {
    display: inline-block !important;
    vertical-align: middle !important;
}
#DigiCertClickID_Ukx1FSFt img {
    display: block !important;
    border: 0 !important;
}

@media (min-width: 992px) {
    .footer-modern div.col-lg-2:last-of-type {
        padding-left: 3rem !important;
    }
}

/* ── Language Selector Dropdown ── */
.select_website_language .dropdown-toggle::after {
    display: none !important;
}
.select_website_language .dropdown-menu {
    min-width: 125px !important;
    background: #1b2230 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
    padding: 0.25rem 0 !important;
}
.select_website_language .dropdown-item {
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}
.select_website_language .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
}
.select_website_language .dropdown-item.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.payment-method-logo {
    height: 28px;
    max-width: 75px;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
    transition: all 0.2s ease;
    opacity: 0.85;
}
.payment-method-card:hover .payment-method-logo,
.payment-method-card.selected .payment-method-logo {
    transform: scale(1.06);
    opacity: 1;
}

/* ── Eignungs-Check & Content Guidelines (Dark Mode Landingpage) ────────────────────── */
.tcm-guidelines-box {
    width: 100% !important;
}
.tcm-landing-guidelines-container {
    width: 100% !important;
}
.tcm-guidelines-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
}
.tcm-guidelines-col {
    width: 100% !important;
}
@media (min-width: 768px) {
    .tcm-guidelines-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}
.tcm-guidelines-box h2 {
    color: #ffffff !important;
}
.tcm-guidelines-box p.text-muted {
    color: #94a3b8 !important;
}
.tcm-guidelines-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 2rem 1.5rem !important;
    height: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition-speed);
}
.tcm-guidelines-card:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-color-hover) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-4px);
}
.tcm-guidelines-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}
.tcm-guidelines-main-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.tcm-guidelines-main-icon.text-success {
    color: var(--accent-emerald) !important;
}
.tcm-guidelines-main-icon.text-danger {
    color: #ef4444 !important;
}
.tcm-guidelines-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tcm-guidelines-card-title.text-success {
    color: var(--accent-emerald) !important;
}
.tcm-guidelines-card-title.text-danger {
    color: #ef4444 !important;
}
.tcm-guidelines-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tcm-guidelines-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary) !important;
}
.tcm-guidelines-item strong {
    color: var(--text-primary) !important;
    font-weight: 600;
}
.tcm-guidelines-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.tcm-guidelines-icon-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: var(--accent-emerald) !important;
}
.tcm-guidelines-icon-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}
.tcm-guidelines-footnote {
    font-size: 0.775rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
}
.tcm-guidelines-footnote i {
    color: #f59e0b !important;
}
.tcm-guidelines-cta {
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
    max-width: 700px;
    line-height: 1.5;
    background-color: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    box-shadow: 0 4px 15px -3px rgba(0,0,0,0.2);
}
.tcm-guidelines-cta strong {
    color: #ffffff !important;
}

.tcm-guidelines-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2563eb) !important;
    color: white !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    margin-top: 1.5rem;
}
.tcm-guidelines-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}
.tcm-guidelines-cta-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   TCM Landingpage - Smartphone Mockup & Hero Split Layout
   ========================================================================== */

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
    width: 100%;
}

.hero-cta-group .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
    cursor: pointer;
    min-height: 48px;
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    transform: translateY(-1px);
}

@media (min-width: 480px) {
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: auto;
    }
}

.hero-mockup-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
}

/* Smartphone Body */
.smartphone-mockup {
    width: 290px;
    height: 590px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    transform: rotateX(6deg) rotateY(-8deg) rotateZ(2deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.smartphone-mockup:hover {
    transform: rotateX(2deg) rotateY(-2deg) rotateZ(1deg) scale(1.02);
}

/* Speaker / Dynamic Island Area */
.phone-speaker {
    width: 70px;
    height: 14px;
    background: #000000;
    border-radius: 10px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    padding: 26px 10px 10px 10px;
    overflow-y: auto;
    background: #090d16;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.phone-screen::-webkit-scrollbar {
    display: none;
}

/* Inner Page Mock Styles */
.mock-paypage {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 11px;
    text-align: left;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;
}

.mock-logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: -0.5px;
    line-height: 1;
    user-select: none;
    font-weight: 800;
}

.mock-logo-pay {
    color: #ffffff;
    text-transform: lowercase;
}

.mock-logo-pipe {
    color: #3b82f6;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.85;
    margin: 0 2px;
}

.mock-logo-four {
    color: #3b82f6;
}

.mock-logo-coins {
    color: #ffffff;
    font-weight: 300;
    text-transform: lowercase;
}

.mock-channel-card {
    background: rgba(17, 25, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.mock-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--telegram-blue), var(--primary-color));
}

.mock-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mock-crown {
    position: absolute;
    top: -7px;
    right: -4px;
    font-size: 11px;
}

.mock-title {
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 1px;
    font-family: var(--font-heading);
}

.mock-handle {
    color: #3b82f6;
    font-size: 9px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
}

.mock-desc {
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.mock-badges {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.mock-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 8px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 2px;
}

.mock-section {
    background: rgba(17, 25, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.mock-section-title {
    font-weight: 600;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-family: var(--font-heading);
}

.mock-section-title span {
    width: 14px;
    height: 14px;
    background: #3b82f6;
    color: white;
    font-size: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mock-tiers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mock-tier-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 6px;
    padding: 0.45rem 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mock-tier-card.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.mock-tier-name {
    font-weight: 600;
    color: #ffffff;
}

.mock-tier-price {
    font-weight: 700;
    color: #ffffff;
}

.mock-tier-save {
    position: absolute;
    top: -5px;
    right: 8px;
    background: #10b981;
    color: white;
    font-size: 7px;
    padding: 0.5px 4px;
    border-radius: 4px;
    font-weight: 700;
}

.mock-btn-telegram {
    background: #24A1DE;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.45rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    width: 100%;
}

.mock-payments {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.mock-pay-method {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Media Queries for Desktop layout */
@media (min-width: 992px) {
    .hero-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        margin-bottom: 5rem;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
        align-items: flex-start;
        flex: 1.2;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {
        justify-content: flex-start;
    }
    
    .hero-mockup-wrapper {
        flex: 0.8;
        justify-content: flex-end;
        max-width: none;
    }
    
    .smartphone-mockup {
        width: 300px;
        height: 610px;
    }
}

/* ==========================================================================
   TCM Landingpage - FAQ Grid & Cards Styling
   ========================================================================== */

.faq-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 4rem !important;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

.faq-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 2rem 1.5rem !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition-speed) !important;
}

.faq-card:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-color-hover) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.faq-card h4 {
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
}

.faq-card p {
    color: var(--text-secondary) !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.faq-card p strong {
    color: #ffffff !important;
    font-weight: 600;
}

/* ── Premium Dark Glassmorphism Contact Modal (#helpModal) ────────────── */
#helpModal .modal-content {
    background: #0f172a !important;
    background: linear-gradient(145deg, #0f172a, #0b1120) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.15) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    overflow: hidden;
}

#helpModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

#helpModal .modal-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: #ffffff !important;
}

#helpModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#helpModal .btn-close:hover {
    opacity: 1;
}

#helpModal .modal-body {
    padding: 1.75rem 1.5rem !important;
    color: var(--text-secondary) !important;
}

#helpModal .modal-body div {
    color: var(--text-secondary) !important;
}

#helpModal .modal-body div[style*="font-size:25px"],
#helpModal .modal-body div[style*="font-size: 25px"],
#helpModal .modal-body h4,
#helpModal .modal-body h5 {
    font-family: var(--font-heading) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    margin-bottom: 1rem !important;
}

#helpModal .modal-body a {
    color: #60a5fa !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#helpModal .modal-body a:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

#helpModal .modal-body a[href*="/pay/help"] {
    display: inline-block !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.85rem 1.15rem !important;
    margin: 1rem 0 !important;
    color: #60a5fa !important;
    transition: all 0.2s ease !important;
}

#helpModal .modal-body a[href*="/pay/help"]:hover {
    background: rgba(59, 130, 246, 0.18) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    text-decoration: none !important;
}

#helpModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

#helpModal .modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.2s ease !important;
}

#helpModal .modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

