/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(210 40% 98%);
    background: linear-gradient(to bottom, #06080C, #090D13);
    min-height: 100vh;
}

html, body {
    background-color: #06080C;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: hsl(217 91% 60%);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 24px 0 40px;
    margin: 0 auto;
}

.headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: hsl(210 40% 98%);
}

.subheadline {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    color: hsl(215 20% 65%);
}

/* App Preview */
.app-preview {
    margin-bottom: 40px;
}

.app-preview-placeholder {
    width: 100%;
    margin: 0 auto 20px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 20px hsl(218 35% 8% / 0.5);
}


.preview-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
}

.preview-caption {
    font-size: 14px;
    color: hsl(215 20% 65%);
    margin-top: 12px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0 16px;
}

.cta-divider {
    border: 0;
    border-top: 1px solid hsl(220 20% 25%);
    margin: 8px 0 16px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    min-height: 56px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-ios {
    background: linear-gradient(135deg, hsl(217 91% 60%), hsl(217 91% 50%));
    color: hsl(220 35% 12%);
    box-shadow: 0 2px 10px hsl(217 91% 60% / 0.3);
}

.btn-ios:hover {
    box-shadow: 0 0 30px hsl(217 91% 60% / 0.2);
}

.btn-android {
    background: hsl(142 76% 36%);
    color: #000000;
    box-shadow: 0 2px 10px hsl(142 76% 36% / 0.3);
}

.btn-android:hover {
    background: hsl(142 76% 30%);
    transform: translateY(-1px);
}

/* Features Section */
.features {
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: hsl(210 40% 98%);
}

.features-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(145deg, hsl(220 30% 16%), hsl(220 25% 20%));
    border-radius: 16px;
    border: 1px solid hsl(220 20% 25%);
    box-shadow: 0 4px 20px hsl(218 35% 8% / 0.5);
}

.feature-icon {
    font-size: 24px;
    margin-right: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: hsl(210 40% 98%);
}

.feature-text p {
    font-size: 14px;
    color: hsl(215 20% 65%);
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid hsl(220 20% 25%);
    margin-top: 60px;
}

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

.footer-link {
    color: hsl(215 20% 65%);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-link:hover {
    color: hsl(217 91% 60%);
}

.footer-text {
    font-size: 12px;
    color: hsl(215 20% 65%);
}

/* Mobile-first responsive design */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 32px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .headline {
        font-size: 40px;
    }
    
    .subheadline {
        font-size: 20px;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .btn {
        min-width: 200px;
    }
    
    .features-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    
    .hero {
        max-width: 700px;
    }
    
    .features {
        max-width: 800px;
    }
    
    .features-list {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
}

/* Optimizations for mobile performance */
@media (max-width: 767px) {
    .headline {
        font-size: 28px;
    }
    
    .subheadline {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .btn {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .app-preview-placeholder {
        max-width: 100%;
        width: 100%;
    }
    
    .preview-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Smooth scrolling and tap targets */
html {
    scroll-behavior: smooth;
}

.btn, .footer-link {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection on buttons */
.btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
