:root {
    --bg-color: #EDE6DC;
    --text-color: #1C1C1C;
    --accent-color: #0196DA;
    --border-color: rgba(0,0,0,0.08);
    --secondary-bg: rgba(0,0,0,0.03);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1C1C1C;
        --text-color: #EDE6DC;
        --border-color: rgba(255,255,255,0.08);
        --secondary-bg: rgba(255,255,255,0.05);
    }
}

body {
    margin: 0;
    font-family: "Literata", serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.25s ease, color 0.25s ease;
    scroll-behavior: smooth;
}

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

header {
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 22px;
    font-weight: 600;
}

.logo a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo a:visited,
.logo a:active,
.logo a:focus {
    color: var(--accent-color);
}

.language button {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 6px 10px;
    margin-left: 6px;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease;
    border-radius: 4px;
}

.language button:hover {
    background: var(--secondary-bg);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
}

.language button.active {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
}

.hero {
    padding: 100px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.app-info {
    padding: 60px 0;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.app-info p {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 16px;
}

footer {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 14px;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 14px;
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
}

.hero-actions {
    margin-top: 30px;
}

.hero-actions a {
    margin-bottom: 10px;
}

.primary-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 6px 20px rgba(1,150,218,0.25);
}

.primary-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(1,150,218,0.35);
}

.screenshots {
    padding: 80px 0;
}

.screenshots h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.screenshot-placeholder {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 420px;
    transition: transform 0.5s ease, border 0.5s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-4px);
    border: 1px solid var(--accent-color);
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
}

footer .footer-container {
    flex-wrap: wrap;
    gap: 12px;
}

/* HERO LAYOUT */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: 20px;
    opacity: 0.8;
    max-width: 520px;
}

.hero-phone {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.phone-mock {
    width: 260px;
    height: 520px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.phone-mock img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
}

.phone-mock:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (prefers-color-scheme: dark) {
    .phone-mock:hover {
        box-shadow: 0 20px 40px rgba(255,255,255,0.15);
    }
}

.appstore-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    margin-left: 12px;
    transition: background 0.2s ease, border 0.2s ease;
}

.appstore-btn:hover {
    background: var(--secondary-bg);
}


/* FEATURES */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

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

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    opacity: 0.8;
    line-height: 1.6;
}


/* ABOUT */
.about {
    padding: 80px 0;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    max-width: 700px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 16px;
}


/* LEGAL */
.legal {
    padding: 40px 0 20px 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-link {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.8;
}

.legal-link:hover {
    opacity: 1;
}


/* RESPONSIVE */
@media (max-width: 900px) {

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-phone {
        margin-top: 40px;
    }

}
