/* ============================================
   NeoPixel.ai — Light Theme (ai-trend.kz inspired)
   ============================================ */

:root {
    --bg: #ffffff;
    --bg-2: #F4F7FB;
    --bg-3: #E9EFF7;
    --surface: #ffffff;
    --surface-2: #F9FAFB;
    --border: #E5E9F0;
    --border-2: #D1D9E6;

    --text: #0F1729;
    --text-dim: #4B5563;
    --text-muted: #8B95A7;

    --primary: #00A8FF;
    --primary-dark: #0090E0;
    --primary-light: #E0F4FF;
    --secondary: #6E3FFF;
    --accent: #00D4A8;
    --warn: #FFB547;

    --gradient: linear-gradient(135deg, #00A8FF 0%, #6E3FFF 100%);
    --gradient-2: linear-gradient(135deg, #00C2FF 0%, #0096FF 100%);
    --gradient-3: linear-gradient(135deg, #6E3FFF 0%, #00A8FF 100%);

    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 10px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.04), 0 1px 3px rgba(15, 23, 41, 0.06);
    --shadow: 0 4px 6px rgba(15, 23, 41, 0.04), 0 10px 24px rgba(15, 23, 41, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 41, 0.08), 0 8px 16px rgba(15, 23, 41, 0.06);
    --shadow-glow: 0 16px 40px rgba(0, 168, 255, 0.3);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --container: 1200px;
    --header-h: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 10px rgba(15, 23, 41, 0.04);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo__mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gradient);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 168, 255, 0.35);
}

.logo__accent {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__link {
    font-size: 15px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

.nav__link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: flex;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px;
}

.lang-switch__btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 999px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.lang-switch__btn.is-active {
    background: var(--primary);
    color: white;
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 168, 255, 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 168, 255, 0.4);
}

.btn--ghost {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border-2);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--full { width: 100%; }

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 0 60px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 800px 600px at 80% 20%, rgba(0, 168, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 600px 400px at 20% 80%, rgba(110, 63, 255, 0.06) 0%, transparent 60%),
        var(--bg);
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob { display: none; }

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 41, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 41, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 168, 255, 0.2);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 22px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.2vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    color: var(--text);
}

.hero__subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--text-dim);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero__stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.stat__num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat__num span {
    font-size: 18px;
    margin-left: 2px;
    color: var(--text-dim);
}

.stat__label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Collage */
.hero__collage {
    position: relative;
    height: 520px;
}

.collage__item {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.collage__item--1 {
    width: 240px; height: 320px;
    top: 0; left: 20%;
    transform: rotate(-6deg);
    animation: float 6s ease-in-out infinite;
    --r: -6deg;
}

.collage__item--2 {
    width: 210px; height: 270px;
    top: 50px; right: 0;
    transform: rotate(5deg);
    animation: float 7s ease-in-out infinite -2s;
    --r: 5deg;
}

.collage__item--3 {
    width: 220px; height: 290px;
    bottom: 0; left: 0;
    transform: rotate(4deg);
    animation: float 8s ease-in-out infinite -4s;
    --r: 4deg;
}

.collage__item--4 {
    width: 200px; height: 260px;
    bottom: 30px; right: 30px;
    transform: rotate(-3deg);
    animation: float 6.5s ease-in-out infinite -3s;
    --r: -3deg;
}

.collage__item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 5;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

.collage__sparkle {
    position: absolute;
    color: var(--primary);
    font-size: 24px;
    animation: sparkle 3s ease-in-out infinite;
    text-shadow: 0 0 20px var(--primary);
}

.collage__sparkle--1 { top: 10%; right: 5%; }
.collage__sparkle--2 { bottom: 20%; left: 30%; animation-delay: -1s; font-size: 18px; color: var(--secondary); text-shadow: 0 0 15px var(--secondary); }
.collage__sparkle--3 { top: 50%; right: 50%; animation-delay: -2s; font-size: 14px; color: var(--accent); text-shadow: 0 0 15px var(--accent); }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

.marquee {
    margin-top: 60px;
    overflow: hidden;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.marquee__track {
    display: flex;
    gap: 36px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 90px 0;
    position: relative;
}

.section--dark {
    background: var(--bg-2);
}

.section--cta {
    background:
        radial-gradient(ellipse at top, rgba(0, 168, 255, 0.08) 0%, transparent 60%),
        var(--bg);
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 16px 0;
    color: var(--text);
}

.section__subtitle {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.55;
}

/* ============================================
   SERVICES
   ============================================ */

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

.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    background: linear-gradient(180deg, var(--primary-light) 0%, white 70%);
    border-color: var(--primary);
}

.service-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 10px;
    background: var(--primary);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}

.service-card:nth-child(2) .service-card__icon {
    background: rgba(110, 63, 255, 0.1);
    color: var(--secondary);
}

.service-card:nth-child(3) .service-card__icon {
    background: rgba(0, 212, 168, 0.1);
    color: var(--accent);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    color: var(--text);
}

.service-card__text {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-card__list {
    list-style: none;
    margin-bottom: 24px;
}

.service-card__list li {
    padding: 7px 0;
    padding-left: 26px;
    position: relative;
    font-size: 14px;
    color: var(--text-dim);
}

.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.25s;
}

.service-card__link:hover { gap: 12px; }

/* ============================================
   FILTERS + GALLERY
   ============================================ */

.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter {
    padding: 9px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: all 0.2s;
}

.filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
    margin-bottom: 80px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--bg-3);
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.gallery__item.is-hidden { display: none; }

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.06);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 41, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__overlay span {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    transition: all 0.3s;
}

.gallery__item:hover .gallery__play {
    background: var(--primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================
   BEFORE / AFTER
   ============================================ */

.before-after-wrap {
    text-align: center;
}

.ba__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.ba__subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 14px;
}

/* ---------- Cases / Results ---------- */
.cases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.case {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.case:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.case__media {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--bg-3);
}
.case__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.case:hover .case__media img {
    transform: scale(1.04);
}
.case__body {
    padding: 18px 20px 22px;
}
.case__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.case__num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.case__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}
.case__name {
    margin-top: 10px;
    font-weight: 600;
    color: var(--text);
}
.case__desc {
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-dim);
}
@media (max-width: 900px) {
    .cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .cases { grid-template-columns: 1fr; gap: 18px; }
    .case { flex-direction: row; }
    .case__media { width: 132px; flex-shrink: 0; aspect-ratio: 9 / 16; }
    .case__body { display: flex; flex-direction: column; justify-content: center; }
}

.before-after {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
    box-shadow: var(--shadow-lg);
}

.ba__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba__before-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}

.ba__img--before {
    width: 100vw;
    max-width: 900px;
    height: 100%;
    filter: grayscale(0.3) brightness(0.85);
}

.ba__handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba__handle-line {
    width: 4px;
    height: 100%;
    background: white;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

.ba__handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.5);
}

.ba__label {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    background: rgba(15, 23, 41, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 999px;
    pointer-events: none;
}

.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; background: var(--primary); }

/* ============================================
   STEPS
   ============================================ */

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

.step {
    position: relative;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.step__num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.9;
}

.step__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step__text {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

/* ============================================
   FEATURES
   ============================================ */

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

.feature {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.feature:nth-child(3n+2) .feature__icon {
    background: rgba(110, 63, 255, 0.1);
    color: var(--secondary);
}

.feature:nth-child(3n+3) .feature__icon {
    background: rgba(0, 212, 168, 0.1);
    color: var(--accent);
}

.feature__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature__text {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.plan:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.plan--featured {
    background: linear-gradient(180deg, var(--primary-light) 0%, white 60%);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.plan--featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.plan__head {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.plan__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.plan__price-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.plan__price-cur {
    font-size: 24px;
    color: var(--text-dim);
    font-weight: 600;
}

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

.plan__features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.plan__features li {
    padding: 10px 0;
    padding-left: 26px;
    position: relative;
    font-size: 14px;
    color: var(--text-dim);
}

.plan__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    font-size: 11px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

/* ============================================
   REVIEWS
   ============================================ */

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

.review {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.review::before {
    content: "“";
    position: absolute;
    top: 8px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 80px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.2;
}

.review__stars {
    color: #FFB547;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review__text {
    color: var(--text-dim);
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.6;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.review__name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

.review__role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    max-width: 760px;
    margin: 0 auto;
}

.faq__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s;
}

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

.faq__item.is-open {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq__q {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    transition: color 0.2s;
}

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

.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    transition: transform 0.3s;
    font-size: 16px;
    font-weight: 700;
}

.faq__item.is-open .faq__icon {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq__a-inner {
    padding: 0 24px 22px;
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 15px;
}

.faq__item.is-open .faq__a {
    max-height: 400px;
}

/* ============================================
   CONTACT / FORM
   ============================================ */

.cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta__text {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.25s;
    font-size: 14px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-link--wa { color: #25D366; }
.contact-link--wa:hover { border-color: #25D366; }
.contact-link--tg { color: #4DA8FF; }
.contact-link--tg:hover { border-color: #4DA8FF; }
.contact-link--ig { color: #E1306C; }
.contact-link--ig:hover { border-color: #E1306C; }
.contact-link--phone { color: var(--primary); }
.contact-link--phone:hover { border-color: var(--primary); }

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
}

.form__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.form__row { margin-bottom: 18px; }
.form__label { display: block; }

.form__label span {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}

.form__label input,
.form__label select,
.form__label textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    resize: vertical;
}

.form__label input:focus,
.form__label select:focus,
.form__label textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

.form__label select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
}

.form__note {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.form__success {
    position: absolute;
    inset: 0;
    background: var(--surface);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
}

.form__success.is-active { display: flex; }

.form__success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: grid;
    place-items: center;
    color: white;
    font-size: 36px;
    box-shadow: var(--shadow-glow);
    animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-2);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    color: var(--text);
}

.footer__col a {
    display: block;
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer__desc {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 0;
    transition: all 0.2s;
    color: var(--text-dim);
}

.footer__socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================
   FLOATING SOCIAL ICONS (ai-trend style)
   ============================================ */

.float-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    transition: transform 0.25s;
    animation: pulse 2.5s ease-in-out infinite;
}

.float-cta:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__collage {
        height: 420px;
        max-width: 500px;
        margin: 0 auto;
    }
    .services,
    .features,
    .pricing,
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
    .plan--featured { transform: none; }
    .plan--featured:hover { transform: translateY(-6px); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .cta-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    :root { --header-h: 64px; }

    .section { padding: 64px 0; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 90;
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        transform: translateY(0);
    }

    .nav__link { font-size: 17px; }

    .burger { display: flex; }

    .header__actions .btn--sm { display: none; }

    .lang-switch__btn { padding: 5px 9px; font-size: 11px; }

    .hero { padding: calc(var(--header-h) + 40px) 0 60px; }

    .hero__stats { gap: 24px; }
    .stat__num { font-size: 24px; }

    .hero__collage {
        height: 360px;
        max-width: 360px;
    }
    .collage__item--1 { width: 160px; height: 220px; }
    .collage__item--2 { width: 140px; height: 180px; }
    .collage__item--3 { width: 150px; height: 190px; }
    .collage__item--4 { width: 130px; height: 170px; }

    .services,
    .features,
    .pricing,
    .reviews,
    .steps {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
        gap: 10px;
    }
    .gallery__item--wide { grid-column: span 2; }

    .form { padding: 28px 22px; }

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

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .float-cta {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .marquee { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
