:root {
    --bg-1: #020712;
    --bg-2: #040d22;
    --bg-3: #071532;
    --surface: rgba(12, 20, 38, 0.72);
    --surface-2: rgba(15, 24, 44, 0.88);
    --line: rgba(180, 205, 255, 0.2);
    --line-strong: rgba(180, 205, 255, 0.34);
    --text: #edf3ff;
    --muted: #b8c5de;
    --accent: #3f86ff;
    --accent-2: #74a9ff;
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    font-family: "Sora", sans-serif;
    color: var(--text);
    background:
        radial-gradient(1100px 560px at 20% -12%, rgba(63, 134, 255, 0.3), transparent 62%),
        radial-gradient(900px 500px at 86% 120%, rgba(35, 98, 225, 0.26), transparent 60%),
        linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 45%, var(--bg-1) 100%);
    line-height: 1.58;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.bg-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(90px);
}

.bg-shape-1 {
    width: 420px;
    height: 420px;
    top: -180px;
    left: -120px;
    background: rgba(66, 132, 255, 0.28);
}

.bg-shape-2 {
    width: 360px;
    height: 360px;
    right: -150px;
    top: 240px;
    background: rgba(34, 86, 207, 0.3);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(4, 11, 26, 0.72);
    border-bottom: 1px solid rgba(180, 205, 255, 0.14);
}

.site-header .container {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.68rem;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.96rem;
    color: #fff;
    background: linear-gradient(145deg, #4a94ff, #2554b6);
    border: 1px solid rgba(220, 235, 255, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-text {
    display: grid;
    line-height: 1.06;
}

.brand-text strong {
    font-size: 1.05rem;
}

.brand-text small {
    font-size: 0.79rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 1.35rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav a:hover,
.nav .is-active {
    color: #fff;
}

.top-actions {
    display: flex;
    gap: 0.58rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 0.72rem 1.14rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid transparent;
    background: linear-gradient(140deg, var(--accent), #2b6dff);
    box-shadow: 0 14px 28px rgba(22, 74, 190, 0.3);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(25, 80, 203, 0.34);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
    color: #e9f1ff;
    box-shadow: none;
}

.btn-sm {
    border-radius: 12px;
    padding: 0.56rem 0.92rem;
    font-size: 0.9rem;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

main {
    position: relative;
}

.section {
    padding: 4.2rem 0;
}

.legal-wrap {
    max-width: 860px;
}

.legal-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(170deg, rgba(8, 18, 40, 0.9), rgba(6, 14, 30, 0.8));
    padding: 1.35rem;
    backdrop-filter: blur(8px);
}

.legal-card h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.legal-card h2 {
    margin: 1.4rem 0 0.45rem;
    font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
    color: #d4dff5;
}

.legal-card ul {
    margin: 0.5rem 0 0.6rem 1.2rem;
    padding: 0;
}

.legal-meta {
    color: var(--muted);
    margin: 0 0 1rem;
}

.legal-links {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.section h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.section-intro {
    margin: 0.34rem 0 1.2rem;
    color: var(--muted);
}

.hero {
    padding: 4.9rem 0 3.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 1.6rem;
    align-items: center;
}

.kicker {
    color: #9fc0ff;
    font-weight: 700;
    margin: 0;
}

.hero h1 {
    font-size: clamp(2.05rem, 5vw, 4.05rem);
    line-height: 1.03;
    margin: 0.55rem 0 0.85rem;
}

.hero-text {
    color: #d3def3;
    max-width: 62ch;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
    margin-top: 1rem;
}

.tag-list span,
.chip-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: #dce7ff;
    padding: 0.34rem 0.72rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.hero-note {
    color: var(--muted);
    margin-top: 0.8rem;
    font-size: 0.94rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-tilt {
    max-width: 380px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    overflow: visible;
}

.phone-tilt img {
    width: 100%;
    display: block;
    height: auto;
}

.hero-card {
    border: 1px dashed var(--line-strong);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.hero-card-title {
    margin: 0;
    color: #d8e6ff;
}

.section-alt {
    background: linear-gradient(180deg, rgba(6, 14, 30, 0.62), rgba(3, 9, 21, 0.75));
    border-top: 1px solid rgba(180, 205, 255, 0.13);
    border-bottom: 1px solid rgba(180, 205, 255, 0.13);
}

.cards {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shots-carousel {
    --shots-gap: 0.95rem;
    --slides-per-view: 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
}

.shots-viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.shots-track {
    display: flex;
    gap: var(--shots-gap);
    transition: transform 0.35s ease;
    will-change: transform;
}

.shots-track .shot-card {
    flex: 0 0 calc((100% - (var(--shots-gap) * (var(--slides-per-view) - 1))) / var(--slides-per-view));
}

.carousel-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(8, 20, 44, 0.9);
    color: #dfeaff;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: rgba(16, 34, 71, 0.95);
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(170deg, rgba(8, 18, 40, 0.9), rgba(6, 14, 30, 0.8));
    backdrop-filter: blur(8px);
    padding: 1rem;
}

.shot-card img,
.shot-placeholder {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.shot-card img {
    height: auto;
    object-fit: contain;
}

.shot-placeholder {
    display: grid;
    place-items: center;
    text-align: center;
    color: #dbe7ff;
    background: linear-gradient(180deg, rgba(35, 64, 114, 0.64), rgba(20, 35, 67, 0.75));
    padding: 1rem;
}

.card h3 {
    margin: 0.78rem 0 0.2rem;
    font-size: 1.2rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.feature-icon {
    margin: 0;
    font-size: 1.2rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.faq-grid .card h3 {
    font-size: 1.33rem;
}

.cta {
    padding-top: 3rem;
}

.cta-box {
    text-align: center;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(150deg, rgba(20, 48, 102, 0.86), rgba(9, 22, 52, 0.92));
    padding: 1.8rem 1rem;
}

.cta-box p {
    color: var(--muted);
}

.contact-section {
    padding-top: 3.6rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.1rem;
}

.contact-intro h1 {
    margin: 0.2rem 0 0.55rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.lead-text {
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-2);
    backdrop-filter: blur(8px);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.contact-card form {
    display: grid;
    gap: 0.82rem;
}

.contact-card label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    padding: 0.7rem 0.8rem;
}

.contact-card textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(63, 134, 255, 0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.captcha-wrap {
    margin-top: 0.25rem;
}

.hint {
    color: var(--muted);
    font-size: 0.93rem;
    margin: 0.2rem 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.alert {
    border-radius: 12px;
    padding: 0.68rem 0.82rem;
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
}

.alert ul {
    margin: 0.42rem 0 0 1.2rem;
    padding: 0;
}

.alert-ok {
    background: rgba(20, 95, 56, 0.35);
    border-color: rgba(84, 217, 144, 0.42);
}

.alert-error {
    background: rgba(122, 37, 51, 0.35);
    border-color: rgba(230, 115, 139, 0.42);
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    margin-top: 2.4rem;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(180, 205, 255, 0.2);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid,
    .cards,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .phone-tilt {
        transform: none;
    }
}

@media (max-width: 840px) {
    .site-header .container {
        grid-template-columns: 1fr auto;
        row-gap: 0.6rem;
        padding: 0.55rem 0;
    }

    .nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .top-actions {
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .shots-carousel {
        --slides-per-view: 1;
        gap: 0.4rem;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .top-actions {
        display: none;
    }

    .hero {
        padding-top: 3.8rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .phone-tilt {
        max-width: 280px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
