/* ============================================
   APP DOWNLOAD PAGE - STYLES
   Design: Premium Trust & Transparency
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a52;
    --primary-dark: #0f2438;
    --secondary: #d4af37;
    --accent: #ff6b35;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --card-bg: #f5f5f5;
    --border: #e0e0e0;
    --muted: #666666;
}

html, body {
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* ============================================
   HERO MAIN SECTION (ABOVE THE FOLD)
   ============================================ */

.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem;
    text-align: center;
}

.hero-main-content {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-app-name {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-download-primary {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.4);
    animation: pulse-scale 2s ease-in-out infinite;
    width: 100%;
    max-width: 350px;
}

.btn-download-primary:hover {
    background-color: #e5c158;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(212, 175, 55, 0.5);
}

.btn-download-primary:active {
    transform: translateY(-1px);
}

.btn-download-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.3);
    animation: pulse-scale 2s ease-in-out infinite;
}

.btn-download-secondary:hover {
    background-color: #e5c158;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.4);
}

.btn-download-secondary:active {
    transform: translateY(0);
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-icon {
    font-size: 1.25rem;
}

.btn-text {
    display: inline-block;
}

/* ============================================
   FEATURES COMPACT (GRID - FIRST SCREEN)
   ============================================ */

.features-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin: 0.5rem 0;
}

.feature-compact {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out both;
}

.feature-compact:nth-child(1) { animation-delay: 0.1s; }
.feature-compact:nth-child(2) { animation-delay: 0.15s; }
.feature-compact:nth-child(3) { animation-delay: 0.2s; }
.feature-compact:nth-child(4) { animation-delay: 0.25s; }
.feature-compact:nth-child(5) { animation-delay: 0.3s; }
.feature-compact:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-compact:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-compact-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.feature-compact-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

/* ============================================
   SECURITY BADGE
   ============================================ */

.security-badge {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ============================================
   FEATURES DETAILED SECTION
   ============================================ */

.features-detailed {
    padding: 3rem 1rem;
    background-color: var(--background);
}

.features-detailed-container {
    max-width: 600px;
    margin: 0 auto;
}

.features-detailed-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
}

.features-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-detailed-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out both;
}

.feature-detailed-item:nth-child(1) { animation-delay: 0.1s; }
.feature-detailed-item:nth-child(2) { animation-delay: 0.2s; }
.feature-detailed-item:nth-child(3) { animation-delay: 0.3s; }
.feature-detailed-item:nth-child(4) { animation-delay: 0.4s; }
.feature-detailed-item:nth-child(5) { animation-delay: 0.5s; }
.feature-detailed-item:nth-child(6) { animation-delay: 0.6s; }

.feature-detailed-item:hover {
    background-color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px -2px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.feature-detailed-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.feature-detailed-content {
    flex: 1;
    text-align: left;
}

.feature-detailed-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.feature-detailed-content p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2.5rem 1rem;
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
}

.footer-subtext {
    font-size: 0.75rem;
    color: #bbb;
    margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .hero-main {
        min-height: 100vh;
        padding: 1rem;
    }

    .hero-app-name {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-download-primary {
        width: 100%;
        max-width: 100%;
    }

    .features-compact {
        gap: 0.6rem;
    }

    .feature-compact {
        padding: 0.6rem;
    }

    .feature-compact-icon {
        font-size: 1.25rem;
    }

    .feature-compact-text {
        font-size: 0.65rem;
    }

    .features-detailed-title {
        font-size: 1.25rem;
    }

    .feature-detailed-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .feature-detailed-icon {
        font-size: 1.5rem;
    }

    .feature-detailed-content h3 {
        font-size: 0.85rem;
    }

    .feature-detailed-content p {
        font-size: 0.75rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 360px) {
    .hero-app-name {
        font-size: 1.25rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-icon {
        font-size: 1rem;
    }

    .features-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .feature-compact {
        padding: 0.5rem;
    }

    .feature-compact-icon {
        font-size: 1.1rem;
    }

    .feature-compact-text {
        font-size: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
