/* ===========================================
   LANDING.CSS - Landing Page Specific Styles
   =========================================== */

/* Landing Specific Overrides */
body {
    background: var(--bg-image) no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* Container */
.container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 16px 40px 16px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.user-menu {
    display: flex;
    align-items: center;
    background: var(--nav-bg);
    padding: 8px 12px;
    border-radius: 40px;
    border-left: 2px solid var(--user-menu-border);
    border-right: 2px solid var(--user-menu-border);
    backdrop-filter: blur(12px);
}

.btn-icon-round {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

[data-theme="light"] .btn-icon-round {
    color: #000;
}

.btn-icon-round:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== BRAND HEADER ===== */
.brand-header {
    text-align: center;
    font-weight: 800;
    letter-spacing: 14px;
    padding-left: 14px;
    color: var(--text-main);
    font-size: 2.4em;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 50px;
    padding-bottom: 50px;
    opacity: 1;
    white-space: nowrap;
    text-shadow: none;
    cursor: default;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    will-change: letter-spacing;
}

/* Animation removed - static header */

/* Landing Card */
.landing-card {
    width: 100%;
    max-width: 100%;
    padding: 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
}

.hero-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--primary);
    text-shadow: none;
}

[data-theme="light"] .hero-title {
    font-weight: 950 !important;
    color: var(--primary);
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-main);
}

.hero-list {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--text-main);
    margin: 4px 0;
}

.hero-footer {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
    font-style: italic;
}

[data-theme="light"] .hero-footer {
    color: #000;
}

/* Mobile Theme Toggle in Card */
.mobile-theme-toggle {
    display: none;
    margin-top: 24px;
    justify-content: center;
}

.mobile-theme-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.mobile-theme-btn:active {
    transform: scale(0.95);
    border-color: var(--text-main);
    color: var(--text-main);
}

.tg-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 18px 24px;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    width: fit-content;
    align-self: center;
    margin-top: 8px;
    box-shadow: none;
}

@media (max-width: 480px) {
    .tg-btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-width: unset;
        width: auto;
        max-width: 90%;
    }
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.tg-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

[data-theme="light"] .tg-btn {
    color: #fff;
}

/* Services Button Style */
.services-btn {
    background: #555555;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
    box-shadow: none;
    text-decoration: none;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

[data-theme="light"] .services-btn {
    background: #333333;
    color: #fff;
}

.services-btn:hover {
    transform: translateY(-2px);
}

/* Secondary Button Style */
.btn-secondary {
    background: #555555;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="light"] .btn-secondary {
    background: #333333;
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Modal Overlay & Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal {
    background: var(--bg-glass);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    will-change: transform, opacity;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-center-title {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.modal-close:hover {
    opacity: 1 !important;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72));
        background-attachment: scroll;
    }

    [data-theme="light"] body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72));
    }

    .container {
        padding: 0 20px 40px 20px;
    }

    header {
        top: 16px;
        right: 16px;
    }

    .brand-header {
        font-size: 1.9em;
        letter-spacing: 8px;
        padding-left: 8px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        overflow: hidden;
    }

    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 12px;
    }

    header {
        display: none;
    }

    .brand-header {
        display: none;
    }

    .landing-card {
        padding: 12px 10px 8px 10px;
        margin: 0 8px;
        max-width: 300px;
    }

    .hero-title {
        font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: var(--text-main);
        margin-bottom: 8px;
    }

    [data-theme="light"] .hero-title {
        color: #000;
    }

    .hero-desc {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .hero-list {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .tg-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .services-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .mobile-theme-toggle {
        display: flex;
        margin-top: 12px;
    }

    #status-msg {
        min-height: 0 !important;
        font-size: 0.75em !important;
    }
}
