/* ============================================================
   ГЛОБАЛЬНАЯ БАЗА
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --choco: #7a4a2a;
    --choco-soft: #9b5c34;
    --text-main: #5b4636;
    --gold: #d39a4b;
    --gold-deep: #b9792a;
    --cream: #fff7ef;

    --neon-white: rgba(255,255,255,1);
    --neon-gold: rgba(255,230,180,1);
    --neon-champagne: rgba(255,245,225,1);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-main);
    line-height: 1.55;
    overflow-x: hidden;
height: 100%;
}

/* ============================================================
   ГЛОБАЛЬНЫЙ ФОН ПОСЛЕ HERO
============================================================ */

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
}

.page-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* ============================================================
   ФОН LOGO (очень мягкий)
============================================================ */

.spark-flow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url("assets/logo-softflow.png");
    background-size: 60%;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.08;
    mix-blend-mode: normal;
    animation: sparkle 9s ease-in-out infinite;
}

@keyframes sparkle {
    0%   { opacity: 0.35; }
    50%  { opacity: 0.12; }
    100% { opacity: 0.35; }
}

/* ============================================================
   HERO
============================================================ */

.hero {
    position: relative;
    width: 100%;
    height: clamp(480px, 55vw, 720px);
    background-image: url("assets/hero3-bg.png");
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.hero-text {
    text-shadow: 0 2px 8px rgba(255,255,255,0.3);
color: #3a2a1f;
}

.hero-text h1 {
    text-shadow: 0 2px 10px rgba(255, 230, 180, 0.3);
}


/* ============================================================
   КОНТЕЙНЕРЫ + СЕКЦИИ
============================================================ */

.container {
    width: min(1120px, 100% - 48px);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    background: transparent !important;
}

/* ============================================================
   ШАПКА
============================================================ */

header {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(245, 235, 220, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.logo img {
    height: 82px;
    filter: drop-shadow(0 0 12px rgba(255,210,160,0.45));
}

/* ОБЩИЕ СТИЛИ ДЛЯ МЕНЮ */
.nav a {
    position: relative;
    display: inline-block;
    padding: 4px 6px;
    transition: 0.35s ease;
    color: #4b2f23; /* тёмный шоколад */
}


/* ---------------------------------------
   1) МЯГКОЕ ЗОЛОТОЕ СВЕЧЕНИЕ
---------------------------------------- */
.nav a:hover {
    color: #d6a76e;
    text-shadow:
        0 0 6px rgba(255, 220, 160, 0.6),
        0 0 12px rgba(255, 210, 140, 0.35);
    transform: translateY(-1px); /* (эффект #4) микро-подъём */
}


/* ---------------------------------------
   2) ЗОЛОТАЯ ЛИНИЯ СНИЗУ
---------------------------------------- */
.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #f6d9b2, #d7a874);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.nav a:hover::after {
    width: 100%;
}


/* ---------------------------------------
   3) SHIMMER-ПЕРЕЛИВ (очень нежный)
---------------------------------------- */
.nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 45%,
        rgba(255,255,255,0) 85%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav a:hover::before {
    opacity: 1;
    animation: navShimmer 0.7s linear;
}

@keyframes navShimmer {
    from { left: -120%; }
    to   { left: 120%; }
}

/* ----------------------------------------------------------
   4) АКТИВНЫЙ ПУНКТ МЕНЮ (страница открыта)
---------------------------------------------------------- */
.nav a.active {
    color: #d6a76e;
    text-shadow:
        0 0 6px rgba(255, 220, 160, 0.65),
        0 0 14px rgba(255, 220, 160, 0.40);
}

.nav a.active::after {
    width: 100%;
}
/* ============================================================
   ГЛОБАЛЬНАЯ РАМКА
============================================================ */

body {
    position: relative;
  padding-top: 80px; /* подстрой под реальную высоту хедера */

}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    border: 14px solid rgba(255,240,200,0.9);

    box-shadow:
        0 0 25px #ffefc7,
        0 0 60px #ffdd9a,
        0 0 130px #ffd179,
        0 0 220px #ffcb63,
        0 0 300px rgba(255,210,130,0.95);

    animation: goldPulse 3s infinite ease-in-out;
    z-index: 9999;
}

@keyframes goldPulse {
    0%   { opacity: 0.75; }
    50%  { opacity: 1; }
    100% { opacity: 0.75; }
}

.telegram-float{
position:fixed;
right:25px;
bottom:25px;
width:60px;
height:60px;
border-radius:50%;
background:#c9a46b;
color:white;
font-size:28px;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
z-index:999;
}
/* ============================================================
   МЕНЮ / НЕОН
============================================================ */

.nav {
    display: flex;
    gap: 36px;
    position: relative;
    z-index: 3;
}

.nav-link {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 18px;
    overflow: hidden;
    z-index: 4;

    background-image: linear-gradient(
        90deg,
        #fff 0%,
        #ffdca8 25%,
        #ffe9cc 50%,
        #fff 75%,
        #ffd28a 100%
    );
    background-size: 300%;
    -webkit-background-clip: text;
    color: transparent;

    transition: 0.3s ease;
}

.header .nav-link {
    color: #7a5336;
}

.nav-link:hover {
    background-position: 100%;
    transform: translateY(-2px) scale(1.12);
}


/* ============================================================
   HERO TEXT
============================================================ */

.hero-content {
    max-width: 520px;
    margin-left: 60px;
    margin-top: 150px;
    z-index: 4;
    position: relative;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.15;
    color: #5a341c;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.85;
}

/* ============================================================
   ПЛАВАЮЩАЯ РЕКА ЛОГОТИПОВ
============================================================ */

.softflow-logo-stream {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 10px;      /* отступы вокруг реки */
    position: relative;
    z-index: 1;
    background: transparent;
}

.logo-stream-inner {
    display: flex;
    align-items: center;
    gap: 120px;                /* расстояние между логотипами */
    white-space: nowrap;
    animation: logoFlow 42s linear infinite; /* скорость движения */
}

.logo-stream-inner img {
    height: 90px;              /* размер логотипа (делает их меньше) */
    opacity: 0.9;
    filter: drop-shadow(0 0 12px rgba(255,230,180,0.9));
    mix-blend-mode: screen;
    position: relative;
}

/* плавное движение реки логотипов слева направо */
@keyframes logoFlow {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   КНОПКИ
============================================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

/* белая */
.btn {
    background: #ffffff;
    color: #5d3a21;
    box-shadow: 0 12px 30px rgba(140, 89, 37, 0.25);
}

.btn:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(255,255,255,1);
}

/* золотая */
.btn-secondary {
    background: linear-gradient(135deg,
        #caa56a 0%,
        #e8cda1 30%,
        #fff3d4 60%,
        #d7b373 100%
    );
    color: #4a2f1b;
    box-shadow:
        0 0 20px rgba(255,230,180,0.8),
        inset 0 0 8px rgba(255,255,255,0.7);
}

.btn-secondary:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 30px rgba(255,240,200,1),
        inset 0 0 14px rgba(255,255,255,1);
}
/* ============================================================
   ЗАГОЛОВКИ СИЯЮЩИЕ
============================================================ */

.shimmer-title {
    position: relative;
    display: inline-block;
    font-family: 'Great Vibes', cursive;
    font-size: 64px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px !important;   /* было 60–100px */
    color: #4b2f23; /* тёмный шоколад */

    /* Мягкое сияние вокруг букв */
    text-shadow:
        0 0 8px rgba(255,230,200,0.8),
        0 0 16px rgba(255,210,160,0.6),
        0 0 28px rgba(255,190,140,0.45);

    /* Пульсация свечения */
    animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {
    0% {
        text-shadow:
            0 0 6px rgba(255,230,200,0.75),
            0 0 14px rgba(255,210,160,0.55);
    }
    50% {
        text-shadow:
            0 0 12px rgba(255,250,240,1),
            0 0 22px rgba(255,220,170,0.9),
            0 0 32px rgba(255,200,140,0.7);
    }
    100% {
        text-shadow:
            0 0 6px rgba(255,230,200,0.75),
            0 0 14px rgba(255,210,160,0.55);
    }
}

/* Эффект shimmer-полосы внутри текста */
.shimmer-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    height: 100%;
    width: 120%;
    background: linear-gradient(
        80deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 40%,
        rgba(255,220,170,0.7) 55%,
        rgba(255,255,255,0) 100%
    );
    mix-blend-mode: screen;
    animation: shimmerMove 3.5s linear infinite;
}

@keyframes shimmerMove {
    from { left: -120%; }
    to { left: 120%; }
}

/* ============================================================
   ГЛОБАЛЬНАЯ МЯГКАЯ ПОДСВЕТКА
============================================================ */

.glow-block {
    position: relative;
}

.glow-block::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 44px;
    background: radial-gradient(
        circle at center,
        rgba(255,245,230,0.75) 0%,
        rgba(255,230,200,0.45) 35%,
        rgba(255,215,170,0.20) 70%,
        transparent 100%
    );
    filter: blur(24px);
}

/* ============================================================
   audience 3 cards
============================================================ */

.audience-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.audience-card {
    background: rgba(255,255,255,0.92);
    border-radius: 28px;
    padding: 32px;
    transition: 0.35s ease;
    box-shadow: 0 0 0 rgba(255,200,150,0);
}

/* ЯРКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */
.audience-card:hover {
    transform: translateY(-10px);
    
    box-shadow:
        0 0 18px rgba(255, 240, 220, 0.95),
        0 0 32px rgba(255, 220, 180, 0.85),
        0 0 48px rgba(255, 200, 150, 0.70),
        0 0 70px rgba(255, 180, 120, 0.55);

    background: rgba(255,255,255,1); /* чуть ярче фон */
}

/* ============================================================
   ТЕКСТОВЫЕ БЛОКИ
============================================================ */

.softflow-block {
    background: rgba(255,255,255,0.92);
    border-radius: 32px;
    padding: 48px 56px;
    transition: 0.35s ease;
    box-shadow: 0 0 0 rgba(255,200,150,0);
}

.softflow-block:hover {
    transform: translateY(-8px);

    box-shadow:
        0 0 14px rgba(255, 240, 220, 0.85),
        0 0 28px rgba(255, 220, 180, 0.70),
        0 0 42px rgba(255, 200, 150, 0.55),
        0 0 60px rgba(255, 180, 120, 0.45);

    background: rgba(255,255,255,0.98);
}

/* ============================================================
   STEPS
============================================================ */

.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step-card {
    background: rgba(255,255,255,0.92);
    border-radius: 28px;
    padding: 32px;
    transition: 0.35s ease;
    box-shadow: 0 0 0 rgba(255,200,150,0);
}

/* НЕОНОВОЕ LUX-СВЕЧЕНИЕ */
.step-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 0 18px rgba(255, 240, 220, 0.95),
        0 0 32px rgba(255, 220, 180, 0.85),
        0 0 48px rgba(255, 200, 150, 0.70),
        0 0 70px rgba(255, 180, 120, 0.55);

    background: rgba(255,255,255,1);
    cursor: pointer;
}

.seo-text {
  max-width: 900px;
   margin: 40px auto 20px;
  padding: 0 20px;
  line-height: 1.7;
  opacity: 0.9;
}

/* =======================================
   FOOTER
======================================= */

.footer {
    padding: 25px 0 10px;
    background: rgba(255,245,235,0.95);
    backdrop-filter: blur(10px);
}

/* Две основные колонки */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Левая колонка */
.footer-left p {
    margin: 0 0 8px;
    color: #4a2d19;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    color: #4a2d19;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Правая колонка */
.footer-right {
    text-align: right;
}

/* Кнопка Telegram */
.footer-contact-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #d6a76e;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.footer-contact-btn:hover {
    background: #c18f59;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Логотип */
.footer-logo img {
    height: 110px;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Оплаты */
.footer-payments {
    text-align: center;
    margin-top: 5px;     /* поднимаем выше */
    margin-bottom: 10px;   /* минимальный отступ снизу */
}

.footer-payments img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.footer-contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #d6a76e;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 18px;

    box-shadow:
        0 0 12px rgba(255,220,180,0.55),
        0 0 20px rgba(255,210,160,0.35);

    animation: softPulse 3.2s ease-in-out infinite;
}

@keyframes softPulse {
    0% {
        box-shadow:
            0 0 12px rgba(255,220,180,0.45),
            0 0 20px rgba(255,210,160,0.25);
    }
    50% {
        box-shadow:
            0 0 18px rgba(255,235,210,0.8),
            0 0 32px rgba(255,220,160,0.55);
    }
    100% {
        box-shadow:
            0 0 12px rgba(255,220,180,0.45),
            0 0 20px rgba(255,210,160,0.25);
    }
}


/* ============================================================
   АДАПТИВ
============================================================ */

@media (max-width: 960px) {

    .hero {
        height: 640px;
        background-position: center;
    }

    .hero-content {
        margin-left: 30px;
        margin-top: 100px;
        max-width: 420px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .audience-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {

    .hero {
        height: 520px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .steps-grid-4 {
        grid-template-columns: 1fr;
    }
}

.spark-flow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("assets/logo-softflow.png");
    background-size: 420px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 0.08;
    mix-blend-mode: normal;

    animation: softFloat 22s linear infinite;
}

@keyframes softFloat {
    0%   { background-position: 0 0; }
    50%  { background-position: 45px 60px; }
    100% { background-position: 0 0; }
}

opacity: 0.5;
mix-blend-mode: screen;  /* дает золотое свечение, но без грязи */
}

/* =============================================
   MOBILE — до 768px (телефоны)
============================================= */
@media (max-width: 768px) {

    /* ШАПКА */
    .header {
        padding: 14px 0;
    }

    .nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding-left: 10px;
    }

    .nav a {
        font-size: 18px;
        padding: 4px 0;
    }

    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        width: 100%;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
        margin-top: 12px;
    }

    .hero img {
        width: 75%;
        margin: 20px auto 0;
    }

    /* ЛОГОТИПЫ-ЛЕНТА (река логотипов) */
    .softflow-logo-stream {
        height: 70px;
    }

    .softflow-logo-stream img {
        height: 34px;
    }


    /* ДЛЯ КОГО SoftFlow.pro */
    .shimmer-title,
    .softflow-title {
        font-size: 40px;
        text-align: center;
    }

    .audience-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .audience-card {
        padding: 24px;
    }

    /* БЛОК "ЧТО Я ПОМОГАЮ СОБРАТЬ" */
    .what-i-do-card {
        padding: 26px 20px;
        margin: 0 20px;
    }


    /* БЛОК С ШАГАМИ */
    .steps-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .step-card {
        padding: 24px;
    }


    /* FOOTER */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 0 20px;
    }

    .footer-right {
        text-align: left;
        width: 100%;
    }

    .footer-logo img {
        height: 90px;
        margin-top: 10px;
    }

    .footer-contact-btn {
        padding: 12px 18px;
        font-size: 16px;
    }

    .footer-payments img {
        width: 170px;
        margin: 10px auto 0;
    }
}

/* =============================================
   EXTRA SMALL MOBILE — до 480px
============================================= */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 30px;
    }

    .softflow-title,
    .shimmer-title {
        font-size: 34px;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-contact-btn {
        font-size: 15px;
        padding: 10px 16px;
    }

    .footer-payments img {
        width: 150px;
    }
}

/* ===== FORCE DESKTOP HIDE MOBILE MENU ===== */
.burger,
.mobile-menu {
  display: none;
}

/*==== Ботуслуг====*/
/* ===========================
   BOT PRODUCT PAGE STYLES
=========================== */

.bot-page .section {
padding: 60px 0;
}

/* Заголовки */

.bot-page .shimmer-title {
font-size: 48px;
margin-bottom: 20px;
}

.bot-page .softflow-subtitle {
font-size: 20px;
max-width: 700px;
margin: 0 auto;
}

/* Мокап */

.bot-page .mockup-img {
max-width: 520px;
width: 100%;
margin: 40px auto;
display: block;
}

/* FEATURES */

.bot-page .features-grid {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 20px;
margin-top: 40px;
}

.bot-page .feature-card {
background: white;
padding: 25px;
border-radius: 18px;
font-size: 18px;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ТАРИФЫ */

.bot-page .tariffs-grid {
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 40px;
max-width: 900px;
margin: 60px auto 0;
}

.bot-page .tariff-card {
background: white;
padding: 40px;
border-radius: 24px;
font-size: 18px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bot-page .tariff-card.highlight {
border: 2px solid #e8cfa1;
transform: scale(1.03);
}

/* TARIFF HOVER ANIMATION */

.bot-page .tariff-card {
transition: all .4s ease;
cursor: pointer;
}

.bot-page .tariff-card:hover {
transform: translateY(-12px) scale(1.03);
box-shadow: 0 25px 50px rgba(212,175,55,0.3);
}

/* премиум тариф — сильнее эффект */

.bot-page .tariff-card.highlight:hover {
box-shadow: 0 30px 60px rgba(212,175,55,0.5);
}

/* АДАПТИВ */

@media (max-width: 900px) {

.bot-page .features-grid {
grid-template-columns: 1fr;
}

.bot-page .tariffs-grid {
grid-template-columns: 1fr;
}

.bot-page .shimmer-title {
font-size: 34px;
}

}

/* GLOBAL SOFTFLOW BACKGROUND FOR BOT PAGE */

.bot-page {
background: url("assets/hero-bg-softflow.jpg") center/cover fixed no-repeat;
}

/* убираем белый фон у секций */

.bot-page .section {
background: transparent;
}

/* карточки остаются белыми */

.bot-page .feature-card,
.bot-page .tariff-card {
background: rgba(255,255,255,0.95);
}

