/* ===== ВАУ-ЭФФЕКТ: Частицы на фоне ===== */
.welcome-page__particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.welcome-page__particles canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== ВАУ-ЭФФЕКТ: Reveal-анимация секций ===== */
.welcome-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.welcome-section--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Приветственная страница alchemyofsound.ru */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body.welcome-page {
    margin: 0;
    min-height: 100vh;
    min-width: 320px;
    overflow-x: hidden;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 400;
    color: rgba(232, 236, 242, 0.92);
    background-color: #0b0b0f;
    position: relative;
}

.welcome-page__scanlines {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.06;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 200, 0.12) 2px,
        rgba(0, 255, 200, 0.12) 3px
    );
}

.welcome-page__vignette {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(
        ellipse 90% 60% at 50% 0%,
        rgba(0, 255, 200, 0.06) 0%,
        transparent 55%
    );
}

.welcome-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 2rem);
    background: rgba(11, 11, 15, 0.88);
    border-bottom: 1px solid rgba(0, 255, 200, 0.15);
    backdrop-filter: blur(8px);
}

.welcome-header__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.25s ease;
}

.welcome-header__logo:hover {
    opacity: 0.85;
}

.welcome-header__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.25);
}

.welcome-header__logo-text {
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00ffc8;
}

.welcome-header__cta {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0b0b0f;
    background: #00ffc8;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.3);
}

.welcome-header__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 255, 200, 0.45);
}

.welcome {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 2.5rem;
}

.welcome-section-title {
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    letter-spacing: 0.06em;
    text-align: center;
    margin: 0 0 1.5rem;
    color: #e8ecf2;
    text-shadow: 0 0 18px rgba(0, 255, 200, 0.35);
}

.welcome-hero {
    text-align: center;
    padding: clamp(1rem, 4vw, 2.5rem) 0 clamp(2rem, 6vw, 3.5rem);
}

.welcome-hero__eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(4px, 1.2vw, 7px);
    height: clamp(36px, 8vw, 48px);
    margin: 0 auto 1.5rem;
}

.welcome-hero__eq-bar {
    width: clamp(3px, 1vw, 5px);
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(to top, rgba(0, 255, 200, 0.15), #00ffc8 45%, rgba(0, 255, 200, 0.85));
    transform-origin: bottom center;
    animation: welcome-eq-pulse 0.75s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
}

.welcome-hero__eq-bar:nth-child(1) { animation-delay: 0s; animation-duration: 0.5s; }
.welcome-hero__eq-bar:nth-child(2) { animation-delay: 0.1s; animation-duration: 0.65s; }
.welcome-hero__eq-bar:nth-child(3) { animation-delay: 0.05s; animation-duration: 0.55s; }
.welcome-hero__eq-bar:nth-child(4) { animation-delay: 0.15s; animation-duration: 0.7s; }
.welcome-hero__eq-bar:nth-child(5) { animation-delay: 0.08s; animation-duration: 0.48s; }
.welcome-hero__eq-bar:nth-child(6) { animation-delay: 0.12s; animation-duration: 0.62s; }
.welcome-hero__eq-bar:nth-child(7) { animation-delay: 0.03s; animation-duration: 0.58s; }

@keyframes welcome-eq-pulse {
    0%, 100% { transform: scaleY(0.2); opacity: 0.65; }
    50% { transform: scaleY(1); opacity: 1; }
}

.welcome-hero__title {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 5.5vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
    color: #e8ecf2;
    text-shadow: 0 0 24px rgba(0, 255, 200, 0.4);
}

.welcome-hero__subtitle {
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    font-size: clamp(0.92rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    color: rgba(200, 210, 220, 0.82);
}

.welcome-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.welcome-btn--primary {
    color: #0b0b0f;
    background: #00ffc8;
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.35);
}

.welcome-btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 255, 200, 0.5);
}

.welcome-btn--ghost {
    color: #00ffc8;
    background: transparent;
    border-color: rgba(0, 255, 200, 0.45);
}

.welcome-btn--ghost:hover {
    background: rgba(0, 255, 200, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.2);
}

/* ===== ИНТЕРАКТИВ: Твоя цифра ===== */
.welcome-number-game {
    padding: 3rem 0;
    position: relative;
}

.welcome-number-game__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.welcome-number-game__header {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-number-game__label {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00ffc8;
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.welcome-number-game__title {
    font-family: "Orbitron", monospace;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: rgba(232, 236, 242, 0.92);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.welcome-number-game__subtitle {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: rgba(232, 236, 242, 0.55);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

.welcome-number-game__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-number-game__form--hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute;
}

.welcome-number-game__fields {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
}

.welcome-number-game__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.welcome-number-game__label {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(232, 236, 242, 0.7);
}

.welcome-number-game__input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: "Orbitron", monospace;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #00ffc8;
    background: rgba(11, 11, 15, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

.welcome-number-game__input::-webkit-outer-spin-button,
.welcome-number-game__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.welcome-number-game__input:focus {
    border-color: rgba(0, 255, 200, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.1);
}

.welcome-number-game__input::placeholder {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(232, 236, 242, 0.2);
}

.welcome-number-game__input--error {
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.1);
}

.welcome-number-game__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: "Orbitron", monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0b0b0f;
    background: #00ffc8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.2);
}

.welcome-number-game__btn:hover {
    background: #00e6b4;
    box-shadow: 0 0 35px rgba(0, 255, 200, 0.35);
    transform: translateY(-2px);
}

.welcome-number-game__btn:active {
    transform: translateY(0);
}

.welcome-number-game__btn--ghost {
    background: transparent;
    color: #00ffc8;
    box-shadow: none;
    border: 1px solid rgba(0, 255, 200, 0.25);
}

.welcome-number-game__btn--ghost:hover {
    background: rgba(0, 255, 200, 0.08);
    box-shadow: 0 0 16px rgba(0, 255, 200, 0.15);
}

.welcome-number-game__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-number-game__result--visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome-number-game__result-icon {
    font-size: 2.5rem;
    animation: resultPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes resultPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.welcome-number-game__result-text {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(232, 236, 242, 0.85);
    max-width: 480px;
    margin: 0;
}

@media (max-width: 768px) {
    .welcome-number-game {
        padding: 2rem 0;
    }

    .welcome-number-game__fields {
        flex-direction: column;
        gap: 0.75rem;
    }

    .welcome-number-game__input {
        font-size: 1.25rem;
        padding: 0.7rem;
    }

    .welcome-number-game__btn {
        width: 100%;
        justify-content: center;
    }
}

.welcome-science {
    padding: 2rem 0;
}

.welcome-science__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.welcome-science__card {
    padding: 1rem 0.85rem;
    text-align: center;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.18);
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.welcome-science__card:hover {
    border-color: rgba(0, 255, 200, 0.4);
    transform: translateY(-2px);
}

.welcome-science__number,
.welcome-science__label {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #00ffc8;
    text-shadow: 0 0 16px rgba(0, 255, 200, 0.4);
}

.welcome-science__unit {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: rgba(0, 255, 200, 0.75);
    margin-left: 0.15rem;
}

.welcome-science__desc {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(200, 210, 220, 0.75);
}

.welcome-social-proof {
    padding: 2rem 0;
}

.welcome-social-proof__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.welcome-social-proof__card {
    padding: 1.25rem 0.85rem;
    text-align: center;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.18);
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.welcome-social-proof__card:hover {
    border-color: rgba(0, 255, 200, 0.4);
    transform: translateY(-2px);
}

.welcome-social-proof__number {
    display: block;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #00ffc8;
    text-shadow: 0 0 16px rgba(0, 255, 200, 0.4);
    margin-bottom: 0.25rem;
}

.welcome-social-proof__label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    color: rgba(200, 210, 220, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.welcome-social-proof__note {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: rgba(0, 255, 200, 0.65);
}

.welcome-author {
    padding: 2rem 0;
}

.welcome-author__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 18px;
}

.welcome-author__photo {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 200, 0.2);
}

.welcome-author__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 15%;
}

.welcome-author__name {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #e8ecf2;
}

.welcome-author__role {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    color: #00ffc8;
    margin: 0 0 0.85rem;
}

.welcome-author__text {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(210, 218, 228, 0.88);
}

.welcome-author__features {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.welcome-author__features li {
    font-size: 0.82rem;
    color: rgba(200, 210, 220, 0.8);
    padding-left: 1rem;
    position: relative;
}

.welcome-author__features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #00ffc8;
}

.welcome-author__quote {
    margin: 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid #00ffc8;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.5;
    color: rgba(220, 228, 236, 0.9);
    background: rgba(0, 255, 200, 0.04);
    border-radius: 0 10px 10px 0;
}

.welcome-voice-note {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(0, 255, 200, 0.75);
    padding: 0.75rem 1rem;
    border: 1px dashed rgba(0, 255, 200, 0.25);
    border-radius: 12px;
}

.welcome-manifesto {
    padding: 1.5rem 0 2rem;
    text-align: center;
}

.welcome-manifesto__text {
    margin: 0 auto;
    max-width: 42rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.65;
    color: rgba(210, 218, 228, 0.9);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 16px;
    background: rgba(0, 255, 200, 0.03);
}

.welcome-quotes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.welcome-quote {
    margin: 0;
    padding: 1.1rem 1.25rem;
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.12);
    border-radius: 14px;
}

.welcome-quote p {
    margin: 0 0 0.65rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    color: rgba(220, 228, 236, 0.92);
}

.welcome-quote footer {
    font-size: 0.75rem;
    color: rgba(0, 255, 200, 0.7);
}

.welcome-cta {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 20px;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 255, 200, 0.06) 0%, transparent 70%);
}

.welcome-cta__title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin: 0 0 0.5rem;
    color: #e8ecf2;
    text-shadow: 0 0 16px rgba(0, 255, 200, 0.35);
}

.welcome-cta__subtitle {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    color: rgba(200, 210, 220, 0.78);
    line-height: 1.5;
}

.welcome-cta__btn {
    min-width: 14rem;
}

.welcome-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
    border-top: 1px solid rgba(0, 255, 200, 0.12);
}

.welcome-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.welcome-footer__links a {
    color: rgba(0, 255, 200, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.welcome-footer__links a:hover {
    color: #00ffc8;
}

.welcome-footer__sep {
    color: rgba(200, 210, 220, 0.35);
}

.welcome-footer__copy {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(200, 210, 220, 0.45);
}

/* ========== СТОРИТЕЛЛИНГ: Скомкать и выбросить стресс ========== */
.stress-story {
    position: relative;
    padding: 2.5rem 1rem;
    margin: 1.5rem 0 2rem;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 255, 200, 0.04) 0%, transparent 70%);
    border: 1px solid rgba(0, 255, 200, 0.12);
}

.stress-story__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.stress-story__particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: rgba(0, 255, 200, 0.08);
    animation: stress-particle-float var(--d, 4s) ease-in-out infinite alternate;
    white-space: nowrap;
    user-select: none;
}

@keyframes stress-particle-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.08;
    }
    100% {
        transform: translate(15px, -20px) rotate(8deg);
        opacity: 0.18;
    }
}

.stress-story__container {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    margin: 0 auto;
}

.stress-story__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stress-story__label {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 255, 200, 0.5);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.6rem;
}

.stress-story__title {
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8ecf2;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
}

.stress-story__scene {
    position: relative;
    min-height: 14rem;
}

.stress-story__step {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: stress-step-fade 0.5s ease forwards;
}

.stress-story__step--active {
    display: flex;
}

@keyframes stress-step-fade {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stress-story__narration {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.6;
    text-align: center;
    color: rgba(220, 228, 236, 0.88);
    margin: 0;
    max-width: 28rem;
}

.stress-story__input {
    width: 100%;
    max-width: 26rem;
    padding: 0.8rem 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #e8ecf2;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 12px;
    resize: vertical;
    min-height: 3.6rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.stress-story__input:focus {
    outline: none;
    border-color: rgba(0, 255, 200, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
}

.stress-story__input::placeholder {
    color: rgba(200, 210, 220, 0.3);
}

.stress-story__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #00ffc8;
}

.stress-story__btn--primary {
    color: #0b0b0f;
    background: #00ffc8;
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.3);
}

.stress-story__btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 255, 200, 0.45);
}

.stress-story__btn--danger {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.35);
}

.stress-story__btn--danger:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.15);
}

.stress-story__btn--ghost {
    border-color: rgba(0, 255, 200, 0.25);
}

.stress-story__btn--ghost:hover {
    background: rgba(0, 255, 200, 0.08);
    border-color: rgba(0, 255, 200, 0.5);
    transform: translateY(-2px);
}

/* Бумажка */
.stress-story__paper {
    width: 100%;
    max-width: 24rem;
    min-height: 5rem;
    padding: 1.25rem;
    background: rgba(232, 236, 242, 0.06);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 4px 12px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
}

.stress-story__paper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: rgba(0, 255, 200, 0.2);
    border-radius: 4px 0 0 4px;
}

.stress-story__paper-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(220, 228, 236, 0.85);
    text-align: center;
    font-style: italic;
}

/* Смятая бумажка */
.stress-story__paper--crumpled {
    background: rgba(232, 236, 242, 0.04);
    border-color: rgba(255, 107, 107, 0.2);
    transform: scale(0.92) rotate(-2deg);
    filter: blur(0.3px);
    opacity: 0.7;
    transition: all 0.6s ease;
}

.stress-story__paper--crumpled::before {
    background: rgba(255, 107, 107, 0.2);
}

/* Анимация смятия */
.stress-story__paper--crumpling {
    animation: stress-crumple 0.5s ease forwards;
}

@keyframes stress-crumple {
    0% {
        transform: scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
    }
    30% {
        transform: scale(0.95) rotate(-1deg);
        filter: blur(0.2px);
    }
    60% {
        transform: scale(0.88) rotate(-3deg);
        filter: blur(0.5px);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.82) rotate(-5deg);
        filter: blur(0.8px);
        opacity: 0.6;
    }
}

/* Анимация выбрасывания */
.stress-story__paper--thrown {
    animation: stress-throw 0.7s ease forwards;
}

@keyframes stress-throw {
    0% {
        transform: scale(0.82) rotate(-5deg);
        opacity: 0.6;
    }
    40% {
        transform: scale(0.6) rotate(-15deg) translateY(-30px);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.2) rotate(-25deg) translateY(-80px) translateX(60px);
        opacity: 0;
    }
}

/* Результат */
.stress-story__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
}

.stress-story__result-icon {
    animation: stress-result-appear 0.6s ease forwards;
}

@keyframes stress-result-appear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stress-story__result-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(220, 228, 236, 0.9);
    margin: 0;
    max-width: 24rem;
}


/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ (до 480px) ========== */

@media (max-width: 480px) {
    .stress-story {
        padding: 1.5rem 0.75rem;
        margin: 1rem 0 1.5rem;
        border-radius: 14px;
    }

    .stress-story__title {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }

    .stress-story__narration {
        font-size: 0.92rem;
    }

    .stress-story__input {
        font-size: 0.82rem;
        padding: 0.65rem 0.85rem;
        min-height: 3rem;
    }

    .stress-story__btn {
        font-size: 0.65rem;
        padding: 0.6rem 1.1rem;
    }

    .stress-story__paper {
        min-height: 4rem;
        padding: 1rem;
    }

    .stress-story__paper-text {
        font-size: 0.88rem;
    }

    .stress-story__result {
        padding: 1rem;
    }

    .stress-story__result-text {
        font-size: 0.95rem;
    }

    .welcome {
        padding: 1rem 0.85rem 1.5rem;
    }

    .welcome-hero {
        padding: 0.5rem 0 1.5rem;
    }

    .welcome-hero__title {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
    }

    .welcome-hero__subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .welcome-hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .welcome-hero__actions .welcome-btn {
        width: 100%;
        max-width: 18rem;
    }

    .welcome-section-title {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 1rem;
    }

    .welcome-science__grid,
    .welcome-social-proof__grid {
        gap: 0.6rem;
    }

    .welcome-science__card,
    .welcome-social-proof__card {
        padding: 0.75rem 0.6rem;
    }

    .welcome-author__card {
        padding: 0.85rem;
        gap: 1rem;
    }

    .welcome-author__photo {
        max-width: 220px;
    }

    .welcome-author__text {
        font-size: 0.85rem;
    }

    .welcome-author__quote {
        font-size: 0.92rem;
        padding: 0.65rem 0.85rem;
    }

    .welcome-manifesto__text {
        padding: 1rem;
        font-size: 0.88rem;
    }

    .welcome-quotes {
        gap: 0.75rem;
        padding: 0.5rem 0 1.5rem;
    }

    .welcome-quote {
        padding: 0.85rem 1rem;
    }

    .welcome-quote p {
        font-size: 0.95rem;
    }

    .welcome-cta {
        padding: 1.5rem 0.85rem;
    }

    .welcome-cta__title {
        font-size: clamp(1rem, 5vw, 1.2rem);
    }

    .welcome-cta__subtitle {
        font-size: 0.82rem;
    }

    .welcome-cta__btn {
        width: 100%;
        max-width: 18rem;
        min-width: unset;
    }

    .welcome-header {
        padding: 0.65rem 0.85rem;
    }

    .welcome-header__logo-text {
        font-size: 0.65rem;
    }

    .welcome-header__cta {
        font-size: 0.6rem;
        padding: 0.45rem 0.7rem;
    }

    .welcome-footer {
        padding: 1rem 0.85rem 1.5rem;
    }

    .welcome-footer__links {
        font-size: 0.7rem;
        gap: 0.35rem 0.5rem;
    }
}

/* ========== ПЛАНШЕТЫ (481px–599px) ========== */
@media (min-width: 481px) and (max-width: 599px) {
    .welcome {
        padding: 1.25rem 1rem 2rem;
    }

    .welcome-hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
    }

    .welcome-hero__actions .welcome-btn {
        width: 100%;
        max-width: 20rem;
    }

    .welcome-author__photo {
        max-width: 260px;
    }

    .welcome-cta__btn {
        min-width: unset;
        width: 100%;
        max-width: 20rem;
    }
}

/* ========== ДЕСКТОП (600px+) ========== */
@media (min-width: 600px) {
    .welcome-science__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .welcome-quotes {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Ограничение ширины блоков на десктопе */
    .stress-story {
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-author__card {
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-manifesto__text {
        max-width: 36rem;
    }

    .welcome-cta {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .welcome-author__card {
        grid-template-columns: minmax(220px, 320px) 1fr;
        align-items: start;
    }

    .welcome-author__photo {
        margin: 0;
    }

    .welcome-author__photo img {
        margin: 0;
    }
}

/* ========== ОЧЕНЬ ШИРОКИЕ ЭКРАНЫ (1200px+) ========== */
@media (min-width: 1200px) {
    .welcome {
        max-width: 64rem;
    }

    .stress-story {
        max-width: 38rem;
    }

    .welcome-author__card {
        max-width: 44rem;
    }

    .welcome-manifesto__text {
        max-width: 32rem;
    }

    .welcome-cta {
        max-width: 32rem;
    }
}


@media (prefers-reduced-motion: reduce) {
    .welcome-hero__eq-bar {
        animation: none;
        transform: scaleY(0.55);
        opacity: 0.85;
    }

    html {
        scroll-behavior: auto;
    }
}
