/* =========================================
   RESET & BASE
   ========================================= */
:root {
    --bg-dark: #070B18;
    --bg-mid: #0B1224;
    --bg-light: #111827;
    --accent-blue: #229ED9;
    --accent-blue-hover: #1a8bc2;
    --accent-yellow: #FACC15;
    --text-white: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 24, 39, 0.65);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-light) 100%);
    color: var(--text-white);
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    padding: 14px;
}

/* =========================================
   BACKGROUND ELEMENTS
   ========================================= */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.bg-chart {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: subtlePan 60s linear infinite alternate;
}

@keyframes subtlePan {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-10px); }
}

/* =========================================
   MAIN CONTAINER & CARD
   ========================================= */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

.card {
    width: calc(100% - 28px);
    max-width: 460px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 28px 24px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.loaded .card {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   BRANDING & LOGO
   ========================================= */
.logo-area {
    text-align: center;
    margin-bottom: 24px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1a7bb9 100%);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-white);
    margin-bottom: 6px;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    text-transform: uppercase;
}

.brand-tagline .dot {
    color: var(--text-muted);
    margin: 0 4px;
}

/* =========================================
   CONTENT AREA
   ========================================= */
.content-area {
    text-align: center;
}

.heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    line-height: 1.2;
}

.subheading {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.description {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   FEATURES (Compact Rows)
   ========================================= */
.features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    font-size: 18px;
    line-height: 1.4;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    display: block;
}

.feature-text span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

/* =========================================
   CTA BUTTON
   ========================================= */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: var(--text-white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    margin-bottom: 16px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.4);
    background: linear-gradient(135deg, #2aade9 0%, var(--accent-blue) 100%);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3);
}

.telegram-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =========================================
   TRUST LINE & DISCLAIMER
   ========================================= */
.trust-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.trust-line span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.disclaimer {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-dim);
    line-height: 1.5;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
/* Small Mobile (360px) */
@media (max-width: 374px) {
    body {
        padding: 10px;
    }
    .card {
        width: 100%;
        padding: 24px 18px;
        border-radius: 20px;
    }
    .heading {
        font-size: 22px;
    }
    .feature-text strong {
        font-size: 12px;
    }
    .feature-text span {
        font-size: 11px;
    }
    .trust-line {
        gap: 8px 12px;
    }
    .trust-line span {
        font-size: 11px;
    }
}

/* Standard Mobile (390px - 412px) */
@media (min-width: 375px) and (max-width: 430px) {
    .card {
        padding: 26px 22px;
    }
}

/* Tablet (768px) */
@media (min-width: 768px) {
    body {
        padding: 24px;
    }
    .card {
        padding: 32px 28px;
    }
    .heading {
        font-size: 26px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .card {
        padding: 36px 32px;
    }
    .card:hover {
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 
            0 24px 48px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .bg-grid {
        background-size: 60px 60px;
    }
}