/* ===== Reset & Variables ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-darker: #1B5E20;
    --accent: #FFD600;
    --bg: #0D1117;
    --bg-nav: #161B22;
    --bg-surface: #1C2128;
    --text: #E6EDF3;
    --text-secondary: #8B949E;
    --text-content: #CDD5DE;
    --border: #30363D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Navigation ===== */
nav.main-nav {
    background-color: var(--bg-nav);
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
}

nav.main-nav .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

nav.main-nav a.nav-logo {
    color: var(--accent);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav.main-nav a.nav-logo:hover {
    text-decoration: none;
}

nav.main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

nav.main-nav .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

nav.main-nav .nav-links a:hover,
nav.main-nav .nav-links a.active {
    color: #FFFFFF;
    text-decoration: none;
}

nav.main-nav .nav-links a.active {
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.lang-switcher button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-switcher button:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-switcher button.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    user-select: none;
}

/* ===== Hero Section ===== */
.hero {
    background:
        linear-gradient(135deg, rgba(13, 17, 23, 0.85) 0%, rgba(13, 17, 23, 0.7) 100%),
        url('hero-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
}

.hero .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-content .tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.5;
}

.store-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.store-button {
    display: inline-block;
    height: 40px;
}

.store-button img {
    height: 40px;
    width: auto;
    transition: transform 0.2s;
}

.store-button.play-store {
    height: 60px;
    margin: -10px 0;
}

.store-button.play-store img {
    height: 60px;
}

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

/* ===== Phone Mockup ===== */
.phone-wrapper {
    flex-shrink: 0;
}

.phone-mockup {
    position: relative;
    width: 260px;
    height: 520px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Page Content ===== */
.page-content {
    flex: 1;
}

.page-content .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    color: var(--text-content);
    font-size: 15px;
    margin-bottom: 12px;
}

.page-content .last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.page-content .divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 48px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .tagline {
        font-size: 17px;
    }

    .store-buttons {
        justify-content: center;
    }

    .phone-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    nav.main-nav .nav-container {
        justify-content: center;
        text-align: center;
    }

    .lang-switcher {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
}
