:root {
    --primary-blue: #003B95;
    --secondary-blue: #009FBD;
    --accent-blue: #E6F0FF;
    --white: #FFFFFF;
    --background: #F4F7FA;
    --text-dark: #001A41;
    --text-light: #526684;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 32px rgba(0, 59, 149, 0.08);
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo img {
    height: 50px;
    width: auto;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    min-height: 48px; /* Android standard touch target */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.4);
}

.btn-primary-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-primary-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--accent-blue);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-blue) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 159, 189, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.hero-text h1 span {
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 8px solid #1e293b;
}

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--background);
    border: 1px solid #F1F5F9;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Download Section */
.download-section {
    padding: 100px 0;
}

.download-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(0, 82, 212, 0.2);
}

.download-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.store-button img {
    height: 64px;
    width: auto;
    transition: var(--transition);
}

.store-button:hover img {
    transform: scale(1.05);
}

.version-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #0F172A;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94A3B8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 40px;
    text-align: center;
    color: #64748B;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges */
.trust-badges-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s ease-out;
}

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

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: var(--primary-blue);
    text-align: center;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-blue);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .hero-text p { margin: 0 auto 2rem; font-size: 1.1rem; }
    
    .hero-actions { 
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        gap: 1rem;
    }
    
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .hero-image-container { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.2rem; }
    
    .header { height: 70px; }
    
    .header .btn { display: none; }
    
    .logo img { height: 40px; }

    .hero { padding: 120px 0 60px; }
    
    .section-title { font-size: 2rem; margin-bottom: 2.5rem; }
    
    .feature-card { padding: 30px 20px; text-align: center; }
    
    .download-card { padding: 40px 20px; border-radius: 30px; }
    
    .download-card h2 { font-size: 1.8rem; }
    
    .download-buttons .btn { width: 100%; }

    .trust-badges-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}
