:root {
    --accent-color: #e94560;
    --accent-gradient: linear-gradient(45deg, var(--accent-color), #ff6b6b);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        -apple-system,
        sans-serif;
    background-color: #0f0f1a;
    color: #e0e0e0;
    line-height: 1.6;
}

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

.container-sm {
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.hero {
    background: linear-gradient(to bottom, #0f0f1a, #1a1a2e);
    min-height: 40vh;
}

.hero-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 100vh;
    max-width: 900px;
}

.hero-text {
    flex: 1;
    padding: 32px 32px;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.hero-text p {
    text-align: right;
    font-size: 2rem;
    color: #a0a0a0;
    font-weight: 300;
    line-height: 1.4;
}

.hero-text b {
    font-weight: 700;
    font-style: italic;
    color: var(--accent-color);
    align-self: center;
}

.app-screenshot {
    padding: 64px 16px 64px 0;
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.main-content {
    padding: 80px 20px;
}

.text-block {
    max-width: 800px;
    margin: 0 auto 60px auto;
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #2a2a4a;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.text-block a {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer {
    background-color: #0f0f1a;
    border-top: 1px solid #2a2a4a;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-text {
    color: #606060;
    font-size: 0.9rem;
}

.content#download {
    background: #1a1a2e;
}

.download-content {
    display: flex;
    flex-direction: row;
    gap: 32px;
    height: 100vh;
    overflow: hidden;
    align-items: center;
    box-sizing: border-box;
}

.download-content .screenshot {
    width: auto;
    height: 100%;
    max-height: 100%;
    display: block;
    padding: 64px 16px;
    object-fit: contain;
}

.download-content .text {
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-content,
    .download-content {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 16px 16px;
    }

    .hero-text {
        align-items: center;
    }

    .hero-text p {
        text-align: center;
    }

    .app-screenshot,
    .download-content .screenshot {
        width: 100%;
        height: auto;
        padding: 16px 16px;
        margin: 0;
    }
}
