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

body {
    font-family: 'Cabin', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: black;
    color: white;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    text-transform: uppercase;
}

h1 { text-align: center; }
h2 { font-size: 28px; margin: 2% 0 1%; }
h3 { font-size: 24px; margin-top: 2%; }

p { font-size: 20px; margin-top: 1%; }

/* Layout */
main { flex-grow: 1; }

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

/* Hero section */
.hero {
    background: black;
    padding: 4rem 0 1rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto 0;
}

.app-logo {
    width: 50%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* Download section */
.download-section {
    padding: 1rem 0;
    background: black;
    text-align: center;
}

.download-section h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.qr-section p {
    color: white;
    font-size: 18px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.direct-link h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#qrcode {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

#qrcode img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.play-store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.play-store-btn:hover { transform: scale(1.05); }
.play-store-badge { width: 200px; }
#mobile-view { display: none; }

/* Screenshots section */
.screenshots {
    padding: 1rem 0 2rem;
    background: black;
}

.screenshots h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.slideshow-container {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    color: black;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.slide-btn:hover {
    background: white;
}

.slide-btn.prev {
    left: -50px;
}

.slide-btn.next {
    right: -50px;
}

.slide-indicators {
    text-align: center;
    margin-top: 20px;
}

.indicator {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: white;
}

/* Features section */
.features {
    padding: 2rem 0 4rem;
    background: black;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: white;
    transform: translateY(-5px);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature p {
    opacity: 0.9;
}

/* Privacy section */
.privacy-section {
    padding: 2rem 0 4rem;
    background: black;
}

.privacy-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.9;
}

.privacy-content {
    padding: 2% 20%;
    line-height: 1.8;
}

.privacy-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}

.privacy-content h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.privacy-content ul { margin: 1rem 0 1rem 2rem; }
.privacy-content li { margin-bottom: 0.5rem; font-size: 18px; }
.privacy-content p { margin-bottom: 1rem; font-size: 18px; }

.privacy-content a {
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    padding: 2px 5px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.privacy-content a:hover { border-color: white; }

/* Footer */
footer {
    background: black;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 2px solid white;
}

footer p { margin-bottom: 0.5rem; }

footer a {
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    padding: 5px 10px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

footer a:hover { border-color: white; }

/* Responsive design */
@media (max-width: 768px) {
    .hero { padding: 2rem 0; }
    
    .app-logo {
        width: 90%;
        height: auto;
        max-width: 400px;
    }

    .download-section { padding: 2rem 0; }

    #download-header::before {
        content: "Download Now";
        font-size: 2rem;
    }
    
    #download-header {
        font-size: 0;
    }

    #desktop-view { display: none !important; }
    #mobile-view { display: block !important; }

    .screenshots { padding: 2rem 0; }

    .slideshow-container {
        padding: 0 50px;
        max-width: 300px;
    }
    
    .slide-btn.prev { left: 10px; }
    .slide-btn.next { right: 10px; }
    
    .slide-btn {
        font-size: 20px;
        padding: 8px 12px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .features { padding: 2rem 0; }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature { padding: 1.5rem; }

    .container { padding: 0 20px; }
    .privacy-content { padding: 5% 3%; }
    
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    p { font-size: 18px; }
}

@media (max-width: 480px) {
    .hero { padding: 1.5rem 0; }
    
    .app-logo {
        width: 95%;
        max-width: 300px;
    }
    
    .download-section { padding: 1.5rem 0; }
    
    .screenshots { padding: 1.5rem 0; }

    .slideshow-container {
        padding: 0 40px;
        max-width: 280px;
    }
    
    .slide-btn.prev { left: 5px; }
    .slide-btn.next { right: 5px; }
    
    .slide-btn {
        font-size: 18px;
        padding: 6px 10px;
    }
    
    .play-store-badge { width: 160px; }
    
    .privacy-content { padding: 3% 2%; }
    .privacy-content ul { margin-left: 1rem; }
    
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    p { font-size: 16px; }
    
    .container { padding: 0 15px; }
}