﻿:root {
    --bg: #0b1020;
    --bg2: #0f1733;
    --card: #121c3e;
    --text: #eef2ff;
    --muted: #b7c0e6;
    --accent: #7c5cff;
    --accent2: #22c55e;
    --line: rgba(255,255,255,.10);
    --shadow: 0 18px 50px rgba(0,0,0,.35);
    --radius: 18px;
}

[data-theme="light"] {
    --bg: #f7f8ff;
    --bg2: #eef1ff;
    --card: #ffffff;
    --text: #111827;
    --muted: #4b5563;
    --accent: #6d28d9;
    --accent2: #16a34a;
    --line: rgba(17,24,39,.12);
    --shadow: 0 18px 50px rgba(17,24,39,.10);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(900px 600px at 15% -10%, rgba(124,92,255,.35), transparent 55%), radial-gradient(900px 600px at 80% 10%, rgba(34,197,94,.20), transparent 55%), linear-gradient(180deg, var(--bg), var(--bg2));
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto
}

.header {
    padding: 18px 0 44px;
    border-bottom: 1px solid var(--line)
}

.header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .2px
}

    .logo.small {
        font-size: 14px
    }

.logo__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 0 6px rgba(124,92,255,.12);
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center
}

    .nav a {
        opacity: .92
    }

        .nav a:hover {
            opacity: 1;
            text-decoration: underline
        }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    cursor: pointer;
}

    .burger span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 5px auto;
        background: var(--text);
        border-radius: 2px;
    }

.hero {
    padding-top: 36px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
}

h1 {
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.05;
    margin: 10px 0 10px
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 52ch
}

.cta {
    display: flex;
    gap: 12px;
    margin: 18px 0 18px;
    flex-wrap: wrap
}

.btn {
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: transform .12s ease, background .12s ease;
}

    .btn:hover {
        transform: translateY(-1px)
    }

.btn--primary {
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.btn--ghost {
    background: transparent
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px
}

.badge {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
}

.badge__title {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.badge__value {
    font-weight: 800
}

.hero__card {
    position: sticky;
    top: 16px
}

.pet-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.pet-card__top {
    display: flex;
    gap: 12px;
    align-items: center
}

.pet-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 30px;
    background: linear-gradient(135deg, rgba(124,92,255,.28), rgba(34,197,94,.22));
    border: 1px solid var(--line);
}

.pet-name {
    font-weight: 900;
    font-size: 18px
}

.pet-sub {
    color: var(--muted);
    font-size: 13px
}

.pet-stats {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.stat {
    display: grid;
    grid-template-columns: 70px 1fr 46px;
    gap: 10px;
    align-items: center
}

.stat__label {
    font-size: 12px;
    color: var(--muted)
}

.stat__value {
    font-size: 12px;
    color: var(--muted);
    text-align: right
}

.bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
}

.bar__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width .25s ease;
}

.pet-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px
}

.chip {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

    .chip:hover {
        background: rgba(255,255,255,.08)
    }

.pet-hint {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px
}

.section {
    padding: 56px 0
}

.section--alt {
    background: rgba(255,255,255,.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

h2 {
    margin: 0 0 18px;
    font-size: 28px
}

.muted {
    color: var(--muted)
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.icon {
    font-size: 26px
}

.card h3 {
    margin: 10px 0 8px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55
}

.row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.toggle {
    display: flex;
    align-items: center;
    gap: 10px
}

.switch {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    cursor: pointer;
    position: relative;
}

.switch__knob {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    transition: left .18s ease;
}

.switch[aria-pressed="true"] .switch__knob {
    left: calc(100% - 27px)
}

.screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.phone {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    padding: 14px;
    box-shadow: var(--shadow);
}

.phone__top {
    height: 18px;
    width: 60%;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.phone__screen {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.18);
    padding: 14px;
    min-height: 220px;
}

[data-theme="light"] .phone__screen {
    background: rgba(17,24,39,.06)
}

.screen-title {
    font-weight: 900;
    margin-bottom: 10px
}

.screen-box {
    border-radius: 16px;
    border: 1px dashed var(--line);
    padding: 18px;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.screen-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    margin-top: 12px;
}

    .screen-line.small {
        width: 70%
    }

.download {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: start;
}

.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0
}

.store {
    min-width: 200px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .store:hover {
        background: rgba(255,255,255,.08)
    }

.store__small {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .4px
}

.store__big {
    font-weight: 900;
    font-size: 18px
}

.mini {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    font-weight: 800;
    font-size: 12px;
}

.newsletter {
    align-self: stretch
}

.form {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap
}

input {
    flex: 1;
    min-width: 210px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
    outline: none;
}

    input::placeholder {
        color: var(--muted)
    }

.toast {
    margin-top: 10px;
    min-height: 22px;
    color: var(--muted);
}

.faq {
    display: grid;
    gap: 10px
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
    padding: 12px 14px;
}

    .faq__item summary {
        cursor: pointer;
        font-weight: 900;
    }

    .faq__item p {
        margin: 10px 0 0;
        color: var(--muted);
        line-height: 1.6
    }

.footer {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.footer__right a {
    opacity: .9
}

    .footer__right a:hover {
        text-decoration: underline
    }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none
}

    .modal.is-open {
        display: block
    }

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.modal__dialog {
    position: relative;
    width: min(760px, 92vw);
    margin: 8vh auto 0;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.modal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    cursor: pointer;
}

.modal__content {
    padding: 18px
}

.video__fake {
    border-radius: 18px;
    border: 1px dashed var(--line);
    background: rgba(255,255,255,.03);
    min-height: 320px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    padding: 18px;
}

.video__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.modal__hint {
    margin-top: 10px
}

/* Helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero__card {
        position: relative
    }

    .download {
        grid-template-columns: 1fr
    }

    .screens {
        grid-template-columns: 1fr
    }

    .nav {
        display: none
    }

    .burger {
        display: block
    }

    .nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 4vw;
        top: 70px;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: var(--card);
        box-shadow: var(--shadow);
        z-index: 10;
    }
}
