/* AST VPN landing — visual system aligned with astrafic.com */

:root {
    --ast-max: 1200px;
}

.ast-page h1,
.ast-page h2,
.ast-page h3 {
    word-break: normal;
    overflow-wrap: normal;
}

.ast-page {
    --ast-max: 1200px;
    --ast-gap: 20px;
    --ast-radius: 22px;
    --ast-section: clamp(2.05rem, 4.1vw, 3.7rem);
    --ast-card: rgba(30, 41, 59, 0.72);
    --ast-line: rgba(148, 163, 184, 0.22);
    --ast-text: #f1f5f9;
    --ast-muted: #94a3b8;
    color: var(--ast-text);
    position: relative;
    z-index: 1;
}

.ast-wrap {
    width: min(var(--ast-max), calc(100% - 40px));
    margin: 0 auto;
}

.ast-header {
    padding: 0;
}

.ast-header-inner {
    width: min(var(--ast-max), calc(100% - 40px));
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
    min-height: 52px;
    padding: 28px 0 72px;
}

.ast-logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ast-logo img {
    width: 124px;
    height: auto;
    max-width: min(132px, 100%);
    max-height: 42px;
    display: block;
    object-fit: contain;
    filter: brightness(1.08);
}

.ast-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(196, 181, 253, 0.42);
    box-shadow:
        0 14px 36px rgba(2, 6, 23, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.ast-nav a {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 22px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ast-nav a span,
.ast-nav .nav-soon span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.ast-nav .nav-soon {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 22px;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
    cursor: pointer;
}

.nav-soon-badge {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #67e8f9;
    border: 1px solid rgba(103, 232, 249, 0.45);
    border-radius: 999px;
    padding: 3px 6px;
}

.ast-nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(167, 139, 250, 0.1) 45%,
        rgba(34, 211, 238, 0.08) 55%,
        transparent 100%
    );
    background-size: 220% 100%;
    opacity: 0.35;
    animation: astNavShimmer 14s ease-in-out infinite;
    pointer-events: none;
}

.ast-nav a:hover {
    color: #f9fafb;
    background: rgba(30, 41, 59, 0.7);
}

.ast-nav a:focus-visible,
.ast-btn:focus-visible,
.ast-periods button:focus-visible,
.ast-faq-item button:focus-visible,
.ast-to-top:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.9);
    outline-offset: 2px;
}

.ast-nav a.is-active {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
    color: #f1f5f9;
    box-shadow:
        inset 0 0 0 1px rgba(196, 181, 253, 0.35),
        0 6px 16px rgba(2, 6, 23, 0.35);
}

.ast-nav a.is-active::after {
    opacity: 0.45;
}

@keyframes astNavShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ast-header-cta {
    justify-self: end;
    min-height: 44px;
    padding: 0 18px;
}

.ast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.ast-btn svg {
    flex: 0 0 auto;
}

.ast-btn-primary {
    color: #fff;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.32);
}

.ast-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(99, 102, 241, 0.42);
}

.ast-btn-secondary {
    color: var(--ast-text);
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(148, 163, 184, 0.38);
}

.ast-btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.7);
    background: rgba(30, 41, 59, 0.85);
}

.ast-btn-text {
    min-height: 44px;
    padding: 0 8px;
    background: transparent;
    color: #c4b5fd;
    box-shadow: none;
}

.ast-btn-text:hover {
    color: #fff;
    transform: none;
}

.ast-btn.is-disabled,
.ast-btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.ast-hero {
    text-align: center;
    padding: 0 0 8px;
}

.ast-hero-title {
    margin: 0 auto;
    max-width: 12em;
    font-size: clamp(2.45rem, 5vw, 4.15rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.035em;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-title-line {
    display: block;
}

.ast-hero-lead {
    margin: 22px auto 0;
    max-width: 36rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    font-weight: 450;
    line-height: 1.45;
}

.ast-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ast-hero-note {
    margin: 16px 0 0;
    color: var(--ast-muted);
    font-size: 0.92rem;
}

.ast-section {
    padding: var(--ast-section) 0;
}

.ast-eyebrow {
    margin: 0 0 10px;
    color: var(--primary-cyan, #06b6d4);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ast-eyebrow-center,
.ast-section-title,
.ast-section-lead {
    text-align: center;
}

.ast-section-title {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-section-lead {
    margin: 10px auto 0;
    max-width: 36rem;
    color: var(--ast-muted);
    font-size: 1.05rem;
}

.ast-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ast-kicker-new {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: #041018;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #22d3ee, #818cf8);
}

.ast-kicker-label {
    color: #c4b5fd;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ast-cabinet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
    gap: 28px;
    align-items: center;
    padding: 28px 28px 22px 32px;
    border-radius: 24px;
    border: 1px solid transparent;
    background:
        linear-gradient(105deg, rgba(15, 23, 42, 0.88), rgba(30, 27, 75, 0.72)) padding-box,
        linear-gradient(120deg, rgba(59, 130, 246, 0.55), rgba(139, 92, 246, 0.45), rgba(236, 72, 153, 0.35)) border-box;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ast-cabinet h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-align: left;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-cabinet p {
    margin: 0;
    max-width: 38rem;
    color: rgba(226, 232, 240, 0.86);
    font-size: 1.02rem;
    line-height: 1.55;
}

.ast-cabinet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ast-cabinet-visual {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.ast-cabinet-visual img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    background: transparent;
}

.ast-why-grid,
.ast-plans {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

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

.ast-why-card,
.ast-plan {
    border-radius: var(--ast-radius);
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: var(--ast-card);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ast-why-card {
    padding: 22px 20px 20px;
    text-align: left;
    transition: transform 200ms ease, border-color 200ms ease;
}

.ast-why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.5);
}

.ast-icon-tile {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #c4b5fd;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(6, 182, 212, 0.14));
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.ast-why-card h3,
.ast-plan h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 800;
}

.ast-plan h3 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ast-plan-emoji {
    font-size: 1.15em;
    line-height: 1;
    flex: 0 0 auto;
}

.ast-plan-emoji img.emoji {
    width: 1.15em;
    height: 1.15em;
    margin: 0;
}

html.reveal-enabled .ast-page [data-reveal] .ast-why-card,
html.reveal-enabled .ast-page [data-reveal] .ast-plan {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms ease, transform 520ms ease;
}

html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card,
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-plan {
    opacity: 1;
    transform: none;
}

html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card:nth-child(1),
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-plan:nth-child(1) { transition-delay: 60ms; }
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card:nth-child(2),
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-plan:nth-child(2) { transition-delay: 130ms; }
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card:nth-child(3),
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-plan:nth-child(3) { transition-delay: 200ms; }
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card:nth-child(4),
html.reveal-enabled .ast-page [data-reveal].is-visible .ast-plan:nth-child(4) { transition-delay: 270ms; }

html.reveal-enabled .ast-page [data-reveal].is-visible .ast-why-card:hover {
    transform: translateY(-3px);
}

.ast-why-card p {
    margin: 0;
    color: var(--ast-muted);
    font-size: 0.96rem;
    line-height: 1.45;
}

.ast-periods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.ast-periods button {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #e5e7eb;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.ast-periods button[aria-checked="true"] {
    color: #fff;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
}

.ast-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.ast-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 22px;
    min-width: 0;
}

.ast-plan.is-featured {
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 27, 75, 0.78)) padding-box,
        linear-gradient(135deg, #818cf8, #ec4899, #22d3ee) border-box;
}

.ast-plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    min-height: 26px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
}

.ast-plan-kicker {
    margin: 0 0 8px;
    color: #a5b4fc;
    font-size: 0.86rem;
    font-weight: 700;
}

.ast-plan-price {
    margin: 8px 0 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 820;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ast-plan-price span[data-price-suffix] {
    font-size: 0.58em;
    font-weight: 700;
    margin-left: 0.12em;
}

.ast-plan.is-featured .ast-plan-kicker {
    padding-right: 7.5rem;
}

.ast-plan-period,
.ast-plan-eq,
.ast-plan-unavailable {
    margin: 8px 0 0;
    color: var(--ast-muted);
    font-size: 0.92rem;
}

.ast-plan-eq {
    color: #c4b5fd;
}

.ast-plan-devices {
    margin: 14px 0 0;
    font-weight: 750;
    font-size: 1rem;
}

.ast-plan-rule {
    height: 1px;
    margin: 16px 0;
    border: 0;
    background: rgba(148, 163, 184, 0.2);
}

.ast-plan-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ast-plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.96rem;
    line-height: 1.35;
}

.ast-plan-list svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #67e8f9;
}

.ast-plan .ast-btn {
    margin-top: auto;
    width: 100%;
}

.ast-plan.is-unavailable .ast-plan-price,
.ast-plan.is-unavailable .ast-plan-period,
.ast-plan.is-unavailable .ast-plan-eq {
    display: none;
}

.ast-pricing-note {
    margin: 18px auto 0;
    max-width: 46rem;
    text-align: center;
    color: var(--ast-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ast-faq-section {
    padding-top: clamp(1.35rem, 2.6vw, 2.15rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.ast-faq-section + .ast-section {
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.ast-footer-logo {
    width: 156px;
    max-width: 100%;
    height: auto;
    display: block;
}

.ast-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2rem 2.5rem;
    align-items: start;
}

.ast-faq-eyebrow {
    margin: 0 0 0.65rem;
    color: var(--primary-cyan, #06b6d4);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ast-faq-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.7rem, 2.9vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: left;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-faq-lead {
    margin: 0;
    max-width: 28rem;
    color: var(--text-light, #94a3b8);
    font-size: 1.05rem;
    line-height: 1.55;
    text-align: left;
}

.ast-faq-support {
    display: inline-flex;
    align-items: center;
    margin-top: 1.15rem;
    color: var(--primary-cyan, #06b6d4);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.ast-faq-support:hover {
    color: #fff;
}

.ast-faq-support:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.85);
    outline-offset: 3px;
    border-radius: 6px;
}

.ast-faq {
    margin: 0;
    border: 1px solid rgba(196, 181, 253, 0.42);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 18px 48px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ast-faq-item + .ast-faq-item {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.ast-faq-item {
    background: transparent;
}

.ast-faq h3 {
    margin: 0;
    font: inherit;
}

.ast-faq-item button {
    width: 100%;
    min-height: 56px;
    padding: 1.05rem 1.2rem;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    border: 0;
    background: transparent;
    color: #f1f5f9;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 180ms ease;
}

.ast-faq-item button:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.06));
}

.ast-faq-item button:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.85);
    outline-offset: -2px;
}

.ast-faq-num {
    color: var(--primary-cyan, #06b6d4);
    font-weight: 850;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.ast-faq-q {
    min-width: 0;
    color: #f1f5f9;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.ast-faq-mark {
    position: relative;
    width: 14px;
    height: 14px;
    justify-self: end;
    color: #67e8f9;
}

.ast-faq-mark::before,
.ast-faq-mark::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 1px;
}

.ast-faq-mark::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
}

.ast-faq-mark::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    transition: opacity 200ms ease, transform 200ms ease;
}

.ast-faq-item.is-open .ast-faq-mark::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

.ast-faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 280ms ease;
}

.ast-faq-item.is-open .ast-faq-panel {
    grid-template-rows: 1fr;
}

.ast-faq-panel-inner {
    overflow: hidden;
}

.ast-faq-panel-inner p {
    margin: 0;
    padding: 0 1.2rem 1.05rem calc(1.2rem + 3rem + 0.85rem);
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.55;
}

.ast-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    min-height: 230px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.32);
    background:
        radial-gradient(520px 220px at 18% 40%, rgba(99, 102, 241, 0.2), transparent 70%),
        rgba(15, 23, 42, 0.82);
}

.ast-banner-copy {
    position: relative;
    z-index: 2;
    padding: 32px 28px 32px 36px;
}

.ast-banner h2 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-align: left;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-banner p {
    margin: 0 0 18px;
    color: rgba(226, 232, 240, 0.88);
    font-size: 1.02rem;
}

.ast-banner-visual {
    position: absolute;
    inset: 0 0 0 28%;
    z-index: 1;
    pointer-events: none;
}

.ast-banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
}

.footer {
    background: #0F172A;
    border-top: 2px solid rgba(99, 102, 241, 0.3);
    padding: 3.25rem 0 1.75rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer .container {
    max-width: 1200px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--primary-cyan), var(--primary-purple), transparent);
    opacity: 0.8;
    animation: gradientMove 3s ease infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.8fr) minmax(0, 1.8fr) minmax(0, 3.4fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.25rem;
}

.footer-panel {
    min-width: 0;
    height: fit-content;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-panel--brand {
    text-align: center;
    padding: 1.25rem 1.3rem;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-panel--brand .logo-img-small {
    margin: 0 auto 0.35rem;
}

.footer-ecosystem {
    margin: 0 0 0.35rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.9rem;
    line-height: 1.45;
}

.footer-social-card {
    margin-top: 0.2rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: grid;
    gap: 0.65rem;
    text-align: left;
}

.footer-social-title {
    color: rgba(241, 245, 249, 0.92);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.footer-social-grid {
    display: grid;
    gap: 0.45rem;
}

.footer-social-grid--channels {
    grid-template-columns: 1fr;
}

.footer-social-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.14);
}

.footer-social-btn {
    text-decoration: none;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0.58rem 0.72rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(99, 102, 241, 0.10));
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.24);
    color: rgba(241, 245, 249, 0.92);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.10));
    box-shadow: 0 18px 44px rgba(99, 102, 241, 0.14), 0 14px 36px rgba(2, 6, 23, 0.28);
}

.footer-social-btn:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.65);
    outline-offset: 3px;
}

.footer-social-btn--mail .footer-social-name {
    font-size: 0.92rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.20);
    background: rgba(2, 6, 23, 0.40);
    color: rgba(190, 166, 255, 0.95);
    flex: 0 0 auto;
}

.footer-social-text {
    display: grid;
    line-height: 1.15;
    min-width: 0;
}

.footer-social-name {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(241, 245, 249, 0.95);
}

.footer-social-sub {
    margin-top: 2px;
    color: rgba(148, 163, 184, 0.95);
    font-weight: 600;
    font-size: 0.88rem;
    word-break: break-word;
}

.footer-col-card {
    padding: 1.15rem 1.2rem 1.05rem;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: visible;
    height: fit-content;
    align-self: start;
}

.footer-col-card:hover {
    border-color: rgba(99, 102, 241, 0.28);
    background: rgba(2, 6, 23, 0.32);
}

.footer-note {
    color: rgba(148, 163, 184, 0.92);
    line-height: 1.4;
    font-size: 0.88rem;
    margin: -0.1rem 0 0.2rem;
}

.footer-nav-divider {
    height: 1px;
    margin: 0.15rem 0;
    background: rgba(148, 163, 184, 0.16);
}

.footer-title-accent {
    display: block;
    width: 42px;
    height: 2px;
    margin: 0.05rem 0 0.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #EC4899, #06B6D4);
    opacity: 0.85;
}

.footer-links-title {
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: rgba(241, 245, 249, 0.96);
    margin: 0;
}

.footer-panel h4 {
    margin: 0;
}

.logo-img-small {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: brightness(1.1);
    display: block;
}

.footer-link {
    display: inline-block;
    color: #94A3B8;
    text-decoration: none;
    padding: 0.38rem 0;
    position: relative;
}

.footer-link::before {
    display: none;
}

.footer-link--item,
.footer-link--doc {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.42rem 0.55rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.10);
    width: 100%;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-link--item:hover,
.footer-link--doc:hover {
    transform: translateY(-1px);
    background: rgba(99, 102, 241, 0.10);
    border-color: rgba(99, 102, 241, 0.22);
    color: rgba(226, 232, 240, 0.96);
}

.footer-link--item:focus-visible,
.footer-link--doc:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.65);
    outline-offset: 3px;
}

.footer-item-icon,
.footer-doc-icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 1px;
}

.footer-item-icon {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: rgba(226, 232, 240, 0.86);
}

.footer-link--item:hover .footer-item-icon {
    background: rgba(99, 102, 241, 0.10);
    border-color: rgba(99, 102, 241, 0.22);
    color: rgba(224, 231, 255, 0.95);
}

.footer-doc-icon {
    background: rgba(99, 102, 241, 0.10);
    border: 1px solid rgba(99, 102, 241, 0.22);
    color: rgba(226, 232, 240, 0.92);
}

.footer-link--doc:hover .footer-doc-icon {
    background: rgba(6, 182, 212, 0.10);
    border-color: rgba(6, 182, 212, 0.25);
    color: rgba(236, 254, 255, 0.95);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    color: #64748B;
    font-size: 0.875rem;
}

.footer-copyright {
    margin: 0;
    color: #64748B;
}

.footer-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-bottom-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.55);
    color: rgba(226, 232, 240, 0.92);
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    cursor: pointer;
    min-height: 44px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-bottom-btn:hover {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.footer-bottom-btn:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.7);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .ast-plans { gap: 12px; }
    .ast-plan { padding: 20px 16px 16px; }
    .ast-plan-badge {
        position: static;
        align-self: flex-start;
        margin: 0 0 10px;
    }
}

@media (max-width: 1024px) {
    .ast-page { --ast-section: clamp(2.05rem, 4.1vw, 3.25rem); }
    .ast-header-inner { padding: 28px 0 56px; }
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .ast-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ast-cabinet,
    .ast-banner,
    .ast-faq-layout { grid-template-columns: 1fr; }
    .ast-faq-layout { gap: 1.25rem; }
    .ast-cabinet { padding: 22px 18px 18px; }
    .ast-cabinet-visual img { width: min(100%, 460px); margin: 8px auto 0; }
    .ast-banner-visual {
        position: relative;
        inset: auto;
        height: 168px;
        opacity: 0.7;
    }
    .ast-banner-copy { padding: 24px 22px 8px; }
}

@media (max-width: 760px) {
    .ast-header-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "nav";
        justify-items: center;
        row-gap: 16px;
        padding: 18px 0 36px;
    }
    .ast-logo { grid-area: logo; justify-self: center; }
    .ast-header-cta { display: none; }
    .ast-nav {
        grid-area: nav;
        width: auto;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        justify-self: center;
    }
    .ast-nav a,
    .ast-nav .nav-soon { flex: 0 1 auto; min-height: 44px; padding: 0 12px; }
    .ast-plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ast-page { --ast-section: 1.75rem; }
    .ast-header-inner { width: calc(100% - 32px); padding: 18px 0 36px; }
    .ast-wrap { width: calc(100% - 32px); }
    .ast-hero-title { max-width: none; font-size: clamp(2.05rem, 9.2vw, 2.55rem); }
    .ast-hero-lead { font-size: 1rem; }
    .ast-hero-actions,
    .ast-cabinet-actions { flex-direction: column; align-items: stretch; }
    .ast-hero-actions .ast-btn,
    .ast-cabinet-actions .ast-btn { width: 100%; }
    .ast-why-grid { grid-template-columns: 1fr; }
    .ast-periods {
        width: 100%;
        border-radius: 16px;
    }
    .ast-periods button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 4px;
        font-size: clamp(0.72rem, 3.2vw, 0.84rem);
    }
    .ast-faq-item button {
        padding: 0.9rem 0.85rem;
        gap: 0.55rem;
        grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    }
    .ast-faq-panel-inner p { padding: 0 0.85rem 0.9rem calc(0.85rem + 2.4rem + 0.55rem); }
    .ast-faq-num { font-size: 0.84rem; }
    .footer { padding: 2.15rem 0 1.2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 0.9rem; }
    .footer-panel--brand,
    .footer-col-card { padding: 1.15rem 1rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom-actions { width: 100%; }
    .footer-bottom-btn { flex: 1 1 auto; }
    .logo-img-small { width: 168px; }
    .ast-logo img { width: 108px; max-width: 108px; max-height: 36px; }
}

@media (max-width: 360px) {
    .ast-nav a,
    .ast-nav .nav-soon { padding: 0 8px; font-size: 0.78rem; }
    .nav-soon-badge { font-size: 9px; padding: 2px 4px; letter-spacing: 0.04em; }
    .ast-wrap,
    .ast-header-inner { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
    html.reveal-enabled .ast-page [data-reveal],
    html.reveal-enabled .ast-page [data-reveal] .ast-why-card,
    html.reveal-enabled .ast-page [data-reveal] .ast-plan {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ast-btn,
    .ast-why-card,
    .ast-faq-panel,
    .ast-faq-mark::after,
    .ast-hero-title,
    .ast-section-title,
    .ast-cabinet h2,
    .ast-banner h2,
    .ast-faq-title,
    .ast-nav a,
    .ast-nav a::after,
    .footer::before,
    .footer-social-btn,
    .footer-link--item,
    .footer-link--doc,
    .footer-bottom-btn {
        transition: none;
        animation: none;
    }
    .footer-social-btn:hover,
    .footer-link--item:hover,
    .footer-link--doc:hover,
    .footer-bottom-btn:hover {
        transform: none;
    }
    .ast-btn-primary:hover,
    .ast-btn-secondary:hover,
    .ast-why-card:hover {
        transform: none;
    }
}

.ast-anchor {
    display: block;
    height: 0;
    overflow: hidden;
}

.ast-doc-hero {
    text-align: center;
    padding: 0 0 1.5rem;
}

.ast-doc-title {
    margin: 0 auto;
    max-width: 16em;
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    background: var(--gradient-premium);
    background-size: var(--gradient-premium-size);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: premiumGradient 8s ease infinite;
}

.ast-doc-lead {
    margin: 0.85rem auto 0;
    max-width: 40rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 1.05rem;
    line-height: 1.55;
}

.ast-doc .vpn-features,
.ast-doc .vpn-pricing {
    padding: 0 0 0.35rem;
    background: transparent;
}

.ast-doc .container {
    width: min(var(--ast-max), calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.ast-doc .vpn-plan {
    min-height: 0;
    width: min(860px, 100%);
    margin: 0 auto 0.9rem;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(196, 181, 253, 0.42);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
}

.ast-doc .vpn-plan:hover {
    transform: none;
}

.ast-doc .vpn-plan a {
    color: #c4b5fd;
}

.ast-doc-copy,
.ast-doc .vpn-plan p,
.ast-doc .vpn-plan li {
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.7;
}

.ast-doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

@media (max-width: 640px) {
    .ast-doc .container { width: calc(100% - 32px); }
    .ast-doc-actions .ast-btn { width: 100%; }
}

@media (max-width: 360px) {
    .ast-doc .container { width: calc(100% - 24px); }
}
