/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0F172A;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F172A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #374151;
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Landing Page */
.landing-page {
    position: relative;
    background-color: #0F172A;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    z-index: 1;
    color: #F9FAFB;
}

.lp-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

.lp-hero {
    background: radial-gradient(1200px 400px at 50% -200px, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0) 70%),
        radial-gradient(800px 300px at 0% -100px, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0) 70%);
    padding: 32px 0 8px 0;
}

.lp-brand {
    text-align: center;
}

.lp-logo {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.lp-title {
    font-size: 28px;
    font-weight: 800;
    margin: 16px 0 8px;
    line-height: 1.15;
}

.lp-subtitle {
    font-size: 16px;
    color: #D1D5DB;
    max-width: 680px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.lp-store-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Store badges as official image buttons */
.lp-store-badge {
    display: inline-block;
    text-decoration: none;
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
}

.lp-store-badge:hover {
    opacity: 0.9;
}

.lp-store-badge img,
.store-badge-img {
    height: 40px;
    width: auto;
    display: block;
}

.lp-main {
    padding: 0px 0 24px;
}

.lp-feature-section {
    padding: 0px 0;
}

.lp-feature-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.lp-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.lp-feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.lp-feature-text {
    color: #D1D5DB;
    line-height: 1.6;
    font-size: 14px;
}

.lp-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0 24px;
    margin-top: auto;
}

.lp-footer-text {
    color: #9CA3AF;
    text-align: center;
    margin: 0 0 8px;
    font-size: 13px;
}

.lp-footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lp-footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 13px;
}

.lp-footer-links a:hover {
    text-decoration: underline;
    color: #E5E7EB;
}

/* Responsive layout tweaks */
@media (min-width: 640px) {
    .lp-title {
        font-size: 32px;
    }

    .lp-subtitle {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .lp-feature-block {
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .lp-title {
        font-size: 36px;
    }

    .lp-feature-block {
        flex-direction: column;
        align-items: stretch;
    }
}
