/* ============================================
   SyntexLab — Landing Page Styles
   Dark theme + Green accent (#7CFC00)
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #0f0f1e;
    --bg-card: #141428;
    --bg-card-hover: #1a1a35;
    --accent: #7CFC00;
    --accent-dim: rgba(124, 252, 0, 0.15);
    --accent-glow: rgba(124, 252, 0, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(124, 252, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(124, 252, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 252, 0, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); }

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav--scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav__logo-icon {
    width: 50px;
    height: 50px;
}

.nav__logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav__logo-accent {
    color: var(--accent);
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__links a:hover {
    color: var(--text-primary);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-left: auto;
    margin-right: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__phone svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.nav__phone:hover {
    color: var(--accent);
    background: rgba(124, 252, 0, 0.06);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--accent);
    color: #0a0a14;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__cta:hover {
    background: #8fff20;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124, 252, 0, 0.3);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu__links a:hover {
    color: var(--accent);
}

.mobile-menu__cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 32px;
    background: var(--accent);
    color: #0a0a14 !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn--primary {
    background: var(--accent);
    color: #0a0a14;
}

.btn--primary:hover {
    background: #8fff20;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 252, 0, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 20px;
}

.btn--ghost:hover {
    color: var(--text-primary);
}

.btn__icon {
    display: flex;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

/* Background grid */
.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 252, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 252, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Floating elements */
.hero__floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__float {
    position: absolute;
    opacity: 0;
}

.hero__float--1 { top: 15%; left: 8%; width: 60px; }
.hero__float--2 { top: 25%; right: 10%; width: 50px; }
.hero__float--3 { bottom: 30%; left: 5%; width: 50px; }
.hero__float--4 { bottom: 20%; right: 8%; width: 40px; }

.hero__float--5,
.hero__float--6,
.hero__float--7,
.hero__float--8 {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
}

.hero__float--5 { top: 20%; left: 15%; }
.hero__float--6 { top: 35%; right: 12%; }
.hero__float--7 { bottom: 35%; left: 10%; }
.hero__float--8 { bottom: 25%; right: 15%; }

.hero__float--9,
.hero__float--10,
.hero__float--11 {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

.hero__float--9 {
    top: 28%;
    right: 22%;
    color: #6eaaff;
    background: rgba(110, 170, 255, 0.12);
    border: 1px solid rgba(110, 170, 255, 0.25);
    opacity: 0.7 !important;
}

.hero__float--10 {
    bottom: 45%;
    left: 22%;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.7 !important;
}

.hero__float--11 {
    top: 50%;
    right: 18%;
    color: #6eaaff;
    background: rgba(110, 170, 255, 0.12);
    border: 1px solid rgba(110, 170, 255, 0.25);
    opacity: 0.7 !important;
}

/* Hero content */
.hero__content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero__title-big {
    font-size: clamp(40px, 6vw, 72px);
}

.hero__title-accent {
    color: var(--accent);
    position: relative;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__subtitle-strong {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25em;
    letter-spacing: -0.5px;
}

.hero__dash {
    display: inline-block;
    transform: scaleX(0.55);
    margin: 0 -0.1em;
    font-weight: 700;
}

.hero__subtitle-accent {
    color: var(--accent);
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 22px);
    display: inline-block;
    padding: 4px 0;
    position: relative;
}

/* no underline */

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Hero stats */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-top: 16px;
}

.hero__stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.25) 0%, transparent 70%);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-row {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.hero__stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.hero__stat-plus {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.hero__stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.4;
    text-align: center;
}

.hero__cta {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__quick-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px auto 0;
    padding: 8px 16px;
    background: transparent;
    border: 1px dashed rgba(124, 252, 0, 0.4);
    border-radius: 100px;
    color: var(--accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero__quick-call svg { width: 16px; height: 16px; }

.hero__quick-call:hover {
    background: rgba(124, 252, 0, 0.08);
    border-color: var(--accent);
    border-style: solid;
}

.hero__cta .btn {
    padding: 16px 28px;
    font-size: 15px;
}

@media (max-width: 600px) {
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; justify-content: center; }
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero 3D Cards */
.hero__cards {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    margin-top: 50px;
}

.hero__card {
    width: 280px;
    height: 260px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.hero__card--1 {
    background: linear-gradient(135deg, #1a0a30, #2a1a45);
    border-color: rgba(160, 100, 255, 0.2);
}

.hero__card--2 {
    background: linear-gradient(135deg, #0a1a10, #1a3520);
    border-color: var(--border-accent);
}

.hero__card--3 {
    background: linear-gradient(135deg, #0a1528, #152a45);
    border-color: rgba(80, 160, 255, 0.2);
}

.hero__card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05) !important;
}

.hero__card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero__card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
}

.hero__card-icon svg {
    width: 100%;
    height: 100%;
}

.hero__card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero__card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* === MINI-UI карточки внутри Hero === */
.mini-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mini-ui__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    font-weight: 600;
}

.mini-ui__dots { display: flex; gap: 4px; }
.mini-ui__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.mini-ui__dots span:first-child { background: #ff5f57; }
.mini-ui__dots span:nth-child(2) { background: #febc2e; }
.mini-ui__dots span:nth-child(3) { background: #28c840; }

.mini-ui__title {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
}

.mini-ui__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a14;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-ui__avatar svg { width: 14px; height: 14px; }
.mini-ui__avatar--tg { background: #29b6f6; color: white; }

.mini-ui__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

.mini-ui__body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* CRM рядки */
.mini-ui__row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mini-ui__row:last-child { border-bottom: none; }

.mini-ui__status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mini-ui__status--new { background: #ff9500; box-shadow: 0 0 6px #ff9500; }
.mini-ui__status--work { background: #29b6f6; box-shadow: 0 0 6px #29b6f6; }
.mini-ui__status--done { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.mini-ui__metric {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(124, 252, 0, 0.15);
}
.mini-ui__metric-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mini-ui__metric-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

/* AI-чат сообщения */
.mini-ui__msg {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
    max-width: 85%;
}
.mini-ui__msg--bot {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}
.mini-ui__msg--user {
    background: var(--accent);
    color: #0a0a14;
    align-self: flex-end;
    font-weight: 600;
}
.mini-ui__msg--typing {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    align-items: center;
}
.mini-ui__msg--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: typingDot 1.4s infinite;
}
.mini-ui__msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.mini-ui__msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-3px); opacity: 1; }
}

/* Telegram кнопки */
.mini-ui__btn {
    padding: 7px 10px;
    background: rgba(41, 182, 246, 0.1);
    border: 1px solid rgba(41, 182, 246, 0.3);
    border-radius: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    transition: var(--transition);
}
.mini-ui__btn:hover {
    background: rgba(41, 182, 246, 0.2);
    border-color: rgba(41, 182, 246, 0.5);
}

/* === SECTION COMMON === */
.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* === PROBLEMS === */
.problems {
    padding: 70px 0;
    position: relative;
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(124, 252, 0, 0.06);
}

.problem-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.problem-card__icon svg {
    width: 100%;
    height: 100%;
}

.problem-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === SOLUTIONS === */
.solutions {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .solutions__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .solutions__grid { grid-template-columns: 1fr; }
}

.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    transition: var(--transition);
    overflow: hidden;
    min-height: 380px;
}

.solution-card__glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-card:hover .solution-card__glow {
    opacity: 1;
}

.solution-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(124, 252, 0, 0.08);
}

.solution-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    position: relative;
}

.solution-card__icon svg {
    width: 100%;
    height: 100%;
}

.solution-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-card__features li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.solution-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* === AUDIENCE === */
.audience {
    padding: 70px 0;
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.audience__card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
    text-align: center;
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.audience__card--accent {
    cursor: pointer;
}

.audience__card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(124, 252, 0, 0.06);
    color: inherit;
    text-decoration: none;
}

.audience__card-title,
.audience__card-text {
    color: inherit;
    text-decoration: none;
}

.audience__card--accent {
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border-color: rgba(124, 252, 0, 0.3);
}

.audience__card--accent:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(124, 252, 0, 0.15);
}

.audience__card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.audience__card-icon svg {
    width: 100%;
    height: 100%;
}

.audience__card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.audience__card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === PROCESS === */
.process {
    padding: 70px 0;
}

.process__timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process__step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step-marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.process__step-marker span {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
}

.process__step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 4px;
}

.process__step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === PORTFOLIO === */
.portfolio {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.portfolio__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio__card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 12px 50px rgba(124, 252, 0, 0.06);
}

.portfolio__card--featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

/* Cascading screens mockup */
.portfolio__card-image {
    position: relative;
    padding: 32px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio__card-screens {
    position: relative;
    width: 100%;
    height: 280px;
    perspective: 800px;
}

.portfolio__screen {
    position: absolute;
    border-radius: 10px;
    background: #1a1a30;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
}

.portfolio__screen--back {
    width: 220px;
    height: 180px;
    top: 10px;
    left: 10px;
    transform: rotateY(8deg);
    z-index: 1;
}

.portfolio__screen--mid {
    width: 260px;
    height: 200px;
    top: 30px;
    left: 80px;
    transform: rotateY(4deg);
    z-index: 2;
}

.portfolio__screen--front {
    width: 240px;
    height: 190px;
    top: 50px;
    left: 160px;
    transform: rotateY(-2deg);
    z-index: 3;
}

.portfolio__card:hover .portfolio__screen--back {
    transform: rotateY(12deg) translateX(-10px);
}

.portfolio__card:hover .portfolio__screen--front {
    transform: rotateY(-6deg) translateX(10px);
}

/* Screen header (browser bar) */
.portfolio__screen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portfolio__mockup-dots {
    display: flex;
    gap: 4px;
}

.portfolio__mockup-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.portfolio__mockup-dots span:first-child { background: #ff5f57; }
.portfolio__mockup-dots span:nth-child(2) { background: #febc2e; }
.portfolio__mockup-dots span:last-child { background: #28c840; }

.portfolio__mockup-url {
    font-size: 8px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 2px 8px;
    border-radius: 4px;
    flex: 1;
    text-align: center;
}

/* Login screen */
.portfolio__screen-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    gap: 5px;
    background: linear-gradient(160deg, #1a2340, #0f1528);
}

.portfolio__login-logo {
    width: 28px;
    height: 28px;
}

.portfolio__login-logo svg {
    width: 100%;
    height: 100%;
}

.portfolio__login-title-text {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.portfolio__login-subtitle {
    font-size: 6px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.portfolio__login-tabs {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
    width: 80%;
}

.portfolio__login-tabs span {
    flex: 1;
    padding: 3px 6px;
    font-size: 6px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    background: transparent;
}

.portfolio__login-tabs span.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.portfolio__login-field {
    width: 80%;
    height: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.portfolio__login-field span {
    font-size: 5px;
    color: rgba(255,255,255,0.3);
}

.portfolio__login-btn {
    width: 80%;
    height: 14px;
    background: #cc2233;
    border-radius: 3px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    color: #fff;
    font-weight: 600;
}

/* Admin screen */
.portfolio__screen-admin {
    display: flex;
    height: 100%;
}

.portfolio__admin-sidebar {
    width: 65px;
    background: #12152a;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.portfolio__sidebar-logo {
    width: 18px;
    height: 18px;
    margin: 0 auto 4px;
}

.portfolio__sidebar-logo svg {
    width: 100%;
    height: 100%;
}

.portfolio__sidebar-label {
    font-size: 4px;
    color: rgba(255,255,255,0.25);
    padding: 3px 4px 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.portfolio__admin-menu {
    padding: 3px 6px;
    font-size: 5px;
    color: rgba(255,255,255,0.4);
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
}

.portfolio__admin-menu.active {
    background: #cc2233;
    color: #fff;
}

.portfolio__admin-main {
    flex: 1;
    padding: 6px 8px;
    background: #fafafa;
}

.portfolio__admin-calendar-title {
    font-size: 8px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.portfolio__admin-calendar {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 6px;
}

.portfolio__cal-header {
    font-size: 5px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.portfolio__cal-grid {
    display: flex;
    gap: 2px;
}

.portfolio__cal-day {
    flex: 1;
    height: 10px;
    background: #f5f5f5;
    border-radius: 2px;
}

.portfolio__cal-day.highlight {
    background: #cc2233;
    opacity: 0.6;
}

.portfolio__admin-table-label {
    font-size: 5px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.portfolio__admin-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.portfolio__admin-row {
    height: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
}

.portfolio__admin-row.header {
    background: #f8f8f8;
    height: 8px;
}

/* Client screen */
.portfolio__screen-client {
    display: flex;
    height: 100%;
}

.portfolio__client-sidebar {
    width: 65px;
    background: #12152a;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.portfolio__client-main {
    flex: 1;
    padding: 6px 8px;
    background: #fafafa;
}

.portfolio__client-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.portfolio__client-title-row span {
    font-size: 8px;
    font-weight: 700;
    color: #1a1a2e;
}

.portfolio__client-new-btn {
    font-size: 5px;
    padding: 2px 6px;
    background: #1a3a8f;
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
}

/* Real client logo in marquee */
.clients__logo--real {
    width: 220px !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.clients__logo-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.clients__logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.clients__logo-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Blur shield overlay */
.portfolio__blur-shield {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 20%,
        rgba(10, 10, 20, 0.3) 40%,
        rgba(10, 10, 20, 0.15) 60%,
        transparent 80%
    );
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 10;
    pointer-events: none;
    border-radius: 10px;
}

.portfolio__card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background: var(--accent);
    color: #0a0a14;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 11;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card info */
.portfolio__card-info {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio__card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.portfolio__card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.portfolio__card-tags span {
    padding: 5px 14px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
}

.portfolio__card-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(124, 252, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(124, 252, 0, 0.1);
}

.portfolio__card-result svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.portfolio__card-result span {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}

/* Small project cards */
.portfolio__card--small {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.portfolio__card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 252, 0, 0.03);
    min-height: 180px;
}

.portfolio__placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.portfolio__placeholder-icon svg {
    width: 100%;
    height: 100%;
}

/* === Мокапы для портфолио (TG / AI) === */
.portfolio__card-mockup {
    display: flex;
    flex-direction: column;
    background: #0d0d18;
    border-right: 1px solid var(--border);
    min-height: 180px;
    overflow: hidden;
    padding: 0;
}

/* Telegram мокап */
.portfolio__mockup-tg-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(90deg, #29b6f6, #1a8acb);
    color: white;
    flex-shrink: 0;
}
.portfolio__mockup-tg-avatar {
    width: 26px; height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.portfolio__mockup-tg-avatar svg { width: 14px; height: 14px; }
.portfolio__mockup-tg-name { font-size: 12px; font-weight: 600; }

.portfolio__mockup-tg-body {
    flex: 1;
    background: #17212b;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.portfolio__mockup-tg-msg {
    background: #182533;
    color: white;
    padding: 7px 11px;
    border-radius: 12px 12px 12px 4px;
    font-size: 11px;
    align-self: flex-start;
    max-width: 85%;
}
.portfolio__mockup-tg-btn {
    background: rgba(41, 182, 246, 0.15);
    border: 1px solid rgba(41, 182, 246, 0.3);
    color: #29b6f6;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
}

/* AI мокап */
.portfolio__mockup-ai-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.15), rgba(124, 252, 0, 0.05));
    border-bottom: 1px solid rgba(124, 252, 0, 0.2);
    flex-shrink: 0;
}
.portfolio__mockup-ai-avatar {
    width: 28px; height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #0a0a14;
    box-shadow: 0 0 8px rgba(124, 252, 0, 0.4);
    flex-shrink: 0;
}
.portfolio__mockup-ai-avatar svg { width: 16px; height: 16px; }
.portfolio__mockup-ai-info { display: flex; flex-direction: column; gap: 1px; }
.portfolio__mockup-ai-name { font-size: 12px; font-weight: 700; color: white; }
.portfolio__mockup-ai-status {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    display: flex; align-items: center; gap: 4px;
}
.portfolio__mockup-ai-status span {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}

.portfolio__mockup-ai-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.portfolio__mockup-ai-msg {
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
    max-width: 85%;
}
.portfolio__mockup-ai-msg--bot {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}
.portfolio__mockup-ai-msg--user {
    background: var(--accent);
    color: #0a0a14;
    align-self: flex-end;
    font-weight: 600;
}
.portfolio__mockup-ai-typing {
    display: flex;
    gap: 4px;
    padding: 9px 11px;
    align-items: center;
}
.portfolio__mockup-ai-typing span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: typingDot 1.4s infinite;
}
.portfolio__mockup-ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.portfolio__mockup-ai-typing span:nth-child(3) { animation-delay: 0.4s; }

.portfolio__card--small .portfolio__card-info {
    padding: 24px;
}

.portfolio__card--small .portfolio__card-title {
    font-size: 18px;
}

/* === CLIENTS MARQUEE === */
.clients {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients__heading {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.clients__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.clients__logo {
    height: 90px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.clients__logo:hover {
    border-color: rgba(124, 252, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .clients__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .clients__grid { grid-template-columns: repeat(2, 1fr); }
}

.clients__logo svg {
    width: 100%;
    height: 100%;
}

/* === SURVEY === */
.survey {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.survey__wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
}

/* Progress */
.survey__progress {
    margin-bottom: 40px;
    position: relative;
}

.survey__progress-bar {
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.survey__progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--survey-progress, 20%);
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.survey__progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.survey__progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.survey__progress-step.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.survey__progress-step.completed {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a14;
}

/* Steps */
.survey__step {
    display: none;
}

.survey__step.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

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

.survey__step-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.survey__step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.survey__optional {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Form fields */
.survey__field {
    margin-bottom: 20px;
}

.survey__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.survey__input,
.survey__select,
.survey__textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.survey__input:focus,
.survey__select:focus,
.survey__textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.survey__input::placeholder,
.survey__textarea::placeholder {
    color: var(--text-muted);
}

.survey__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237CFC00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.survey__select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.survey__textarea {
    resize: vertical;
    min-height: 80px;
}

/* Contact method cards */
.survey__contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.survey__radio-card input { display: none; }

.survey__radio-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.survey__radio-card-inner svg {
    width: 22px;
    height: 22px;
}

.survey__radio-card input:checked + .survey__radio-card-inner {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

/* Checkbox cards */
.survey__checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.survey__checkbox-card input { display: none; }

.survey__checkbox-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.survey__checkbox-card-inner svg {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    transition: var(--transition);
}

.survey__checkbox-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.survey__checkbox-card input:checked + .survey__checkbox-card-inner {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.survey__checkbox-card input:checked + .survey__checkbox-card-inner svg {
    color: var(--accent);
}

.survey__checkbox-card input:checked + .survey__checkbox-card-inner .survey__checkbox-title {
    color: var(--accent);
}

.survey__checkbox-card-inner:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

/* Budget pills */
.survey__budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.survey__radio-pill input { display: none; }

.survey__radio-pill span {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.survey__radio-pill input:checked + span {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

.survey__radio-pill span:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Survey navigation */
.survey__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Success state */
.survey__success {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeInUp 0.5s ease forwards;
}

.survey__success.active {
    display: block;
}

.survey__success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease 0.2s both;
}

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

.survey__success-icon svg {
    width: 100%;
    height: 100%;
}

.survey__success-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.survey__success-text {
    font-size: 15px;
    color: var(--text-secondary);
}

/* === FOOTER === */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer__desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links h4,
.footer__contact h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links a,
.footer__contact a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--accent);
}

.footer__contact-item {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.footer__contact-item span {
    color: inherit;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer__bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === RESPONSIVE === */
/* === PRICING === */
.pricing {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.pricing__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing__card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(124, 252, 0, 0.06);
}

.pricing__card--popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(124, 252, 0, 0.06), var(--bg-card));
}

.pricing__card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0a14;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing__card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.pricing__card-icon svg {
    width: 100%;
    height: 100%;
}

.pricing__card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing__card-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 16px;
    white-space: nowrap;
}

.pricing__card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.pricing__card-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    text-align: left;
}

.pricing__card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

.btn--sm {
    padding: 10px 24px;
    font-size: 13px;
}

.pricing__bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border: 1px solid rgba(124, 252, 0, 0.25);
    border-radius: var(--radius-md);
    width: 100%;
    margin: 32px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing__bonus::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 252, 0, 0.06), transparent 70%);
    pointer-events: none;
}

.pricing__bonus-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 252, 0, 0.1);
    border: 1px solid rgba(124, 252, 0, 0.3);
    border-radius: 16px;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pricing__bonus-icon svg {
    width: 36px;
    height: 36px;
}

.pricing__bonus-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pricing__bonus-title {
    font-size: 14px;
}

.pricing__bonus-value {
    font-size: 16px;
    line-height: 1.5;
}

.pricing__bonus-value strong {
    color: var(--accent);
    font-weight: 700;
}

.pricing__bonus-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.pricing__bonus-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pricing__bonus-title {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing__bonus-value {
    font-size: 14px;
    color: var(--text-secondary);
}

/* === CALCULATOR === */
.calculator {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.calc__wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    overflow: hidden;
}

.calc__types {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calc__type {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calc__type:hover {
    border-color: rgba(255,255,255,0.15);
}

.calc__type.active {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

.calc__type-icon {
    width: 28px;
    height: 28px;
}

.calc__type-icon svg {
    width: 100%;
    height: 100%;
}

/* Options */
.calc__option-group {
    display: none;
}

.calc__option-group.active {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeInUp 0.3s ease;
}

.calc__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-secondary);
}

.calc__option:hover {
    border-color: rgba(255,255,255,0.15);
}

.calc__option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.calc__option input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.calc__option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #0a0a14;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.calc__option input[type="checkbox"]:disabled {
    opacity: 0.6;
}

.calc__option span:first-of-type {
    flex: 1;
}

.calc__option-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

/* Result */
.calc__result {
    margin-top: 28px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.06), rgba(124, 252, 0, 0.02));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    text-align: center;
}

.calc__result-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.calc__result-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
}

.calc__result-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.calc__loss {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 107, 107, 0.06);
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    text-align: left;
}

.calc__loss-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.calc__loss-icon svg {
    width: 100%;
    height: 100%;
}

.calc__loss-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc__loss-title {
    font-size: 12px;
    color: #ff6b6b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc__loss-value {
    font-size: 13px;
    color: var(--text-secondary);
}

.calc__loss-value strong {
    color: #ff6b6b;
}

.calc__bonus {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(124, 252, 0, 0.06);
    border: 1px solid rgba(124, 252, 0, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    text-align: left;
}

.calc__bonus-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.calc__bonus-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc__bonus-title {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc__bonus-value {
    font-size: 13px;
    color: var(--text-secondary);
}

/* === CTA BLOCKS === */
.cta-block {
    padding: 50px 0;
}

.cta-block__inner {
    text-align: center;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.06), rgba(124, 252, 0, 0.02));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-block__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(124, 252, 0, 0.05), transparent 50%);
    pointer-events: none;
}

.cta-block__title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}

.cta-block__text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 70px 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #ffaa00;
}

.testimonial-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: auto;
    min-height: 48px;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.testimonial-card__name {
    font-size: 14px;
    font-weight: 700;
}

.testimonial-card__role {
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.testimonial-card__result {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(124, 252, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(124, 252, 0, 0.1);
}

.testimonial-card__result svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.testimonial-card__result span {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

/* === TECH STACK === */
.techstack {
    padding: 90px 0;
    background: var(--bg-secondary);
}

.techstack__categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.techstack__category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}

.techstack__category:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 252, 0, 0.06);
}

.techstack__category-head {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.techstack__category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 252, 0, 0.1);
    border: 1px solid rgba(124, 252, 0, 0.25);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 8px;
}

.techstack__category-icon svg {
    width: 22px;
    height: 22px;
}

.techstack__category-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}

.techstack__category-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.techstack__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.techstack__tag {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: default;
}

.techstack__tag:hover {
    background: rgba(124, 252, 0, 0.08);
    border-color: rgba(124, 252, 0, 0.3);
    color: var(--accent);
}

.techstack__note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

.techstack__note a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
}

@media (max-width: 768px) {
    .techstack__categories {
        grid-template-columns: 1fr;
    }
    .techstack {
        padding: 60px 0;
    }
}

/* === FAQ === */
.faq {
    padding: 70px 0;
}

.faq__list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: var(--border-accent);
}

.faq__item.active {
    border-color: var(--border-accent);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__arrow {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 200px;
}

.faq__answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === TELEGRAM WIDGET === */
.tg-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(42, 171, 238, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: tgPulse 2s ease-in-out infinite;
}

.tg-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(42, 171, 238, 0.5);
}

.tg-widget svg {
    width: 26px;
    height: 26px;
}

.tg-widget__tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tg-widget:hover .tg-widget__tooltip {
    opacity: 1;
}

@keyframes tgPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(42, 171, 238, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(42, 171, 238, 0.6), 0 0 0 8px rgba(42, 171, 238, 0.1); }
}

@media (max-width: 900px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
        flex-direction: column;
    }

    .hero__cards {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero__card {
        width: 240px;
        height: 240px;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 32px;
    }

    .hero__br-desktop { display: none; }

    .problems__grid,
    .solutions__grid,
    .audience__grid,
    .testimonials__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing__grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .techstack__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio__card--featured {
        grid-template-columns: 1fr;
    }

    .portfolio__card--small {
        grid-template-columns: 1fr;
    }

    .portfolio__card-image--placeholder {
        min-height: 120px;
    }

    .survey__wrapper {
        padding: 32px 24px;
    }

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

    .survey__checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .problems__grid,
    .solutions__grid,
    .audience__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .pricing__grid--4 {
        grid-template-columns: 1fr;
    }

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

    .hero__cards {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .hero__card {
        width: 100%;
        max-width: 320px;
        height: 240px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__stats {
        flex-direction: row;
        gap: 16px;
    }
    .hero__stat-divider { display: none; }
    .hero__stat-label { font-size: 10px; }

    .hero__stat-divider {
        width: 40px;
        height: 1px;
    }

    .survey__checkbox-grid {
        grid-template-columns: 1fr;
    }

    .survey__budget-options {
        flex-direction: column;
    }

    .process__step {
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .calc__wrapper {
        padding: 20px 16px;
    }

    .calc__types {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .calc__type {
        min-width: unset;
        padding: 12px 8px;
        font-size: 10px;
    }

    .calc__type-icon {
        width: 22px;
        height: 22px;
    }

    .calc__option {
        padding: 12px 14px;
        font-size: 13px;
    }

    .calc__result {
        padding: 20px 16px;
    }

    .calc__result-price {
        font-size: 28px;
    }

    .calc__loss,
    .calc__bonus {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cta-block__inner {
        padding: 32px 20px;
    }

    .cta-block__title {
        font-size: 20px;
    }

    .portfolio__card-screens {
        height: 220px;
        transform: scale(0.85);
        transform-origin: center;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* === PROTECTION === */
/* Block text selection + iOS long-press menu (share/copy/save image) */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Allow selection + long-press в полях ввода и ссылках с контактами */
input, textarea, select,
a[href^="tel:"], a[href^="mailto:"], a[href^="https://t.me/"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

/* Block image dragging */
img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* DevTools warning overlay */
.devtools-open::after {
    content: 'Инструменты разработчика обнаружены. Контент скрыт.';
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a14;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 20px;
    font-weight: 700;
}

/* === 3 PATHS — выбор канала входа === */
.paths {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(124, 252, 0, 0.02) 50%, var(--bg-base) 100%);
}

.paths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.paths__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
}

.paths__card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(124, 252, 0, 0.08);
    color: inherit;
}

.paths__card--popular {
    border-color: rgba(124, 252, 0, 0.4);
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.06), rgba(124, 252, 0, 0.01));
}

.paths__card--popular:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 50px rgba(124, 252, 0, 0.18);
}

.paths__card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0a14;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 100px;
}

.paths__card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.paths__card-icon svg {
    width: 100%;
    height: 100%;
}

.paths__card-time {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(124, 252, 0, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}

.paths__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: inherit;
}

.paths__card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.paths__card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.paths__card-features li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.paths__card-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.paths__card-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.paths__card:hover .paths__card-cta {
    transform: translateX(4px);
}

.paths__note {
    text-align: center;
    margin-top: 56px;
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    color: #ffffff;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

.paths__note-accent {
    color: var(--accent);
    font-weight: 500;
    font-style: normal;
}

@media (max-width: 968px) {
    .paths__grid { grid-template-columns: 1fr; gap: 20px; }
    .paths { padding: 60px 0; }
}

/* === PRICING — новая структура === */
.pricing-anchors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 32px 0 0;
}

.pricing-anchor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.pricing-anchor:hover {
    border-color: rgba(124, 252, 0, 0.3);
    background: rgba(124, 252, 0, 0.04);
}

.pricing-anchor__label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-anchor__value {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
}

@media (max-width: 768px) {
    .pricing-anchors { grid-template-columns: 1fr; }
}

.pricing-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
    margin-top: 36px;
}

.pricing-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-step:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.pricing-step--accent {
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border-color: rgba(124, 252, 0, 0.3);
}

.pricing-step__num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.15;
    letter-spacing: -1px;
}

.pricing-step__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.pricing-step__icon svg {
    width: 100%;
    height: 100%;
}

.pricing-step__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-step__time {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(124, 252, 0, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.pricing-step__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-step__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    opacity: 0.5;
    font-weight: 700;
}

.pricing-steps__note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-steps__note strong {
    color: var(--accent);
}

/* === Кейсы клиентов === */
.pricing-cases {
    margin-top: 80px;
}

.pricing-cases__header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-cases__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 12px 0 8px;
    letter-spacing: -0.5px;
}

.pricing-cases__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* === SLIDER === */
.pricing-cases__slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-cases__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.pricing-cases__track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.pricing-cases__track > .pricing-case {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
}

.pricing-cases__nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 5;
}

.pricing-cases__nav svg { width: 20px; height: 20px; }

.pricing-cases__nav:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(124, 252, 0, 0.06);
    transform: scale(1.05);
}

.pricing-cases__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.pricing-cases__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pricing-cases__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.pricing-cases__dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.pricing-cases__dot.is-active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 968px) {
    .pricing-cases__nav {
        width: 40px;
        height: 40px;
    }
}

.pricing-case {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-case:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* === SCREENSHOT МОКАП === */
.pricing-case__screenshot {
    background: #0d0d18;
    border-bottom: 1px solid var(--border);
    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.pricing-case__screen-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.pricing-case__screen-dots { display: flex; gap: 5px; }
.pricing-case__screen-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.pricing-case__screen-dots span:first-child { background: #ff5f57; }
.pricing-case__screen-dots span:nth-child(2) { background: #febc2e; }
.pricing-case__screen-dots span:nth-child(3) { background: #28c840; }

.pricing-case__screen-url {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'SF Mono', Monaco, monospace;
}

.pricing-case__screen-body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.pricing-case__screen-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.pricing-case__screen-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 2px solid transparent;
}

.pricing-case__screen-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pricing-case__screen-status--new { background: #ff9500; box-shadow: 0 0 6px #ff9500; }
.pricing-case__screen-status--work { background: #29b6f6; box-shadow: 0 0 6px #29b6f6; }
.pricing-case__screen-status--done { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* === Telegram мокап === */
.pricing-case__screen-head--tg {
    background: linear-gradient(90deg, #29b6f6, #1a8acb);
    border-bottom: none;
}
.pricing-case__tg-avatar {
    width: 30px; height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    flex-shrink: 0;
}
.pricing-case__tg-avatar svg { width: 16px; height: 16px; }
.pricing-case__tg-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
}
.pricing-case__screen-body--tg { background: #17212b; gap: 6px; padding: 14px 16px; }
.pricing-case__tg-msg {
    background: #182533;
    color: white;
    padding: 8px 12px;
    border-radius: 12px 12px 12px 4px;
    font-size: 12px;
    align-self: flex-start;
    max-width: 80%;
    line-height: 1.4;
}
.pricing-case__tg-msg--user {
    background: #2b5278;
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}
.pricing-case__tg-btn {
    background: rgba(41, 182, 246, 0.15);
    border: 1px solid rgba(41, 182, 246, 0.3);
    color: #29b6f6;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
}

/* === AI мокап === */
.pricing-case__screen-head--ai {
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.15), rgba(124, 252, 0, 0.05));
    border-bottom: 1px solid rgba(124, 252, 0, 0.2);
}
.pricing-case__ai-avatar {
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #0a0a14;
    box-shadow: 0 0 10px rgba(124, 252, 0, 0.4);
    flex-shrink: 0;
}
.pricing-case__ai-avatar svg { width: 16px; height: 16px; }
.pricing-case__ai-info { display: flex; flex-direction: column; gap: 1px; }
.pricing-case__ai-name { font-size: 12px; font-weight: 700; color: white; }
.pricing-case__ai-status {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 4px;
}
.pricing-case__ai-dot {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}
.pricing-case__screen-body--ai { gap: 6px; padding: 14px 16px; }
.pricing-case__ai-msg {
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
    max-width: 85%;
}
.pricing-case__ai-msg--bot {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}
.pricing-case__ai-msg--user {
    background: var(--accent);
    color: #0a0a14;
    align-self: flex-end;
    font-weight: 600;
}
.pricing-case__ai-typing {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    align-items: center;
}
.pricing-case__ai-typing span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: typingDot 1.4s infinite;
}
.pricing-case__ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.pricing-case__ai-typing span:nth-child(3) { animation-delay: 0.4s; }

/* === E-commerce мокап === */
.pricing-case__ecom-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 4px;
}
.pricing-case__ecom-stat {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}
.pricing-case__ecom-stat-num {
    font-size: 18px;
    font-weight: 800;
    color: white;
}
.pricing-case__ecom-stat-lbl {
    font-size: 9px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}
.pricing-case__chan-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.pricing-case__chan-tag--ozon { background: rgba(0, 91, 255, 0.2); color: #4d8fff; }
.pricing-case__chan-tag--wb { background: rgba(204, 0, 153, 0.2); color: #e64db1; }
.pricing-case__chan-tag--site { background: rgba(124, 252, 0, 0.15); color: var(--accent); }

/* === Текстовая часть кейса === */
.pricing-case__head {
    padding: 22px 24px 14px;
    border-bottom: 1px solid var(--border);
}

.pricing-case__sphere {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}
.pricing-case__sphere-sub {
    font-size: 13px;
    color: var(--text-secondary);
}

.pricing-case__problem,
.pricing-case__solution {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 24px;
}
.pricing-case__problem { margin-top: 14px; }
.pricing-case__solution { margin-top: 8px; }

.pricing-case__problem strong,
.pricing-case__solution strong {
    color: white;
    font-weight: 600;
    margin-right: 4px;
}

.pricing-case__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: auto;
}

.pricing-case__solution { padding-bottom: 18px; }

.pricing-case__metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 14px 8px;
    background: var(--bg-card);
}

.pricing-case__metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-case__metric-value {
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.pricing-case__metric--highlight .pricing-case__metric-value {
    color: var(--accent);
}

.pricing-case__effect {
    font-size: 13px;
    color: white;
    font-weight: 500;
    padding: 14px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

/* === Финальный CTA блок === */
.pricing-final {
    margin-top: 64px;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border: 1px solid rgba(124, 252, 0, 0.25);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-final__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.pricing-final__text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-final__bonus {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 22px;
    background: rgba(124, 252, 0, 0.1);
    border: 1px solid rgba(124, 252, 0, 0.3);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-final__bonus strong {
    color: var(--accent);
}

.pricing-final__bonus-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-final__bonus-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 968px) {
    .pricing-steps {
        grid-template-columns: 1fr;
    }
    .pricing-step__arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }
    .pricing-cases__grid {
        grid-template-columns: 1fr;
    }
    .pricing-case__metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .pricing-case__metric {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* === MODAL === */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalIn 0.25s ease;
}
.modal[hidden] { display: none; }

@keyframes modalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 12, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal__content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalContent 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__content--wide { max-width: 760px; }

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

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 10;
}

.modal__head {
    padding-right: 48px;
}
.modal__close svg { width: 16px; height: 16px; }
.modal__close:hover { color: var(--accent); border-color: var(--accent); transform: rotate(90deg); }

.modal__head { text-align: center; margin-bottom: 28px; }

.modal__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 252, 0, 0.1);
    border: 1px solid rgba(124, 252, 0, 0.3);
    border-radius: 16px;
    color: var(--accent);
}
.modal__icon svg { width: 32px; height: 32px; }

.modal__title { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.modal__subtitle { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.modal__tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.modal__tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal__tab svg { width: 16px; height: 16px; }

.modal__tab:hover {
    color: var(--text-primary);
}

.modal__tab.is-active {
    background: rgba(124, 252, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(124, 252, 0, 0.3);
}

.modal__spheres {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.modal__spheres[hidden] { display: none; }

.modal__sphere {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.modal__sphere:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    color: inherit;
}

.modal__sphere--accent {
    grid-column: 1 / -1;
    flex-direction: row;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.08), rgba(124, 252, 0, 0.02));
    border-color: rgba(124, 252, 0, 0.3);
}

.modal__sphere-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 252, 0, 0.08);
    border: 1px solid rgba(124, 252, 0, 0.2);
    border-radius: 12px;
    color: var(--accent);
    transition: var(--transition);
}

.modal__sphere-icon svg {
    width: 22px;
    height: 22px;
}

.modal__sphere:hover .modal__sphere-icon {
    background: rgba(124, 252, 0, 0.15);
    border-color: var(--accent);
}

.modal__sphere--accent .modal__sphere-icon {
    background: rgba(124, 252, 0, 0.18);
    border-color: rgba(124, 252, 0, 0.4);
}
.modal__sphere-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.modal__field input {
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}
.modal__field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 252, 0, 0.1);
}

.modal__radio-row { display: flex; gap: 10px; }
.modal__radio { flex: 1; cursor: pointer; }
.modal__radio input { display: none; }
.modal__radio span {
    display: block;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    transition: var(--transition);
}
.modal__radio input:checked + span {
    background: rgba(124, 252, 0, 0.08);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.modal__submit { margin-top: 8px; justify-content: center; }
.modal__hint { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 4px; line-height: 1.5; }

@media (max-width: 640px) {
    .modal__spheres { grid-template-columns: repeat(2, 1fr); }
    .modal__row { grid-template-columns: 1fr; }
    .modal__content { padding: 28px 20px; }
}

/* === AI-ЧАТ ВИДЖЕТ === */
.ai-chat-bubble {
    position: fixed;
    bottom: 60px;
    right: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a14;
    border: none;
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(124, 252, 0, 0.4);
    transition: transform 0.2s ease;
}
.ai-chat-bubble:hover { transform: scale(1.08); }
.ai-chat-bubble svg { width: 28px; height: 28px; }

.ai-chat-bubble__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: aiPulse 2s ease-out infinite;
}
@keyframes aiPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

.ai-chat-bubble__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #0a0a14;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 10px;
    border: 2px solid var(--accent);
}

.ai-chat-bubble.is-hidden { transform: scale(0); pointer-events: none; }

.ai-chat {
    position: fixed;
    bottom: 60px;
    right: 60px;
    width: 400px;
    height: 600px;
    max-height: calc(100vh - 120px);
    background: #14141f;
    border: 1px solid rgba(124, 252, 0, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(124, 252, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-chat[hidden] { display: none; }

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

.ai-chat__head {
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(124, 252, 0, 0.18), rgba(124, 252, 0, 0.04));
    border-bottom: 1px solid rgba(124, 252, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat__head-info { display: flex; align-items: center; gap: 12px; }

.ai-chat__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a14;
    box-shadow: 0 0 16px rgba(124, 252, 0, 0.5);
}
.ai-chat__avatar svg { width: 22px; height: 22px; }

.ai-chat__head-text { display: flex; flex-direction: column; gap: 2px; }
.ai-chat__head-name { font-size: 14px; font-weight: 700; }
.ai-chat__head-status {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-chat__dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.ai-chat__close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}
.ai-chat__close svg { width: 18px; height: 18px; }
.ai-chat__close:hover { background: var(--bg-card); color: var(--text-primary); }

.ai-chat__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-chat__msg { display: flex; flex-direction: column; gap: 6px; max-width: 85%; }
.ai-chat__msg--bot { align-self: flex-start; }
.ai-chat__msg--user { align-self: flex-end; align-items: flex-end; }

.ai-chat__bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    background: #1d1d2c;
    border: 1px solid rgba(124, 252, 0, 0.12);
    color: var(--text-primary);
}
.ai-chat__msg--user .ai-chat__bubble {
    background: var(--accent);
    color: #0a0a14;
    border-color: var(--accent);
}

.ai-chat__input {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid rgba(124, 252, 0, 0.15);
    background: #0d0d18;
}
.ai-chat__input input {
    flex: 1;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}
.ai-chat__input input:focus { outline: none; border-color: var(--accent); }
.ai-chat__input button {
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: #0a0a14;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.ai-chat__input button svg { width: 20px; height: 20px; }
.ai-chat__input button:hover { transform: scale(1.05); }

@media (max-width: 480px) {
    .ai-chat {
        width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        bottom: 12px;
        right: 12px;
    }
}

/* === ДОПОЛНИТЕЛЬНЫЙ АДАПТИВ === */

@media (max-width: 768px) {
    /* Pricing шаги — в столбец */
    .pricing-steps {
        grid-template-columns: 1fr;
    }
    .pricing-step__arrow {
        transform: rotate(90deg);
        font-size: 22px;
    }

    /* Кейсы — 1 в ряд */
    .pricing-cases__grid {
        grid-template-columns: 1fr;
    }
    .pricing-case__metrics {
        grid-template-columns: 1fr;
    }
    .pricing-case__metric {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    /* Финальный CTA уменьшаем */
    .pricing-final {
        padding: 32px 20px;
    }
    .pricing-final__title { font-size: 22px; }
    .pricing-final__bonus {
        flex-direction: column;
        text-align: center;
        padding: 14px 18px;
    }

    /* Tech stack — 1 кол */
    .techstack__categories {
        grid-template-columns: 1fr;
    }

    /* Кнопка AI-звонка в Hero */
    .hero__quick-call {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    /* Modal: иконки сферы — 2 в ряд */
    .modal__spheres {
        grid-template-columns: repeat(2, 1fr);
    }

    /* AI-chat bubble чуть меньше */
    .ai-chat-bubble {
        width: 54px;
        height: 54px;
        bottom: 16px;
        right: 16px;
    }

    /* Footer колонками */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Hero CTA — кнопки на всю ширину */
    .hero__cta { flex-direction: column; width: 100%; }
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Title уменьшаем */
    .hero__title { font-size: clamp(28px, 7vw, 40px); }

    /* Stats компактнее */
    .hero__stat-number { font-size: 28px; }
    .hero__stat-plus { font-size: 20px; }
}

/* ===========================================================
   МОБИЛЬНО-ПЛАНШЕТНАЯ ОПТИМИЗАЦИЯ (финальные правки)
   Всё внутри media queries — десктоп (≥1024px) не затрагивается
   =========================================================== */

/* --- Общие правила для touch-устройств --- */
@media (hover: none) and (pointer: coarse) {
    /* Убираем hover-эффекты на тачскринах чтобы не "залипали" */
    .btn:hover,
    .nav__links a:hover,
    .card:hover,
    .path-card:hover {
        transform: none;
    }

    /* Увеличиваем touch-targets */
    .btn,
    .nav__cta,
    .mobile-menu__links a,
    .paths__card button,
    .accordion__question {
        min-height: 44px;
    }

    /* Кнопки с иконками — комфортнее для пальца */
    .nav__phone,
    .nav__burger {
        min-width: 44px;
        min-height: 44px;
    }
}

/* --- Планшет (768-1023px) --- */
@media (max-width: 1023px) and (min-width: 768px) {
    /* Контейнеры — больше воздуха по бокам */
    .container,
    .hero__container {
        padding-left: 32px;
        padding-right: 32px;
    }

    /* Hero — заголовок читабельнее */
    .hero__title {
        font-size: clamp(42px, 6vw, 64px);
        line-height: 1.1;
    }

    .hero__subtitle {
        font-size: 17px;
        line-height: 1.6;
    }

    /* Секции — компактнее отступы */
    section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* Заголовки секций */
    .section__title {
        font-size: clamp(32px, 5vw, 48px);
    }

    /* Грид-карточки — по 2 в ряд */
    .solutions__grid,
    .problems__grid,
    .audience__grid,
    .process__steps,
    .techstack__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* --- Телефон (≤ 767px) --- */
@media (max-width: 767px) {
    /* Отступы — компактнее но с воздухом */
    .container,
    .hero__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Вертикальные отступы секций */
    section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    /* Заголовки — fluid typography */
    .section__title {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.2;
    }

    .section__subtitle {
        font-size: 15px;
    }

    /* Hero — центруем и уменьшаем */
    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.15;
        text-align: center;
    }

    .hero__subtitle {
        font-size: 15px;
        text-align: center;
    }

    .hero__subtitle-strong {
        font-size: 1.15em;
    }

    /* Статистика Hero — 3 в ряд компактнее */
    .hero__stats {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__stat {
        flex: 1;
        min-width: 100px;
    }

    .hero__stat-number {
        font-size: 24px;
    }

    .hero__stat-label {
        font-size: 11px;
    }

    /* Всё что было в grid — в 1 колонку */
    .solutions__grid,
    .problems__grid,
    .audience__grid,
    .process__steps,
    .techstack__grid,
    .pricing-anchors,
    .paths__grid,
    .testimonials__grid,
    .clients__grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* Карточки — touch-friendly */
    .solution-card,
    .problem-card,
    .audience-card,
    .process-step,
    .paths__card {
        padding: 20px;
    }

    /* Мини UI карточки Hero — в столбик на мобиле */
    .hero__cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero__card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 240px;
    }

    /* Калькулятор цен — стакаем */
    .pricing-cases__slider {
        max-width: 100%;
        padding: 0 16px;
    }

    .pricing-case {
        flex-direction: column;
        padding: 20px;
    }

    /* FAQ — компактнее */
    .accordion__question {
        font-size: 15px;
        padding: 16px;
    }

    .accordion__answer {
        font-size: 14px;
        padding: 0 16px 16px;
    }

    /* Footer — stack */
    .footer__container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    /* CTA — на всю ширину */
    .hero__cta,
    .btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .hero__cta .btn,
    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Модалки — полноэкранно на мобиле */
    .modal__content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    /* AI-чат — компактный popup с отступами, не full-screen.
       Используем svh (small viewport height) — стабильный при скрытом/показанном URL-баре,
       чтобы форма не прыгала */
    .ai-chat {
        top: auto !important;
        bottom: 12px !important;
        right: 12px !important;
        left: 12px !important;
        max-height: 75vh !important;
        max-height: 75svh !important;
        height: 75vh !important;
        height: 75svh !important;
        width: auto !important;
        max-width: none !important;
        border-radius: 16px !important;
    }

    /* Сообщения прижимаем к низу — чтобы пустоты над вводом не было */
    .ai-chat__body {
        justify-content: flex-end;
        padding: 16px !important;
        overscroll-behavior: contain;
    }

    /* Когда чат открыт — блокируем скролл фона */
    body.ai-chat-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Кнопка AI-чата — ближе к краю */
    .ai-chat-bubble {
        bottom: 20px !important;
        right: 20px !important;
    }

    /* Навигация — компактнее */
    .nav__container {
        padding: 12px 16px;
    }

    .nav__logo-text {
        font-size: 18px;
    }

    /* Нативный скролл на мобиле (импульсный) */
    html, body {
        -webkit-overflow-scrolling: touch;
    }

    /* Отключаем крупные анимации GSAP для экономии батареи */
    .gsap-heavy {
        animation: none !important;
        transition: none !important;
    }
}

/* === ФИКС НАВИГАЦИИ НА МОБИЛКЕ === */
@media (max-width: 900px) {
    /* Уменьшаем лого */
    .nav__logo-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .nav__logo-text {
        font-size: 18px !important;
    }

    /* Телефон — только иконка, БЕЗ текста */
    .nav__phone span {
        display: none !important;
    }

    .nav__phone {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .nav__phone svg {
        width: 20px;
        height: 20px;
    }

    /* Контейнер — плотнее */
    .nav__container {
        padding: 10px 14px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    /* Логотип не должен растягиваться */
    .nav__logo {
        flex-shrink: 0;
        margin-right: auto;
    }

    /* Бургер — чуть компактнее + центрируем полосы внутри */
    .nav__burger {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box;
    }
}

/* === ФИКС ФУТЕРА НА МОБИЛКЕ === */
@media (max-width: 767px) {
    .footer__logo svg,
    .footer .nav__logo-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .footer__logo-text,
    .footer .nav__logo-text {
        font-size: 18px !important;
    }

    /* Телефон в футере — остаётся с текстом, но компактнее */
    .footer .nav__phone {
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
    }

    .footer .nav__phone span {
        display: inline !important;
        font-size: 14px !important;
    }
}

/* --- Маленькие телефоны (≤ 380px) iPhone SE и т.п. --- */
@media (max-width: 380px) {
    .hero__title {
        font-size: clamp(24px, 7.5vw, 32px);
    }

    .hero__stats {
        flex-direction: row;
        gap: 8px;
    }

    .hero__stat-number {
        font-size: 20px;
    }

    .section__title {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
        padding: 12px 18px;
    }
}

/* --- Ландшафт (горизонтальная ориентация телефона) --- */
@media (max-width: 900px) and (orientation: landscape) {
    /* В ландшафте hero не должен быть на весь экран */
    .hero {
        min-height: auto;
        padding: 80px 20px 40px;
    }

    /* Mobile-меню — адаптируем высоту */
    .mobile-menu {
        overflow-y: auto;
    }
}

/* =========================================================
   ПЛАНШЕТНЫЕ ФИКСЫ — 2026-04-20
   iPad portrait/landscape (768-1199px)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Nav — показываем ссылки вместо бургера начиная с 768px */
    .nav__links {
        display: flex !important;
        gap: 20px;
    }
    .nav__links a {
        font-size: 13px;
    }
    .nav__cta {
        display: inline-flex !important;
        padding: 8px 16px;
        font-size: 13px;
    }
    .nav__burger {
        display: none !important;
    }
    .nav__phone span {
        display: none; /* иконка без текста — экономим место */
    }
    .nav__phone {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    .nav__container {
        gap: 16px;
    }

    /* Пузырьки Hero — убираем, налезают на карточки */
    .hero__floating-elements {
        display: none !important;
    }

    /* Footer — 2 колонки вместо 1, с нормальным использованием ширины */
    .footer__content {
        grid-template-columns: 1.4fr 1fr 1fr !important;
        gap: 40px !important;
        text-align: left !important;
    }
    .footer__brand {
        align-items: flex-start !important;
    }
    .footer__brand .nav__logo {
        justify-content: flex-start !important;
    }
    .footer__desc {
        max-width: 280px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    .footer__links,
    .footer__contact {
        align-items: flex-start !important;
    }
    .footer__contact-item {
        justify-content: flex-start !important;
    }

    /* Hero — центровка не «растянутая» */
    .hero__title {
        font-size: clamp(40px, 5.5vw, 56px);
    }
    .hero__subtitle {
        max-width: 620px;
    }

    /* Hero 3D карточки — уменьшаем чтобы помещались в 768-1024 */
    .hero__cards {
        gap: 16px;
        flex-wrap: wrap;
    }
    .hero__card {
        width: 220px;
        height: 220px;
    }

    /* Контейнер — чтобы не упиралось в край */
    .container,
    .hero__container {
        padding-left: 28px;
        padding-right: 28px;
    }

    /* Brief page — sidebar + form на планшете */
    .brief-container {
        padding: 0 28px;
    }

    /* Audience — 3 колонки (9 карточек делится ровно 3×3 + accent на 4-м ряду) */
    .audience__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    .audience__card {
        padding: 24px 16px;
    }
    .audience__card-title {
        font-size: 15px;
    }
    .audience__card-text {
        font-size: 12px;
    }

    /* Testimonials — 3 в ряд, компактнее, с выравниванием авторов */
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        align-items: stretch;
    }
    .testimonial-card {
        padding: 20px 18px;
    }
    .testimonial-card__text {
        font-size: 13px;
    }
}

/* =========================================================
   МОБИЛЬНЫЕ ФИКСЫ — 2026-04-20
   Правки по скриншотам iPhone 375×812
   ========================================================= */
@media (max-width: 767px) {
    /* 1. Hero "создаём решение" — буквы не слипаются */
    .hero__title {
        letter-spacing: -0.3px;
    }
    .hero__title-big {
        letter-spacing: -0.5px;
    }
    .hero__title-accent {
        letter-spacing: 0;
        word-spacing: 0.18em;
        display: inline-block;
    }

    /* 2. Пузырьки Hero — совсем убираем на мобиле, чтобы не мешали */
    .hero__floating-elements {
        display: none !important;
    }

    /* 3. Clients grid — 2 колонки (перекрываем общее 1fr !important) */
    .clients__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .clients__logo {
        height: 72px;
        padding: 10px 12px;
    }
    .clients__logo-text,
    .clients__logo-name {
        font-size: 13px;
    }

    /* 4. Pricing-cases — боковые кнопки съедали ширину, оставляем dots + свайп */
    .pricing-cases__slider {
        gap: 0;
        max-width: 100%;
        padding: 0;
    }
    .pricing-cases__nav {
        display: none;
    }
    .pricing-cases__viewport {
        border-radius: var(--radius-lg);
    }

    /* 5. Mobile menu — full height под nav, скролл, padding как у container */
    .nav {
        padding: 10px 0;
    }
    .mobile-menu {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        padding: 72px 16px 32px;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-bottom: none;
    }
    .mobile-menu__links {
        gap: 0;
    }
    .mobile-menu__links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .mobile-menu__links li:has(.mobile-menu__cta) {
        border-bottom: none;
    }
    .mobile-menu__links a {
        display: block;
        padding: 16px 8px;
        font-size: 17px;
    }
    .mobile-menu__cta {
        display: block;
        text-align: center;
        margin-top: 24px;
        padding: 14px 24px !important;
    }

    /* 6. Header — одинаковые отступы между лого / телефон / бургер */
    .nav__phone {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .nav__container {
        gap: 10px !important;
    }
    .nav__logo {
        margin-right: auto !important;
    }

    /* 7. AI-чат — выше навигации, чтобы была видна кнопка закрыть */
    .ai-chat {
        z-index: 1001 !important;
    }
    .ai-chat__close {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: var(--text-primary) !important;
    }
    .ai-chat__close svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* 8. Модалки на мобиле — full-screen + фиксированный крестик */
    .modal {
        padding: 0 !important;
        align-items: stretch;
    }
    .modal__content {
        max-height: 100vh !important;
        max-height: 100dvh !important;
        min-height: 100dvh;
        border-radius: 0 !important;
        padding: 64px 20px 40px !important;
        padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
    }
    .modal__close {
        position: fixed !important;
        top: 12px;
        right: 12px;
        width: 40px !important;
        height: 40px !important;
        background: rgba(20, 20, 31, 0.85) !important;
        backdrop-filter: blur(8px);
        z-index: 10000 !important;
    }
    .modal__close svg {
        width: 18px !important;
        height: 18px !important;
    }
    .modal__head {
        padding-right: 0 !important;
    }

    /* 9. Footer — красивое центрирование */
    .footer {
        padding: 48px 0 24px;
    }
    .footer__content {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
        margin-bottom: 32px;
    }
    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .footer__brand .nav__logo {
        justify-content: center;
    }
    .footer__desc {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .footer__links,
    .footer__contact {
        align-items: center;
    }
    .footer__contact-item {
        justify-content: center;
    }
    .footer__bottom {
        padding-top: 24px;
    }
}

/* --- Для пользователей с prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Высокая плотность пикселей (Retina) --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Картинки-логотипы — чётче на ретине */
    .clients__logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}
