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

:root {
    --bg: #111827;
    --bg-soft: #162133;
    --panel: rgba(19, 28, 42, 0.92);
    --text: #e5e7eb;
    --muted: #aeb8c5;
    --line: rgba(148, 163, 184, 0.16);
    --accent: #cbd5e1;
    --accent-2: #67e8f9;
    --accent-3: #94a3b8;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
}

body.an-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.an-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.an-wrap--narrow {
    max-width: 960px;
}

.an-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.an-header__inner {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.an-logo {
    text-decoration: none;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.an-header__line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    box-shadow: 0 0 12px rgba(103, 232, 249, 0.28);
}

.an-nav {
    position: relative;
}

.an-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.an-nav__list a {
    color: var(--accent-3);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.an-nav__list a:hover {
    color: var(--text);
}

.an-nav__toggle,
.an-nav__button {
    display: none;
}

.an-section {
    padding: 92px 24px;
}

.an-section--soft {
    background: rgba(255, 255, 255, 0.02);
}

.an-hero__grid,
.an-story,
.an-contact {
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
}

.an-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.08);
    border: 1px solid rgba(103, 232, 249, 0.18);
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.an-hero h1,
.an-head h2,
.an-story h2,
.an-contact h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    margin-bottom: 18px;
}

.an-head h2,
.an-story h2,
.an-contact h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.an-lead,
.an-hero p,
.an-card p,
.an-story p,
.an-faq__item p,
.an-contact p,
.an-list li,
.an-expert span,
.an-footer {
    color: var(--muted);
    font-size: 18px;
}

.an-frame,
.an-card,
.an-faq__item,
.an-form {
    background: linear-gradient(180deg, rgba(19, 28, 42, 0.96), rgba(17, 24, 39, 0.98));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.an-frame,
.an-card,
.an-form {
    padding: 24px;
}

.an-frame img,
.an-story__visual img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.an-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.an-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: none;
    cursor: pointer;
}

.an-btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111827;
}

.an-btn--ghost,
.an-btn--secondary {
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: var(--text);
    background: rgba(255,255,255,0.02);
}

.an-expert {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.an-expert img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.an-expert strong {
    display: block;
    margin-bottom: 4px;
}

.an-head {
    margin-bottom: 36px;
}

.an-grid {
    display: grid;
    gap: 20px;
}

.an-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.an-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.an-card h3,
.an-plan h3 {
    font-size: 26px;
    line-height: 1.14;
    margin-bottom: 14px;
}

.an-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.an-list li {
    position: relative;
    padding-left: 18px;
}

.an-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
}

.an-plan {
    display: flex;
    flex-direction: column;
}

.an-plan--accent {
    transform: translateY(-10px);
    border-color: rgba(103, 232, 249, 0.28);
}

.an-price {
    color: var(--accent-2);
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 18px;
}

.an-plan .an-btn {
    margin-top: auto;
}

.an-faq {
    display: grid;
    gap: 14px;
}

.an-faq__item {
    padding: 22px 24px;
}

.an-faq__item summary {
    list-style: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 800;
}

.an-faq__item summary::-webkit-details-marker {
    display: none;
}

.an-faq__item p {
    margin-top: 14px;
}

.an-form {
    display: grid;
    gap: 14px;
}

.an-form input,
.an-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 16px 18px;
    font: inherit;
}

.an-form textarea {
    resize: vertical;
    min-height: 120px;
}

.an-footer {
    padding: 28px 24px 42px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.an-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.an-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.an-footer nav a {
    color: var(--muted);
    text-decoration: none;
}

@media (max-width: 980px) {
    .an-hero__grid,
    .an-story,
    .an-contact,
    .an-grid--4,
    .an-grid--3 {
        grid-template-columns: 1fr;
    }

    .an-plan--accent {
        transform: none;
    }

    .an-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .an-nav__button {
        width: 48px;
        height: 48px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .an-nav__button span {
        display: block;
        height: 2px;
        border-radius: 99px;
        background: var(--text);
    }

    .an-nav__list {
        position: absolute;
        right: 0;
        top: calc(100% + 12px);
        min-width: 240px;
        padding: 16px;
        border-radius: 22px;
        background: rgba(17, 24, 39, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .an-nav__toggle:checked ~ .an-nav__list {
        display: flex;
    }
}

@media (max-width: 720px) {
    .an-section,
    .an-header__inner,
    .an-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .an-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .an-logo {
        font-size: 24px;
    }

    .an-hero h1,
    .an-head h2,
    .an-story h2,
    .an-contact h2 {
        font-size: 34px;
    }

    .an-lead,
    .an-hero p,
    .an-card p,
    .an-story p,
    .an-faq__item p,
    .an-contact p,
    .an-list li,
    .an-expert span,
    .an-footer {
        font-size: 16px;
    }

    .an-frame,
    .an-card,
    .an-faq__item,
    .an-form {
        border-radius: 22px;
    }

    .an-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
