/* ==================== CSS Variables ==================== */
:root {
    --primary-purple: #a855f7;
    --primary-pink: #ec4899;
    --primary-blue: #3b82f6;.nav-menu
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-green: #10b981;

    --bg-dark: #0a0a0f;
    --bg-dark-secondary: #13131a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222f;

    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #71718a;

    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --glow-purple: 0 0 60px rgba(168, 85, 247, 0.4);
    --glow-pink: 0 0 60px rgba(236, 72, 153, 0.4);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
}
.container-fluid { max-width: 100%; padding: 0 2rem; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; }

/* ==================== Solution Helpers ==================== */
.solution-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.solution-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.solution-icon-large { position: relative; z-index: 2; }
.solution-card:hover .solution-bg-image { transform: scale(1.1); }

.solution-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: var(--transition);
}
.solution-card:hover .solution-video { transform: scale(1.05); }
.solution-card:hover .solution-overlay {
    background: linear-gradient(135deg, rgba(168,85,247,0.4) 0%, rgba(236,72,153,0.4) 100%);
}

/* ==================== Gradient Text ==================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
}
.logo-icon {
    width: 42px; height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-purple);
}
.logo-icon i { font-size: 1.25rem; color: white; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--text-primary); }
.nav-menu a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-card);
    padding: 0.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.lang-btn img { width: 18px; height: 14px; border-radius: 2px; }
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active { background: var(--gradient-primary); color: white; }

@media (max-width: 640px) {
    .lang-btn {
        padding: 0.45rem;
        gap: 0;
        min-width: 36px;
        justify-content: center;
    }
    .lang-btn i:first-child { font-size: 1rem; margin: 0; }
    #currentLang, .lang-btn i:last-child { display: none; }
    .lang-dropdown { min-width: 100px; right: 0; }
}

.btn-cta {
    padding: 0.625rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-purple); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 26px; height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== Navbar Mobile ==================== */
@media (max-width: 768px) {

  .nav-wrapper {
    padding: 0.75rem 0;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  /* Лого — не переносить текст */
  .logo {
    flex-shrink: 0;
    font-size: 1rem;
    gap: 0.5rem;
    white-space: nowrap;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
  }

  

  /* Дропдаун в мобильном меню */
  .nav-has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-dropdown {
    position: static;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-dropdown li a {
    font-size: 1rem;
    color: var(--text-secondary);
  }

  /* Telegram кнопка в меню */
  .nav-telegram-btn {
    font-size: 1rem;
  }

  /* Actions справа — language + CTA + гамбургер */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Language switcher — компактный */
  .language-switcher {
    padding: 0.2rem;
  }
  .lang-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
    gap: 0.25rem;
  }
  .lang-btn span {
    display: none; /* скрываем текст RU/EN, оставляем только флаг */
  }
  .lang-btn img {
    width: 16px;
    height: 12px;
  }

  /* CTA кнопка — компактная */
  .btn-cta {
    padding: 0.5rem 0.875rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Гамбургер — показываем */
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    flex-shrink: 0;
  }

  /* Гамбургер → крестик когда меню открыто */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 0.9rem;
  }
  .btn-cta {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 60px !important;        /* отступ под навбар */
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(10, 10, 15, 0.9) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;  /* сверху, не по центру */
        gap: 0 !important;
        z-index: 998 !important;
        padding: 1.5rem 2rem !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
.nav-menu {
        height: 100vh !important;  /* добавь эту строку */
        min-height: 100vh !important;
        /* остальные правила остаются */
    }
	
    .nav-menu.open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-menu > li {
        width: 100% !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        text-align: left !important;
    }

    .nav-menu > li:last-child {
        border-bottom: none !important;
    }

    .nav-menu a {
        font-size: 1.1rem !important;
        color: #ffffff !important;
        display: block !important;
        width: 100% !important;
    }
}


/* ==================== END Navbar Mobile ==================== */


/* ==================== Hero Card Slider ==================== */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: 80px 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168,85,247,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(236,72,153,0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-slider-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 80px);
    min-height: 500px;
    max-height: 900px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(168,85,247,0.2),
        0 30px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(168,85,247,0.15);
    z-index: 1;
    background: var(--bg-card);
}

/* Плавное растворение краёв */
.hero-slider-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 180px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}
.hero-slider-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 180px;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-card-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-card-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: flex-end;
}
.hero-card-slide.active { opacity: 1; z-index: 1; }

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,15,0.95) 0%,
        rgba(10,10,15,0.5) 45%,
        rgba(10,10,15,0.15) 100%
    );
    z-index: 1;
}

/* Контент — по центру снизу */
.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 3rem 5rem;
}

.hero-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(168,85,247,0.2);
    border: 1px solid rgba(168,85,247,0.4);
    border-radius: 2rem;
    color: #c084fc;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.hero-card-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-card-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

/* Кнопка — правый нижний угол */
.hero-card-btn {
    position: absolute;
    bottom: 5rem;
    right: 3rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(168,85,247,0.45);
    transition: var(--transition);
    text-decoration: none;
}
.hero-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(168,85,247,0.65);
}
.hero-card-btn i { transition: transform 0.3s ease; }
.hero-card-btn:hover i { transform: translateX(4px); }

/* Стрелки */
.hero-card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(26,26,36,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    opacity: 0;
}
.hero-slider-card:hover .hero-card-arrow { opacity: 1; }
.hero-card-arrow:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(168,85,247,0.5);
    transform: translateY(-50%) scale(1.1);
}
.hero-card-arrow-prev { left: 1.25rem; }
.hero-card-arrow-next { right: 1.25rem; }

/* Точки */
.hero-card-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}
.hero-card-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.4s ease;
}
.hero-card-dot:hover {
    background: rgba(168,85,247,0.6);
    border-color: rgba(168,85,247,0.6);
    transform: scale(1.2);
}
.hero-card-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 10px rgba(168,85,247,0.5);
}

/* Прогресс-бар */
.hero-card-progress {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 10;
}
.hero-card-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 0 2px 2px 0;
    transition: width linear;
}

/* Мобильный блок под карточкой — создаётся через JS */
.hero-mobile-content {
    display: none;
}

@media (max-width: 768px) {

    .hero-main {
        padding: 70px 0.75rem 1.5rem;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slider-card {
        height: 56vw;
        min-height: 200px;
        max-height: 380px;
        border-radius: 1.25rem;
        flex-shrink: 0;
    }

    .hero-card-slide {
        background-size: cover;
        background-position: center top;
    }

    .hero-card-overlay {
        background: linear-gradient(
            to top,
            rgba(10,10,15,0.3) 0%,
            rgba(10,10,15,0.0) 60%
        );
    }

    /* Прячем контент внутри карточки */
    .hero-card-content { display: none; }
    .hero-card-btn { display: none; }

    .hero-slider-card::before { height: none; }
    .hero-slider-card::after { display: none; }

    .hero-card-dots {
        bottom: 0.75rem;
        top: auto;
    }
    .hero-card-dot { width: 6px; height: 6px; }
    .hero-card-dot.active { width: 20px; }

    .hero-card-arrow { display: none; }

    /* Блок под карточкой — управляется JS */
    .hero-mobile-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 0.25rem 0;
        text-align: left;
    }

    .hero-mobile-content .hero-card-title {
        font-size: 1.65rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
        color: #fff;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .hero-mobile-content .hero-card-desc {
        font-size: 0.875rem;
        line-height: 1.6;
        color: rgba(255,255,255,0.75);
        margin-bottom: 1.25rem;
        max-width: 100%;
    }

    .hero-mobile-content .hero-card-tag {
        font-size: 0.72rem;
        margin-bottom: 0.75rem;
    }

    .hero-mobile-content .hero-card-btn {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-flex;
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        box-shadow: 0 6px 24px rgba(168,85,247,0.4);
    }
}

@media (max-width: 480px) {
    .hero-slider-card {
        height: 58vw;
        max-height: 300px;
        border-radius: 1rem;
    }
    .hero-mobile-content .hero-card-title { font-size: 1.4rem; }
    .hero-mobile-content .hero-card-desc { font-size: 0.82rem; }
}

@media (max-width: 390px) {
    .hero-slider-card { height: 60vw; }
    .hero-mobile-content .hero-card-title { font-size: 1.25rem; }
}






/* ==================== END Hero Card Slider ==================== */

/* ==================== Solutions Carousel ==================== */
.solutions-carousel {
    padding: 6rem 0;
    background: var(--bg-dark-secondary);
}
.section-intro { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.75rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
.solutions-swiper { padding: 2rem 0 4rem; }
.solutions-swiper .swiper-slide {
    width: 300px;
    height: auto;
}
@media (max-width: 768px) {
    .solutions-swiper .swiper-slide {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .solutions-swiper .swiper-slide {
        width: 220px;
    }
}
.solution-image {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}
.solution-visual {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.gradient-purple-bg { background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); }
.gradient-blue-bg   { background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%); }
.gradient-pink-bg   { background: linear-gradient(135deg, #ec4899 0%, #f97316 100%); }
.gradient-orange-bg { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.gradient-green-bg  { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); }
.gradient-cyan-bg   { background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); }

.gradient-purple { background: var(--gradient-primary); }
.gradient-blue   { background: var(--gradient-blue); }
.gradient-pink   { background: var(--gradient-orange); }
.gradient-orange { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.gradient-green  { background: var(--gradient-green); }
.gradient-cyan   { background: var(--gradient-cyan); }

.solution-icon-large {
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.solution-icon-large i { font-size: 3.5rem; color: white; }

.solution-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.online-dot {
    width: 10px; height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.3), 0 0 10px rgba(16,185,129,0.6);
    animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(16,185,129,0.3), 0 0 10px rgba(16,185,129,0.6); }
    50% { box-shadow: 0 0 0 4px rgba(16,185,129,0.2), 0 0 20px rgba(16,185,129,0.8); }
}

.solution-info {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.solution-name { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }
.solution-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.solution-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
    padding: 0.375rem 0.875rem;
    background: rgba(168,85,247,0.12);
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: var(--radius-sm);
    color: var(--primary-purple);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.solution-icon {
    width: 100px; height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}
.solution-icon i { font-size: 2.5rem; color: white; }

/* Swiper */
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: var(--bg-card);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.25rem; }
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(168,85,247,0.5);
}
.swiper-pagination-bullet { background: var(--text-muted); opacity: 0.5; width: 10px; height: 10px; transition: var(--transition); }
.swiper-pagination-bullet-active { background: var(--primary-purple); opacity: 1; width: 30px; border-radius: 5px; }

.solution-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.solution-card-link:hover .solution-card {
    transform: translateY(-10px);
    border-color: rgba(168,85,247,0.3);
    box-shadow: 0 20px 60px rgba(168,85,247,0.15);
}
.solution-card-link:active .solution-card { transform: translateY(-5px); }

@media (max-width: 768px) {
    
    .solution-icon-large { width: 90px; height: 90px; }
    .solution-icon-large i { font-size: 2.5rem; }
    .solution-name { font-size: 1.15rem; }
}
@media (max-width: 480px) {
    
    .solution-icon-large { width: 80px; height: 80px; }
    .solution-icon-large i { font-size: 2rem; }
}

@media (max-width: 768px) {
    .solution-image { height: 320px; }
}

@media (max-width: 480px) {
    .solution-image { height: 280px; }
}

/* ==================== Create Dataset Section ==================== */
.create-dataset-section {
    padding: 2rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .create-dataset-section { padding: 4rem 0; } }

.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container-wide { padding: 0 2rem; } }
@media (min-width: 1280px) { .container-wide { padding: 0; } }

.create-visual-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 1s ease-out;
}
@media (min-width: 768px) { .create-visual-wrapper { min-height: 600px; border-radius: var(--radius-2xl); } }
@media (min-width: 1024px) { .create-visual-wrapper { min-height: 700px; } }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.create-bg-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.create-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

.create-animated-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #f97316 50%, #3b82f6 75%, #a855f7 100%);
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    z-index: 0;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.create-animated-bg::before, .create-animated-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatParticle 10s ease-in-out infinite;
}
.create-animated-bg::before { width: 300px; height: 300px; background: rgba(255,255,255,0.2); top: 10%; left: 10%; animation-delay: 0s; }
.create-animated-bg::after { width: 250px; height: 250px; background: rgba(255,255,255,0.15); bottom: 15%; right: 15%; animation-delay: 5s; }
@keyframes floatParticle {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-30px,-30px); }
}

.create-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,10,15,0.5) 0%, rgba(168,85,247,0.35) 100%);
    z-index: 1;
}

.create-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 3rem 1.5rem;
}
@media (min-width: 768px) { .create-content-overlay { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .create-content-overlay { padding: 5rem 4rem; } }

.create-text-content {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.create-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(168,85,247,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168,85,247,0.4);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(168,85,247,0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@media (min-width: 768px) { .create-badge { font-size: 0.95rem; padding: 0.75rem 1.5rem; } }
.create-badge i { font-size: 1rem; }
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(168,85,247,0.3); }
    50% { box-shadow: 0 4px 30px rgba(168,85,247,0.6); }
}

.create-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .create-title { font-size: 3rem; margin-bottom: 1.5rem; } }
@media (min-width: 1024px) { .create-title { font-size: 3.75rem; } }

.create-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 650px;
}
@media (min-width: 768px) { .create-description { font-size: 1.125rem; line-height: 1.8; margin-bottom: 2.5rem; } }
@media (min-width: 1024px) { .create-description { font-size: 1.2rem; } }

.btn-create-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(168,85,247,0.5);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .btn-create-learn-more { padding: 1.125rem 2.5rem; font-size: 1.05rem; } }
.btn-create-learn-more::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.btn-create-learn-more:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 50px rgba(168,85,247,0.7); }
.btn-create-learn-more:hover::before { left: 100%; }
.btn-create-learn-more i { font-size: 1rem; transition: transform 0.3s ease; }
.btn-create-learn-more:hover i { transform: translateX(5px); }
.btn-create-learn-more:active { transform: translateY(-1px) scale(0.98); }

@media (max-width: 640px) {
    .create-visual-wrapper { min-height: 450px; border-radius: var(--radius-lg); }
    .create-content-overlay { padding: 2rem 1rem; }
    .create-title { font-size: 1.75rem; }
    .create-description { font-size: 0.95rem; }
    .btn-create-learn-more { padding: 0.875rem 1.75rem; font-size: 0.95rem; width: 100%; justify-content: center; }
}
@media (max-width: 375px) {
    .create-visual-wrapper { min-height: 400px; }
    .create-title { font-size: 1.5rem; }
    .create-description { font-size: 0.9rem; margin-bottom: 1.5rem; }
}
@media (min-width: 641px) and (max-width: 1023px) {
    .create-visual-wrapper { min-height: 550px; }
    .create-title { font-size: 2.5rem; }
}

.create-content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.btn-create-large {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary); color: white;
    font-weight: 600; font-size: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-purple);
    transition: var(--transition);
}
.btn-create-large:hover { transform: translateY(-3px); box-shadow: 0 0 80px rgba(168,85,247,0.6); }

.creator-preview { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); padding: 2rem; display: grid; gap: 1.5rem; }
.creator-option {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    transition: var(--transition); cursor: pointer;
}
.creator-option:hover { background: rgba(255,255,255,0.05); border-color: rgba(168,85,247,0.3); }
.option-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.option-icon i { font-size: 1.5rem; color: white; }
/* ==================== END Create Dataset Section ==================== */

/* ==================== Features Storytelling ==================== */
.features-storytelling { padding: 6rem 0; background: var(--bg-dark-secondary); }
.feature-story-block {
    max-width: 900px; margin: 0 auto 4rem;
    padding: 3rem;
    background: rgba(26,26,36,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
}
.feature-story-block.reverse { background: rgba(168,85,247,0.03); border-color: rgba(168,85,247,0.1); }
.feature-story-title { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.3; }
.feature-story-text { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; }

/* ==================== Pricing Section ==================== */
.pricing-section { padding: 6rem 0; background: var(--bg-dark); }
.pricing-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-bottom: 3rem; }
.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { transform: translateY(-8px); border-color: rgba(168,85,247,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.pricing-card.popular { border-color: var(--primary-purple); background: linear-gradient(135deg, rgba(168,85,247,0.05) 0%, rgba(236,72,153,0.05) 100%); }
.popular-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary); border-radius: var(--radius-md);
    color: white; font-size: 0.85rem; font-weight: 600;
}
.pricing-header { margin-bottom: 1.5rem; }
.pricing-plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.pricing-amount { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.currency { font-size: 1.5rem; color: var(--text-secondary); }
.price { font-size: 3rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.period { font-size: 1rem; color: var(--text-muted); }
.pricing-save { display: inline-block; padding: 0.375rem 0.75rem; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius-sm); color: var(--accent-green); font-size: 0.85rem; font-weight: 600; }
.pricing-description { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.pricing-features { margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; color: var(--text-secondary); font-size: 0.95rem; }
.pricing-features i { color: var(--primary-purple); margin-top: 0.25rem; }
.btn-pricing { display: block; width: 100%; padding: 0.875rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); color: var(--text-primary); font-weight: 600; text-align: center; transition: var(--transition); }
.btn-pricing:hover { background: rgba(255,255,255,0.08); border-color: var(--primary-purple); }
.btn-pricing.primary { background: var(--gradient-primary); border-color: transparent; color: white; }
.btn-pricing.primary:hover { box-shadow: var(--glow-purple); }
.payment-info { text-align: center; margin-top: 3rem; }
.payment-info p { color: var(--text-secondary); margin-bottom: 1rem; }
.payment-methods { display: flex; justify-content: center; gap: 1.5rem; }
.payment-methods i { font-size: 2rem; color: var(--text-muted); transition: var(--transition); }
.payment-methods i:hover { color: var(--primary-purple); }

/* ==================== FAQ Section ==================== */
.faq-section { padding: 6rem 0; background: var(--bg-dark-secondary); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: rgba(168,85,247,0.2); }
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem;
    background: transparent; border: none;
    color: var(--text-primary);
    font-size: 1.1rem; font-weight: 600;
    text-align: left; cursor: pointer;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary-purple); }
.faq-question i { font-size: 1rem; transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 1200px; }
.faq-answer p { padding: 0 1.5rem 1rem; color: var(--text-secondary); line-height: 1.7; font-size: 1rem; }

/* ==================== FAQ CTA Link ==================== */
.faq-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.25rem 1.5rem 1.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(168,85,247,0.35);
    transition: var(--transition);
    width: fit-content;
    max-width: calc(100% - 3rem);
}
.faq-cta-link:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(168,85,247,0.55); }
@media (max-width: 480px) { .faq-cta-link { width: calc(100% - 3rem); justify-content: center; } }
/* ==================== END FAQ CTA Link ==================== */

/* ==================== Use Cases Section ==================== */
.use-cases-section { padding: 6rem 0; background: var(--bg-dark); }
.use-cases-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.use-case-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: var(--transition); }
.use-case-card:hover { transform: translateY(-8px); border-color: rgba(168,85,247,0.3); }
.use-case-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; background: var(--gradient-primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.use-case-icon i { font-size: 2rem; color: white; }
.use-case-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.use-case-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }

/* ==================== Final CTA Section ==================== */
.final-cta-section { padding: 6rem 0; background: var(--bg-dark-secondary); position: relative; overflow: hidden; }
.final-cta-content { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.final-cta-title { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
.final-cta-text { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-email-form { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.cta-email-form input { flex: 1; padding: 1rem 1.5rem; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); color: var(--text-primary); font-size: 1rem; transition: var(--transition); }
.cta-email-form input:focus { outline: none; border-color: var(--primary-purple); background: rgba(26,26,36,0.9); }
.cta-email-form input::placeholder { color: var(--text-muted); }
.btn-cta-submit { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: var(--gradient-primary); border: none; border-radius: var(--radius-lg); color: white; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); box-shadow: var(--glow-purple); }
.btn-cta-submit:hover { transform: translateY(-2px); box-shadow: 0 0 80px rgba(168,85,247,0.6); }
.cta-note { color: var(--text-muted); font-size: 0.9rem; }

/* ==================== Footer ==================== */
.footer-main { padding: 4rem 0 2rem; background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.footer-description { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 42px; height: 42px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--gradient-primary); border-color: transparent; transform: translateY(-3px); }
.footer-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-purple); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: var(--text-muted); transition: var(--transition); }
.footer-legal a:hover { color: var(--text-primary); }

/* ==================== Scroll to Top ==================== */
.scroll-top-btn { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; background: var(--gradient-primary); border: none; border-radius: 50%; color: white; font-size: 1.25rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--glow-purple); z-index: 999; }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { transform: translateY(-5px); }

/* ==================== Horizontal Features Slider Section ==================== */
.horizontal-features { padding: 2rem 0; background: var(--bg-dark); position: relative; overflow: hidden; }
.horizontal-features::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(168,85,247,0.05) 0%, transparent 50%); pointer-events: none; }
.section-header { text-align: center; margin-bottom: 4rem; position: relative; z-index: 2; }
.horizontal-slider-wrapper { position: relative; }
.horizontal-slider { position: relative; overflow: hidden; width: 100%; }
.horizontal-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateX(100px); transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease; pointer-events: none; }
.horizontal-slide.active { position: relative; opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.horizontal-block { display: grid; grid-template-columns: 35% 1fr; gap: 3rem; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-2xl); overflow: hidden; transition: var(--transition); }
.horizontal-block:hover { border-color: rgba(168,85,247,0.3); box-shadow: 0 20px 60px rgba(168,85,247,0.15); transform: translateY(-5px); }
.horizontal-block.reverse { grid-template-columns: 1fr 35%; }
.horizontal-block.reverse .block-image { order: 2; }
.horizontal-block.reverse .block-content { order: 1; }
.block-image { position: relative; overflow: hidden; height: 100%; min-height: 450px; }
.block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.horizontal-block:hover .block-image img { transform: scale(1.1); }
.image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,10,15,0.4) 0%, rgba(168,85,247,0.3) 100%); opacity: 0.6; transition: var(--transition); }
.horizontal-block:hover .image-overlay { opacity: 0.8; }
.image-badge { position: absolute; top: 2rem; right: 2rem; width: 70px; height: 70px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(168,85,247,0.4); z-index: 2; }
.image-badge i { font-size: 2rem; color: white; }
.block-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.block-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.3); border-radius: var(--radius-md); color: var(--primary-purple); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; width: fit-content; }
.block-title { font-size: 2rem; font-weight: 800; margin-bottom: 1.25rem; color: white; line-height: 1.2; }
.block-description { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; }
.block-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.feature-item i { color: var(--accent-green); font-size: 1.1rem; }
.block-btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: var(--gradient-primary); color: white; font-weight: 600; font-size: 1rem; border-radius: var(--radius-lg); text-decoration: none; transition: var(--transition); width: fit-content; box-shadow: 0 4px 20px rgba(168,85,247,0.3); }
.block-btn:hover { transform: translateX(5px); box-shadow: 0 6px 30px rgba(168,85,247,0.5); }
.block-btn i { font-size: 0.9rem; transition: var(--transition); }
.block-btn:hover i { transform: translateX(3px); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 3rem; }
.slider-nav-btn { width: 60px; height: 60px; background: var(--bg-card); border: 2px solid rgba(168,85,247,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; cursor: pointer; transition: var(--transition); }
.slider-nav-btn:hover { background: var(--gradient-primary); border-color: transparent; transform: scale(1.1); box-shadow: 0 8px 30px rgba(168,85,247,0.5); }
.slider-nav-btn:active { transform: scale(0.95); }
.slider-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.slider-dots { display: flex; gap: 1rem; align-items: center; }
.slider-dot { width: 12px; height: 12px; background: rgba(255,255,255,0.2); border: 2px solid rgba(168,85,247,0.3); border-radius: 50%; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot:hover { background: rgba(168,85,247,0.5); border-color: rgba(168,85,247,0.6); }
.slider-dot.active { width: 40px; background: var(--gradient-primary); border-color: transparent; border-radius: 6px; }
.slide-counter { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 2rem; font-size: 1.5rem; font-weight: 700; }
.current-slide { color: var(--primary-purple); }
.separator { color: var(--text-muted); }
.total-slides { color: var(--text-secondary); }

@media (max-width: 1024px) {
    .horizontal-block, .horizontal-block.reverse { grid-template-columns: 40% 1fr; gap: 2rem; }
    .block-content { padding: 2.5rem 2rem; }
    .block-title { font-size: 1.75rem; }
    .block-image { min-height: 400px; }
}
@media (max-width: 768px) {
    .horizontal-features { padding: 4rem 0; }
    .section-header { margin-bottom: 3rem; }
    .horizontal-block, .horizontal-block.reverse { grid-template-columns: 1fr; gap: 0; }
    .horizontal-block.reverse .block-image, .horizontal-block.reverse .block-content { order: initial; }
    .block-image { min-height: 300px; }
    .block-content { padding: 2rem 1.5rem; }
    .block-title { font-size: 1.5rem; }
    .block-description { font-size: 1rem; }
    .image-badge { width: 60px; height: 60px; top: 1.5rem; right: 1.5rem; }
    .image-badge i { font-size: 1.5rem; }
    .slider-controls { gap: 1rem; margin-top: 2rem; }
    .slider-nav-btn { width: 50px; height: 50px; font-size: 1rem; }
    .slider-dots { gap: 0.75rem; }
    .slider-dot { width: 10px; height: 10px; }
    .slider-dot.active { width: 30px; }
}
@media (max-width: 480px) {
    .block-content { padding: 1.5rem 1rem; }
    .block-title { font-size: 1.35rem; }
    .block-description { font-size: 0.95rem; }
    .block-image { min-height: 250px; }
    .block-btn { width: 100%; justify-content: center; }
    .slider-controls { flex-wrap: wrap; }
    .slider-dots { order: -1; width: 100%; justify-content: center; margin-bottom: 1rem; }
    .slide-counter { font-size: 1.25rem; }
}
@media (min-width: 1400px) {
    .horizontal-block, .horizontal-block.reverse { grid-template-columns: 30% 1fr; gap: 4rem; }
    .block-content { padding: 4rem; }
    .block-title { font-size: 2.25rem; }
}
/* ==================== END Horizontal Features Section ==================== */

/* ==================== Cookie Consent Banner ==================== */
.cookie-consent-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10,10,15,0.98); backdrop-filter: blur(20px); border-top: 2px solid rgba(168,85,247,0.3); padding: 1.5rem; z-index: 999998; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.68,-0.55,0.265,1.55); box-shadow: 0 -10px 40px rgba(0,0,0,0.5); }
.cookie-consent-banner.show { transform: translateY(0); }
.cookie-banner-container { max-width: 1400px; margin: 0 auto; }
.cookie-banner-content { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.cookie-icon { width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: cookieBounce 2s ease-in-out infinite; }
@keyframes cookieBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.cookie-icon i { font-size: 2rem; color: white; }
.cookie-text { flex: 1; }
.cookie-title { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.cookie-description { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.cookie-actions { display: flex; gap: 1rem; flex-shrink: 0; }
.cookie-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.5rem; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.cookie-btn-settings { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-secondary); }
.cookie-btn-settings:hover { background: rgba(255,255,255,0.05); border-color: rgba(168,85,247,0.5); color: white; }
.cookie-btn-reject { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.cookie-btn-reject:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5); }
.cookie-btn-accept { background: var(--gradient-primary); border: none; color: white; box-shadow: 0 4px 20px rgba(168,85,247,0.4); }
.cookie-btn-accept:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(168,85,247,0.6); }
.cookie-policy-link { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }
.cookie-policy-link a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.cookie-policy-link a:hover { color: var(--primary-purple); }
.cookie-policy-link .separator { color: var(--text-muted); }

.cookie-preferences-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999999; display: none; align-items: center; justify-content: center; }
.cookie-preferences-modal.active { display: flex; }
.cookie-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.cookie-modal-content { position: relative; width: 90%; max-width: 700px; max-height: 90vh; background: var(--bg-card); border: 2px solid rgba(168,85,247,0.3); border-radius: var(--radius-2xl); overflow: hidden; display: flex; flex-direction: column; animation: modalSlideIn 0.4s cubic-bezier(0.68,-0.55,0.265,1.55); }
.cookie-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cookie-modal-header h3 { font-size: 1.75rem; font-weight: 800; color: white; margin: 0; }
.cookie-modal-close { width: 40px; height: 40px; background: transparent; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; color: var(--text-secondary); font-size: 1.25rem; cursor: pointer; transition: var(--transition); }
.cookie-modal-close:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #ef4444; transform: rotate(90deg); }
.cookie-modal-body { flex: 1; overflow-y: auto; padding: 2rem; }
.cookie-modal-intro { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }
.cookie-categories { display: flex; flex-direction: column; gap: 1.5rem; }
.cookie-category { background: rgba(26,26,36,0.6); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition); }
.cookie-category:hover { border-color: rgba(168,85,247,0.3); background: rgba(26,26,36,0.8); }
.category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.category-info h4 { font-size: 1.1rem; font-weight: 700; color: white; margin: 0 0 0.5rem 0; }
.category-status { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(168,85,247,0.2); border: 1px solid rgba(168,85,247,0.3); border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; color: var(--primary-purple); text-transform: uppercase; }
.category-description { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.category-toggle { position: relative; }
.category-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.category-toggle label { display: block; width: 50px; height: 26px; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); border-radius: 13px; cursor: pointer; position: relative; transition: var(--transition); }
.category-toggle label:before { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: white; border-radius: 50%; transition: var(--transition); }
.category-toggle input[type="checkbox"]:checked + label { background: var(--gradient-primary); border-color: transparent; }
.category-toggle input[type="checkbox"]:checked + label:before { transform: translateX(24px); }
.category-toggle input[type="checkbox"]:disabled + label { opacity: 0.5; cursor: not-allowed; }
.cookie-modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 1024px) { .cookie-banner-content { grid-template-columns: 1fr; gap: 1.5rem; } .cookie-icon { display: none; } .cookie-actions { justify-content: center; } }
@media (max-width: 768px) { .cookie-consent-banner { padding: 1.25rem; } .cookie-title { font-size: 1.1rem; } .cookie-description { font-size: 0.9rem; } .cookie-actions { flex-direction: column; width: 100%; } .cookie-btn { width: 100%; justify-content: center; } .cookie-modal-header { padding: 1.5rem; } .cookie-modal-header h3 { font-size: 1.5rem; } .cookie-modal-body { padding: 1.5rem; } .cookie-modal-footer { flex-direction: column; padding: 1.25rem 1.5rem; } .cookie-modal-footer .cookie-btn { width: 100%; } }
@media (max-width: 480px) { .cookie-consent-banner { padding: 1rem; } .cookie-title { font-size: 1rem; } .cookie-description { font-size: 0.85rem; } .cookie-btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; } .cookie-policy-link { flex-direction: column; gap: 0.5rem; } .cookie-policy-link .separator { display: none; } }
/* ==================== END Cookie Consent Banner ==================== */

/* ==================== Age Verification Modal ==================== */
.age-verification-modal {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 999999;
    display: none; /* скрыта по умолчанию — JS покажет если нужно */
    align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
/* Активное состояние — JS добавляет класс .visible */
.age-verification-modal.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.age-verification-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%); z-index: 999998; }
.age-modal-overlay::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(168,85,247,0.1) 0%, rgba(236,72,153,0.1) 50%, rgba(59,130,246,0.1) 100%); background-size: 400% 400%; animation: gradientShift 15s ease infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.age-modal-content { position: relative; z-index: 999999; width: 90%; max-width: 600px; animation: modalSlideIn 0.6s cubic-bezier(0.68,-0.55,0.265,1.55); }
@keyframes modalSlideIn { from { opacity: 0; transform: scale(0.8) translateY(50px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.age-modal-inner { background: rgba(26,26,36,0.98); backdrop-filter: blur(20px); border: 2px solid rgba(168,85,247,0.3); border-radius: var(--radius-2xl); padding: 3rem 2rem; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 100px rgba(168,85,247,0.3); position: relative; z-index: 999999; }
.age-icon { width: 100px; height: 100px; margin: 0 auto 2rem; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 60px rgba(168,85,247,0.5); animation: iconPulse 2s ease-in-out infinite; position: relative; z-index: 999999; }
@keyframes iconPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(168,85,247,0.5); } 50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(168,85,247,0.7); } }
.age-icon i { font-size: 3rem; color: white; }
.age-title { font-size: 2rem; font-weight: 800; margin-bottom: 1.25rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 999999; }
.age-description { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; padding: 0 1rem; position: relative; z-index: 999999; }
.age-question { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 2.5rem; position: relative; z-index: 999999; }
.age-buttons { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; position: relative; z-index: 999999; }
.age-btn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.25rem 2rem; font-size: 1.1rem; font-weight: 600; border: 2px solid transparent; border-radius: var(--radius-lg); cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 999999; }
.age-btn i { font-size: 1.5rem; }
.age-btn-yes { background: var(--gradient-primary); color: white; box-shadow: 0 8px 30px rgba(168,85,247,0.4); }
.age-btn-yes:hover { transform: translateY(-3px); box-shadow: 0 12px 50px rgba(168,85,247,0.6); }
.age-btn-yes:active { transform: translateY(-1px); }
.age-btn-no { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #ef4444; }
.age-btn-no:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5); transform: translateY(-2px); }
.age-btn-no:active { transform: translateY(0); }
.age-disclaimer { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; padding: 0 1rem; position: relative; z-index: 999999; }

body.modal-open { overflow: hidden !important; position: fixed; width: 100%; height: 100%; }

@media (min-width: 768px) { .age-modal-inner { padding: 4rem 3rem; } .age-title { font-size: 2.5rem; } .age-description { font-size: 1.1rem; } .age-buttons { flex-direction: row; justify-content: center; } .age-btn { flex: 1; max-width: 250px; } }
@media (max-width: 640px) { .age-modal-inner { padding: 2rem 1.5rem; } .age-icon { width: 80px; height: 80px; } .age-icon i { font-size: 2.5rem; } .age-title { font-size: 1.75rem; } .age-question { font-size: 1.25rem; } .age-btn { padding: 1rem 1.5rem; font-size: 1rem; } }
@media (max-width: 375px) { .age-modal-inner { padding: 1.5rem 1rem; } .age-title { font-size: 1.5rem; } .age-description { font-size: 0.9rem; } }
/* ==================== END Age Verification Modal ==================== */

/* ==================== Responsive Design (global) ==================== */
@media (max-width: 1024px) {
    .hero-content-wrapper, .create-content-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual-section { max-width: 500px; margin: 0 auto; }
    .pricing-cards, .use-cases-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}




/* ==================== SEO Text Section ==================== */
.seo-text-section { padding: 5rem 0 4rem; background: var(--bg-dark); position: relative; overflow: hidden; }
.seo-text-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 10% 20%, rgba(168,85,247,0.06) 0%, transparent 55%), radial-gradient(ellipse at 90% 80%, rgba(236,72,153,0.05) 0%, transparent 55%); pointer-events: none; }
.seo-block-main { text-align: center; margin-bottom: 4rem; }
.seo-block-inner { max-width: 820px; margin: 0 auto; }
.seo-main-title { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.seo-divider { width: 80px; height: 3px; background: var(--gradient-primary); border-radius: 2px; margin: 0 auto 1.5rem; }
.seo-lead { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; }
.seo-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; margin-bottom: 3.5rem; }
.seo-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-xl); padding: 2rem; transition: var(--transition); position: relative; overflow: hidden; }
.seo-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.seo-card:hover { border-color: rgba(168,85,247,0.25); box-shadow: 0 12px 40px rgba(168,85,247,0.1); transform: translateY(-4px); }
.seo-card:hover::before { transform: scaleX(1); }
.seo-card-icon { width: 52px; height: 52px; background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.25); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: var(--transition); }
.seo-card:hover .seo-card-icon { background: var(--gradient-primary); border-color: transparent; box-shadow: 0 4px 20px rgba(168,85,247,0.4); }
.seo-card-icon i { font-size: 1.35rem; color: var(--primary-purple); transition: var(--transition); }
.seo-card:hover .seo-card-icon i { color: #fff; }
.seo-card-title { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.875rem; line-height: 1.3; }
.seo-card-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }
.seo-wide-block { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-2xl); padding: 3rem; margin-bottom: 3rem; position: relative; overflow: hidden; }
.seo-wide-block::after { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.seo-wide-inner { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.seo-wide-title { font-size: 1.75rem; font-weight: 800; line-height: 1.25; margin-bottom: 1.25rem; color: var(--text-primary); }
.seo-wide-text p { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.seo-wide-text p:last-child { margin-bottom: 0; }
.seo-features-list { display: flex; flex-direction: column; gap: 1rem; }
.seo-feature-row { display: flex; align-items: flex-start; gap: 0.875rem; padding: 0.875rem 1rem; background: rgba(168,85,247,0.05); border: 1px solid rgba(168,85,247,0.12); border-radius: var(--radius-md); transition: var(--transition); }
.seo-feature-row:hover { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.25); }
.seo-feature-row i { color: var(--accent-green); font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.seo-feature-row div { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.seo-feature-row strong { color: var(--text-primary); font-weight: 600; }
.seo-cta-block { background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(236,72,153,0.08) 100%); border: 1px solid rgba(168,85,247,0.25); border-radius: var(--radius-2xl); padding: 2.5rem 3rem; position: relative; overflow: hidden; }
.seo-cta-block::before { content: ''; position: absolute; bottom: -40px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(236,72,153,0.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.seo-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1; }
.seo-cta-title { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.25; }
.seo-cta-text p { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.7; max-width: 600px; }
.seo-cta-btn { display: inline-flex; align-items: center; gap: 0.625rem; padding: 1rem 2.25rem; background: var(--gradient-primary); color: #fff; font-weight: 700; font-size: 1rem; border-radius: var(--radius-lg); white-space: nowrap; flex-shrink: 0; box-shadow: 0 8px 30px rgba(168,85,247,0.4); transition: var(--transition); text-decoration: none; }
.seo-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 50px rgba(168,85,247,0.6); }
.seo-cta-btn i { font-size: 1rem; }
@media (max-width: 600px) {
  .info-block-cta {
    justify-content: stretch;
  }
  .info-block-cta .seo-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) { .seo-wide-inner { grid-template-columns: 1fr; gap: 2rem; } .seo-features-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.875rem; } }
@media (max-width: 768px) { .seo-text-section { padding: 3.5rem 0 3rem; } .seo-main-title { font-size: 1.75rem; } .seo-grid { grid-template-columns: 1fr; gap: 1.25rem; } .seo-wide-block { padding: 2rem 1.5rem; } .seo-wide-title { font-size: 1.45rem; } .seo-features-list { grid-template-columns: 1fr; } .seo-cta-block { padding: 2rem 1.5rem; } .seo-cta-inner { flex-direction: column; text-align: center; align-items: center; } .seo-cta-title { font-size: 1.35rem; } .seo-cta-btn { width: 100%; justify-content: center; } }
@media (max-width: 480px) { .seo-main-title { font-size: 1.5rem; } .seo-card { padding: 1.5rem; } .seo-wide-block { padding: 1.5rem 1.25rem; } .seo-cta-block { padding: 1.75rem 1.25rem; } }
/* ==================== END SEO Text Section ==================== */

/* ==================== SEO Undress Block ==================== */
.seo-cta-block--undress { background: linear-gradient(135deg, rgba(236,72,153,0.1) 0%, rgba(168,85,247,0.08) 50%, rgba(249,115,22,0.07) 100%); border-color: rgba(236,72,153,0.3); margin-bottom: 2rem; padding: 0; overflow: hidden; }
.seo-cta-block--undress::before { background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%); }
.seo-cta-inner--undress { display: grid !important; grid-template-columns: 1fr 340px; gap: 0 !important; padding: 0 !important; align-items: stretch; }
.seo-cta-inner--undress .seo-cta-text { padding: 2.5rem 3rem; display: flex; flex-direction: column; gap: 0; }
.seo-cta-inner--undress .seo-cta-title { margin-bottom: 1rem; }
.seo-cta-inner--undress p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }
.seo-cta-inner--undress .seo-cta-btn--undress { margin-top: 1.5rem; align-self: flex-start; }
.undress-cta-image { position: relative; overflow: hidden; min-height: 100%; }
.undress-cta-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.undress-cta-image::before { content: ''; position: absolute; top: 0; left: 0; width: 55%; height: 100%; background: linear-gradient(to right, rgba(10,10,15,0.98) 0%, rgba(10,10,15,0.5) 50%, transparent 100%); z-index: 1; pointer-events: none; }
.undress-cta-image::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 25%; background: linear-gradient(to top, rgba(10,10,15,0.6) 0%, transparent 100%); z-index: 1; pointer-events: none; }
.seo-undress-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; margin-top: 1.25rem; width: 100%; }
.seo-undress-feat { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }
.seo-undress-feat i { color: var(--primary-pink); font-size: 0.9rem; margin-top: 0.15rem; flex-shrink: 0; }
.seo-cta-btn--undress { background: linear-gradient(135deg, #ec4899 0%, #f97316 100%); box-shadow: 0 8px 30px rgba(236,72,153,0.4); flex-shrink: 0; white-space: nowrap; }
.seo-cta-btn--undress:hover { box-shadow: 0 12px 50px rgba(236,72,153,0.6); }

@media (max-width: 1024px) { .seo-cta-inner--undress { grid-template-columns: 1fr 280px !important; } }
@media (max-width: 768px) { .seo-cta-inner--undress { grid-template-columns: 1fr !important; } .undress-cta-image { min-height: 280px; order: -1; } .undress-cta-image::before { display: none; } .undress-cta-image::after { height: 50%; background: linear-gradient(to top, rgba(10,10,15,1) 0%, transparent 100%); } .seo-cta-inner--undress .seo-cta-text { padding: 2rem 1.5rem; } .seo-undress-features { grid-template-columns: 1fr; } .seo-cta-inner--undress .seo-cta-btn--undress { width: 100%; justify-content: center; align-self: stretch; } }
@media (max-width: 480px) { .undress-cta-image { min-height: 220px; } .seo-cta-inner--undress .seo-cta-text { padding: 1.5rem 1.25rem; } }
/* ==================== END SEO Undress Block ==================== */

/* ===== EXIT INTENT POPUP ===== */
#exitIntentPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#exitIntentPopup.open {
  display: flex;
}

#exitIntentBox {
  background: #12121f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7);
  animation: eiPopupIn 0.3s ease;
}

@keyframes eiPopupIn {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#exitIntentHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

#exitIntentHeader span {
  font-size: 14px;
  font-weight: 700;
  color: #ff6b35;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#exitIntentClose {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

#exitIntentClose:hover {
  background: rgba(255,107,53,0.2);
  border-color: #ff6b35;
  color: #ff6b35;
}

#exitIntentSlider {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.ei-slide {
  display: none;
  height: 100%;
}

.ei-slide.active {
  display: block;
}

.ei-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  max-height: 70vh;
  height: 100%;
}

.ei-media {
  position: relative;
  overflow: hidden;
  background: #000;
}



.ei-media img,
.ei-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ei-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, #12121f);
}

.ei-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow-y: auto;
}

.ei-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 2rem;
  color: #c084fc;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.ei-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.ei-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

.ei-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ei-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.ei-feat i {
  color: #10b981;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ei-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b35, #e55a2b);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-top: auto;
  align-self: flex-end;
  width: auto;
}

.ei-btn:hover {
  opacity: 0.85;
}

.ei-arrow {
  position: absolute;
  bottom: 20px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.ei-arrow:hover {
  background: rgba(255,107,53,0.5);
  border-color: #ff6b35;
}

.ei-arrow--prev { left: 50%; transform: translateX(-60px); }
.ei-arrow--next { left: 50%; transform: translateX(20px); }

/* Адаптив */
@media (max-width: 700px) {
  #exitIntentPopup {
    padding: 12px;
    align-items: center; /* по центру экрана, не снизу */
  }

  #exitIntentBox {
    max-height: 88vh;
    height: auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
  }

  #exitIntentHeader {
    flex-shrink: 0;
    padding: 12px 16px;
  }

  #exitIntentSlider {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
  }

  .ei-slide { height: auto; }

  .ei-block {
    display: flex;
    flex-direction: column;
    min-height: unset;
    max-height: unset;
    height: auto;
  }

  .ei-media {
    height: 260px;
    flex-shrink: 0;
    background: #000;
  }
    .ei-media img,
  .ei-media video {
    object-fit: contain; /* вся картинка без обрезки */
    object-position: center;
  }

  .ei-media::after {
    background: linear-gradient(to bottom, transparent 50%, #12121f);
  }

  .ei-content {
    padding: 16px 16px 20px;
    gap: 10px;
    overflow-y: visible;
    justify-content: flex-start;
  }

  .ei-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .ei-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .ei-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .ei-feat { font-size: 0.82rem; }

  /* Кнопка + стрелки в одну строку */
  .ei-btn {
    width: 100%;
    justify-content: center;
    align-self: stretch;
    padding: 13px 20px;
    font-size: 14px;
    margin-top: 4px;
    border-radius: 30px;
    /* Оставляем место для стрелок по бокам */
    margin-left: 52px;
    margin-right: 52px;
    width: calc(100% - 104px);
    box-sizing: border-box;
  }

  /* Стрелки — внутри потока рядом с кнопкой */
  .ei-arrow {
    position: absolute;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background: rgba(18,18,31,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
  }

  .ei-arrow--prev {
    left: 16px;
    transform: none;
  }

  .ei-arrow--next {
    left: auto;
    right: 16px;
    transform: none;
  }

  /* Контент слайда — отступ снизу под стрелки */
  .ei-content {
    padding-bottom: 72px;
  }
}

@media (max-width: 390px) {
  .ei-media { height: 185px; }
  .ei-title { font-size: 1.05rem; }
  .ei-desc { font-size: 0.8rem; }
  .ei-content { padding: 14px 14px 68px; }
  .ei-btn {
    font-size: 13px;
    padding: 12px 16px;
  }
}



/* Две фото рядом (шаг 5) */
.visa-panel-imgs-row {
  display: flex;
  gap: 0.875rem;
  flex-shrink: 0;
}

.visa-panel-imgs-row .visa-panel-img-wrap {
  flex: 1;
}

.visa-panel-imgs-row .visa-panel-img {
  width: 100%;
}

/* Шаг без фото — не растягивать пустой блок */
.visa-panel-img-wrap--empty {
  display: none;
}

@media (max-width: 700px) {
  .visa-panel-imgs-row {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
}

/* ── VISA TABS BLOCK ─────────────────────────────── */
.visa-intro {
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-secondary, rgba(255,255,255,0.8));
}

.visa-tabs {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}





/* ── TAB NAV ─────────────────────────────────────── */
.visa-tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(168,85,247,0.15);
  background: rgba(0,0,0,0.2);
}

.visa-tab-nav::-webkit-scrollbar { display: none; }

.visa-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1 0 auto;
  min-width: 80px;
  padding: 0.875rem 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  color: rgba(255,255,255,0.5);
}

.visa-tab-btn:hover {
  background: rgba(168,85,247,0.08);
  color: rgba(255,255,255,0.8);
}

.visa-tab-btn.active {
  border-bottom-color: #a855f7;
  background: rgba(168,85,247,0.1);
  color: #fff;
}

.visa-tab-num {
  font-size: 0.75rem;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(168,85,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.visa-tab-btn.active .visa-tab-num {
  background: var(--gradient-primary);
  box-shadow: 0 3px 12px rgba(168,85,247,0.45);
}

.visa-tab-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* ── TAB PANELS ──────────────────────────────────── */
.visa-tab-panels {
  padding: 0;
}

.visa-tab-panel {
  display: none;
  padding: 1.75rem;
  animation: visaFadeIn 0.3s ease;
}

.visa-tab-panel.active {
  display: block;
}

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

.visa-panel-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.visa-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-primary, #fff);
}

.visa-panel-text p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, rgba(255,255,255,0.8));
}

.visa-panel-img-wrap {
  flex-shrink: 0;
}

.visa-panel-img {
  width: 220px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(168,85,247,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: block;
}

/* ── LINK BUTTON ─────────────────────────────────── */
.visa-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 30px;
  color: #c084fc;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.visa-panel-link:hover {
  background: rgba(168,85,247,0.28);
  color: #fff;
}

/* ── BADGE ───────────────────────────────────────── */
.visa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 30px;
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── WARNING ─────────────────────────────────────── */
.visa-warning {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary, rgba(255,255,255,0.8));
  margin-top: 0.25rem;
}

.visa-warning i {
  color: #eab308;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── PROGRESS BAR ────────────────────────────────── */
.visa-progress {
  height: 3px;
  background: rgba(168,85,247,0.12);
  margin: 0 1.75rem;
}

.visa-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.35s ease;
}

/* ── NAV ARROWS ──────────────────────────────────── */
.visa-nav-arrows {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem 1.25rem;
}

.visa-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 30px;
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.visa-arrow:hover:not(:disabled) {
  background: rgba(168,85,247,0.25);
  color: #fff;
}

.visa-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.visa-step-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 700px) {
  .visa-panel-content {
    grid-template-columns: 1fr;
  }

  .visa-panel-img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: rgba(0,0,0,0.3);
  }

  .visa-tab-panel {
    padding: 1.25rem;
  }

  .visa-progress {
    margin: 0 1.25rem;
  }

  .visa-nav-arrows {
    padding: 0.875rem 1.25rem 1rem;
  }

  .visa-tab-label {
    font-size: 0.65rem;
    white-space: normal;
    text-align: center;
  }
}
/* ── DROPDOWN ────────────────────────────────────── */
.nav-has-dropdown {
  position: relative;
}

.nav-has-dropdown > a,
.nav-has-dropdown > .nav-dropdown-arrow {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 2px;
  color: inherit;
  opacity: 0.7;
  transition: transform 0.25s ease;
  cursor: pointer;
  padding: 4px;
}

.nav-has-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 200px;
  background: rgba(18, 10, 30, 0.97);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
  padding: 0.75rem 0 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(168,85,247,0.1);
  z-index: 1000;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: rgba(18, 10, 30, 0.97);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Десктоп — hover */
@media (min-width: 769px) {
  .nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }
}

.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
  border-radius: 8px;
  margin: 0 0.4rem;
}

.nav-dropdown li a:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #fff;
  padding-left: 1.5rem;
}

.nav-dropdown li a i {
  font-size: 0.8rem;
  color: #a855f7;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.nav-dropdown li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── МОБИЛЬНЫЙ ДРОПДАУН ──────────────────────────── */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    left: auto;
    top: auto;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    margin: 0.4rem 0 0.2rem 1rem;
    padding: 0.3rem 0;
    box-shadow: none;
    backdrop-filter: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    pointer-events: auto;
  }

  .nav-dropdown::before,
  .nav-dropdown::after {
    display: none;
  }

  /* Мобиле — hover полностью отключён */
  .nav-has-dropdown:hover .nav-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
  }

  .nav-has-dropdown.open .nav-dropdown {
    max-height: 200px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .nav-has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-has-dropdown > a {
    flex: 1;
  }

 .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 2rem;
    background: none;
    border: 0;
    color: var(--text-secondary);
    text-align: left;
  }

  .nav-dropdown-arrow {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-has-dropdown .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown li a {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }

  .nav-dropdown li a:hover {
    padding-left: 1.25rem;
  }
}
/* Стили кнопок таблицы топ 15-20 */
.compare-table .catalogue-card-btn {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==================== AI GIRL FEATURES ==================== */
.ai-girl-features {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  px: 20px;
}

.ai-girl-features-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

.ai-girl-features-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ai-girl-features-lead {
  font-size: 18px;
  color: #b4b4c8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Строки */
.ai-girl-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 20px;
  position: relative;
}

.ai-girl-row--reverse {
  flex-direction: row-reverse;
}

.ai-girl-row + .ai-girl-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Текстовая сторона */
.ai-girl-text {
  flex: 1;
  min-width: 0;
}

.ai-girl-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ec4899;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ai-girl-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.ai-girl-desc {
  font-size: 16px;
  color: #9191a8;
  line-height: 1.75;
  margin-bottom: 24px;
}

.ai-girl-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-girl-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #c4c4d4;
}

.ai-girl-list li i {
  color: #10b981;
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Кнопка */
.ai-girl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.ai-girl-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.ai-girl-btn--accent {
  background: linear-gradient(135deg, #f97316, #ec4899);
}

/* Медиа сторона */
.ai-girl-media {
  flex: 1;
  min-width: 0;
}

.ai-girl-media-inner {
  position: relative;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: 4/3;
  background: none;
  border: none;
}

.ai-girl-media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.ai-girl-media-badge i {
  color: #ec4899;
}

/* Плейсхолдер (замените на реальные видео/изображения) */
.ai-girl-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.25);
  width: 100%;
  height: 100%;
}

.ai-girl-placeholder i {
  font-size: 56px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-girl-placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Плейсхолдер — разделённый (реализм/аниме) */
.ai-girl-placeholder--split {
  flex-direction: row;
  gap: 0;
  padding: 0;
}

.split-left,
.split-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 20px;
}

.split-left {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(99, 102, 241, 0.05);
}

.split-right {
  background: rgba(236, 72, 153, 0.05);
}

/* Плейсхолдер — чат */
.ai-girl-placeholder--chat {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 28px;
  gap: 12px;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 80%;
}

.chat-bubble--her {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #e2e2f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble--you {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9191a8;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Плейсхолдер — всегда онлайн */
.ai-girl-placeholder--always {
  gap: 16px;
}

.always-online-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
  position: absolute;
  top: 20px;
  right: 20px;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08); }
}

@media (max-width: 768px) {

  /* Все строки — колонка, медиа СВЕРХУ */
  .ai-girl-row,
  .ai-girl-row--reverse {
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px;
  }

  /* Медиа всегда первым на мобиле */
  .ai-girl-row .ai-girl-media       { order: 1; }
  .ai-girl-row .ai-girl-text        { order: 2; }
  .ai-girl-row--reverse .ai-girl-media { order: 1; }
  .ai-girl-row--reverse .ai-girl-text  { order: 2; }

  /* Медиа — полная ширина, перебиваем десктопный flex: 0 0 25% */
  .ai-girl-row .ai-girl-media,
  .ai-girl-row--full-media .ai-girl-media {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100%;
  }

  /* Картинка/видео через media-inner */
  .ai-girl-media-inner {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
  }

  /* Видео-обёртка с градиентами */
  .ai-girl-media-video-wrap {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
  }

  .ai-girl-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* Чат-плейсхолдер — фиксированная высота */
  .ai-girl-placeholder--chat {
    min-height: 220px;
    padding: 20px 16px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 16px;
  }

  .chat-bubble {
    font-size: 13px;
    padding: 10px 14px;
    max-width: 90%;
  }

  /* "Всегда онлайн" плейсхолдер */
  .ai-girl-media-inner:has(.ai-girl-placeholder--always) {
    aspect-ratio: unset;
    min-height: 160px;
  }

  .ai-girl-placeholder--always {
    min-height: 160px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 16px;
    padding: 24px;
  }

  /* Текст */
  .ai-girl-title {
    font-size: 22px;
  }

  .ai-girl-desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .ai-girl-list {
    margin-bottom: 24px;
  }

  .ai-girl-list li {
    font-size: 14px;
  }

  /* Кнопка — полная ширина */
  .ai-girl-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  /* Заголовок секции */
  .ai-girl-features-header {
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .ai-girl-features-title {
    font-size: 24px;
  }

  /* Убираем градиентные боковые края на мобиле — они не нужны */
  .ai-girl-media-video-wrap::before,
  .ai-girl-media-video-wrap::after {
    display: none;
  }

  /* Верх/низ градиент — уменьшаем */
  .ai-girl-media-video-fade-tb {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .ai-girl-row,
  .ai-girl-row--reverse {
    padding: 24px 12px;
    gap: 20px;
  }

  .ai-girl-media-video-wrap,
  .ai-girl-media-inner {
    aspect-ratio: 3 / 4; /* на маленьких экранах портретная пропорция */
    border-radius: 14px;
  }

  .ai-girl-placeholder--chat {
    min-height: 200px;
  }

  .ai-girl-title { font-size: 20px; }
  .ai-girl-desc  { font-size: 14px; }

  .ai-girl-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}




.ai-girl-media-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ai-girl-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Уменьшение размера видео на ~45% от оригинала */
.ai-girl-row .ai-girl-media {
  flex: 0 0 25%; /* было 37.5% — уменьшено ещё на 20% */
  max-width: 25%;
}


/* Обёртка для градиентных краёв */
.ai-girl-media-video-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

/* Градиентные края — fade к фону сайта */
.ai-girl-media-video-wrap::before,
.ai-girl-media-video-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

/* Левый край */
.ai-girl-media-video-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color, #0d0d1a), transparent);
}

/* Правый край */
.ai-girl-media-video-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color, #0d0d1a), transparent);
}

/* Верх и низ — через отдельный элемент */
.ai-girl-media-video-fade-tb {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.ai-girl-media-video-fade-tb--top {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-color, #0d0d1a), transparent);
}

.ai-girl-media-video-fade-tb--bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-color, #0d0d1a), transparent);
}


.ai-girl-row--full-media .ai-girl-media {
  flex: 0 0 50%;
  max-width: 50%;
}
/* ===== GLOSSARY BLOCK ===== */
.glossary-block {
  padding: 80px 0;
}

.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.glossary-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 32px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.glossary-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.glossary-term {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.glossary-term-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #fff;
}

.glossary-term-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.glossary-term-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

@media (max-width: 768px) {
  .glossary-item {
    padding: 20px 18px;
  }
  .glossary-term-name {
    font-size: 16px;
  }
  .glossary-term-desc {
    font-size: 14px;
  }
}

/* ==================== UPSCALE LAYOUT ==================== */
.upscale-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
    margin-bottom: 1rem;
}

.upscale-text {
    min-width: 0;
}

.upscale-video-col {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    position: sticky;
    top: 100px;
}

.upscale-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0f;
    border: 2px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.upscale-video-wrap:hover {
    box-shadow: 0 16px 60px rgba(16, 185, 129, 0.25);
    transform: translateY(-4px);
}

.upscale-video-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.upscale-badge-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
    animation: demoPulse 2s ease-in-out infinite;
}

.upscale-video {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center top;
}

.upscale-video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 2rem 0.875rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upscale-video-label-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
}

.upscale-video-label-right {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.4);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.upscale-video-caption {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 0.25rem;
}

/* ==================== RESPONSIVE UPSCALE ==================== */
@media (max-width: 900px) {
    .upscale-layout {
        grid-template-columns: 1fr 220px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .upscale-layout {
        grid-template-columns: 1fr;
    }
    .upscale-video-col {
        position: static;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .upscale-video-col {
        max-width: 100%;
    }
}
/* ==================== MODEL PATH BLOCK ==================== */
.model-path-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-path-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.model-path-header i {
    color: #a855f7;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.model-path-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    min-width: 0;
}

.model-path-text {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: #c084fc;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
}

.model-path-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.875rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    color: #c084fc;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}

.model-path-btn:hover {
    background: rgba(168, 85, 247, 0.28);
    border-color: rgba(168, 85, 247, 0.55);
    color: #fff;
}

.model-path-btn.copied {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

@media (max-width: 480px) {
    .model-path-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    .model-path-text {
        white-space: normal;
        word-break: break-all;
    }
    .model-path-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==================== IMAGE-TO-IMAGE BLOCK ==================== */
.i2i-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.i2i-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.i2i-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.i2i-header-icon i {
    font-size: 1.2rem;
    color: white;
}

.i2i-header-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.i2i-header-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Example layout */
.i2i-example {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
    margin: 1.5rem 0;
}

/* How it works steps */
.i2i-how { min-width: 0; }

.i2i-how-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.i2i-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.i2i-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.i2i-step:last-child { border-bottom: none; }
.i2i-step:hover { background: rgba(168, 85, 247, 0.04); }

.i2i-step-num {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.i2i-step-body { min-width: 0; }

.i2i-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.i2i-step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    word-break: break-word;
}

.i2i-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.i2i-tip i {
    color: #a855f7;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Preview */
.i2i-preview {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.i2i-preview-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #0a0a0f;
}

.i2i-preview-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(168, 85, 247, 0.25);
}

.i2i-preview-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.875rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
    z-index: 2;
}

.i2i-preview-img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.i2i-preview-labels {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.i2i-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.1);
}

.i2i-label-num {
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.i2i-preview-caption {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 0.25rem;
}

/* Use cases grid */
.i2i-use-cases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.i2i-use-case {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.i2i-use-case:hover {
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-3px);
}

.i2i-use-icon {
    width: 40px;
    height: 40px;
    border: 1px solid;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.i2i-use-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.i2i-use-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    word-break: break-word;
}

/* ==================== RESPONSIVE I2I ==================== */
@media (max-width: 1024px) {
    .i2i-use-cases {
        grid-template-columns: repeat(2, 1fr);
    }
    .i2i-example {
        grid-template-columns: 1fr 260px;
    }
}

@media (max-width: 768px) {
    .i2i-example {
        grid-template-columns: 1fr;
    }
    .i2i-preview {
        max-width: 340px;
        margin: 0 auto;
        width: 100%;
    }
    .i2i-use-cases {
        grid-template-columns: repeat(2, 1fr);
    }
    .i2i-header-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .i2i-use-cases {
        grid-template-columns: 1fr;
    }
    .i2i-step {
        padding: 1rem;
    }
    .i2i-preview {
        max-width: 100%;
    }
}
/* ==================== I2I COMPARE ==================== */
.i2i-compare-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.i2i-compare-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.875rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
}

.i2i-compare-badge--before {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}

.i2i-compare-badge--after {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.i2i-compare-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0a0a0f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.i2i-compare-wrap:hover {
    transform: translateY(-3px);
}

.i2i-compare-wrap--before {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.i2i-compare-wrap--after {
    border: 2px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.2);
}

.i2i-compare-wrap--after:hover {
    box-shadow: 0 16px 60px rgba(168, 85, 247, 0.3);
}

.i2i-compare-img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.i2i-compare-label {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.1);
}

.i2i-compare-label--after {
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

/* Prompt between */
.i2i-prompt-between {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    overflow: hidden;
}

.i2i-prompt-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.1rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    background: rgba(168, 85, 247, 0.06);
    flex-wrap: wrap;
}

.i2i-prompt-icon {
    width: 32px;
    height: 32px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a855f7;
    font-size: 0.85rem;
}

.i2i-prompt-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.i2i-prompt-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.i2i-prompt-text {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.7;
    padding: 1rem 1.1rem;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.i2i-prompt-text::-webkit-scrollbar {
    width: 4px;
}

.i2i-prompt-text::-webkit-scrollbar-track {
    background: transparent;
}

.i2i-prompt-text::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .i2i-prompt-header {
        gap: 0.5rem;
    }
    .i2i-prompt-header .model-path-btn {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
    }
}
/* ==================== I2I COMPARE ROW (full width) ==================== */
.i2i-compare-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Промт в среднем столбце растягивается по высоте */
.i2i-compare-row .i2i-prompt-between {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.i2i-compare-row .i2i-prompt-text {
    flex: 1;
    max-height: 340px;
}

@media (max-width: 900px) {
    .i2i-compare-row {
        grid-template-columns: 1fr 1fr;
    }
    /* Промт на всю ширину между фото */
    .i2i-compare-row .i2i-prompt-between {
        grid-column: 1 / -1;
        order: 2;
    }
    .i2i-compare-row .i2i-compare-item:first-child { order: 1; }
    .i2i-compare-row .i2i-compare-item:last-child  { order: 3; }
}

@media (max-width: 560px) {
    .i2i-compare-row {
        grid-template-columns: 1fr;
    }
    .i2i-compare-row .i2i-prompt-between {
        grid-column: auto;
        order: 2;
    }
    .i2i-compare-row .i2i-compare-item:first-child { order: 1; }
    .i2i-compare-row .i2i-compare-item:last-child  { order: 3; }
}
/* ==================== I2I INTERFACE FULL WIDTH ==================== */
.i2i-preview-placeholder {
    display: none;
}

.i2i-interface-full {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.i2i-interface-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 1rem;
}

.i2i-interface-img-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.15);
    transition: box-shadow 0.3s ease;
    background: #0a0a0f;
}

.i2i-interface-img-wrap:hover {
    box-shadow: 0 16px 60px rgba(168, 85, 247, 0.25);
}

.i2i-interface-img {
    width: 100%;
    display: block;
}

/* 3 подписи под фото */
.i2i-interface-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.i2i-interface-label-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.1rem 1.1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.i2i-interface-label-item:hover {
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-2px);
}

.i2i-interface-label-num {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.35);
}

.i2i-interface-label-body {
    min-width: 0;
}

.i2i-interface-label-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.i2i-interface-label-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    word-break: break-word;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .i2i-interface-labels {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .i2i-interface-label-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .i2i-interface-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.875rem;
    }
}
/* ==================== GROK TIP BLOCK ==================== */
.grok-tip-block {
    margin: 2rem 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(99, 37, 210, 0.18) 0%, rgba(20, 20, 40, 0.6) 60%, rgba(0, 180, 216, 0.1) 100%);
    border: 1.5px solid rgba(139, 92, 246, 0.45);
    box-shadow: 0 4px 40px rgba(99, 37, 210, 0.18), 0 0 0 1px rgba(0,180,216,0.07);
    overflow: hidden;
    position: relative;
}

/* Декоративная полоса сверху */
.grok-tip-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #a855f7);
}

.grok-tip-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
}

/* Left icon column */
.grok-tip-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.grok-tip-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
    flex-shrink: 0;
}

.grok-tip-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 20px;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
}

/* Body */
.grok-tip-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.grok-tip-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.grok-tip-name {
    background: linear-gradient(90deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grok-tip-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    word-break: break-word;
}

/* Example request */
.grok-tip-example {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grok-tip-example-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.grok-tip-example-label i {
    color: #a78bfa;
}

.grok-tip-example-text {
    font-size: 0.875rem;
    color: #c4b5fd;
    line-height: 1.65;
    font-style: italic;
    word-break: break-word;
}

/* Actions row */
.grok-tip-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.grok-tip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.grok-tip-btn--primary {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}

.grok-tip-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
    color: white;
}

.grok-tip-free {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #10b981;
}

.grok-tip-free i {
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE GROK BLOCK ==================== */
@media (max-width: 640px) {
    .grok-tip-inner {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .grok-tip-left {
        flex-direction: row;
        align-items: center;
    }

    .grok-tip-title {
        font-size: 1rem;
    }

    .grok-tip-btn {
        width: 100%;
        justify-content: center;
    }

    .grok-tip-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
.prompts-section-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 1.75rem;
    padding: 1.1rem 1.4rem;
    background: rgba(168, 85, 247, 0.06);
    border-left: 3px solid #a855f7;
    border-radius: 0 12px 12px 0;
    word-break: break-word;
}

.prompts-section-lead strong {
    color: var(--text-primary);
}
/* ==================== NAV TELEGRAM BUTTON ==================== */
.nav-telegram {
    display: flex;
    align-items: center;
}

.nav-telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    background: linear-gradient(135deg, #229ED9, #1a7fbf);
    color: #fff !important;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 3px 14px rgba(34, 158, 217, 0.35);
    white-space: nowrap;
    line-height: 1;
}

.nav-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(34, 158, 217, 0.5);
    background: linear-gradient(135deg, #2ab5f0, #1a8fd1);
    color: #fff !important;
}

.nav-telegram-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-telegram {
        justify-content: center;
        padding: 0.25rem 0;
    }

    .nav-telegram-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        width: auto;
    }
}


/* ==================== SETTINGS TABS ==================== */
.settings-tabs {
    margin: 2rem 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
}

.settings-tabs-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    gap: 0;
}

.settings-tabs-nav::-webkit-scrollbar {
    display: none;
}

.settings-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.settings-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.06);
}

.settings-tab-btn.active {
    color: #c084fc;
    border-bottom-color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
}

.settings-tab-btn i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    color: #a855f7;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.settings-tab-btn.active .tab-num {
    background: #a855f7;
    color: white;
}

/* Tab panels */
.settings-tab-panel {
    display: none;
    padding: 1.75rem;
    animation: tabFadeIn 0.25s ease;
}

.settings-tab-panel.active {
    display: block;
}

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

/* Remove inner border from interface-setting inside tabs */


/* ==================== STEP 2 CTA ROW ==================== */
.step2-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.step2-tg-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.step2-tg-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ==================== RESPONSIVE TABS ==================== */
@media (max-width: 768px) {
    .settings-tab-btn {
        padding: 0.8rem 0.9rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .settings-tab-btn span:not(.tab-num) {
        display: none;
    }

    .settings-tab-btn i {
        font-size: 0.9rem;
    }

    .settings-tab-panel {
        padding: 1.25rem;
    }

    .step2-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .step2-tg-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .settings-tab-btn {
        padding: 0.75rem 0.75rem;
    }

    .tab-num {
        display: none;
    }
}
/* ==================== FIX TABS INNER TEXT ==================== */
.settings-tab-panel .interface-setting {
    display: block !important;
    grid-template-columns: unset !important;
    writing-mode: horizontal-tb !important;
    width: 100%;
}

.settings-tab-panel .interface-setting-body {
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    min-width: 0;
    width: 100%;
}

.settings-tab-panel .interface-setting-title {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    width: 100%;
}

.settings-tab-panel .interface-setting-title i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #a855f7;
}

.settings-tab-panel .interface-setting-desc {
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.75;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.settings-tab-panel {
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    white-space: normal !important;
}


/* ==================== DEMO COLUMNS BLOCK ==================== */
.demo-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin: 2rem 0 0;
    min-width: 0;
}

.demo-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3.5rem;
    gap: 0.5rem;
    width: 52px;
    flex-shrink: 0;
}

.demo-arrow-line {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(168,85,247,0.5));
}

.demo-arrow-icon {
    width: 36px;
    height: 36px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.demo-arrow-icon--hot {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.35);
    color: #ec4899;
}

.demo-arrow-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.demo-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.demo-col-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
}

.demo-col-badge--photo {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.demo-col-badge--video {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.demo-col-badge--nsfw {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #ec4899;
}

.demo-media-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #0a0a0f;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-media-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6);
}

.demo-media-wrap--photo { border: 2px solid rgba(59, 130, 246, 0.3); }
.demo-media-wrap--video { border: 2px solid rgba(16, 185, 129, 0.3); }
.demo-media-wrap--nsfw {
    border: 2px solid rgba(236, 72, 153, 0.4);
    box-shadow: 0 8px 40px rgba(236, 72, 153, 0.15);
}
.demo-media-wrap--nsfw:hover {
    box-shadow: 0 16px 60px rgba(236, 72, 153, 0.25);
}

.demo-photo,
.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.demo-media-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 2rem 0.875rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.demo-media-label--video { color: #10b981; }
.demo-media-label--nsfw  { color: #ec4899; }

.demo-play-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.1);
}

.demo-play-indicator--nsfw {
    border-color: rgba(236, 72, 153, 0.3);
    color: #ec4899;
}

.demo-live-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: demoPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.demo-live-dot--hot { background: #ec4899; }

@keyframes demoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.demo-col-desc { padding: 0 0.25rem; min-width: 0; }

.demo-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.demo-col-desc p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.875rem;
    word-break: break-word;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #3b82f6;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.demo-link:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.demo-link--video {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}
.demo-link--video:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.5);
}

.demo-link--nsfw {
    background: rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.3);
    color: #ec4899;
}
.demo-link--nsfw:hover {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.55);
}

.demo-col--nsfw .demo-media-wrap { position: relative; }

.demo-col--nsfw .demo-media-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.demo-col--nsfw .demo-media-wrap:hover::before { opacity: 0.9; }

.demo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.3s ease;
}
.demo-stat:hover { border-color: rgba(168, 85, 247, 0.2); }

.demo-stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary-purple);
    font-size: 1rem;
}

.demo-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.35rem;
}

.demo-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==================== RESPONSIVE DEMO ==================== */
@media (max-width: 1024px) {
    .demo-columns {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }
    .demo-arrow {
        width: 40px;
        padding-top: 3rem;
    }
    .demo-col-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .demo-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .demo-arrow {
        flex-direction: row;
        width: 100%;
        padding-top: 0;
        justify-content: center;
        gap: 0.75rem;
    }
    .demo-arrow-line {
        width: 40px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(168,85,247,0.5));
    }
    .demo-arrow-label { display: none; }
    .demo-media-wrap {
        aspect-ratio: 3 / 4;
        max-height: 420px;
    }
    .demo-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-col--nsfw .demo-media-wrap::before { display: none; }
}

@media (max-width: 480px) {
    .demo-stats { grid-template-columns: 1fr; }
    .demo-media-wrap {
        aspect-ratio: 4 / 5;
        max-height: 380px;
    }
}

/* ==================== GUIDE PAGE STYLES ==================== */

.prompt-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-left: 4px solid #a855f7;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #e2e8f0;
    line-height: 1.7;
    min-width: 0;
    overflow: hidden;
}

.prompt-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.prompt-block-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a855f7;
    font-family: 'Poppins', sans-serif;
}

.prompt-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 20px;
    color: #c084fc;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.prompt-copy-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    color: #fff;
}

.prompt-copy-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.prompt-text {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

.guide-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.guide-step:hover { border-color: rgba(168, 85, 247, 0.25); }

.guide-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.guide-step:hover::before { transform: scaleX(1); }

.guide-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    flex-shrink: 0;
}

.guide-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    min-width: 0;
}

.guide-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    min-width: 0;
    word-break: break-word;
}

.guide-step p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.guide-step p:last-child { margin-bottom: 0; }

.guide-step ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.guide-step ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    word-break: break-word;
}

.guide-step ul li:last-child { border-bottom: none; }

.guide-step ul li i {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.service-cta-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.service-cta-card::before {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.service-cta-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.service-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.service-cta-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.service-cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    word-break: break-word;
}

.service-cta-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.service-cta-price .from { font-size: 0.85rem; color: var(--text-muted); }
.service-cta-price .amount {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.service-cta-price .per { font-size: 0.85rem; color: var(--text-muted); }

.service-cta-btn-wrap {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn-wavespeed {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-wavespeed:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(168, 85, 247, 0.6);
}

.btn-wavespeed i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-wavespeed:hover i { transform: translateX(4px); }

.prompt-num-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    color: #c084fc;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.info-tip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    min-width: 0;
    box-sizing: border-box;
}

.info-tip i {
    color: #3b82f6;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.info-tip p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.info-tip strong { color: var(--text-primary); }

.warning-tip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    min-width: 0;
    box-sizing: border-box;
}

.warning-tip i {
    color: #eab308;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-tip p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.success-tip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    min-width: 0;
    box-sizing: border-box;
}

.success-tip i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.success-tip p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* ==================== PRICE TABLE ==================== */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.price-table thead tr { background: rgba(168, 85, 247, 0.15); }

.price-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.price-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    word-break: break-word;
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:hover td {
    background: rgba(168, 85, 247, 0.05);
    color: var(--text-primary);
}



/* Mobile: таблица → карточки */
@media (max-width: 640px) {
    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .price-table thead { display: none; }

    .price-table tr {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 14px;
        margin-bottom: 0.875rem;
        padding: 1rem;
        transition: border-color 0.2s ease;
    }

    .price-table tr:hover {
        border-color: rgba(168, 85, 247, 0.25);
    }

    .price-table td {
        padding: 0.3rem 0;
        border-bottom: none;
        font-size: 0.875rem;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-table td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        min-width: 80px;
        flex-shrink: 0;
        padding-top: 0.1rem;
    }

    /* Первая ячейка — тип контента, крупнее */
    .price-table td:first-child {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-primary);
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.price-highlight { color: #10b981 !important; font-weight: 700; }

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag-pill {
    padding: 0.35rem 0.875rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #c084fc;
}

.tag-pill--green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10b981;
}

.tag-pill--pink {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.25);
    color: #ec4899;
}

.tag-pill--orange {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
    color: #f97316;
}

.guide-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    margin: 3rem 0;
}

.prompt-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
    min-width: 0;
}

.prompt-category-icon {
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prompt-category-icon i { font-size: 1.35rem; color: white; }

.prompt-category-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    word-break: break-word;
}

.prompt-category-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    word-break: break-word;
}

.need-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
    min-width: 0;
}

.need-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
    min-width: 0;
}

.need-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-3px);
}

.need-item-icon {
    width: 44px; height: 44px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.need-item-icon i { font-size: 1.2rem; color: var(--primary-purple); }

.need-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-word;
}

.need-item-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    word-break: break-word;
}

/* ==================== INTERFACE SETTINGS BLOCK ==================== */
.interface-settings {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    min-width: 0;
}

.interface-setting {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.settings-tab-panel .interface-setting {
    display: block !important;
    grid-template-columns: unset !important;
}

.interface-setting:hover { background: rgba(168, 85, 247, 0.03); }
.interface-setting--last { border-bottom: none; }

.interface-setting-num {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.interface-setting-body {
    padding: 1.5rem 1.75rem;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.interface-setting-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.interface-setting-title i {
    color: var(--primary-purple);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.interface-setting-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0.75rem;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.interface-setting-desc:last-of-type { margin-bottom: 0; }

.interface-setting-tips {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
    min-width: 0;
}

.interface-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.55;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.interface-tip i {
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.interface-tip span {
    color: var(--text-secondary);
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.interface-tip--green {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.interface-tip--green i { color: #10b981; }

.interface-tip--blue {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.interface-tip--blue i { color: #3b82f6; }

.interface-tip--purple {
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.interface-tip--purple i { color: #a855f7; }

.interface-tip--orange {
    background: rgba(249, 115, 22, 0.07);
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.interface-tip--orange i { color: #f97316; }

/* ==================== SIZE GRID ==================== */
.size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    min-width: 0;
}

.size-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem;
    transition: border-color 0.2s ease;
    position: relative;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.size-item:hover { border-color: rgba(168, 85, 247, 0.25); }

.size-item--recommended {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.06);
}

.size-ratio {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.size-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.size-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    word-break: break-word;
}

.size-badge {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.2rem 0.6rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #c084fc;
}

/* ==================== SEED EXPLANATION ==================== */
.seed-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
    min-width: 0;
}

.seed-card {
    border-radius: 14px;
    padding: 1.25rem;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.seed-card--random {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.seed-card--fixed {
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.seed-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.seed-card--random .seed-card-header i { color: #3b82f6; }
.seed-card--fixed .seed-card-header i  { color: #a855f7; }

.seed-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.seed-card p:last-of-type { margin-bottom: 0; }

.seed-use-when {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.65rem 0.875rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #93c5fd;
    line-height: 1.4;
    word-break: break-word;
}

.seed-use-when i {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.seed-use-when--fixed {
    background: rgba(168, 85, 247, 0.1);
    color: #d8b4fe;
}

.seed-use-when--fixed i { color: #a855f7; }

/* ==================== BATCH SETTINGS ==================== */
.batch-settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
    min-width: 0;
}

.batch-setting-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.2s ease;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
    box-sizing: border-box;
}

.batch-setting-item:hover { border-color: rgba(168, 85, 247, 0.2); }

.batch-setting-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.batch-setting-icon {
    width: 32px; height: 32px;
    background: rgba(168, 85, 247, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-purple);
    font-size: 0.85rem;
}

.batch-setting-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 0;
    word-break: break-word;
}

.batch-setting-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.batch-setting-item p:last-child { margin-bottom: 0; }

/* ==================== QUICK START BOX ==================== */
.quick-start-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.06) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    min-width: 0;
    box-sizing: border-box;
}

.quick-start-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    flex-wrap: wrap;
}

.quick-start-header i {
    color: var(--primary-purple);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    min-width: 0;
}

.quick-start-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.quick-start-field {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.quick-start-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-start-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .interface-setting {
        grid-template-columns: 44px 1fr;
    }
    .interface-setting-body {
        padding: 1.25rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .guide-step {
        padding: 1.5rem;
    }
    .guide-step-header {
        flex-wrap: wrap;
    }
    .interface-setting {
        grid-template-columns: 40px 1fr;
    }
    .interface-setting-num {
        font-size: 1.2rem;
        padding-top: 1.5rem;
    }
    .interface-setting-body {
        padding: 1.25rem 1rem;
    }
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .seed-explanation {
        grid-template-columns: 1fr;
    }
    .quick-start-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .service-cta-btn-wrap {
        width: 100%;
    }
    .btn-wavespeed {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .need-grid {
        grid-template-columns: 1fr;
    }
    .prompt-block {
        font-size: 0.8rem;
        padding: 1.25rem;
    }
    .price-table th,
    .price-table td {
        padding: 0.75rem 0.875rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .guide-step {
        padding: 1.25rem;
    }
    .guide-step-title {
        font-size: 1.15rem;
    }
    .interface-setting {
        grid-template-columns: 36px 1fr;
    }
    .interface-setting-num {
        font-size: 1rem;
        padding-top: 1.35rem;
    }
    .interface-setting-body {
        padding: 1rem 0.75rem;
    }
    .interface-setting-title {
        font-size: 0.95rem;
    }
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .size-ratio { font-size: 1.05rem; }
    .size-label { font-size: 0.75rem; }
    .size-desc  { font-size: 0.72rem; }
    .seed-explanation {
        grid-template-columns: 1fr;
    }
    .quick-start-grid {
        grid-template-columns: 1fr;
    }
    .quick-start-item {
        padding: 0.75rem;
    }
    .prompt-category-title {
        font-size: 1.1rem;
    }
    .batch-setting-icon {
        width: 28px; height: 28px;
        font-size: 0.75rem;
    }
    .batch-setting-name {
        font-size: 0.875rem;
    }
    .btn-wavespeed {
        font-size: 0.9rem;
        padding: 0.9rem 1.25rem;
        white-space: normal;
        text-align: center;
    }
    .service-cta-name {
        font-size: 1.15rem;
    }
    .price-table {
        font-size: 0.78rem;
        display: block;
        overflow-x: auto;
    }
}
/* ==================== SERVICE CTA WITH SLIDER ==================== */
.service-cta-card--with-slider {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168,85,247,0.08) 0%, rgba(0,0,0,0.4) 100%);
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Декоративная полоса */
.service-cta-card--with-slider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7);
}

/* Left column */
.service-cta-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

/* Slider wrap */
.service-cta-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.service-cta-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #0a0a0f;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.service-cta-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.service-cta-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.service-cta-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Dots */
.service-cta-dots {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.service-cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.service-cta-dot.active {
    background: #a855f7;
    width: 18px;
    border-radius: 3px;
}

/* Label */
.service-cta-slider-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.service-cta-slider-label i {
    color: #a855f7;
    font-size: 0.7rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .service-cta-card--with-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-cta-slider-wrap {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .service-cta-card--with-slider {
        padding: 1.25rem;
    }

    .service-cta-slider-wrap {
        max-width: 200px;
    }
}

/* ==================== RELATED PAGES BLOCK ==================== */
.related-pages-section {
    padding: 4rem 0;
    background: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-pages-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.related-pages-header i {
    color: var(--primary-purple);
    font-size: 0.85rem;
}

.related-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.related-page-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.related-page-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.related-page-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.12);
    transform: translateY(-4px);
    color: inherit;
}

.related-page-card:hover::before {
    transform: scaleX(1);
}

.related-page-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.related-page-card:hover .related-page-icon {
    transform: scale(1.1) rotate(-3deg);
}

.related-page-icon i {
    font-size: 1.35rem;
    color: #fff;
}

.related-page-body {
    flex: 1;
    min-width: 0;
}

.related-page-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary-purple);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}

.related-page-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    word-break: break-word;
    transition: color 0.2s ease;
}

.related-page-card:hover .related-page-title {
    color: #c084fc;
}

.related-page-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;

    /* 2 строки с многоточием */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-page-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-purple);
    font-size: 0.8rem;
    transition: var(--transition);
}

.related-page-card:hover .related-page-arrow {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateX(3px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .related-pages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .related-pages-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .related-page-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .related-page-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .related-page-icon i {
        font-size: 1.15rem;
    }

    .related-page-title {
        font-size: 0.975rem;
    }

    .related-page-arrow {
        display: none;
    }
}
/* ==================== END RELATED PAGES BLOCK ==================== */

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    padding: 5rem 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header */
.reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.reviews-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-purple);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 0.35rem 0.875rem;
    margin-bottom: 0.875rem;
}

.reviews-section-tag i { font-size: 0.75rem; }

.reviews-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.reviews-section-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Overall score */
.reviews-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    flex-shrink: 0;
    text-align: center;
}

.reviews-overall-score {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.reviews-overall-stars {
    display: flex;
    gap: 0.3rem;
    color: #f59e0b;
    font-size: 1.1rem;
}

.reviews-overall-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Breakdown */
.reviews-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.breakdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 70px;
    flex-shrink: 0;
    text-align: right;
}

.breakdown-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.breakdown-fill--4 { background: linear-gradient(90deg, #a855f7, #3b82f6); }
.breakdown-fill--3 { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.breakdown-fill--2 { background: linear-gradient(90deg, #f97316, #ec4899); }
.breakdown-fill--1 { background: linear-gradient(90deg, #ef4444, #f97316); }

.breakdown-pct {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    width: 32px;
    flex-shrink: 0;
}

/* Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Review card */
.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.review-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.1);
}

.review-card:hover::before { transform: scaleX(1); }

.review-card-top {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.review-meta { flex: 1; min-width: 0; }

.review-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b;
    font-size: 0.78rem;
}

.review-service-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    color: #c084fc;
    white-space: nowrap;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
    word-break: break-word;

    /* 4 строки с многоточием */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
    cursor: pointer;
}

.review-helpful:hover { color: var(--primary-purple); }
.review-helpful i { font-size: 0.82rem; }

/* Show more */
.reviews-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.reviews-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 30px;
    color: #c084fc;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.reviews-more-btn:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    color: #fff;
}

.reviews-more-btn i {
    transition: transform 0.3s ease;
}

.reviews-more-btn.open i {
    transform: rotate(180deg);
}

/* ==================== RESPONSIVE REVIEWS ==================== */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .reviews-section { padding: 3.5rem 0; }
    .reviews-header { flex-direction: column; gap: 1.5rem; }
    .reviews-overall { flex-direction: row; padding: 1.25rem 1.5rem; width: 100%; justify-content: center; }
    .reviews-overall-score { font-size: 2.75rem; }
    .reviews-breakdown { max-width: 100%; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .reviews-overall { gap: 1rem; }
    .reviews-overall-score { font-size: 2.25rem; }
    .review-card { padding: 1.25rem; }
    .review-text { -webkit-line-clamp: 5; }
}
/* ==================== END REVIEWS SECTION ==================== */










 



