/* Main Page Specific Styles */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-in {
    opacity: 0; /* Start hidden */
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

body, html {
    height: 100%;
    overflow: hidden; /* Prevent scrolling on desktop */
}

@media (max-width: 768px) {
    body, html {
        height: auto;
        overflow-y: auto; /* Allow scrolling on mobile */
        overflow-x: hidden;
    }
}

.main-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    /* Richer, softer background */
    background-color: #FAFAFA;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(54, 197, 241, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(108, 92, 231, 0.08) 0%, transparent 45%);
    background-attachment: fixed;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo-area {
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.logo-area img {
    width: 110px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-area img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.slogan {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 56px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.slogan span {
    color: var(--text-sub);
    font-weight: 400;
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: #000;
}

.store-btn:active {
    transform: translateY(-2px);
}

.store-btn svg {
    width: 26px;
    height: 26px;
    margin-right: 14px;
    fill: currentColor;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-btn-text span {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 2px;
    font-weight: 500;
}

.store-btn-text strong {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Features */
.features-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    background: rgba(255, 255, 255, 0.8);
    border-color: white;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #36C5F1 0%, #2BB0DC 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(54, 197, 241, 0.25);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-text {
    text-align: center;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.5;
    word-break: keep-all;
}

/* Footer */
footer {
    padding: 32px 0;
    text-align: center;
    /* Removed border top for cleaner look, added gradient fade if needed, or kept simple */
    background: transparent; 
}

.footer-links {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background-color: var(--text-main);
    transition: all 0.2s ease;
}

.footer-links a:hover::after {
    width: 100%;
    left: 0;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Tablet & Mobile Tweaks */
@media (max-width: 900px) {
    .features-row {
        gap: 20px;
    }
    
    .feature-item {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        display: block;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .hero-section {
        padding: 60px 24px 40px;
        min-height: auto;
    }

    .slogan {
        font-size: 1.35rem;
        margin-bottom: 40px;
    }
    
    .slogan span {
        font-size: 1.1rem;
    }

    .slogan br {
        display: none;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-bottom: 56px;
        gap: 12px;
    }

    .features-row {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .feature-item {
        flex-direction: row;
        gap: 20px;
        text-align: left;
        width: 100%;
        align-items: center;
        padding: 20px;
    }
    
    .feature-text {
        text-align: left;
        flex: 1;
    }

    .feature-item h3 {
        margin-bottom: 4px;
    }

    .footer-links {
        gap: 12px 20px;
        padding: 0 20px;
        max-width: 400px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 480px) {
    .logo-area {
        margin-bottom: 32px;
    }
    
    .logo-area img {
        width: 90px;
    }

    .slogan {
        font-size: 1.25rem;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}
