/* Стили главной страницы aoimusic.ru (вынесены из index.html для CSP). */
:root {
    --primary: #FF4F8B; 
    --primary-glow: rgba(255, 79, 139, 0.4);
    --tg-color: #229ED9;
    --mail-color: #FF4F8B;
    --bg: #0B0E14;
    --surface: #161A22;
    --text: #F8F9FA;
    --text-dim: #9FA6B2;
    --border: rgba(255, 255, 255, 0.05);
    --font-serif: "Georgia", "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html {
    overflow-x: clip;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 79, 139, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; min-width: 0; }

@keyframes revealUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    position: sticky;
    top: 0;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 16px 20px;
    min-width: 0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    flex: 0 1 auto;
    min-width: 0;
}
.logo-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.logo-text {
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}
.nav-link { 
    text-decoration: none; color: var(--text-dim); font-size: clamp(12px, 3.4vw, 15px); font-weight: 500; 
    position: relative; padding: 4px 0; transition: color 0.3s; white-space: nowrap;
}
.nav-link::after {
    content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px;
    bottom: 0; left: 0; background-color: var(--primary); transform-origin: bottom right; transition: transform 0.3s ease-out;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge {
    background: rgba(255, 79, 139, 0.1); color: var(--primary); padding: 6px 14px;
    border-radius: 100px; font-size: 12px; font-weight: 600; margin-bottom: 20px;
    border: 1px solid rgba(255, 79, 139, 0.2);
}
h1 { font-size: clamp(32px, 7vw, 64px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1.5px; }
.about-header span.primary { color: var(--primary); }
.hero-desc { font-size: clamp(16px, 4vw, 20px); color: var(--text-dim); max-width: 600px; margin: 0 auto 40px; font-family: var(--font-serif); font-style: italic; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.goal-card {
    position: relative; width: 100%; max-width: 440px; margin: 36px auto 0;
    padding: 22px 22px 20px; border-radius: 22px; text-align: left;
    background: linear-gradient(160deg, rgba(255, 79, 139, 0.10), rgba(255, 79, 139, 0) 55%), var(--surface);
    border: 1px solid rgba(255, 79, 139, 0.18);
    box-shadow: 0 20px 50px -30px var(--primary-glow);
    opacity: 0; transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease;
}
.goal-card[hidden] { display: none; }
.goal-card.is-visible { opacity: 1; transform: none; }
.goal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.goal-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim);
}
.goal-eyebrow svg { width: 16px; height: 16px; color: var(--primary); }
.goal-percent {
    font-size: 13px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums;
    padding: 3px 10px; border-radius: 100px; background: rgba(255, 79, 139, 0.12);
}
.goal-numbers { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.goal-current { font-size: clamp(40px, 11vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.goal-target { font-size: 18px; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.goal-caption { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; }
.goal-track {
    position: relative; height: 12px; border-radius: 100px; overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}
.goal-fill {
    position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
    background: linear-gradient(90deg, #ff7aa8, var(--primary));
    box-shadow: 0 0 18px var(--primary-glow);
    transition: width 1.4s cubic-bezier(.22, 1, .36, 1);
}
.goal-fill::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-100%); animation: goal-shine 2.8s ease-in-out 1.6s infinite;
}
@keyframes goal-shine { to { transform: translateX(100%); } }
.goal-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.goal-left { margin-top: 14px; font-size: 14px; color: var(--text); }
.goal-left b { color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
    .goal-card, .goal-fill { transition: none; }
    .goal-fill::after { animation: none; }
}
.btn-apk {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; 
    background-color: #FFFFFF; color: #0B0E14; width: 100%; max-width: 320px;
    padding: 16px 32px; border-radius: 18px; font-size: 17px; font-weight: 700;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; 
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.btn-apk.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
.btn-apk:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.15);
}
.btn-apk svg path { fill: #0B0E14; }
.btn-tg {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; 
    background-color: rgba(34, 158, 217, 0.05); color: var(--tg-color); width: 100%; max-width: 320px;
    padding: 14px 32px; border-radius: 16px; font-size: 15px; font-weight: 600;
    text-decoration: none; border: 1px solid rgba(34, 158, 217, 0.2);
    animation: tgPulse 2.4s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-tg:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.25);
}
@keyframes tgPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0); border-color: rgba(34, 158, 217, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(34, 158, 217, 0.12); border-color: rgba(34, 158, 217, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
    .btn-tg { animation: none; }
    .btn-tg:hover { transform: none; }
}

/* Презентация */
.presentation { padding: 60px 0; }
.presentation-card {
    background: var(--surface); border-radius: 32px; padding: 40px 24px;
    border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}
.pres-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: #fff; text-align: center; }
.pres-text p { font-size: 16px; color: var(--text-dim); margin-bottom: 24px; text-align: center; font-family: var(--font-serif); }
.platform-badges {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    gap: 14px; margin-bottom: 36px;
}
.platform-badge {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    backface-visibility: hidden;
}
.platform-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.platform-badge svg {
    width: 32px; height: 32px; display: block;
    shape-rendering: geometricPrecision;
}
.platform-badge.tidal svg { width: 30px; height: 20px; }
.platform-badge.deezer svg { width: 34px; height: 34px; }
.platform-badge.soundcloud svg { width: 40px; height: auto; }
.platform-badge.tidal { background: linear-gradient(145deg, #1a1a1a, #000); }
.platform-badge.deezer { background: linear-gradient(145deg, #b84dff, #A238FF); }
.platform-badge.soundcloud { background: linear-gradient(145deg, #ff6a22, #FF5500); }
.platform-badge-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-dim);
}
.platform-badge-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-top {
    position: fixed; right: 24px; bottom: 28px; left: auto; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 79, 139, 0.35);
    background: rgba(22, 26, 34, 0.92); color: var(--primary);
    cursor: pointer; backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    appearance: none;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.scroll-top.visible {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
}
.scroll-top:hover { border-color: var(--primary); color: #fff; background: rgba(255, 79, 139, 0.15); }
.scroll-top:focus-visible {
    outline: 2px solid rgba(255, 79, 139, 0.55);
    outline-offset: 3px;
}
.scroll-top:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 4px 14px rgba(255, 79, 139, 0.22);
    background: rgba(255, 79, 139, 0.22);
}
.scroll-top svg { width: 22px; height: 22px; pointer-events: none; }
.pres-features { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pres-import-note {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
    text-align: left;
}
.pres-import-note strong { color: var(--text); font-weight: 600; }
.pres-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; cursor: default; }
.pres-item-icon { color: var(--primary); width: 32px; height: 32px; flex-shrink: 0; }
.pres-item-icon-img { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.pres-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.pres-item span { font-size: 14px; color: var(--text-dim); }

/* Pricing */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.section-title p { font-family: var(--font-serif); font-style: italic; color: var(--text-dim); font-size: 16px; }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.price-card { 
    background: var(--surface); padding: 28px 22px 24px; border-radius: 22px; border: 1px solid var(--border); 
    display: flex; flex-direction: column; position: relative; overflow: visible; cursor: default;
}
.price-card.plan-free { border-color: rgba(67, 160, 71, 0.42); }
.price-card.plan-plus { border-color: rgba(255, 152, 0, 0.72); }
.price-card.plan-pro { border-color: rgba(229, 57, 53, 0.42); }
.price-badge {
    position: absolute; top: -10px; right: 14px;
    background: rgba(255, 152, 0, 0.92); color: #0B0E14;
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.price-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.price-top-main { min-width: 0; }
.price-top h3 { font-size: 22px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 4px; color: #fff; }
.price-subtitle { font-size: 14px; color: var(--text-dim); line-height: 1.35; margin: 0; font-family: inherit; font-style: normal; }
.price-value { font-size: 28px; font-weight: 800; color: #fff; text-align: right; white-space: nowrap; }
.price-value span { font-size: 13px; font-weight: 500; color: var(--text-dim); display: block; margin-top: 2px; }
.price-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 16px; }
.price-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; line-height: 1.35; color: #fff; font-family: inherit; font-style: normal; margin: 0;
}
.price-features li.off { color: var(--text-dim); }
.feat-icon {
    flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; margin-top: 1px;
}
.price-features li.on .feat-icon { background: #285E50; color: #80E0BE; }
.price-features li.off .feat-icon { background: rgba(255,255,255,0.08); color: rgba(159,166,178,0.75); }
.price-note { margin-top: 14px; font-size: 12px; color: var(--text-dim); line-height: 1.45; font-family: var(--font-serif); font-style: italic; }

/* FAQ */
.faq-grid { max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border-radius: 14px; border: 1px solid var(--border); }
.faq-heading { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-question {
    width: 100%; padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: none; border: 0; border-radius: 14px; color: inherit; font: inherit; text-align: left;
}
.faq-question:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.faq-question-text { font-size: 15px; line-height: 1.4; color: #fff; font-weight: 700; }
.faq-answer { padding: 0 20px 20px; color: var(--text-dim); font-size: 14px; font-family: var(--font-serif); }
/* Сворачиваем ответы только при работающем JS; без JS они открыты. */
.js .faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s, padding 0.3s, visibility 0s linear 0.3s; }
.js .faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 500px; visibility: visible; transition: max-height 0.3s, padding 0.3s, visibility 0s; }
.faq-icon { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; display: inline-flex; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* О нас */
.about-section { min-width: 0; }
.about-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    background: linear-gradient(145deg, var(--surface), #1a1f29);
    border-radius: 32px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.about-header h2 { font-size: clamp(22px, 5vw, 26px); line-height: 1.2; color: #fff; }
.about-header span.primary { color: var(--primary); }
.about-content {
    max-width: none;
    padding-right: 0;
    min-width: 0;
}
.about-content p {
    font-size: clamp(15px, 4vw, 17px);
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-serif);
    font-style: italic;
}
.about-content p:last-child { margin-bottom: 0; }
.about-aside {
    position: static;
    width: min(100%, 240px);
    min-width: 0;
    max-width: 280px;
    margin: 8px auto 0;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
}
.about-footer {
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: var(--text-dim);
    font-size: clamp(9px, 2.2vw, 11px);
    line-height: 1.28;
    font-style: italic;
    padding: 2px 0 0;
}
.about-easter {
    position: relative;
    min-height: 140px;
    max-height: min(52vw, 220px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    border-radius: 16px;
}
.about-easter img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.02);
    transform-origin: center top;
    filter: saturate(0.78) brightness(0.72) contrast(1.04) sepia(0.08);
    -webkit-mask-image: radial-gradient(
        ellipse 88% 82% at 50% 42%,
        #000 0%,
        #000 42%,
        rgba(0, 0, 0, 0.72) 62%,
        rgba(0, 0, 0, 0.28) 82%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 88% 82% at 50% 42%,
        #000 0%,
        #000 42%,
        rgba(0, 0, 0, 0.72) 62%,
        rgba(0, 0, 0, 0.28) 82%,
        transparent 100%
    );
}
.about-easter::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(22, 26, 34, 0.55) 0%, rgba(22, 26, 34, 0.2) 14%, transparent 32%),
        linear-gradient(to bottom, rgba(22, 26, 34, 0.5) 0%, rgba(22, 26, 34, 0.18) 12%, transparent 28%),
        linear-gradient(to left, rgba(22, 26, 34, 0.35) 0%, rgba(22, 26, 34, 0.12) 16%, transparent 34%),
        linear-gradient(to right, rgba(22, 26, 34, 0.35) 0%, rgba(22, 26, 34, 0.12) 14%, transparent 30%);
    pointer-events: none;
}

/* Support modal */
.support-dialog {
    border: none; padding: 0; margin: auto;
    max-width: 480px; width: calc(100% - 32px);
    background: transparent; color-scheme: dark;
}
.support-dialog::backdrop {
    background: rgba(11, 14, 20, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.support-dialog-panel {
    background: linear-gradient(165deg, #1a1f29 0%, var(--surface) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}
.support-dialog-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 20px 20px 0;
}
.support-dialog-head h2 { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.support-dialog-head p { font-size: 13px; color: var(--text-dim); margin-top: 4px; line-height: 1.45; }
.support-dialog-close {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--border); background: rgba(255,255,255,0.04);
    color: var(--text-dim); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.support-dialog-close:hover { color: #fff; border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); }
.support-dialog-body { padding: 16px 20px 20px; }
.support-dialog-foot {
    padding: 12px 20px 16px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-dim); text-align: center;
}
.support-dialog-foot a { color: var(--primary); text-decoration: none; font-weight: 600; }
.support-dialog-foot a:hover { text-decoration: underline; }
.ticket-form { display: flex; flex-direction: column; gap: 12px; color-scheme: dark; }
.ticket-field label { font-size: 11px; font-weight: 600; color: var(--text-dim); display: block; margin-bottom: 5px; letter-spacing: 0.02em; text-transform: uppercase; }
.ticket-form input, .ticket-form select, .ticket-form textarea {
    width: 100%; background: #12161e; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; padding: 11px 13px; color: var(--text); font-size: 14px;
    font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.ticket-form input::placeholder, .ticket-form textarea::placeholder { color: #8C939F; }
.ticket-form select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%239FA6B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.ticket-form select option, .ticket-form select optgroup {
    background: #161A22; color: var(--text);
}
.ticket-form input:focus, .ticket-form select:focus, .ticket-form textarea:focus {
    border-color: rgba(255, 79, 139, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 79, 139, 0.12);
}
.ticket-form textarea { min-height: 110px; resize: vertical; max-height: 200px; }
.ticket-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ticket-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-submit {
    margin-top: 4px; background: var(--primary); color: #0B0E14; border: none; border-radius: 12px;
    padding: 13px 20px; font-size: 14px; font-weight: 700; cursor: pointer; width: 100%;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-submit:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.ticket-status { font-size: 13px; margin-top: 2px; min-height: 18px; text-align: center; }
.ticket-status.ok { color: #6ee7b7; }
.ticket-status.err { color: #fca5a5; }
body.support-open { overflow: hidden; }

/* Footer & Stars Animation */
footer {
    position: relative; padding: 80px 0 40px; margin-top: 60px; overflow: hidden;
    border-top: 1px solid var(--border); background: linear-gradient(to bottom, transparent, rgba(255, 79, 139, 0.03));
}
.stars-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.star-layer { position: absolute; top: 0; left: 0; width: 2px; height: 2px; background: transparent; border-radius: 50%; }

#stars1 { width: 1px; height: 1px; animation: animStar 50s linear infinite; }
#stars2 { width: 2px; height: 2px; animation: animStar 100s linear infinite; }
#stars3 { width: 3px; height: 3px; animation: animStar 150s linear infinite; }

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

.footer-content { position: relative; z-index: 2; text-align: center; }
.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
    justify-items: center;
    text-align: center;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-links a { text-decoration: none; color: var(--text-dim) !important; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary) !important; }
.copyright { color: var(--text-dim); font-size: 12px; text-align: center; position: relative; z-index: 2; }

/* Reveal items */
/* Прячем до появления только при работающем JS: без JS контент виден сразу. */
.js .reveal-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal-item.visible { opacity: 1; transform: translateY(0); }

/* Ссылки в тексте, skip-ссылка, подсказки */
.inline-link { color: var(--primary); }
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 200;
    padding: 10px 16px; border-radius: 10px;
    background: var(--primary); color: #0B0E14; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.noscript-note {
    max-width: 1100px; margin: 12px auto; padding: 12px 20px;
    border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
    color: var(--text); font-size: 14px; text-align: center;
}
.noscript-note a { color: var(--primary); }
.download-hint { max-width: 440px; margin: 14px auto 0; font-size: 13px; line-height: 1.5; color: var(--text-dim); text-align: center; }
.download-hint[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .star-layer, #stars1, #stars2, #stars3 { animation: none; }
    .js .reveal-item { opacity: 1; transform: none; transition: none; }
    .js .faq-answer, .js .faq-item.active .faq-answer, .faq-icon { transition: none; }
    .nav-link, .nav-link::after, .btn-apk, .platform-badge, .scroll-top { transition: none; }
    .btn-apk:hover:not(.disabled), .platform-badge:hover { transform: none; }
}

@media (max-width: 720px) {
    header .container { justify-content: center; }
    .logo-group { justify-content: center; }
    .nav-links {
        flex-basis: 100%;
        justify-content: center;
    }
}

@media (max-width: 859px) {
    .about-card {
        display: flex;
        flex-direction: column;
    }
    .about-content { flex: 0 0 auto; }
    .about-aside {
        flex: 0 0 auto;
        margin-top: 12px;
    }
}

@media (min-width: 860px) {
    .about-card {
        display: grid;
        grid-template-columns: 1fr minmax(100px, 22%);
        gap: 20px 28px;
        align-items: start;
    }
    .about-content {
        grid-column: 1;
        grid-row: 1;
    }
    .about-aside {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        max-width: none;
        margin: 0;
        align-self: stretch;
        min-height: 220px;
    }
    .about-easter {
        max-height: none;
        min-height: 0;
        aspect-ratio: auto;
        flex: 1;
    }
}

@media (min-width: 768px) {
    .nav-link { font-size: 15px; }
    .logo-text { font-size: 22px; }
    .hero { padding: 120px 0 100px; }
    .hero-actions { flex-direction: row; justify-content: center; }
    .btn-apk, .btn-tg { width: auto; }
    .pres-features { grid-template-columns: 1fr 1fr; }
    .ticket-row { grid-template-columns: 1fr 1fr; }
    .support-dialog { max-width: 520px; }
    .support-dialog-head { padding: 24px 24px 0; }
    .support-dialog-body { padding: 18px 24px 24px; }
    .support-dialog-foot { padding: 14px 24px 18px; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .faq-question-text { font-size: 17px; }
    .presentation-card { padding: 60px; }
    .about-card { padding: 60px; }
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, max-content));
        gap: 24px 72px;
        justify-content: center;
        justify-items: start;
        text-align: left;
    }
    .footer-col { align-items: flex-start; }
}
