@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --solid-orange: #ea580c;
    --solid-yellow: #facc15;
    --text-dark: #0b1329;
    --text-muted: #64748b;
    --orange-gradient: linear-gradient(135deg, #ff8019 0%, #ea580c 100%);
    --card-shadow: 0 20px 50px rgba(220, 80, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; 
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #ff7700 url('img/bg-main-bright.png') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-dark);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.2);
}
::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 8px;
}

.page-container {
    width: 95%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 24px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 90px;
    position: relative;
    z-index: 10;
}

/* =========================================
   ШАПКА САЙТА
   ========================================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    height: 78px;
    position: relative;
    z-index: 50;
    flex-shrink: 0;
}
.brand-clean-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.brand-clean-link:hover {
    transform: scale(1.03);
}

.logo-flip-cloud-img {
    position: absolute;
    right: -18px;
    top: 48%;
    transform: translateY(-50%);
    width: 142px;
    height: 72px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.header-main-logo {
    position: relative;
    z-index: 2;
    height: 64px;
    object-fit: contain;
}

.header-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.header-nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.header-guest-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.guest-btn-login {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 20px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.guest-btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.guest-btn-register {
    background: #ffffff;
    color: #ea580c;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.guest-btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    background: #fffbf5;
}

/* =========================================
   ПАНЕЛЬ ПРОФИЛЯ В ШАПКЕ
   ========================================= */
.header-profile-section {
    display: flex;
    align-items: center;
}

.user-pill-container {
    background: #ffffff;
    border-radius: 36px;
    box-shadow: 0 10px 25px rgba(180, 50, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    padding: 5px 14px 5px 8px; /* Убран лишний отступ слева */
    gap: 4px; /* Плотный зазор между элементами внутри капсулы */
    height: 58px;
    position: relative;
}

/* КОЛОКОЛЬЧИК УВЕДОМЛЕНИЙ */
.header-notif-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    margin-right: -2px; /* Убирает лишний зазор до кошелька */
}

.header-notif-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-notif-btn:hover {
    transform: scale(1.08);
}

.header-notif-bell-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(234, 88, 12, 0.3));
    transform: scale(1.1);
    transform-origin: center center;
}

.header-notif-badge-bubble {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
    pointer-events: none;
    line-height: 1.2;
    z-index: 5;
}

.header-notif-popover {
    position: absolute;
    top: calc(100% + 14px);
    right: -10px;
    width: 360px;
    max-height: 440px;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(220, 80, 0, 0.16), 0 4px 14px rgba(0, 0, 0, 0.04);
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-sizing: border-box;
    overflow: hidden;
    animation: notifSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.header-notif-popover.active {
    display: flex;
}

@keyframes notifSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.notif-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}
.notif-popover-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notif-counter-tag {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
}
.notif-clear-all-link {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.18s;
}
.notif-clear-all-link:hover {
    color: #ef4444;
}

.notif-popover-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 360px;
    padding: 8px;
}
.notif-empty-state {
    padding: 36px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.notif-item-row {
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f8fafc;
}
.notif-item-row:hover {
    background: #f8fafc;
}
.notif-item-row:last-child {
    border-bottom: none;
}
.notif-item-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.notif-item-text {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 4px;
}
.notif-item-time {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ИКОНКА ПОПОЛНЕНИЯ (pay.png) */
.pill-wallet-box {
    background: transparent;
    border-radius: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 6px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pill-wallet-box:hover {
    transform: scale(1.06);
}

.pill-pay-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    position: relative;
    transition: filter 0.25s ease;
}
.pill-wallet-box:hover .pill-pay-img {
    filter: drop-shadow(0 5px 12px rgba(234, 88, 12, 0.4));
}

.pill-user-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.pill-username-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0b1329;
    text-decoration: none;
    letter-spacing: -0.2px;
    line-height: 1.1;
    transition: color 0.2s;
    white-space: nowrap;
    text-align: right;
    width: 100%;
}
.pill-username-text:hover {
    color: #ea580c;
}

.pill-balance-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.pill-balance-badge-orange {
    background: var(--orange-gradient);
    padding: 1px 7px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.pill-balance-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.pill-rub-img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    margin-left: 2px;
}

.pill-avatar-wrap {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: #94a3b8;
    transition: transform 0.25s ease, border-color 0.25s;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 4px;
}
.pill-avatar-wrap:hover {
    transform: scale(1.05);
    border-color: #ff8019;
}
.avatar-img-elem {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill-logout-btn {
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    transition: all 0.25s ease;
    margin-left: 2px;
    flex-shrink: 0;
}
.pill-logout-btn:hover {
    color: #ea580c;
    background: #fef3c7;
    transform: scale(1.08);
}

/* =========================================
   HERO СЕКЦИЯ
   ========================================= */
.hero-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 520px;
    position: relative;
    padding: 10px 0 20px 0;
    gap: 30px;
}
.hero-text-col {
    flex: 1;
    max-width: 660px;
    color: #ffffff;
    z-index: 2;
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 16px 0;
    letter-spacing: -1.2px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(130, 30, 0, 0.45);
}

.hero-desc-clean {
    font-size: 1.18rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
    color: #ffffff;
    font-weight: 500;
    max-width: 580px;
    text-shadow: 0 2px 10px rgba(140, 30, 0, 0.6);
}

.hero-graphic-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero-img-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
    cursor: pointer;
}
.hero-img-btn:hover {
    transform: translateY(-5px) scale(1.04);
}
.primary-choose-btn img {
    height: 130px;
    width: auto;
    display: block;
    object-fit: contain;
}
.secondary-about-btn img {
    height: 114px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* СТАТИСТИКА */
.hero-stats-row-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
    max-width: 590px;
}
.hero-stat-card.showcase-stat-style {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 22px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(180, 50, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s, border-color 0.25s;
}
.hero-stat-card.showcase-stat-style:hover {
    transform: translateY(-5px);
    border-color: #ff8019;
    box-shadow: 0 16px 32px rgba(234, 88, 12, 0.22);
}
.stat-card-ico {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-card-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(234, 88, 12, 0.25));
}
.stat-card-data {
    display: flex;
    flex-direction: column;
}

.stat-val-badge {
    background: var(--orange-gradient);
    padding: 2px 8px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.22);
    width: fit-content;
}
.stat-val.showcase-color-val {
    font-size: 1.05rem;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.2;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.stat-sub.showcase-color-sub {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
    background: transparent;
}

.hero-visual-col {
    position: relative;
    width: 640px;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 30px;
    margin-right: 140px;
}
.hero-main-rocket-img {
    width: 100%;
    max-width: 520px;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 25px 45px rgba(180, 50, 0, 0.45));
}

.floating-widget {
    position: absolute;
    object-fit: contain;
    z-index: 4;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,0.3));
}

.f-pos-like {
    width: 92px;
    top: 20%;
    left: -35px;
    animation: floatLike 4.2s ease-in-out infinite alternate;
}
.f-pos-heart {
    width: 92px;
    top: -38px;
    right: -28px;
    animation: floatHeart 4.6s ease-in-out infinite alternate;
}
.f-pos-follow {
    width: 100px;
    top: -95px;
    right: 285px;
    animation: floatFollow 5.1s ease-in-out infinite alternate;
}

@keyframes floatLike {
    0% { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-7px) rotate(4deg); }
}
@keyframes floatHeart {
    0% { transform: translateY(0) rotate(3deg); }
    100% { transform: translateY(-6px) rotate(-3deg); }
}
@keyframes floatFollow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.02); }
}

/* =========================================
   ВИТРИНА СОЦСЕТЕЙ (3D ОСТРОВА)
   ========================================= */
.services-transparent-section {
    position: relative;
    margin-top: 40px;
    width: 100%;
}
.magic-cases-grid-4-transparent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 35px;
    justify-content: center;
    justify-items: center;
    width: 100%;
}
.transparent-case-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    width: fit-content;
    margin: 0 auto;
}
.transparent-case-cloud-wrap {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.transparent-case-island-img {
    width: 440px;
    height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(90, 10, 0, 0.45));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
}
.transparent-case-card:hover .transparent-case-island-img {
    transform: scale(1.12);
}

/* =========================================
   ОСТАЛЬНЫЕ СЕКЦИИ САЙТА
   ========================================= */
.transparent-content-section {
    position: relative;
}

.clean-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}
.clean-title-text {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(130, 30, 0, 0.45);
}
.clean-title-underline {
    width: 60px;
    height: 5px;
    background: #ffffff;
    border-radius: 10px;
    margin: 10px auto 14px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.clean-sub-text {
    font-size: 1.08rem;
    color: #ffffff;
    margin: 0;
    max-width: 650px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(140, 30, 0, 0.5);
}

.white-text-shadow {
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(130, 30, 0, 0.45);
}
.white-sub-shadow {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(140, 30, 0, 0.5);
}

.features-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 40px auto 0 auto;
}
.feature-card-tile {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 26px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.feature-card-tile:hover {
    border-color: rgba(255, 122, 24, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(234, 88, 12, 0.2);
}
.feature-icon-bubble {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon-bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(234, 88, 12, 0.22));
}
.feature-tile-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.feature-head {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0b1329;
    letter-spacing: -0.2px;
}
.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-weight: 500;
}

.features-panda-bottom-box {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.features-panda-bottom-box img {
    width: 100%;
    max-width: 440px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(180, 50, 0, 0.4));
}

.steps-quad-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.step-card-box {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 26px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}
.step-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(234, 88, 12, 0.2);
}
.step-num-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
}

.step-img-holder {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-sharp-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}
.step-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0b1329;
    letter-spacing: -0.2px;
}
.step-card-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

.reviews-grid-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
.reviews-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1160px;
    width: 100%;
}
.review-quote-box {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 24px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, border-color 0.25s;
}
.review-quote-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 24, 0.4);
}
.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reviewer-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.reviewer-name-text { 
    font-weight: 700; 
    font-size: 1rem; 
    color: var(--text-dark);
}
.reviewer-stars-wrap { 
    margin-top: 4px; 
}
.rating-5stars-img {
    height: 18px;
    object-fit: contain;
    display: block;
}
.reviewer-body-text { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    line-height: 1.6; 
    font-weight: 500; 
}

/* =========================================
   ПОДВАЛ САЙТА
   ========================================= */
.site-white-footer {
    background: #ffffff;
    border-radius: 36px;
    padding: 44px 50px 30px 50px;
    color: #0b1329;
    box-shadow: var(--card-shadow);
    margin-top: 40px;
}
.footer-inner-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand-side {
    max-width: 320px;
}

.footer-brand-orange-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #ff7700;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(255, 119, 0, 0.3);
    text-decoration: none;
}
.footer-cloud-under {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 48px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}
.footer-main-logo {
    position: relative;
    z-index: 2;
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.footer-brand-motto.light-motto {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b;
    margin: 14px 0 0 0;
    font-weight: 500;
}
.footer-links-group {
    display: flex;
    gap: 50px;
}
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col-title.light-footer-title {
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0b1329;
}
.footer-text-link.light-footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}
.footer-text-link.light-footer-link:hover {
    color: #ea580c;
}

.footer-channels-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 320px;
}
.footer-contacts-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 7px 11px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-contact-item:hover {
    background: #ffffff;
    border-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.12);
}
.contact-mini-ico {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.contact-svg-ico {
    flex-shrink: 0;
}
.contact-mini-label {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s;
}
.footer-contact-item:hover .contact-mini-label {
    color: #ea580c;
}

.footer-bottom-bar.light-bottom-bar {
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 500;
}

/* =========================================
   ГАРАНТИРОВАННАЯ ВИДИМОСТЬ БЛОКОВ
   ========================================= */
.animate-box {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* =========================================
   АДАПТИВНОСТЬ ПОД ЭКРАНЫ
   ========================================= */
@media (max-width: 1380px) {
    .magic-cases-grid-4-transparent { grid-template-columns: repeat(3, 1fr); }
    .features-grid-3x2 { grid-template-columns: repeat(2, 1fr); }
    .hero-visual-col { width: 480px; height: 440px; margin-right: 0; }
    .hero-title-main { font-size: 3.3rem; }
}

@media (max-width: 992px) {
    .header-nav-menu { display: none; }
    .hero-block { flex-direction: column; text-align: center; }
    .hero-graphic-buttons { justify-content: center; }
    .hero-stats-row-cards { margin: 30px auto 0 auto; width: 100%; }
    .hero-visual-col { width: 100%; max-width: 360px; height: 360px; margin: 20px auto 0 auto; }
    .magic-cases-grid-4-transparent { grid-template-columns: repeat(2, 1fr); }
    .features-grid-3x2 { grid-template-columns: 1fr; }
    .steps-quad-row { grid-template-columns: 1fr; }
    .reviews-grid-3col { grid-template-columns: 1fr; }
    .footer-top-row { flex-direction: column; gap: 30px; }
    .footer-links-group { flex-direction: column; gap: 24px; }
    .footer-channels-side { width: 100%; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 580px) {
    .magic-cases-grid-4-transparent { grid-template-columns: 1fr; }
    .hero-stats-row-cards { grid-template-columns: 1fr; width: 100%; }
    .pill-username-text { display: none; }
    .user-pill-container { width: auto; height: 52px; padding: 4px 8px; gap: 4px; }
    .footer-contacts-wrap { grid-template-columns: 1fr; }
    .header-notif-popover {
        position: fixed;
        top: 75px;
        left: 10px;
        right: 10px;
        width: calc(100vw - 20px);
    }
}