@font-face {
    font-family: "LilitaOne";
    src: url("assets/fonts/LilitaOne-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --ink: #e0e6f0;
    --ink-dim: #8a95aa;
    --ink-bright: #f5f7ff;
    --panel: rgba(12, 14, 20, 0.8);
    --panel-border: rgba(255, 255, 255, 0.08);
    --glow: rgba(100, 140, 220, 0.25);
    --accent: #7eb8f0;
    --accent-strong: #5a9de0;
    --cta-gradient: linear-gradient(130deg, #5a9de0 0%, #7eb8f0 50%, #4a8fd4 100%);
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(1200px 800px at 20% 10%, rgba(20, 40, 80, 0.5), transparent 60%),
        radial-gradient(900px 700px at 80% 20%, rgba(40, 20, 60, 0.35), transparent 65%),
        linear-gradient(180deg, #0a0e18 0%, #0f1423 100%);
    color: var(--ink);
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Hero */

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    padding: 48px clamp(24px, 6vw, 96px);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content {
    display: grid;
    gap: 16px;
    max-width: 520px;
    align-self: start;
}

.hero-content h1 {
    font-family: "LilitaOne", "Futura", "Avenir Next", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin: 0;
    line-height: 1.1;
    color: var(--ink-bright);
    letter-spacing: 0.02em;
}

.tagline {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink-dim);
}

.feature-list {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-dim);
    display: grid;
    gap: 6px;
    line-height: 1.5;
}

.feature-list li::marker {
    color: var(--accent);
}

/* Actions */

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.cta,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
    background: var(--cta-gradient);
    color: #fff;
    box-shadow: 0 12px 30px rgba(90, 157, 224, 0.3);
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(90, 157, 224, 0.4);
}

.cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Store Badges */

.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.store-badge:hover {
    opacity: 1;
}

.store-badge img {
    display: block;
    height: 44px;
    width: auto;
}

.store-badge.google-play img {
    height: 52px;
}

.store-badge:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Gallery / Carousel */

.hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    align-self: start;
}

.carousel {
    position: relative;
    width: min(78vw, 360px);
    background: var(--panel);
    border-radius: 32px;
    padding: 14px;
    box-shadow: var(--shadow-soft), 0 0 40px var(--glow);
    border: 1px solid var(--panel-border);
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-track::before {
    content: "";
    display: block;
    padding-top: calc(19.5 / 9 * 100%);
}

.carousel-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-track img.active {
    opacity: 1;
}

@supports (aspect-ratio: 1 / 1) {
    .carousel-track {
        aspect-ratio: 9 / 19.5;
    }
    .carousel-track::before {
        content: none;
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: rgba(10, 14, 24, 0.85);
    color: var(--accent);
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: background 0.2s ease;
}

.carousel-control:hover {
    background: rgba(20, 28, 48, 0.95);
}

.carousel-control.prev {
    left: -16px;
}

.carousel-control.next {
    right: -16px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(126, 184, 240, 0.15);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dots .dot.active {
    background: var(--accent);
    border-color: rgba(126, 184, 240, 0.5);
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(126, 184, 240, 0.4);
}

button {
    font: inherit;
    color: inherit;
}

/* Footer */

.footer {
    padding: 28px clamp(24px, 6vw, 96px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    display: grid;
    gap: 10px;
    color: var(--ink-dim);
    font-size: 0.9rem;
}

.footer nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer a {
    color: var(--ink-dim);
}

.footer a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer p {
    margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
    .hero {
        padding-top: 32px;
    }
}

@media (max-width: 680px) {
    .hero {
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

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

    .carousel {
        width: min(86vw, 340px);
    }
}
