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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #1e293b;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1100px;
    padding: 0 24px;
    flex-grow: 1;
}

.hero-section {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 70px;
    position: relative;
    z-index: 10;
}

.app-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.app-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features Grid (Glassmorphism)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.feature-card {
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 40px 32px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(0,0,0,0.05);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.feature-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   Download & Support Section
   ========================================================================== */
.download-section {
    width: 100%;
    margin-bottom: 80px;
}

.download-card {
    opacity: 0;
    transform: translateY(20px);
    background: #ffffff;
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -1px;
}

.download-card > p {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.css-store-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 14px;
    min-width: 250px;
    width: auto;
    height: 64px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.05);
}

.css-store-btn svg {
    margin-right: 16px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.btn-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 4px;
    opacity: 0.8;
}

.btn-main {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.css-store-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background-color: #111111;
}

.support-section {
    border-top: 1px solid #f1f5f9;
    padding-top: 48px;
}

.support-section p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.support-btn:hover {
    transform: translateY(-2px);
    background: #f1f5f9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    text-align: center;
    padding: 0 20px 50px;
    width: 100%;
}

.footer-links {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 16px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.heart {
    display: inline-block;
    color: #ef4444;
    animation: heartbeat 1.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes heartbeat {
    0% { transform: scale(0.95); }
    5% { transform: scale(1.1); }
    39% { transform: scale(0.85); }
    45% { transform: scale(1); }
    60% { transform: scale(0.95); }
    100% { transform: scale(0.9); }
}

/* ==========================================================================
   Responsive Adjustments (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .app-title {
        font-size: 3.2rem;
    }

    .app-subtitle {
        font-size: 1.2rem;
        padding: 0 16px;
    }

    .hero-section {
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .download-card {
        padding: 50px 24px;
        border-radius: 32px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        display: inline-block;
        margin: 8px 12px;
    }
}