:root {
    /* Colors extracted from the app screenshot */
    --bg-main: #111424;       /* Deep navy background */
    --bg-card: #1C1F3A;       /* Slightly lighter navy for cards */
    --accent-yellow: #FFB800; /* Main action color */
    --accent-purple: #4D3C8A; /* Secondary UI color */
    --text-light: #FFFFFF;
    --text-muted: #A0A4B8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--text-light);
    background: var(--bg-main);
    overflow-x: hidden;
}

/* Header & Nav */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5%;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    margin-top: 2px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 10% 5rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

h1 { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
    line-height: 1.2;
    font-weight: 800;
}

h1 em {
    color: var(--accent-yellow);
    font-style: normal;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.play-badge { 
    width: 220px; 
    transition: transform 0.2s; 
}

.play-badge:hover { 
    transform: scale(1.05); 
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.hero-image img {
    max-height: 550px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 6px solid #1C1F3A; /* Simulates device bezel */
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 10% 5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-purple);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: var(--accent-yellow);
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Screenshot Gallery */
.app-preview {
    padding: 4rem 0;
    text-align: center;
}

.app-preview h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 10% 3rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for the gallery */
.screenshot-gallery::-webkit-scrollbar { height: 8px; }
.screenshot-gallery::-webkit-scrollbar-track { background: var(--bg-main); }
.screenshot-gallery::-webkit-scrollbar-thumb { 
    background: var(--accent-purple); 
    border-radius: 10px; 
}

.screenshot-gallery img {
    height: 450px;
    border-radius: 24px;
    scroll-snap-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    border: 4px solid var(--bg-card);
}

/* Privacy Policy Layout Overrides */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 5% 5rem;
}

.legal-content h1, .legal-content h2, .legal-content h3 {
    color: var(--accent-yellow);
}

.legal-content p, .legal-content li {
    color: var(--text-muted);
}

.legal-content a {
    color: var(--text-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5% 4rem;
    }
    
    h1 { font-size: 2.2rem; }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .screenshot-gallery { padding: 1rem 5% 2rem; }
}