/* ═══════════════════════════════════════════════════════════════════
   GERS - Minimal B&W Fashion Aesthetic (kaijuu-inspired)
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'SouthGhetto';
    src: url('assets/fonts/SouthGhetto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --bg-card: #fafafa;
    --text: #111111;
    --text-mid: #555555;
    --text-dim: #999999;
    --line: rgba(0,0,0,0.08);
    --line-strong: rgba(0,0,0,0.18);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 0px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(0,0,0,0.12); color: #000; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
em { font-family: var(--font-serif); font-style: italic; }
.s-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 1rem;
    display: block;
}
.s-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 2rem;
}

/* ── PRELOADER ────────────────────────────────────────────── */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.preloader-bracket { color: var(--text-dim); }
.preloader-progress {
    width: 200px; height: 2px; background: var(--line);
    margin: 0 auto 1rem; position: relative;
}
.progress-bar {
    position: absolute; top: 0; left: 0; height: 100%;
    background: var(--text); width: 0%;
    transition: width 0.1s linear;
}
.preloader-status {
    font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-mid);
}
.status-percent { margin-left: 0.5rem; }

/* ── SCROLL PROGRESS BAR ──────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 9999;
    width: 0%; height: 2px; background: var(--text);
    transition: width 0.1s linear;
}

/* ── NOISE OVERLAY ────────────────────────────────────────── */
.noise-overlay {
    display: none;
}

/* ── WEB/NETWORK BACKGROUND ───────────────────────────────── */
.web-bg {
    display: none;
}

/* ── ANIMATED GRID BACKGROUND ─────────────────────────────── */
.grid-bg {
    display: none;
}

/* ── TECH OVERLAY ELEMENTS ────────────────────────────────── */
.tech-overlay {
    display: none;
}

/* ── HEADER ───────────────────────────────────────────────── */
.header {
    position: relative; z-index: 1000;
    display: flex; align-items: center;
    padding: 1.2rem clamp(1.5rem, 4vw, 4rem);
    background: #fff;
    gap: 3rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
    height: 120px;
    width: auto;
    transition: opacity 0.3s;
}
.logo:hover .logo-img { opacity: 0.7; }
.logo-text {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text);
    transition: opacity 0.3s;
}
.logo:hover .logo-text { opacity: 0.7; }
.logo-bracket { color: var(--text-dim); }

.nav { display: flex; gap: 2.5rem; align-items: center; }
.nav-link {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
    transition: opacity 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: #000;
    transition: width 0.4s var(--ease);
}
.nav-link:hover { opacity: 0.6; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { opacity: 1; }
.nav-link.active::after { width: 100%; }

.header-tagline {
    margin-left: auto;
    text-align: right;
    position: relative;
    top: 4rem;
    z-index: 10;
}
.header-tagline-text {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2.8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #000;
    text-transform: uppercase;
}

.header-controls { display: none; }

/* ── Subpage header (white bg, right nav) ── */
.header--subpage {
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    overflow: hidden;
}

/* ── Projects page header: logo | title (center) | nav (right) ── */
.header--projects {
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    background: #000;
}
.header--projects .nav-link {
    color: #fff;
}
.header--projects .nav-link::after {
    background: #fff;
}
.header-center-title {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}
.header-title-img {
    height: clamp(125px, 20vw, 225px);
    width: auto;
    display: block;
}
.header-title-text {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    opacity: 0.18;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.nav--right {
    margin-left: auto;
}

/* Hide mobile-only nav elements on desktop */
.mob-nav-logo, .mob-nav-bottom, .mob-nav-overlay { display: none; }

.nav-burger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 26px; height: 26px;
    padding: 0;
    cursor: pointer; background: none; border: none;
    position: relative;
    z-index: 1003;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    animation: burgerPulse 2.5s ease-in-out infinite;
}
@keyframes burgerPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
.nav-burger span {
    display: block; height: 2px; width: 100%;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(.23,1,.32,1), opacity 0.3s, background 0.3s, width 0.3s;
    transform-origin: center;
}
.nav-burger span:nth-child(1) { width: 100%; }
.nav-burger span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-burger span:nth-child(3) { width: 85%; }
/* Burger → X animation */
.nav-burger.active {
    animation: none;
    gap: 0;
    position: fixed;
    top: 1rem;
    right: 1rem;
}
.nav-burger.active span {
    background: #1a1a1a !important;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
}
.nav-burger.active span:nth-child(1) {
    transform: translateY(2.5px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-burger.active span:nth-child(3) {
    transform: translateY(-2.5px) rotate(-45deg);
}
/* Dark header pages — white burger */
body.page-bots .nav-burger span,
body.page-mobile .nav-burger span,
body.page-projects .nav-burger span,
body.page-sites .nav-burger span,
body.page-dark .nav-burger span,
.header--projects .nav-burger span,
.header--dark .nav-burger span {
    background: #fff;
}

/* ── HERO (HOMEPAGE) ────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background: #fff;
}
/* Hero visual - big centered logo image like kaijuu.ru */
.hero-visual {
    position: relative; z-index: 1;
    margin-bottom: 0;
    opacity: 0; animation: fadeUp 1s var(--ease) forwards;
    width: 100%;
    align-self: stretch;
    overflow: hidden;
}
.hero-marquee {
    position: absolute;
    bottom: -5%;
    left: 0;
    right: 0;
    margin-top: 0;
    border-top: none;
    border-bottom: none;
    width: 100%;
    z-index: 2;
    background: transparent;
    padding: 0.8rem 0;
}
.hero-logo-img {
    max-width: 90vw;
    width: 100%;
    height: auto;
    display: block;
    margin: -6% auto -20%;
    padding: 0;
}
.hero-text-block {
    position: relative; z-index: 1;
    text-align: center;
    margin-top: 1rem;
}
.hero-headline {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0; animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero-headline-row {
    display: block;
}
.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    opacity: 0; animation: fadeUp 0.8s 0.6s var(--ease) forwards;
}
.hero-cta {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.8s 0.8s var(--ease) forwards;
}
.btn {
    display: inline-flex; align-items: center;
    padding: 1rem 2.5rem;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: all 0.35s ease;
}
.btn--primary {
    background: var(--text); color: var(--bg);
}
.btn--primary:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.btn--secondary {
    border: 1px solid rgba(0,0,0,0.2); color: var(--text);
    background: transparent;
}
.btn--secondary:hover {
    border-color: var(--text);
    background: rgba(0,0,0,0.03);
    transform: translateY(-3px);
}
.hero-scroll-indicator {
    position: absolute; bottom: 3rem; left: clamp(1.5rem, 4vw, 4rem);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    opacity: 0; animation: fadeUp 0.8s 1.2s var(--ease) forwards;
}
.hero-scroll-indicator span {
    font-size: 0.6rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-dim);
}
.hero-scroll-line {
    width: 1px; height: 40px; background: var(--line);
    position: relative; overflow: hidden;
}
.hero-scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 1px; height: 100%; background: var(--text);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { top: -100%; }
    50%  { top: 100%; }
    51%  { top: -100%; }
    100% { top: 100%; }
}
.hero-stats {
    position: absolute; bottom: 3rem; right: clamp(1.5rem, 5vw, 4rem);
    display: flex; gap: 2.5rem;
    opacity: 0; animation: fadeUp 0.8s 1.2s var(--ease) forwards;
}
.hero-stat-item { text-align: right; }
.hero-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem; font-weight: 300;
    color: var(--text);
}
.hero-stat-label {
    font-size: 0.65rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-dim);
}

/* ── MARQUEE SECTION ────────────────────────────────────── */
.marquee-container {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 5;
}
.hero-marquee.marquee-container {
    border-top: none;
    border-bottom: none;
    background: transparent;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.marquee-item {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0 1.5rem;
}
.marquee-dot {
    font-size: 0.5rem;
    color: var(--text-dim);
    padding: 0 0.5rem;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── SECTION: ABOUT (DARK) ──────────────────────────────── */
.s-about-dark {
    background: #0a0a0a;
    color: #fff;
    padding: clamp(3rem, 6vh, 5rem) clamp(2rem, 6vw, 8rem);
    border-bottom: 9px solid #fff;
    position: relative;
    overflow: hidden;
}
.s-about-dark::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.025) 0%, transparent 70%);
    pointer-events: none;
}
.s-about-dark-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: flex-start;
}
.s-about-dark-left {
    flex-shrink: 0;
    width: clamp(220px, 30%, 360px);
}
.s-about-dark-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}
.s-about-dark-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.s-about-dark-item {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(120, 140, 255, 0.07);
}
.s-about-dark-item:first-child {
    padding-top: 0;
}
.s-about-dark-item:last-child {
    border-bottom: none;
}
.s-about-dark-num {
    font-family: var(--font-sans);
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 14px rgba(255, 255, 255, 0.15);
    min-width: 1.2rem;
    flex-shrink: 0;
}
.s-about-dark-dots {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    gap: 0.35em;
    align-items: center;
}
.s-about-dark-dots .dot {
    display: inline-block;
    animation: dotPulse 1.4s ease-in-out infinite;
}
.s-about-dark-dots .dot:nth-child(1) { animation-delay: 0s; }
.s-about-dark-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.s-about-dark-dots .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
}
.s-about-dark-text {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

/* Old about (kept for subpages) */
.s-about {
    padding: clamp(8rem, 15vh, 14rem) clamp(1.5rem, 5vw, 8rem);
    display: flex; justify-content: center;
    position: relative;
}
.s-about-inner { max-width: 750px; }
.s-about-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.s-about-text {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    color: var(--text-mid); line-height: 1.85;
}

/* ── SECTION: HOW WE WORK ────────────────────────────────── */
.s-howwork {
    background: #0a0a0a;
    color: #fff;
    padding: clamp(4rem, 8vh, 7rem) clamp(2rem, 6vw, 8rem);
    border-bottom: 9px solid #fff;
    position: relative;
    overflow: hidden;
}
.s-howwork::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 55%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(120, 140, 255, 0.025) 0%, transparent 65%);
    pointer-events: none;
}
.s-howwork-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.s-howwork-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: clamp(3.5rem, 7vw, 5rem);
}

/* Horizontal flow */
.hw-flow {
    display: flex;
    position: relative;
    gap: 0;
}
/* Connecting line behind circles (static base) */
.hw-flow::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Individual step */
.hw-flow-step {
    flex: 1;
    text-align: center;
    padding: 0 clamp(0.5rem, 1.5vw, 1.5rem);
    position: relative;
}

/* Number circle */
.hw-flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--font-sans);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 14px rgba(255, 255, 255, 0.15);
    margin: 0 auto 1.8rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
    animation: circlePulse 2.8s ease-in-out infinite;
}
/* Wave delay for each step */
.hw-flow-step:nth-child(1) .hw-flow-num { animation-delay: 0s; }
.hw-flow-step:nth-child(2) .hw-flow-num { animation-delay: 0.4s; }
.hw-flow-step:nth-child(3) .hw-flow-num { animation-delay: 0.8s; }
.hw-flow-step:nth-child(4) .hw-flow-num { animation-delay: 1.2s; }
.hw-flow-step:nth-child(5) .hw-flow-num { animation-delay: 1.6s; }

@keyframes circlePulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255,255,255,0), 0 0 0 rgba(255,255,255,0);
        border-color: rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow: 0 0 15px rgba(255,255,255,0.15), 0 0 30px rgba(255,255,255,0.05);
        border-color: rgba(255, 255, 255, 0.55);
    }
}

/* Hover - circle enlarges + bright glow */
.hw-flow-step:hover .hw-flow-num {
    border-color: rgba(255, 255, 255, 1);
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(255,255,255,0.35), 0 0 50px rgba(255,255,255,0.15), 0 0 80px rgba(255,255,255,0.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    animation: none;
}

/* Step name */
.hw-flow-name {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    transition: text-shadow 0.4s, transform 0.4s;
}
/* Hover - text highlights */
.hw-flow-step:hover .hw-flow-name {
    text-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 16px rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* Step description */
.hw-flow-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    transition: color 0.4s, text-shadow 0.4s;
}
.hw-flow-step:hover .hw-flow-desc {
    color: rgba(255,255,255,0.85);
    text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

/* ── SECTION: SHOWCASE ───────────────────────────────────── */
.s-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3px;
}
.showcase-item {
    position: relative;
    height: clamp(350px, 55vh, 650px);
    background-size: cover; background-position: center;
    overflow: hidden;
    cursor: pointer;
}
.showcase-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.6s ease;
}
.showcase-item:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%); }
.showcase-item:hover { transform: scale(1.01); }
.showcase-item { transition: transform 0.6s var(--ease); }
.showcase-overlay {
    position: absolute; bottom: 2.5rem; left: 2.5rem;
    z-index: 1;
}
.showcase-tag {
    font-size: 0.7rem; letter-spacing: 0.25em; font-weight: 600;
    text-transform: uppercase; color: rgba(255,255,255,0.7);
    display: block; margin-bottom: 0.5rem;
}
.showcase-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300; color: #fff;
}

/* ── SECTION: SERVICES ───────────────────────────────────── */
.s-services {
    background: #0a0a0a;
    color: #fff;
    padding: clamp(4rem, 8vh, 7rem) clamp(2rem, 6vw, 8rem);
    position: relative;
    overflow: hidden;
}
.s-services::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 20%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(120, 140, 255, 0.02) 0%, transparent 65%);
    pointer-events: none;
}
.s-services-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.s-services-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: #fff;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.s-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.svc-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.8rem, 2.5vw, 2.5rem);
    background: #0a0a0a;
    transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    text-decoration: none;
}
/* Glow background on hover (unique per card via ::before) */
.svc-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: 0;
}
.svc-card:hover::before { opacity: 1; }
/* Pink glow for all cards */
.svc-card::before { background: radial-gradient(circle, rgba(255,100,170,0.06) 0%, transparent 60%); }

.svc-card:hover {
    background: #0f0f0f;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.svc-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,100,170,0.2), 0 0 30px rgba(255,100,170,0.05);
}

.svc-num {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 14px rgba(255, 255, 255, 0.15);
    margin-bottom: 1.8rem;
    transition: color 0.4s, text-shadow 0.4s, transform 0.4s;
    position: relative;
    z-index: 1;
}
.svc-card:hover .svc-num {
    color: #ff6aaa;
    text-shadow: 0 0 10px rgba(255,100,170,0.7), 0 0 25px rgba(255,100,170,0.3);
}

.svc-name {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    transition: text-shadow 0.4s;
    position: relative;
    z-index: 1;
}
.svc-card:hover .svc-name {
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.svc-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
    flex: 1;
    transition: color 0.4s;
    position: relative;
    z-index: 1;
}
.svc-card:hover .svc-desc {
    color: rgba(255,255,255,0.7);
}
.svc-arrow {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1.5rem;
    transition: transform 0.4s var(--ease), color 0.4s, text-shadow 0.4s;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2), 0 0 12px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    animation: arrowPulse 2s ease-in-out infinite;
}
/* Wave delay for arrow pulsation */
.svc-card:nth-child(1) .svc-arrow { animation-delay: 0s; }
.svc-card:nth-child(2) .svc-arrow { animation-delay: 0.25s; }
.svc-card:nth-child(3) .svc-arrow { animation-delay: 0.5s; }
.svc-card:nth-child(4) .svc-arrow { animation-delay: 0.75s; }
.svc-card:nth-child(5) .svc-arrow { animation-delay: 1.0s; }
.svc-card:nth-child(6) .svc-arrow { animation-delay: 1.25s; }

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.svc-card:hover .svc-arrow {
    animation: none;
    transform: translateX(10px);
    color: #ff6aaa;
    text-shadow: 0 0 10px rgba(255,100,170,0.6), 0 0 22px rgba(255,100,170,0.3);
}

/* ── SECTION: PROCESS ────────────────────────────────────── */
.s-process {
    padding: clamp(8rem, 14vh, 14rem) clamp(1.5rem, 5vw, 6rem);
    max-width: 900px; margin: 0 auto;
}
.s-process-head { margin-bottom: 4rem; }
.s-process-steps { display: flex; flex-direction: column; gap: 0; }
.proc-step {
    display: flex; gap: 2.5rem; align-items: flex-start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s;
}
.proc-step:hover { border-color: var(--line-strong); }
.proc-step:first-child { border-top: 1px solid var(--line); }
.proc-num {
    font-family: var(--font-serif);
    font-size: 2.5rem; font-weight: 300;
    color: rgba(255,255,255,0.12); min-width: 3.5rem;
    line-height: 1;
    transition: color 0.3s;
}
.proc-step:hover .proc-num { color: var(--text-mid); }
.proc-name {
    font-family: var(--font-serif);
    font-size: 1.4rem; font-weight: 400;
    margin-bottom: 0.5rem;
}
.proc-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ── SECTION: GUARANTEES ─────────────────────────────────── */
.s-guarantees {
    padding: clamp(8rem, 14vh, 14rem) clamp(1.5rem, 5vw, 6rem);
    background: var(--bg-alt);
    position: relative;
}
.s-guarantees::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.s-guarantees-inner { max-width: 1100px; margin: 0 auto; }
.s-guarantees-head { margin-bottom: 4rem; }
.s-guarantees-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}
.s-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}
.guar-item {
    padding: 2rem;
    border: 1px solid var(--line);
    transition: border-color 0.4s, transform 0.4s;
}
.guar-item:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}
.guar-title {
    font-family: var(--font-sans);
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 0.75rem;
}
.guar-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ── SECTION: QUOTE ──────────────────────────────────────── */
.s-quote {
    padding: clamp(8rem, 15vh, 16rem) clamp(1.5rem, 8vw, 12rem);
    display: flex; justify-content: center; text-align: center;
    position: relative;
}
.s-quote::before {
    content: '«»'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: clamp(15rem, 25vw, 30rem);
    color: rgba(255,255,255,0.02);
    pointer-events: none; line-height: 1;
}
.s-quote-inner { max-width: 750px; position: relative; z-index: 1; }
.s-quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 300; font-style: italic;
    line-height: 1.3; color: var(--text);
    margin-bottom: 2rem;
}
.s-quote-author { display: flex; flex-direction: column; gap: 0.25rem; }
.s-quote-name {
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--text);
}
.s-quote-role {
    font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-dim);
}

/* ── SECTION: CTA ────────────────────────────────────────── */
.s-cta {
    padding: clamp(8rem, 14vh, 14rem) clamp(1.5rem, 5vw, 6rem);
    text-align: center;
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.s-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.s-cta-inner { max-width: 650px; margin: 0 auto; position: relative; z-index: 1; }
.s-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 300; margin-bottom: 1rem;
}
.s-cta-title em { font-style: italic; }
.s-cta-sub {
    font-size: 0.95rem; color: var(--text-mid);
    margin-bottom: 2.5rem;
}
.s-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center;
    padding: 1rem 2.5rem;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    transition: all 0.35s ease;
}
.btn-primary {
    background: var(--text);
    color: var(--bg);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(255,255,255,0.15); }
.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text);
    background: transparent;
}
.btn-secondary:hover { border-color: var(--text); background: rgba(255,255,255,0.05); transform: translateY(-3px); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer-new {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff;
    padding: clamp(2.5rem, 5vh, 4rem) clamp(2rem, 6vw, 8rem) 2rem;
    position: relative;
    z-index: 1;
}
.footer-new-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-logo-text {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    display: block;
}
.footer-tg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}
.footer-tg:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-links { display: flex; gap: clamp(2.5rem, 5vw, 5rem); }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.5rem;
}
.footer-col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}
.footer-col a:hover { color: #fff; }
.footer-new-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* Old footer (subpages) */
.footer {
    padding: 2rem clamp(1.5rem, 5vw, 6rem);
    border-top: 1px solid var(--line);
}
.footer--dark {
    background: #000;
    border-top: none;
}
.footer--dark .footer-copy { color: rgba(255,255,255,0.4); }
.footer--dark .logo-bracket { color: rgba(255,255,255,0.3); }
.footer--dark .status-dot { background: rgba(255,255,255,0.4); }
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1100px; margin: 0 auto;
}
.footer-logo { display: flex; align-items: center; gap: 0.25rem; }
.footer-copy {
    display: flex; align-items: center; gap: 1.5rem;
    font-size: 0.75rem; color: var(--text-dim);
}
.footer-status { display: flex; align-items: center; gap: 0.5rem; }
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--text-mid);
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal-section {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-section.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* ── CHAT WIDGET ─────────────────────────────────────────── */
.chat-widget { display: none; }
.chat-toggle {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--text);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: transform 0.3s;
}
.chat-toggle:hover { transform: scale(1.05); }
.chat-toggle svg { width: 22px; height: 22px; color: var(--bg); }
.chat-toggle .close-icon { display: none; }
.chat-widget.open .chat-toggle .chat-icon { display: none; }
.chat-widget.open .chat-toggle .close-icon { display: block; }
.chat-badge {
    position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #111; color: #fff;
    font-size: 0.65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
}
.chat-widget.open .chat-badge { display: none; }

.chat-window {
    position: absolute; bottom: 70px; right: 0;
    width: 340px; height: 420px;
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    display: none; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.chat-widget.open .chat-window { display: flex; }

.chat-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
}
.chat-status { display: flex; align-items: center; gap: 0.5rem; }
.status-indicator {
    width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim);
}
.status-indicator.online { background: var(--text); }
.status-text, .chat-title { font-size: 0.8rem; color: var(--text-mid); }
.chat-title { font-weight: 500; }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.message { display: flex; gap: 0.5rem; }
.message-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--text); color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.message-content p {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    padding: 0.6rem 0.9rem; border-radius: 10px;
    font-size: 0.8rem; line-height: 1.5; color: var(--text);
}
.message-time { font-size: 0.65rem; color: var(--text-dim); margin-top: 0.25rem; display: block; }
.message.user { flex-direction: row-reverse; }
.message.user .message-content p {
    background: var(--text); color: var(--bg); border-color: transparent;
}
.message.user .message-avatar { background: var(--text-dim); }

.quick-replies { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.quick-reply {
    padding: 0.4rem 0.8rem; font-size: 0.7rem;
    border: 1px solid var(--line-strong); border-radius: 20px;
    color: var(--text-mid); transition: all 0.3s;
}
.quick-reply:hover { border-color: var(--text); color: var(--text); background: rgba(0,0,0,0.03); }
.qr-icon { display: none; }

.chat-input-area {
    display: flex; gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--line);
}
.chat-input {
    flex: 1; background: var(--bg-alt);
    border: 1px solid var(--line); border-radius: 8px;
    padding: 0.6rem 0.8rem; font-size: 0.8rem;
    color: var(--text); outline: none;
    font-family: var(--font-sans);
}
.chat-input:focus { border-color: var(--line-strong); }
.chat-input::placeholder { color: var(--text-dim); }
.chat-send {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); transition: color 0.3s;
}
.chat-send:hover { color: var(--text); }
.chat-send svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════
   SUBPAGES - Common Elements
   ═══════════════════════════════════════════════════════════ */

/* Page Hero (subpage banner) */
.page-hero {
    padding: 6px clamp(1.5rem, 4vw, 4rem) clamp(2rem, 4vh, 3rem);
    margin-top: 0;
    text-align: left;
    background: #fff;
}
.page-hero-content { max-width: none; margin: 0; }
.page-title-img {
    display: block;
    max-width: clamp(187px, 30vw, 367px);
    height: auto;
}
.page-tag {
    display: none;
}
.page-tag span {
    font-size: 0.7rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-dim);
}
.tag-line { width: 30px; height: 1px; background: var(--text-dim); }
.page-title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-bottom: 0;
    line-height: 1;
}
.page-subtitle { display: none; }

/* ── Style filter ──────────────────────────────────────── */
.style-filter {
    display: flex;
    gap: 0.5rem;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}
.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.4rem;
    border: 1px solid #ddd;
    border-radius: 100px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.filter-btn:hover {
    border-color: #0a0a0a;
    color: #0a0a0a;
}
.filter-btn.active {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: #fff;
}

/* CTA Section (subpages) */
.cta-section {
    padding: clamp(4rem, 8vh, 8rem) clamp(1.5rem, 5vw, 6rem);
    text-align: center;
    border-top: 1px solid var(--line);
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400; margin-bottom: 0.75rem;
}
.cta-subtitle { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-button {
    display: inline-flex; align-items: center;
    padding: 0.85rem 2rem;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
    transition: all 0.3s;
}
.cta-button.primary { background: var(--text); color: var(--bg); }
.cta-button.primary:hover { opacity: 0.85; transform: translateY(-2px); }
.cta-button.secondary {
    border: 1px solid var(--text-mid); color: var(--text); background: transparent;
}
.cta-button.secondary:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }

/* Dark CTA */
.cta-section--dark {
    background: #000;
    border-top: none;
}
.cta-section--dark .cta-title { color: #fff; font-family: var(--font-sans); font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.cta-section--dark .cta-subtitle { color: rgba(255,255,255,0.5); }
.cta-section--dark .cta-button.primary { background: #ff2d78; color: #fff; }
.cta-section--dark .cta-button.primary:hover { opacity: 0.85; }
.cta-section--dark .cta-button.secondary { border-color: rgba(255,255,255,0.25); color: #fff; }
.cta-section--dark .cta-button.secondary:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ── Page-level dark mode ── */
body.page-dark {
    background: #000;
    color: #fff;
}
body.page-dark .preloader {
    background: #000;
}
body.page-dark .preloader-logo,
body.page-dark .preloader-text {
    color: #fff;
}
body.page-dark .preloader-bracket { color: rgba(255,255,255,0.4); }
body.page-dark .preloader-status { color: rgba(255,255,255,0.5); }
body.page-dark .progress-bar { background: #fff; }
body.page-dark .preloader-progress { background: rgba(255,255,255,0.15); }
body.page-dark .scroll-progress { background: #ff2d78; }
/* Dark header */
.header--dark {
    background: #000 !important;
}
.header--dark .nav-link {
    color: #fff;
}
.header--dark .nav-link::after {
    background: #fff;
}
.header--dark .header-title-text {
    color: rgba(255,255,255,0.1);
}
/* Dark calculator overrides */
body.page-dark .calculator {
    background: transparent;
}
body.page-dark .calc-label {
    color: #fff;
}
body.page-dark .calc-btn {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
}
body.page-dark .calc-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
body.page-dark .calc-btn.active {
    border-color: #ff2d78;
    color: #fff;
    background: rgba(255, 45, 120, 0.08);
}
body.page-dark .calc-checkbox {
    border-color: rgba(255,255,255,0.15);
}
body.page-dark .calc-checkbox:hover {
    border-color: rgba(255,255,255,0.4);
}
body.page-dark .checkbox-title {
    color: #fff;
}
body.page-dark .checkbox-hint {
    color: rgba(255,255,255,0.4);
}
body.page-dark .calc-hint {
    color: rgba(255,255,255,0.4);
}
body.page-dark .checkmark {
    border-color: rgba(255,255,255,0.3);
}
body.page-dark .calc-checkbox input:checked ~ .checkmark {
    background: #ff2d78;
    border-color: #ff2d78;
}
body.page-dark .calc-result {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
body.page-dark .result-label {
    color: rgba(255,255,255,0.5);
}
body.page-dark .result-from {
    color: rgba(255,255,255,0.4);
}
body.page-dark .result-number {
    color: #fff;
}
body.page-dark .result-currency {
    color: rgba(255,255,255,0.6);
}
body.page-dark .result-note {
    color: rgba(255,255,255,0.35);
}
body.page-dark .result-cta {
    background: #ff2d78;
    color: #fff;
}
body.page-dark .result-cta:hover {
    opacity: 0.85;
}
/* Dark FAQ */
body.page-dark .faq-item {
    border-color: rgba(255,255,255,0.1);
}
body.page-dark .faq-question {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: none;
    border: none;
    cursor: pointer;
}
body.page-dark .faq-icon {
    color: #ff2d78;
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}
body.page-dark .faq-answer p {
    color: #ff6b9d;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.8;
}
body.page-dark .section-title {
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
body.page-dark .section-subtitle {
    color: rgba(255,255,255,0.5);
    font-family: var(--font-sans);
}

/* ── Dark project subpage overrides ── */
body.page-dark .projects {
    padding-top: 0;
}
body.page-dark .projects-grid {
    gap: 1px;
}
body.page-dark .project-card {
    background: #0a0a0a;
    border-color: rgba(255,255,255,0.06);
    color: #fff;
}
body.page-dark .project-card:hover {
    background: #111;
    border-color: rgba(255,255,255,0.12);
}
body.page-dark .card-index {
    color: rgba(255,255,255,0.3);
}
body.page-dark .card-title {
    color: #fff;
}
body.page-dark .card-desc {
    color: rgba(255,255,255,0.5);
}
body.page-dark .tech-tag {
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
}
body.page-dark .card-success {
    display: flex;
}
body.page-dark .success-stat {
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}
body.page-dark .style-filter {
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    margin-bottom: 0.5rem;
}
body.page-dark .filter-btn {
    background: transparent;
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
}
body.page-dark .filter-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
body.page-dark .filter-btn.active {
    background: #fff;
    border-color: #fff;
    color: #000;
}
body.page-dark .cta-section {
    border-top: none;
}
body.page-dark .cta-title {
    color: #fff;
}
body.page-dark .cta-subtitle {
    color: rgba(255,255,255,0.5);
}
body.page-dark .cta-button.primary {
    background: #ff2d78;
    color: #fff;
}
body.page-dark .cta-button.secondary {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
body.page-dark .cta-button.secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.06);
}

/* ═══════════ Bento Grid - Sites subpage ═══════════ */
.bento-section--sub {
    padding-top: clamp(5rem, 10vh, 8rem);
}
.bento-grid--sites {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 12px;
}
/* ── Top 5 cards: V1-V5 (video + photo) ── */
.bento-v1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-v2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.bento-v3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.bento-v4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.bento-v5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.bento-v1 .bento-card { min-height: 500px; }
/* ── Bottom 9 cards: S1-S9 ── */
.bento-s1 { grid-column: 1 / 3; grid-row: 3 / 5; }
.bento-s2 { grid-column: 3 / 5; grid-row: 3 / 4; }
.bento-s3 { grid-column: 3 / 5; grid-row: 4 / 5; }
.bento-s4 { grid-column: 4 / 5; grid-row: 4 / 5; }
/* When S4 becomes visible (Load More), shrink S3 back to 1 col */
.bento-grid--sites:has(.bento-s4.show) .bento-s3 { grid-column: 3 / 4; }
.bento-s5 { grid-column: 1 / 3; grid-row: 5 / 6; }
.bento-s6 { grid-column: 3 / 5; grid-row: 5 / 6; }
.bento-s7 { grid-column: 1 / 2; grid-row: 6 / 7; }
.bento-s8 { grid-column: 2 / 4; grid-row: 6 / 7; }
.bento-s9 { grid-column: 4 / 5; grid-row: 6 / 7; }
/* ── Bots / Mobile / Auto page: no video cards, grid starts at row 1 ── */
body.page-bots .bento-s1, body.page-mobile .bento-s1, body.page-auto .bento-s1 { grid-column: 1 / 3; grid-row: 1 / 3; }
body.page-bots .bento-s2, body.page-mobile .bento-s2, body.page-auto .bento-s2 { grid-column: 3 / 5; grid-row: 1 / 2; }
body.page-bots .bento-s3, body.page-mobile .bento-s3, body.page-auto .bento-s3 { grid-column: 3 / 4; grid-row: 2 / 3; }
body.page-bots .bento-s4, body.page-mobile .bento-s4, body.page-auto .bento-s4 { grid-column: 4 / 5; grid-row: 2 / 3; }
body.page-bots .bento-s5, body.page-mobile .bento-s5, body.page-auto .bento-s5 { grid-column: 1 / 3; grid-row: 3 / 4; }
body.page-bots .bento-s6, body.page-mobile .bento-s6, body.page-auto .bento-s6 { grid-column: 3 / 5; grid-row: 3 / 4; }
body.page-bots .bento-s7, body.page-mobile .bento-s7, body.page-auto .bento-s7 { grid-column: 1 / 2; grid-row: 4 / 5; }
body.page-bots .bento-s8, body.page-mobile .bento-s8, body.page-auto .bento-s8 { grid-column: 2 / 3; grid-row: 4 / 5; }
body.page-bots .bento-s9, body.page-mobile .bento-s9, body.page-auto .bento-s9 { grid-column: 3 / 5; grid-row: 4 / 5; }
/* Auto page extra cards (A10-A14) */
body.page-auto .bento-s10 { grid-column: 1 / 3; grid-row: 5 / 6; }
body.page-auto .bento-s11 { grid-column: 3 / 5; grid-row: 5 / 6; }
body.page-auto .bento-s12 { grid-column: 1 / 2; grid-row: 6 / 7; }
body.page-auto .bento-s13 { grid-column: 2 / 3; grid-row: 6 / 7; }
body.page-auto .bento-s14 { grid-column: 3 / 5; grid-row: 6 / 7; }
.bento-s1 .bento-card { min-height: 480px; }

/* ── Video card styles ── */
.bento-card--video { overflow: hidden; }
.bento-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s cubic-bezier(.23,1,.32,1);
}
.bento-card--video:hover .bento-card-video {
    transform: scale(1.03);
}
/* Video badge */
.bento-video-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 5;
    display: flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    pointer-events: none;
}
.bento-video-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #FF2F8B;
    box-shadow: 0 0 6px #FF2F8B;
    animation: videoPulse 1.8s ease-in-out infinite;
}
@keyframes videoPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #FF2F8B; }
    50% { opacity: 0.5; box-shadow: 0 0 12px #FF2F8B, 0 0 20px rgba(255,47,139,0.3); }
}
/* Sites page: video hover glow */
body.page-sites .bento-card--video:hover,
body.page-bots .bento-card--video:hover,
body.page-mobile .bento-card--video:hover,
body.page-auto .bento-card--video:hover {
    border-color: rgba(255,47,139,0.3);
    box-shadow:
        0 0 20px rgba(255,47,139,0.15),
        0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
body.page-sites .bento-card--video .bento-card-video,
body.page-bots .bento-card--video .bento-card-video,
body.page-mobile .bento-card--video .bento-card-video,
body.page-auto .bento-card--video .bento-card-video {
    filter: none;
}
body.page-sites .bento-card--video:hover .bento-card-video,
body.page-bots .bento-card--video:hover .bento-card-video,
body.page-mobile .bento-card--video:hover .bento-card-video,
body.page-auto .bento-card--video:hover .bento-card-video {
    filter: none;
    transform: scale(1.04);
}
body.page-sites .bento-card--video .bento-card-overlay,
body.page-bots .bento-card--video .bento-card-overlay,
body.page-mobile .bento-card--video .bento-card-overlay,
body.page-auto .bento-card--video .bento-card-overlay {
    opacity: 0;
}
body.page-sites .bento-card--video:hover .bento-card-overlay,
body.page-bots .bento-card--video:hover .bento-card-overlay,
body.page-mobile .bento-card--video:hover .bento-card-overlay,
body.page-auto .bento-card--video:hover .bento-card-overlay {
    opacity: 0;
}
body.page-sites .bento-card--video .bento-card-glow,
body.page-bots .bento-card--video .bento-card-glow,
body.page-mobile .bento-card--video .bento-card-glow,
body.page-auto .bento-card--video .bento-card-glow {
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,47,139,0.12), transparent 40%);
}
/* Video badge on dark bg */
body.page-sites .bento-video-badge,
body.page-bots .bento-video-badge,
body.page-mobile .bento-video-badge,
body.page-auto .bento-video-badge {
    background: rgba(0,0,0,0.7);
    border-color: rgba(255,47,139,0.25);
}

/* ── Responsive: tablet ── */
@media (max-width: 1000px) {
    .bento-grid--sites {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-v1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .bento-v2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .bento-v3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .bento-v4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .bento-v5 { grid-column: 2 / 3; grid-row: 3 / 4; }
    .bento-s1 { grid-column: 1 / 3; grid-row: 4 / 5; }
    .bento-s2 { grid-column: 1 / 2; grid-row: 5 / 6; }
    .bento-s3 { grid-column: 2 / 3; grid-row: 5 / 6; }
    .bento-s4 { grid-column: 1 / 2; grid-row: 6 / 7; }
    .bento-s5 { grid-column: 2 / 3; grid-row: 6 / 7; }
    .bento-s6 { grid-column: 1 / 3; grid-row: 7 / 8; }
    .bento-s7 { grid-column: 1 / 2; grid-row: 8 / 9; }
    .bento-s8 { grid-column: 2 / 3; grid-row: 8 / 9; }
    .bento-s9 { grid-column: 1 / 3; grid-row: 9 / 10; }
    .bento-v1 .bento-card { min-height: 340px; }
    .bento-s1 .bento-card { min-height: 340px; }
    /* Bots/Mobile/Auto page tablet overrides (no video cards) */
    body.page-bots .bento-s1, body.page-mobile .bento-s1, body.page-auto .bento-s1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    body.page-bots .bento-s2, body.page-mobile .bento-s2, body.page-auto .bento-s2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    body.page-bots .bento-s3, body.page-mobile .bento-s3, body.page-auto .bento-s3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    body.page-bots .bento-s4, body.page-mobile .bento-s4, body.page-auto .bento-s4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    body.page-bots .bento-s5, body.page-mobile .bento-s5, body.page-auto .bento-s5 { grid-column: 2 / 3; grid-row: 3 / 4; }
    body.page-bots .bento-s6, body.page-mobile .bento-s6, body.page-auto .bento-s6 { grid-column: 1 / 3; grid-row: 4 / 5; }
    body.page-bots .bento-s7, body.page-mobile .bento-s7, body.page-auto .bento-s7 { grid-column: 1 / 3; grid-row: 5 / 6; }
    body.page-bots .bento-s8, body.page-mobile .bento-s8, body.page-auto .bento-s8 { grid-column: 1 / 2; grid-row: 6 / 7; }
    body.page-bots .bento-s9, body.page-mobile .bento-s9, body.page-auto .bento-s9 { grid-column: 2 / 3; grid-row: 6 / 7; }
    /* Auto page extra cards tablet */
    body.page-auto .bento-s10 { grid-column: 1 / 3; grid-row: 7 / 8; }
    body.page-auto .bento-s11 { grid-column: 1 / 2; grid-row: 8 / 9; }
    body.page-auto .bento-s12 { grid-column: 2 / 3; grid-row: 8 / 9; }
    body.page-auto .bento-s13 { grid-column: 1 / 2; grid-row: 9 / 10; }
    body.page-auto .bento-s14 { grid-column: 2 / 3; grid-row: 9 / 10; }
}
/* ── Responsive: mobile ── */
@media (max-width: 600px) {
    .bento-grid--sites {
        grid-template-columns: 1fr;
    }
    .bento-v1, .bento-v2, .bento-v3, .bento-v4, .bento-v5,
    .bento-s1, .bento-s2, .bento-s3, .bento-s4, .bento-s5,
    .bento-s6, .bento-s7, .bento-s8, .bento-s9 {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    /* Override body.page-* specificity for all sub-pages */
    body.page-bots .bento-s1, body.page-bots .bento-s2, body.page-bots .bento-s3,
    body.page-bots .bento-s4, body.page-bots .bento-s5, body.page-bots .bento-s6,
    body.page-bots .bento-s7, body.page-bots .bento-s8, body.page-bots .bento-s9,
    body.page-mobile .bento-s1, body.page-mobile .bento-s2, body.page-mobile .bento-s3,
    body.page-mobile .bento-s4, body.page-mobile .bento-s5, body.page-mobile .bento-s6,
    body.page-mobile .bento-s7, body.page-mobile .bento-s8, body.page-mobile .bento-s9,
    body.page-auto .bento-s1, body.page-auto .bento-s2, body.page-auto .bento-s3,
    body.page-auto .bento-s4, body.page-auto .bento-s5, body.page-auto .bento-s6,
    body.page-auto .bento-s7, body.page-auto .bento-s8, body.page-auto .bento-s9,
    body.page-auto .bento-s10, body.page-auto .bento-s11, body.page-auto .bento-s12,
    body.page-auto .bento-s13, body.page-auto .bento-s14,
    body.page-sites .bento-s1, body.page-sites .bento-s2, body.page-sites .bento-s3,
    body.page-sites .bento-s4, body.page-sites .bento-s5, body.page-sites .bento-s6,
    body.page-sites .bento-s7, body.page-sites .bento-s8, body.page-sites .bento-s9 {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    .bento-v1 .bento-card,
    .bento-s1 .bento-card { min-height: 280px; }
}

/* ── Mobile apps grid (phone cards) ── */
.bento-grid--phones {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 2rem 1rem;
}
.bento-grid--phones .tilt-wrap {
    flex: 0 0 auto;
}
@media (max-width: 1000px) {
    .bento-grid--phones {
        gap: 2.5rem;
    }
}
@media (max-width: 700px) {
    .bento-grid--phones {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
}

/* ── Phone-shaped card ── */
.bento-card--phone {
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}
.bento-card--phone:hover {
    border: none;
    box-shadow: none;
}

/* Phone frame inside card */
.phone-card-frame {
    position: relative;
    width: 280px;
    border: 2.5px solid rgba(255,255,255,0.12);
    border-radius: 40px; padding: 0;
    background: transparent;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.7),
        0 0 40px rgba(108,99,255,0.08);
    transition: box-shadow 0.5s, border-color 0.5s, transform 0.5s;
    z-index: 2;
}
.bento-card--phone:hover .phone-card-frame {
    border-color: rgba(108,99,255,0.35);
    transform: translateY(-6px);
    box-shadow:
        0 30px 90px rgba(0,0,0,0.7),
        0 0 80px rgba(108,99,255,0.15),
        0 0 120px rgba(108,99,255,0.06);
}
.phone-card-notch {
    display: none;
}
.phone-card-screen {
    width: 100%; border-radius: 0; overflow: hidden;
    background: #000;
}
.phone-card-video {
    width: 100%; display: block;
}
.phone-card-home {
    display: none;
}

/* Responsive: phone card */
@media (max-width: 600px) {
    .phone-card-frame {
        width: 240px; border-radius: 32px;
    }
    .phone-card-screen { border-radius: 0; }
}

/* ═══════════ Page-sites: black bg, pink geometric accents ═══════════ */
body.page-sites,
body.page-bots,
body.page-mobile {
    background: #000;
    color: #fff;
}
body.page-auto {
    background: #fff;
    color: #1a1a1a;
}
body.page-sites .preloader,
body.page-bots .preloader,
body.page-mobile .preloader { background: #000; }
body.page-sites .preloader-logo,
body.page-bots .preloader-logo,
body.page-mobile .preloader-logo,
body.page-sites .preloader-text,
body.page-bots .preloader-text,
body.page-mobile .preloader-text { color: #fff; }
body.page-sites .preloader-bracket,
body.page-bots .preloader-bracket,
body.page-mobile .preloader-bracket { color: rgba(255,255,255,0.4); }
body.page-sites .preloader-status,
body.page-bots .preloader-status,
body.page-mobile .preloader-status { color: rgba(255,255,255,0.5); }
body.page-sites .progress-bar,
body.page-bots .progress-bar,
body.page-mobile .progress-bar { background: #fff; }
body.page-sites .preloader-progress,
body.page-bots .preloader-progress,
body.page-mobile .preloader-progress { background: rgba(255,255,255,0.15); }
body.page-sites .scroll-progress,
body.page-bots .scroll-progress,
body.page-mobile .scroll-progress,
body.page-auto .scroll-progress { background: #FF2F8B; }
body.page-sites .bento-section,
body.page-bots .bento-section,
body.page-mobile .bento-section {
    background: #000;
    position: relative;
    overflow: hidden;
}
body.page-auto .bento-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}
/* ── Bento grid above deco ── */
body.page-sites .bento-grid--sites,
body.page-bots .bento-grid--sites,
body.page-mobile .bento-grid--sites,
body.page-auto .bento-grid--sites {
    position: relative;
    z-index: 2;
}
/* Auto page: white cards with subtle border */
body.page-auto .bento-card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-radius: 24px;
    transition: box-shadow 0.5s cubic-bezier(.23,1,.32,1), border-color 0.5s, transform 0.5s cubic-bezier(.23,1,.32,1);
}
body.page-auto .bento-card:hover {
    border-color: rgba(255,47,139,0.3);
    box-shadow:
        0 0 20px rgba(255,47,139,0.15),
        0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
/* ── Background deco figures ── */
.deco-fig {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    filter: blur(3px);
    opacity: 0.35;
    transition: opacity 0.5s;
}
/* Figures - floating animation, each unique path */
.deco-fig--clock {
    top: 3%; left: 2%;
    width: clamp(140px, 14vw, 240px);
    filter: blur(3px) drop-shadow(0 0 25px rgba(255, 47, 139, 0.6)) drop-shadow(0 0 60px rgba(255, 47, 139, 0.3));
    animation: floatClock 18s ease-in-out infinite;
}
.deco-fig--rocket {
    top: 8%; right: 3%;
    width: clamp(130px, 13vw, 220px);
    filter: blur(3px) drop-shadow(0 0 25px rgba(255, 47, 139, 0.6)) drop-shadow(0 0 60px rgba(255, 47, 139, 0.3));
    animation: floatRocket 22s ease-in-out infinite;
}
.deco-fig--phone {
    bottom: 18%; left: 1%;
    width: clamp(130px, 13vw, 220px);
    filter: blur(2.5px) drop-shadow(0 0 25px rgba(255, 47, 139, 0.6)) drop-shadow(0 0 60px rgba(255, 47, 139, 0.3));
    animation: floatPhone 20s ease-in-out infinite;
}
.deco-fig--chest {
    bottom: 5%; right: 2%;
    width: clamp(150px, 15vw, 260px);
    filter: blur(3px) drop-shadow(0 0 25px rgba(255, 47, 139, 0.6)) drop-shadow(0 0 60px rgba(255, 47, 139, 0.3));
    animation: floatChest 24s ease-in-out infinite;
}
/* Each figure has a unique floating path */
@keyframes floatClock {
    0%   { transform: translate(0, 0) rotate(-8deg); }
    25%  { transform: translate(30px, 20px) rotate(-3deg); }
    50%  { transform: translate(-15px, 40px) rotate(-10deg); }
    75%  { transform: translate(20px, -10px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(-8deg); }
}
@keyframes floatRocket {
    0%   { transform: translate(0, 0) rotate(10deg); }
    20%  { transform: translate(-25px, 30px) rotate(5deg); }
    40%  { transform: translate(15px, -20px) rotate(14deg); }
    60%  { transform: translate(-35px, -10px) rotate(8deg); }
    80%  { transform: translate(10px, 25px) rotate(12deg); }
    100% { transform: translate(0, 0) rotate(10deg); }
}
@keyframes floatPhone {
    0%   { transform: translate(0, 0) rotate(-5deg); }
    30%  { transform: translate(25px, -30px) rotate(-2deg); }
    60%  { transform: translate(-20px, -15px) rotate(-8deg); }
    100% { transform: translate(0, 0) rotate(-5deg); }
}
@keyframes floatChest {
    0%   { transform: translate(0, 0) rotate(6deg); }
    20%  { transform: translate(-20px, -25px) rotate(3deg); }
    45%  { transform: translate(30px, -10px) rotate(9deg); }
    70%  { transform: translate(-10px, 20px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(6deg); }
}
/* ── Pink sparkle stars ── */
.deco-star {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    color: #FF2F8B;
    filter: blur(1px);
    text-shadow:
        0 0 8px #FF2F8B,
        0 0 20px rgba(255,47,139,0.6),
        0 0 40px rgba(255,47,139,0.3);
    opacity: 0.6;
    font-size: 14px;
}
/* Scatter across both sides */
.deco-star--1  { top: 6%;  left: 8%;  font-size: 10px; opacity: 0.4; animation: twinkle1 4s ease-in-out infinite; }
.deco-star--2  { top: 14%; right: 6%; font-size: 16px; opacity: 0.7; animation: twinkle2 5s ease-in-out infinite; }
.deco-star--3  { top: 22%; left: 4%;  font-size: 8px;  opacity: 0.35; animation: twinkle3 6s ease-in-out infinite; }
.deco-star--4  { top: 30%; right: 4%; font-size: 12px; opacity: 0.5; animation: twinkle1 4.5s ease-in-out infinite 0.5s; }
.deco-star--5  { top: 40%; left: 6%;  font-size: 18px; opacity: 0.65; animation: twinkle2 5.5s ease-in-out infinite 1s; }
.deco-star--6  { top: 48%; right: 8%; font-size: 10px; opacity: 0.4; animation: twinkle3 4s ease-in-out infinite 0.3s; }
.deco-star--7  { top: 58%; left: 3%;  font-size: 14px; opacity: 0.55; animation: twinkle1 6s ease-in-out infinite 1.5s; }
.deco-star--8  { top: 65%; right: 5%; font-size: 20px; opacity: 0.7; animation: twinkle2 4.8s ease-in-out infinite 0.8s; }
.deco-star--9  { top: 75%; left: 7%;  font-size: 9px;  opacity: 0.3; animation: twinkle3 5s ease-in-out infinite 2s; }
.deco-star--10 { top: 82%; right: 3%; font-size: 13px; opacity: 0.5; animation: twinkle1 5.2s ease-in-out infinite 0.6s; }
.deco-star--11 { top: 90%; left: 5%;  font-size: 16px; opacity: 0.6; animation: twinkle2 4.3s ease-in-out infinite 1.2s; }
.deco-star--12 { top: 95%; right: 7%; font-size: 11px; opacity: 0.4; animation: twinkle3 5.8s ease-in-out infinite 0.4s; }

@keyframes twinkle1 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.3); }
}
@keyframes twinkle2 {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50%      { opacity: 0.9; transform: scale(1.4) rotate(20deg); }
}
@keyframes twinkle3 {
    0%, 100% { opacity: 0.25; transform: scale(1) rotate(0deg); }
    30%      { opacity: 0.7; transform: scale(1.2) rotate(-15deg); }
    70%      { opacity: 0.5; transform: scale(0.9) rotate(10deg); }
}

/* ── Responsive deco ── */
@media (max-width: 768px) {
    .deco-fig { opacity: 0.25; }
    .deco-fig--clock { width: 100px; top: 1%; }
    .deco-fig--rocket { width: 90px; }
    .deco-fig--phone { width: 90px; }
    .deco-fig--chest { width: 100px; }
}
@media (max-width: 480px) {
    .deco-fig { opacity: 0.18; }
    .deco-fig--clock, .deco-fig--rocket,
    .deco-fig--phone, .deco-fig--chest { width: 70px; }
}
/* ── Card styles on dark bg ── */
body.page-sites .bento-card,
body.page-bots .bento-card,
body.page-mobile .bento-card {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    background: #0a0a0a;
    border-radius: 24px;
    transition: box-shadow 0.5s cubic-bezier(.23,1,.32,1), border-color 0.5s, transform 0.5s cubic-bezier(.23,1,.32,1);
}
body.page-sites .bento-card:hover,
body.page-bots .bento-card:hover,
body.page-mobile .bento-card:hover {
    border-color: rgba(255,47,139,0.6);
    box-shadow:
        0 0 30px rgba(255,47,139,0.35),
        0 0 70px rgba(255,47,139,0.15),
        0 0 120px rgba(255,47,139,0.08),
        0 15px 50px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}
/* No darkening on cards */
body.page-sites .bento-card-bg,
body.page-bots .bento-card-bg,
body.page-mobile .bento-card-bg,
body.page-auto .bento-card-bg {
    filter: none;
    transition: transform 0.7s cubic-bezier(.23,1,.32,1);
}
body.page-sites .bento-card:hover .bento-card-bg,
body.page-bots .bento-card:hover .bento-card-bg,
body.page-mobile .bento-card:hover .bento-card-bg,
body.page-auto .bento-card:hover .bento-card-bg {
    filter: none;
    transform: scale(1.04);
}
body.page-sites .bento-card-overlay,
body.page-bots .bento-card-overlay,
body.page-mobile .bento-card-overlay,
body.page-auto .bento-card-overlay {
    opacity: 0;
}
body.page-sites .bento-card:hover .bento-card-overlay,
body.page-bots .bento-card:hover .bento-card-overlay,
body.page-mobile .bento-card:hover .bento-card-overlay,
body.page-auto .bento-card:hover .bento-card-overlay {
    opacity: 0;
}
/* Pink cursor glow */
body.page-sites .bento-card-glow,
body.page-bots .bento-card-glow,
body.page-mobile .bento-card-glow {
    border-radius: 24px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,47,139,0.12), transparent 40%);
}
body.page-sites .web-bg,
body.page-bots .web-bg,
body.page-mobile .web-bg,
body.page-auto .web-bg,
body.page-sites .grid-bg,
body.page-bots .grid-bg,
body.page-mobile .grid-bg,
body.page-auto .grid-bg,
body.page-sites .noise-overlay,
body.page-bots .noise-overlay,
body.page-mobile .noise-overlay,
body.page-auto .noise-overlay,
body.page-sites .tech-overlay,
body.page-bots .tech-overlay,
body.page-mobile .tech-overlay,
body.page-auto .tech-overlay {
    display: none;
}

/* ── Category badge ── */
.bento-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    padding: 5px 12px;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,47,139,0.85);
    border-radius: 6px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s, transform 0.35s;
    pointer-events: none;
}
body.page-sites .bento-card:hover .bento-card-badge,
body.page-bots .bento-card:hover .bento-card-badge,
body.page-mobile .bento-card:hover .bento-card-badge,
body.page-auto .bento-card:hover .bento-card-badge {
    opacity: 1;
    transform: translateY(0);
}
/* Bots page - badge always visible on ALL cards */
body.page-bots .bento-card .bento-card-badge {
    opacity: 1;
    transform: translateY(0);
}
/* Move badge on video cards so it doesn't overlap VIDEO label */
.bento-card--video .bento-card-badge {
    left: auto;
    right: 14px;
}

/* ── Hover text overlay ── */
.bento-card-hover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 2vw, 1.8rem);
    background: linear-gradient(180deg,
        transparent 40%,
        rgba(0,0,0,0.75) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
body.page-sites .bento-card:hover .bento-card-hover,
body.page-bots .bento-card:hover .bento-card-hover,
body.page-mobile .bento-card:hover .bento-card-hover,
body.page-auto .bento-card:hover .bento-card-hover {
    opacity: 1;
}
/* Bots page - hover overlay always visible on ALL cards */
body.page-bots .bento-card .bento-card-hover {
    opacity: 1;
}
body.page-bots .bento-card .bento-card-hover-title,
body.page-bots .bento-card .bento-card-hover-desc,
body.page-bots .bento-card .bento-card-hover-arrow {
    transform: translateY(0);
}
body.page-bots .bento-card:hover .bento-card-hover-arrow {
    border-color: rgba(255,47,139,0.5);
    background: rgba(255,47,139,0.15);
}
.bento-card-hover-title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(.23,1,.32,1);
}
.bento-card-hover-desc {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    transform: translateY(10px);
    transition: transform 0.45s cubic-bezier(.23,1,.32,1) 0.04s;
}
.bento-card-hover-arrow {
    position: absolute;
    bottom: clamp(1rem, 2vw, 1.8rem);
    right: clamp(1rem, 2vw, 1.8rem);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(.23,1,.32,1) 0.08s,
                background 0.3s, border-color 0.3s;
}
body.page-sites .bento-card:hover .bento-card-hover-title,
body.page-bots .bento-card:hover .bento-card-hover-title,
body.page-mobile .bento-card:hover .bento-card-hover-title,
body.page-auto .bento-card:hover .bento-card-hover-title,
body.page-sites .bento-card:hover .bento-card-hover-desc,
body.page-bots .bento-card:hover .bento-card-hover-desc,
body.page-mobile .bento-card:hover .bento-card-hover-desc,
body.page-auto .bento-card:hover .bento-card-hover-desc,
body.page-sites .bento-card:hover .bento-card-hover-arrow,
body.page-bots .bento-card:hover .bento-card-hover-arrow,
body.page-mobile .bento-card:hover .bento-card-hover-arrow,
body.page-auto .bento-card:hover .bento-card-hover-arrow {
    transform: translateY(0);
}
body.page-sites .bento-card:hover .bento-card-hover-arrow,
body.page-bots .bento-card:hover .bento-card-hover-arrow,
body.page-mobile .bento-card:hover .bento-card-hover-arrow,
body.page-auto .bento-card:hover .bento-card-hover-arrow {
    border-color: rgba(255,47,139,0.5);
    background: rgba(255,47,139,0.15);
}

/* ── Mini chat preview on bot cards ── */
.mini-chat-preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(180deg, #0d0b15 0%, #120e1e 100%);
    filter: blur(0.8px);
    opacity: 0.85;
    transition: filter 0.5s ease, opacity 0.5s ease;
}
.bento-card:hover .mini-chat-preview {
    filter: blur(0.3px);
    opacity: 0.95;
}
.mini-chat-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
    animation: miniChatScroll 30s linear infinite;
}
.mini-chat-msg {
    max-width: 78%;
    display: flex;
}
.mini-chat-msg span {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 14px;
    font-size: 0.65rem;
    line-height: 1.4;
    font-family: var(--font-sans);
    word-break: break-word;
}
.mini-chat-bot {
    align-self: flex-start;
}
.mini-chat-bot span {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border-bottom-left-radius: 4px;
}
.mini-chat-user {
    align-self: flex-end;
    justify-content: flex-end;
}
.mini-chat-user span {
    background: linear-gradient(135deg, var(--bot-accent, #FF2F8B), #d4256f);
    color: #fff;
    border-bottom-right-radius: 4px;
}
@keyframes miniChatScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* ── Mini dashboard preview on integration cards ── */
.mini-dash-preview {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden; border-radius: inherit;
    padding: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.92) 100%);
    filter: blur(0.4px); opacity: 0.9;
    transition: filter 0.4s ease, opacity 0.4s ease;
    display: flex; flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bento-card:hover .mini-dash-preview {
    filter: blur(0px); opacity: 1;
}

/* Header */
.mdash-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px; flex-shrink: 0;
}
.mdash-logo {
    width: 24px; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.mdash-title {
    font-size: 11px; font-weight: 600; color: #fff;
    flex: 1;
}
.mdash-live {
    display: flex; align-items: center; gap: 4px;
    font-size: 8px; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.mdash-live-dot {
    width: 5px; height: 5px; border-radius: 50%;
    animation: statusPulse 2s infinite;
}

/* Stats */
.mdash-stats {
    display: flex; gap: 6px; margin-bottom: 8px; flex-shrink: 0;
}
.mdash-stat {
    flex: 1; padding: 6px 8px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}
.mdash-stat-val { font-size: 13px; font-weight: 700; line-height: 1.2; }
.mdash-stat-lbl { font-size: 7px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1px; }

/* ── 1C: Scrolling product table ── */
.mdash-table {
    flex: 1; overflow: hidden; position: relative;
    display: flex; flex-direction: column;
    animation: miniDashScroll 25s linear infinite;
}
.mdash-row {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.mdash-icon { font-size: 10px; width: 16px; text-align: center; flex-shrink: 0; }
.mdash-icon--ok { color: #4ADE80; }
.mdash-icon--warn { color: #F59E0B; }
.mdash-code { font-size: 8px; color: rgba(255,255,255,0.25); font-family: 'SF Mono', monospace; min-width: 56px; flex-shrink: 0; }
.mdash-name { font-size: 9px; color: rgba(255,255,255,0.6); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdash-price { font-size: 9px; font-weight: 600; color: #fff; min-width: 52px; text-align: right; flex-shrink: 0; }
.mdash-stock { font-size: 8px; color: rgba(255,255,255,0.35); min-width: 28px; text-align: right; flex-shrink: 0; }
.mdash-stock--low { color: #F59E0B; }
.mdash-stock--zero { color: #EF4444; font-weight: 600; }

/* ── Acquiring: Scrolling transactions ── */
.mdash-txn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.mdash-badge {
    width: 20px; height: 20px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; flex-shrink: 0;
}
.mdash-badge--ok { background: rgba(74,222,128,0.12); color: #4ADE80; }
.mdash-badge--warn { background: rgba(245,158,11,0.12); color: #F59E0B; }
.mdash-badge--pending { background: rgba(96,165,250,0.12); color: #60A5FA; }
.mdash-txn-method { font-size: 9px; color: rgba(255,255,255,0.6); flex: 1; }
.mdash-txn-card { font-size: 8px; color: rgba(255,255,255,0.25); margin-left: 3px; }
.mdash-txn-amount { font-size: 10px; font-weight: 600; color: #fff; min-width: 52px; text-align: right; flex-shrink: 0; }
.mdash-txn-time { font-size: 8px; color: rgba(255,255,255,0.2); min-width: 28px; text-align: right; flex-shrink: 0; }

/* ── CRM: Pipeline funnel ── */
.mdash-pipeline {
    flex: 1; display: flex; gap: 4px; align-items: flex-end;
    padding-top: 6px;
}
.mdash-pipe-col {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    gap: 3px;
}
.mdash-pipe-count { font-size: 14px; font-weight: 700; }
.mdash-pipe-bar {
    width: 100%; border-radius: 4px 4px 0 0;
    min-height: 8px; transition: height 0.6s ease;
    transform-origin: bottom;
    animation: pipeGrow 2s ease-out forwards;
}
.mdash-pipe-name {
    font-size: 7px; color: rgba(255,255,255,0.4);
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100%;
}
.mdash-pipe-lead {
    font-size: 7px; color: rgba(255,255,255,0.25);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100%; text-align: center;
}

/* ── AI chat conversation cards ── */
.mdash-ai-conv {
    padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0; display: flex; flex-direction: column; gap: 3px;
}
.mdash-ai-q { display: flex; gap: 5px; align-items: baseline; }
.mdash-ai-user { font-size: 7px; color: rgba(255,255,255,0.3); flex-shrink: 0; min-width: 48px; text-transform: uppercase; letter-spacing: 0.04em; }
.mdash-ai-qtext { font-size: 9px; color: rgba(255,255,255,0.7); line-height: 1.3; }
.mdash-ai-a { display: flex; gap: 5px; align-items: flex-start; padding-left: 4px; }
.mdash-ai-badge {
    font-size: 7px; padding: 1px 5px; border-radius: 4px; flex-shrink: 0;
    white-space: nowrap;
}
.mdash-ai-st--ai { background: rgba(168,85,247,0.15); color: #A855F7; }
.mdash-ai-st--op { background: rgba(245,158,11,0.15); color: #F59E0B; }
.mdash-ai-atext { font-size: 8px; color: rgba(255,255,255,0.45); line-height: 1.3; }

@keyframes miniDashScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes pipeGrow {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

/* Auto page - always visible elements on all cards */
body.page-auto .mini-dash-preview { filter: blur(0px); opacity: 0.95; }
body.page-auto .mini-chat-preview { filter: blur(0.5px); opacity: 0.85; }
body.page-auto .bento-card:hover .mini-chat-preview { filter: blur(0.2px); opacity: 0.95; }
body.page-auto .bento-card .bento-card-badge { opacity: 1; transform: translateY(0); }
body.page-auto .bento-card .bento-card-hover { opacity: 1; }
body.page-auto .bento-card .bento-card-hover-title,
body.page-auto .bento-card .bento-card-hover-desc,
body.page-auto .bento-card .bento-card-hover-arrow { transform: translateY(0); }
body.page-auto .bento-card:hover .mini-dash-preview { opacity: 1; }
body.page-auto .bento-card:hover .bento-card-hover-arrow {
    border-color: rgba(255,47,139,0.5);
    background: rgba(255,47,139,0.15);
}

/* ── Load More button ── */
.bento-load-more {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 1rem;
}
.bento-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: #111;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.bento-load-btn:hover {
    background: #222;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 6px 30px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}
.bento-load-btn svg {
    transition: transform 0.3s;
}
.bento-load-btn:hover svg {
    transform: translateY(2px);
}
.bento-load-btn.expanded svg {
    transform: rotate(180deg);
}
/* Hidden extra items */
.bento-item--extra {
    display: none;
}
.bento-item--extra.show {
    display: block;
}

/* ── CTA Section (sites) ── */
.sites-cta {
    background: #000;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sites-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,47,139,0.08), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.sites-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.sites-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.sites-cta-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.sites-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FF2F8B, #ff0066);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 30px rgba(255,47,139,0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}
.sites-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255,47,139,0.5);
}
.sites-cta-btn span {
    transition: transform 0.3s;
}
.sites-cta-btn:hover span {
    transform: translateX(4px);
}

/* ── Cursor glow ── */
.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,47,139,0.07), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body.page-sites .cursor-glow,
body.page-bots .cursor-glow,
body.page-mobile .cursor-glow {
    opacity: 1;
}

/* ══════ PAGE-SITES & PAGE-BOTS: white background theme ══════ */
body.page-sites,
body.page-bots,
body.page-mobile {
    background: #fff !important;
    color: #111;
}
body.page-sites .bento-section,
body.page-bots .bento-section,
body.page-mobile .bento-section {
    background: #fff !important;
}
/* Header stays black */
body.page-sites .header--projects,
body.page-bots .header--projects,
body.page-mobile .header--projects {
    background: #000 !important;
}
/* Cards: white bg, subtle border */
body.page-sites .bento-card,
body.page-bots .bento-card {
    background: #fff !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
body.page-sites .bento-card:hover,
body.page-bots .bento-card:hover {
    border-color: rgba(255,47,139,0.5) !important;
    box-shadow:
        0 0 25px rgba(255,47,139,0.2),
        0 0 60px rgba(255,47,139,0.08),
        0 12px 40px rgba(0,0,0,0.1) !important;
}
/* Mobile page - transparent card (phone only) */
body.page-mobile .bento-card,
body.page-mobile .phone-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* Disable 3D tilt on mobile page, use simple scale on hover */
body.page-mobile .tilt-wrap {
    perspective: none !important;
}
body.page-mobile .bento-card--phone {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: auto !important;
    aspect-ratio: unset !important;
    overflow: visible !important;
    transform: none !important;
    transition: transform 0.5s cubic-bezier(.23,1,.32,1) !important;
}
body.page-mobile .bento-card--phone:hover {
    transform: translateY(-8px) !important;
    box-shadow: none !important;
}
body.page-mobile .phone-card-frame {
    border-color: rgba(255,47,139,0.25);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,47,139,0.12),
        0 0 80px rgba(255,47,139,0.06) !important;
    transition: transform 0.5s cubic-bezier(.23,1,.32,1), border-color 0.5s ease, box-shadow 0.5s ease;
}
body.page-mobile .bento-card--phone:hover .phone-card-frame {
    border-color: rgba(255,47,139,0.4);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(255,47,139,0.2),
        0 0 100px rgba(255,47,139,0.1) !important;
}
/* Card hover overlay - lighter gradient */
body.page-sites .bento-card-hover,
body.page-bots .bento-card-hover,
body.page-mobile .bento-card-hover {
    background: linear-gradient(180deg,
        transparent 40%,
        rgba(0,0,0,0.7) 100%);
}
/* Cursor glow on white - more subtle */
body.page-sites .cursor-glow,
body.page-bots .cursor-glow,
body.page-mobile .cursor-glow {
    background: radial-gradient(circle, rgba(255,47,139,0.04), transparent 70%);
}
/* CTA section - keep dark */
body.page-sites .sites-cta,
body.page-bots .sites-cta,
body.page-mobile .sites-cta {
    background: #000;
}
/* Load more button — unified black bg + white text on all pages */
/* Footer stays dark */
body.page-sites .footer-new,
body.page-bots .footer-new,
body.page-mobile .footer-new {
    background: #000 !important;
}

/* ── Stagger reveal ── */
.reveal-card {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(.23,1,.32,1),
                transform 0.7s cubic-bezier(.23,1,.32,1);
}
.reveal-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Responsive: hide cursor glow on touch ── */
@media (max-width: 768px) {
    .cursor-glow { display: none; }
    .bento-card-hover-arrow { width: 32px; height: 32px; font-size: 0.9rem; }
    .sites-cta { padding: 3rem 1.5rem; }
    .sites-cta-btn { padding: 14px 30px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .bento-card-badge { font-size: 0.5rem; padding: 4px 8px; }
    .bento-card-hover-title { font-size: 0.9rem; }
    .bento-card-hover-desc { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS PAGE - Dark Bento Grid
   ═══════════════════════════════════════════════════════════ */
.bento-section {
    background: #000;
    padding: clamp(1rem, 2vw, 2rem);
    min-height: 100vh;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: clamp(0.6rem, 1vw, 1rem);
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Grid placement ── */
.bento-sites        { grid-column: 1 / 3; grid-row: 1 / 3; }     /* large left */
.bento-bots         { grid-column: 3 / 5; grid-row: 1 / 2; }     /* top right */
.bento-services-link{ grid-column: 3 / 4; grid-row: 2 / 3; }     /* mid-right small */
.bento-auto         { grid-column: 4 / 5; grid-row: 2 / 3; }     /* mid-right small */
.bento-mobile       { grid-column: 1 / 3; grid-row: 3 / 4; }     /* bottom left */
.bento-contact-link { grid-column: 3 / 5; grid-row: 3 / 4; }     /* bottom right */

/* ── 3D Tilt wrapper ── */
.tilt-wrap {
    perspective: 1200px;
}

/* ── Base card ── */
.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #0a0a0a;
    border: 1px solid rgba(232, 67, 147, 0.15);
    box-shadow: 0 0 12px rgba(232, 67, 147, 0.06);
    transform-style: preserve-3d;
    transition: box-shadow 0.4s cubic-bezier(.23,1,.32,1), border-color 0.4s;
    will-change: transform;
}
.bento-card:hover {
    border-color: rgba(232, 67, 147, 0.45);
    box-shadow: 0 0 30px rgba(232, 67, 147, 0.2), 0 0 60px rgba(232, 67, 147, 0.1), 0 20px 60px rgba(0,0,0,0.5);
}

/* ── Background image ── */
.bento-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55) saturate(0.8);
    transition: transform 0.7s cubic-bezier(.23,1,.32,1), filter 0.5s;
}
/* Gradient bg (for bot cards without screenshots) */
.bento-card-bg--gradient {
    object-fit: unset;
    filter: none;
    border-radius: inherit;
}
.bento-card:hover .bento-card-bg {
    transform: scale(1.05);
    filter: brightness(0.65) saturate(1);
}

/* ── Overlay gradient ── */
.bento-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0.92) 100%);
    pointer-events: none;
}

/* ── Cursor glow ── */
.bento-card-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,255,255,0.06), transparent 40%);
}
.bento-card:hover .bento-card-glow { opacity: 1; }

/* ── Content ── */
.bento-card-content {
    position: relative;
    z-index: 3;
    padding: clamp(1.2rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: auto;
}
.bento-card-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.bento-card-title {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: #fff;
    transition: text-shadow 0.3s;
}
.bento-card:hover .bento-card-title {
    text-shadow: 0 0 40px rgba(255,255,255,0.15);
}
.bento-card-desc {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    margin-top: 0.3rem;
}
.bento-card-count {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    width: fit-content;
}

/* ── Arrow ── */
.bento-card-arrow {
    position: absolute;
    top: clamp(1rem, 1.5vw, 1.5rem);
    right: clamp(1rem, 1.5vw, 1.5rem);
    z-index: 4;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.3);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.04);
}
.bento-card:hover .bento-card-arrow {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    transform: translate(3px, -3px);
}
.bento-card-arrow--lg {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
}

/* ── Text-only cards (services / contact) ── */
.bento-card--text {
    background: #0a0a0a;
    border: 1px solid rgba(232, 67, 147, 0.15);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: background 0.3s, box-shadow 0.4s;
}
.bento-card--text:hover {
    background: #111;
}
.bento-text-title {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    transition: text-shadow 0.3s;
}
.bento-card--text:hover .bento-text-title {
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
}
.bento-card--text .bento-card-arrow--lg {
    position: static;
    margin-bottom: 0.8rem;
    border: none;
    background: none;
    backdrop-filter: none;
    color: rgba(255,255,255,0.25);
}
.bento-card--text:hover .bento-card-arrow--lg {
    color: #fff;
    transform: translate(3px, -3px);
    background: none;
    border: none;
}

/* ── Contact card ── */
.bento-card--contact {
    background: #050505;
    border: 1px solid rgba(232, 67, 147, 0.12);
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: border-color 0.5s, box-shadow 0.5s;
}
.bento-card--contact:hover {
    border-color: rgba(232, 67, 147, 0.4);
    box-shadow: 0 0 50px rgba(232, 67, 147, 0.15), 0 0 100px rgba(232, 67, 147, 0.05);
}

/* Diagonal accent lines */
.contact-bg-line {
    position: absolute;
    background: linear-gradient(135deg, rgba(232, 67, 147, 0.08), transparent);
    border-radius: 2px;
    transition: opacity 0.5s;
}
.contact-bg-line--1 {
    width: 120%;
    height: 1px;
    top: 30%;
    left: -10%;
    transform: rotate(-15deg);
}
.contact-bg-line--2 {
    width: 120%;
    height: 1px;
    top: 55%;
    left: -10%;
    transform: rotate(-15deg);
    background: linear-gradient(135deg, transparent, rgba(232, 67, 147, 0.06), transparent);
}
.contact-bg-line--3 {
    width: 120%;
    height: 1px;
    top: 80%;
    left: -10%;
    transform: rotate(-15deg);
    background: linear-gradient(135deg, rgba(232, 67, 147, 0.04), transparent);
}
.bento-card--contact:hover .contact-bg-line {
    opacity: 1.5;
}

/* Center pulse glow */
.contact-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(232, 67, 147, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactPulse 3s ease-in-out infinite;
}
@keyframes contactPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Content */
.contact-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
}
.contact-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(232, 67, 147, 0.6);
    margin-bottom: 0.8rem;
    transition: color 0.4s;
}
.bento-card--contact:hover .contact-label {
    color: rgba(232, 67, 147, 0.9);
}
.contact-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem) !important;
    letter-spacing: 0.05em;
    line-height: 1.15;
    color: #fff;
    transition: text-shadow 0.4s;
}
.bento-card--contact:hover .contact-title {
    text-shadow: 0 0 40px rgba(232, 67, 147, 0.3);
}
.contact-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: clamp(1rem, 1.5vw, 1.5rem);
    right: clamp(1rem, 1.5vw, 1.5rem);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.3);
    font-size: 1.4rem;
    transition: all 0.4s;
    z-index: 3;
}
.bento-card--contact:hover .contact-arrow {
    border-color: rgba(232, 67, 147, 0.6);
    color: #fff;
    background: rgba(232, 67, 147, 0.15);
    transform: translateX(4px);
    box-shadow: 0 0 20px rgba(232, 67, 147, 0.2);
}

/* ── Large card adjustments ── */
.bento-sites .bento-card { min-height: 560px; }
/* Unique title sizes per card */
.bento-sites .bento-card-title { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.bento-bots .bento-card-title { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.bento-auto .bento-card-title { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
.bento-mobile .bento-card-title { font-size: clamp(1.4rem, 3vw, 2.4rem); }
.bento-services-link .bento-card-title { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
.contact-title { font-size: clamp(1.6rem, 3vw, 2.6rem) !important; }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }
    .bento-sites         { grid-column: 1 / 3; grid-row: 1 / 2; }
    .bento-bots          { grid-column: 1 / 2; grid-row: 2 / 3; }
    .bento-auto          { grid-column: 2 / 3; grid-row: 2 / 3; }
    .bento-services-link { grid-column: 1 / 2; grid-row: 3 / 4; }
    .bento-mobile        { grid-column: 2 / 3; grid-row: 3 / 4; }
    .bento-contact-link  { grid-column: 1 / 3; grid-row: 4 / 5; }
    .bento-sites .bento-card { min-height: 360px; }
}
@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-sites, .bento-bots, .bento-auto,
    .bento-mobile, .bento-services-link, .bento-contact-link {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .bento-sites .bento-card { min-height: 300px; }
    .bento-card { min-height: 220px; }
}

/* ── Projects page: dark CTA + footer to match bento ── */
/* ── CTA with graffiti background ── */
.cta-graffiti {
    position: relative;
    overflow: hidden;
}
.cta-gfx-center {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 200%;
    width: auto;
    max-width: 1400px;
    object-fit: contain;
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.4s;
}
.cta-graffiti:hover .cta-gfx-center {
    opacity: 0.55;
}
.cta-graffiti .cta-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 600px) {
    .cta-gfx-center { opacity: 0.4; max-width: 130%; height: 250%; }
}

.bento-section ~ .cta-section {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #fff;
}
.bento-section ~ .cta-section .cta-title {
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.bento-section ~ .cta-section .cta-subtitle { display: none; }
.bento-section ~ .cta-section .cta-button {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.bento-section ~ .cta-section .cta-button.primary { background: #fff; color: #0d0d0d; }
.bento-section ~ .cta-section .cta-button.secondary { background: #fff; color: #0d0d0d; border-color: #fff; }
.bento-section ~ .cta-section .cta-button.secondary:hover { background: rgba(255,255,255,0.85); border-color: #fff; }
.bento-section ~ .footer { background: #000; }

/* ═══════════════════════════════════════════════════════════
   PROJECTS SUBPAGE - Grid & Cards
   ═══════════════════════════════════════════════════════════ */
.projects {
    padding: 0 clamp(1.5rem, 5vw, 6rem) clamp(4rem, 8vh, 8rem);
    max-width: 1300px; margin: 0 auto;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
}
.project-card {
    display: flex; flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--line);
    transition: background 0.4s, border-color 0.4s;
    text-decoration: none; color: var(--text);
    position: relative; overflow: hidden;
}
.project-card:hover { background: var(--bg-alt); border-color: var(--line-strong); }
.card-frame, .card-visual, .card-hover-info { display: none; }
.card-index {
    font-family: var(--font-serif);
    font-size: 0.75rem; color: var(--text-dim);
    margin-bottom: 1.5rem;
}
.card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 400;
    margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.8rem; color: var(--text-mid); line-height: 1.5; margin-bottom: 1rem; }
.card-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tech-tag {
    font-size: 0.65rem; padding: 0.25rem 0.6rem;
    border: 1px solid var(--line); color: var(--text-dim);
    letter-spacing: 0.04em;
}

/* Project detail page - project cards with screenshots/previews */
.project-detail-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 4rem; max-width: 1100px; margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 6rem) clamp(4rem, 8vh, 6rem);
}

/* Success stats bar */
.project-success { display: flex; justify-content: center; gap: 2rem; padding: 2rem 0; flex-wrap: wrap; }
.success-stat {
    font-size: 0.75rem; padding: 0.5rem 1rem;
    border: 1px solid var(--line-strong); color: var(--text-mid);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES / ABOUT / TEAM / TESTIMONIALS (subpages)
   ═══════════════════════════════════════════════════════════ */
.services, .about, .team, .testimonials, .video-section, .faq {
    padding: clamp(3rem, 6vh, 6rem) clamp(1.5rem, 5vw, 6rem);
    max-width: 1100px; margin: 0 auto;
}
.section-header { margin-bottom: 3rem; }
.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.section-subtitle { font-size: 0.85rem; color: var(--text-mid); }

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.service-item {
    padding: 2rem;
    border: 1px solid var(--line);
    transition: border-color 0.3s, background 0.3s;
}
.service-item:hover { border-color: var(--line-strong); background: var(--bg-alt); }
.service-icon { margin-bottom: 1.5rem; }
.service-icon svg { width: 32px; height: 32px; stroke: var(--text-mid); stroke-width: 1.5; }
.service-title {
    font-family: var(--font-serif);
    font-size: 1.2rem; font-weight: 400;
    margin-bottom: 0.75rem;
}
.service-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }
.service-benefit {
    margin-top: 1rem; padding: 0.5rem 1rem;
    border-left: 2px solid var(--text-dim);
    font-size: 0.8rem; color: var(--text);
}
.service-line { display: none; }

/* About - Dark variant */
.about.about--dark {
    background: #000;
    color: #fff;
    padding: clamp(4rem, 8vh, 7rem) clamp(2rem, 6vw, 8rem);
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.about--dark .section-title {
    font-family: var(--font-sans);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
}
.about--dark .about-lead {
    font-family: var(--font-sans);
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.65;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}
.about--dark .about-body {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    margin-bottom: 1.4rem;
    letter-spacing: 0.01em;
}
.about--dark .about-body:last-child {
    margin-bottom: 0;
}

/* GERS highlight - pink bold */
.gers-highlight {
    color: #ff2d78;
    font-weight: 800;
    font-family: var(--font-sans);
    text-shadow: 0 0 8px rgba(255, 45, 120, 0.5);
}

/* About "Read more" toggle */
.about-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1px;
    padding: 0.6rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(.23,1,.32,1);
}
.about-more-btn:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}
.about-more-arrow {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(.23,1,.32,1);
    font-size: 0.9em;
    color: #1a1a1a;
}
.about-more-btn.active .about-more-arrow {
    transform: rotate(180deg);
}
.about-more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(.23,1,.32,1), opacity 0.4s ease, margin 0.4s ease;
    margin-top: 0;
}
.about-more-content.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 1rem;
}

/* About content grid */
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; }
.about-lead { font-size: 1.1rem; line-height: 1.7; margin-bottom: 0; }
.about-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* Metrics - graffiti wrapper + neon pink circles */
.about-metrics-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.about-graffiti {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    width: 550%;
    height: 550%;
    object-fit: contain;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    filter: blur(3px);
    animation: graffitiSway 8s ease-in-out infinite;
}
@keyframes graffitiSway {
    0%   { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    25%  { transform: translate(-51%, -49%) rotate(1.5deg) scale(1.02); }
    50%  { transform: translate(-49%, -50%) rotate(-1deg) scale(1); }
    75%  { transform: translate(-50%, -51%) rotate(1deg) scale(1.01); }
    100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}
.about-metrics {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.metric { text-align: center; margin-bottom: 2rem; }
.metric-visual { position: relative; display: inline-block; overflow: visible; }
.metric-visual svg { width: 120px; height: 120px; transform: rotate(-90deg); overflow: visible; }
.metric-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 4; }
.metric-progress {
    fill: none;
    stroke: #ff2d78;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.about--dark .metric-visual svg {
    filter: drop-shadow(0 0 6px rgba(255, 45, 120, 0.7)) drop-shadow(0 0 14px rgba(255, 45, 120, 0.4));
    animation: neonPulse 2s ease-in-out infinite alternate;
}
@keyframes neonPulse {
    0%   { filter: drop-shadow(0 0 4px rgba(255, 45, 120, 0.5)) drop-shadow(0 0 10px rgba(255, 45, 120, 0.3)); }
    100% { filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.9)) drop-shadow(0 0 20px rgba(255, 45, 120, 0.5)) drop-shadow(0 0 30px rgba(255, 45, 120, 0.2)); }
}
.metric-value {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700;
    color: #ff2d78;
    text-shadow: 0 0 8px rgba(255, 45, 120, 0.6), 0 0 16px rgba(255, 45, 120, 0.3);
}
.about--dark .metric-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    display: block;
    text-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 14px rgba(255,255,255,0.4);
    margin-top: 0.7rem;
}
.metric-label { font-size: 0.75rem; color: var(--text-dim); display: block; margin-top: 0.5rem; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}
.team-member { text-align: center; padding: 2rem; border: 1px solid var(--line); }
.member-avatar { margin-bottom: 1.5rem; }
.avatar-placeholder {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--bg-alt); border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 0.8rem; color: var(--text-mid);
}
.avatar-ring { display: none; }
.member-name { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.25rem; }
.member-role { font-size: 0.75rem; color: var(--text-dim); display: block; margin-bottom: 0.5rem; }
.member-bio { font-size: 0.8rem; color: var(--text-mid); }
.member-links { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.member-link { font-size: 0.75rem; color: var(--text-dim); transition: color 0.3s; }
.member-link:hover { color: var(--text); }

/* ── TESTIMONIALS CAROUSEL (mirrors svc-carousel) ── */
.testimonials {
    background: #fff;
    padding: clamp(3rem, 6vh, 5rem) 0 !important;
    overflow: hidden;
    position: relative;
    max-width: 100% !important;
}
.testimonials .section-header {
    max-width: 1100px;
    margin: 0 auto 0;
    padding: 0 clamp(1.5rem, 5vw, 6rem);
    text-align: center;
}

/* Carousel wrapper */
.testimonials-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1200px;
}

/* Track */
.testimonials-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 440px;
    position: relative;
    transition: none;
}

/* Backlight glow behind active card */
.testimonials-track::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 420px; height: 460px;
    background: radial-gradient(ellipse at center,
        rgba(232, 67, 147, 0.12) 0%,
        rgba(232, 67, 147, 0.06) 30%,
        rgba(232, 67, 147, 0.02) 55%,
        transparent 80%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(30px);
    animation: svc-backlight-breathe 4s ease-in-out infinite;
}

/* ── Individual testimonial card ── */
.testimonial-card {
    position: absolute;
    width: 380px;
    background: #000;
    border: 1px solid rgba(232, 67, 147, 0.12);
    border-radius: 24px;
    padding: 2rem 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    will-change: transform, opacity, filter;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
}

/* Active / center card */
.testimonial-card.active {
    z-index: 10;
    left: 50%;
    transform: translateX(-50%) scale(1) rotateY(0deg) translateY(0);
    opacity: 1;
    filter: blur(0px) brightness(1);
    border-color: rgba(232, 67, 147, 0.45);
    pointer-events: auto;
    box-shadow:
        0 0 30px rgba(232, 67, 147, 0.2),
        0 0 60px rgba(232, 67, 147, 0.1),
        0 0 120px rgba(232, 67, 147, 0.05),
        0 20px 80px rgba(0,0,0,0.6);
}

/* Left neighbor */
.testimonial-card.pos-left-1 {
    z-index: 5; left: 50%;
    transform: translateX(calc(-50% - 380px)) scale(0.85) rotateY(8deg);
    opacity: 0.7;
    filter: blur(1.5px) brightness(0.5);
    pointer-events: auto;
}

/* Right neighbor */
.testimonial-card.pos-right-1 {
    z-index: 5; left: 50%;
    transform: translateX(calc(-50% + 380px)) scale(0.85) rotateY(-8deg);
    opacity: 0.7;
    filter: blur(1.5px) brightness(0.5);
    pointer-events: auto;
}

/* Far left */
.testimonial-card.pos-left-2 {
    z-index: 2; left: 50%;
    transform: translateX(calc(-50% - 700px)) scale(0.7) rotateY(15deg);
    opacity: 0.25;
    filter: blur(5px) brightness(0.35);
}

/* Far right */
.testimonial-card.pos-right-2 {
    z-index: 2; left: 50%;
    transform: translateX(calc(-50% + 700px)) scale(0.7) rotateY(-15deg);
    opacity: 0.25;
    filter: blur(5px) brightness(0.35);
}

/* ── Card content styles ── */
.quote-icon {
    font-family: var(--font-serif); font-size: 2.8rem; line-height: 1; margin-bottom: 0.6rem;
    color: #ff2d78;
    text-shadow: 0 0 12px rgba(255, 45, 120, 0.5);
}
.testimonial-text {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.85);
    flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #ff2d78, #ff6ba3);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 45, 120, 0.5), 0 0 20px rgba(255, 45, 120, 0.2);
}
.author-name { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; color: #fff; }
.author-company { font-family: var(--font-sans); font-size: 0.75rem; color: rgba(255,255,255,0.4); display: block; }
.author-logo { margin-left: auto; font-size: 0.65rem; color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 0.2rem 0.5rem; }

.testimonial-thumbs {
    display: flex; gap: 0.5rem; margin-top: 0.8rem;
}
.testimonial-thumbs img {
    width: 64px; height: 42px;
    object-fit: cover; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}
.testimonial-thumbs img:hover { opacity: 1; transform: scale(1.08); }

.testimonial-rating {
    margin-top: 0.8rem; font-size: 0.9rem;
    color: #ff2d78;
    text-shadow: 0 0 6px rgba(255, 45, 120, 0.4);
}

/* ── Carousel nav buttons ── */
.testimonial-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 20;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    font-size: 1.1rem;
}
.testimonial-btn:hover {
    border-color: rgba(232, 67, 147, 0.5);
    background: rgba(232, 67, 147, 0.1);
    color: #e84393;
}
.testimonial-btn.prev { left: clamp(1rem, 3vw, 3rem); }
.testimonial-btn.next { right: clamp(1rem, 3vw, 3rem); }

/* ── Dots (same as svc-carousel-dots) ── */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    padding-bottom: 1rem;
}
.testimonials-dot {
    width: 28px; height: 6px;
    border-radius: 3px;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    padding: 0;
}
.testimonials-dot:hover {
    background: rgba(232, 67, 147, 0.4);
}
.testimonials-dot.active {
    background: rgba(232, 67, 147, 0.9);
    box-shadow: 0 0 10px rgba(232, 67, 147, 0.4);
    width: 40px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .testimonial-card { width: 300px; }
    .testimonials-track { height: 400px; }
    .testimonial-card.pos-left-1 { transform: translateX(calc(-50% - 300px)) scale(0.8) rotateY(8deg); }
    .testimonial-card.pos-right-1 { transform: translateX(calc(-50% + 300px)) scale(0.8) rotateY(-8deg); }
    .testimonial-card.pos-left-2,
    .testimonial-card.pos-right-2 { opacity: 0; pointer-events: none; }
}
@media (max-width: 600px) {
    .testimonial-card { width: 260px; padding: 1.5rem 1.2rem; }
    .testimonials-track { height: 380px; }
    .testimonial-card.pos-left-1 { transform: translateX(calc(-50% - 200px)) scale(0.75) rotateY(10deg); opacity: 0.35; }
    .testimonial-card.pos-right-1 { transform: translateX(calc(-50% + 200px)) scale(0.75) rotateY(-10deg); opacity: 0.35; }
    .testimonial-btn { width: 40px; height: 40px; }
}

/* Video section */
.video-container { max-width: 900px; margin: 0 auto; }
.video-placeholder {
    position: relative; padding: 4rem 2rem;
    border: 1px solid var(--line); text-align: center;
    transition: border-color 0.3s; cursor: pointer;
}
.video-placeholder:hover { border-color: var(--line-strong); }
.play-button {
    width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid var(--text-mid);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.play-button svg { width: 24px; height: 24px; color: var(--text); }
.video-title { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.video-subtitle { font-size: 0.85rem; color: var(--text-mid); }
.video-overlay { position: relative; z-index: 1; }
.video-bg-pattern { display: none; }

/* ═══════════════════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════════════════ */
.calculator {
    padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 5vw, 6rem);
    max-width: 1100px; margin: 0 auto;
}
.calculator-container { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.calc-group { margin-bottom: 2rem; }
.calc-label {
    font-family: var(--font-serif); font-size: 1rem; font-weight: 400;
    margin-bottom: 1rem; display: block;
}
.calc-buttons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.calc-buttons-grid.type-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.calc-option { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-btn {
    padding: 0.7rem 1rem; font-size: 0.8rem;
    border: 1px solid var(--line); background: transparent;
    color: var(--text-mid); text-align: left;
    transition: all 0.3s; width: 100%;
}
.calc-btn:hover { border-color: var(--text-mid); color: var(--text); }
.calc-btn.active { border-color: var(--text); color: var(--text); background: rgba(0,0,0,0.04); }
.calc-hint { font-size: 0.7rem; color: var(--text-dim); padding-left: 0.5rem; }

.calc-checkboxes { display: flex; flex-direction: column; gap: 0.75rem; }
.calc-checkbox {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem; border: 1px solid var(--line);
    cursor: pointer; transition: border-color 0.3s;
}
.calc-checkbox:hover { border-color: var(--text-mid); }
.calc-checkbox input { display: none; }
.checkmark {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; margin-top: 2px;
}
.calc-checkbox input:checked ~ .checkmark {
    background: var(--text); border-color: var(--text);
}
.calc-checkbox input:checked ~ .checkmark::after {
    content: '✓'; font-size: 0.7rem; color: var(--bg);
}
.checkbox-content { display: flex; flex-direction: column; gap: 0.2rem; }
.checkbox-title { font-size: 0.8rem; font-weight: 500; }
.checkbox-hint { font-size: 0.7rem; color: var(--text-dim); }

.calc-result {
    position: sticky; top: 8rem;
    padding: 2rem; border: 1px solid var(--line);
    background: var(--bg-alt); text-align: center;
    align-self: start;
}
.result-label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.result-value { margin-bottom: 1rem; }
.result-from { font-size: 0.8rem; color: var(--text-dim); }
.result-number { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 300; margin: 0 0.25rem; }
.result-currency { font-size: 0.9rem; color: var(--text-mid); }
.result-note { font-size: 0.7rem; color: var(--text-dim); margin-bottom: 1.5rem; }
.result-cta {
    display: block; padding: 0.8rem 1.5rem;
    background: var(--text); color: var(--bg);
    font-size: 0.8rem; font-weight: 500;
    transition: opacity 0.3s;
}
.result-cta:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */
.contact {
    padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 5vw, 6rem);
}
.contact-content {
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 4rem; max-width: 1100px; margin: 0 auto;
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: span 2; }
.form-label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.form-input, .form-textarea {
    background: transparent; border: none;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 0; font-size: 0.9rem;
    color: var(--text); outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--text); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.input-line { display: none; }
.form-select {
    appearance: none; background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0 center; background-size: 16px;
    padding-right: 2rem;
}
.form-select option { background: var(--bg-card); color: var(--text); }
.form-textarea { min-height: 120px; resize: vertical; }
.submit-btn {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 2rem; background: var(--text); color: var(--bg);
    font-size: 0.8rem; font-weight: 500;
    transition: opacity 0.3s; grid-column: span 2; width: fit-content;
}
.submit-btn:hover { opacity: 0.85; }
.btn-text, .btn-arrow { display: inline; }

.info-block { margin-bottom: 2rem; }
.info-block-title {
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-dim); margin-bottom: 0.75rem;
}
.info-item { margin-bottom: 0.5rem; }
.info-label { font-size: 0.75rem; color: var(--text-dim); display: block; }
.info-value { font-size: 0.85rem; color: var(--text-mid); }
a.info-value:hover { color: var(--text); }

.online-status-widget {
    padding: 1.5rem; border: 1px solid var(--line-strong);
    margin-bottom: 2rem; text-align: center;
}
.online-indicator { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text); animation: pulse 2s infinite; }
.online-text { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.response-time { font-size: 0.8rem; color: var(--text-dim); }
.free-consult-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem; border: 1px solid var(--line); margin-bottom: 2rem;
    font-size: 0.85rem; color: var(--text-mid); cursor: pointer;
    transition: border-color 0.3s;
}
.free-consult-cta:hover { border-color: var(--text-mid); }
.consult-icon { width: 20px; height: 20px; }
.consult-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.consult-text { font-size: 0.8rem; }

/* Location section */
.location-visual { display: none; }

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 1.5rem 0;
    font-size: 0.9rem; font-weight: 400; text-align: left;
    color: var(--text); cursor: pointer;
}
.faq-icon { font-size: 1.2rem; color: var(--text-dim); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   PROJECT MODAL (Screenshot Viewer)
   ═══════════════════════════════════════════════════════════ */

/* ── 4. Opening animation ── */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalContentIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); filter: blur(4px); }
    to   { opacity: 1; transform: scale(1) translateY(0);       filter: blur(0); }
}

.project-modal {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.0);
    backdrop-filter: blur(0);
    overflow-y: auto;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,47,139,0.3) transparent;
}
/* ── Stylish scrollbar for ALL modals ── */
.project-modal::-webkit-scrollbar { width: 6px; }
.project-modal::-webkit-scrollbar-track { background: transparent; }
.project-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255,47,139,0.4), rgba(255,47,139,0.15));
    border-radius: 10px;
}
.project-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,47,139,0.6), rgba(255,47,139,0.3));
}
.project-modal-info::-webkit-scrollbar { width: 5px; }
.project-modal-info::-webkit-scrollbar-track { background: transparent; }
.project-modal-info::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255,47,139,0.35), rgba(255,47,139,0.1));
    border-radius: 10px;
}
.project-modal-info::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,47,139,0.55), rgba(255,47,139,0.25));
}
.project-modal-info {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,47,139,0.25) transparent;
}
.project-modal.active,
.project-modal.visible {
    display: flex; align-items: flex-start; justify-content: center;
    animation: modalFadeIn 0.4s ease forwards;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
}
/* Overlay for click-to-close */
.project-modal-overlay {
    position: fixed; inset: 0; z-index: 0;
}

/* Content wrapper - slides in with scale + blur */
.project-modal-content {
    position: relative; z-index: 1;
    display: flex; gap: 2.5rem;
    max-width: 1800px; width: 97%;
    margin: 1.5rem auto; padding: 2rem;
    color: #fff;
    animation: modalContentIn 0.5s cubic-bezier(.23,1,.32,1) forwards;
}

/* Close button */
.project-modal-close {
    position: absolute; top: 0.8rem; right: 0.8rem;
    width: 40px; height: 40px; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; color: #fff; cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(.23,1,.32,1);
}
.project-modal-close:hover {
    background: rgba(255,47,139,0.15);
    border-color: rgba(255,47,139,0.4);
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 20px rgba(255,47,139,0.2);
}
.project-modal-close svg { width: 18px; height: 18px; stroke-width: 2.5; }

/* ═══ Left: Gallery ═══ */
.project-modal-gallery {
    flex: 2; position: relative;
    display: flex; flex-direction: column; gap: 1rem;
    min-width: 0;
}

/* ── 1. Hover effect on preview ── */
.project-modal-main-image {
    width: 100%; aspect-ratio: 16/9;
    background: #0a0a0a; border-radius: 16px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: box-shadow 0.4s ease;
}
.project-modal-main-image::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 16px; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    transition: box-shadow 0.4s ease;
    z-index: 1;
}
.project-modal-main-image:hover {
    box-shadow: 0 0 40px rgba(255,47,139,0.15), 0 8px 32px rgba(0,0,0,0.4);
}
.project-modal-main-image:hover::after {
    box-shadow: inset 0 0 0 1px rgba(255,47,139,0.25);
}
.project-modal-main-image img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.5s cubic-bezier(.23,1,.32,1), filter 0.4s ease, opacity 0.3s;
}
.project-modal-main-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.project-modal-main-image-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    color: rgba(255,255,255,0.3);
}
.project-modal-main-image-placeholder svg { width: 64px; height: 64px; }

/* Gallery navigation arrows */
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-80%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.gallery-nav:hover {
    background: rgba(255,47,139,0.2); border-color: rgba(255,47,139,0.4);
    box-shadow: 0 0 20px rgba(255,47,139,0.2);
    transform: translateY(-80%) scale(1.1);
}
.gallery-nav svg { width: 24px; height: 24px; }
.gallery-nav-prev { left: 1rem; }
.gallery-nav-next { right: 1rem; }

/* Gallery controls */
.gallery-controls {
    position: absolute; bottom: 1rem; right: 1rem;
    display: flex; align-items: center; gap: 1rem; z-index: 2;
}
.gallery-counter {
    font-size: 0.95rem; color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.5); padding: 0.35rem 0.8rem; border-radius: 6px;
    font-family: var(--font-sans); backdrop-filter: blur(8px);
}
.gallery-fullscreen {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(0,0,0,0.5); border: none; color: rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.3s; backdrop-filter: blur(8px);
}
.gallery-fullscreen:hover { color: #fff; background: rgba(255,47,139,0.2); }
.gallery-fullscreen svg { width: 22px; height: 22px; }

/* Device tabs - hidden */
.gallery-device-tabs { display: none; }

/* Thumbnails */
.project-modal-thumbnails {
    display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.project-modal-thumb {
    width: 96px; height: 60px; border-radius: 8px;
    border: 2px solid transparent; overflow: hidden;
    cursor: pointer; opacity: 0.4; transition: all 0.3s ease;
    position: relative;
}
.project-modal-thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.project-modal-thumb:hover { opacity: 0.8; transform: translateY(-2px); }
.project-modal-thumb:hover::after { opacity: 1; }
.project-modal-thumb.active {
    border-color: #ff2d78; opacity: 1;
    box-shadow: 0 0 12px rgba(255,47,139,0.3);
}
.project-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ Right: Info panel ═══ */

/* ── 2. Card depth - radial glow top-right ── */
.project-modal-info {
    flex: 0.85; display: flex; flex-direction: column; gap: 1.5rem;
    max-height: 88vh; overflow-y: auto; padding: 1.5rem 1.75rem;
    border-radius: 20px; min-width: 320px;
    background:
        radial-gradient(circle at top right, rgba(255,47,139,0.08), transparent 60%),
        rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.project-modal-info::before {
    content: ''; position: absolute; top: -1px; right: -1px;
    width: 120px; height: 120px; border-radius: 0 20px 0 0;
    background: radial-gradient(circle at top right, rgba(255,47,139,0.15), transparent 70%);
    pointer-events: none; z-index: 0;
}
.project-modal-info > * { position: relative; z-index: 1; }

/* ── 3. Category label ── */
.project-modal-category {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
    font-weight: 700; color: #FF2F8B;
    font-family: var(--font-sans);
    margin-bottom: 0.2rem;
}
.project-modal-category-divider {
    width: 3px; height: 3px; border-radius: 50%;
    background: rgba(255,47,139,0.5);
}

.project-modal-header { display: flex; flex-direction: column; gap: 0.6rem; }
.project-modal-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5); font-family: var(--font-sans);
}
.project-modal-badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
    animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.project-modal-title {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
    line-height: 1.15; color: #fff;
}
.project-modal-desc {
    font-size: 1.05rem; color: rgba(255,255,255,0.5); line-height: 1.7;
    font-family: var(--font-sans);
}

/* ── 5. Project info grid (Клиент / Сфера / Срок / Тип) ── */
.project-modal-info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    overflow: visible;
}
.project-modal-info-cell {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; gap: 0.2rem;
    min-height: 50px;
    word-break: break-word;
}
.project-modal-info-cell:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
}
.project-modal-info-cell:nth-last-child(-n+2) { border-bottom: none; }
.project-modal-info-cell-label {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45); font-family: var(--font-sans);
}
.project-modal-info-cell-value {
    font-size: 0.85rem; color: #fff;
    font-family: var(--font-sans); font-weight: 500;
    line-height: 1.3;
}

/* Stats */
.project-modal-stats {
    display: flex; gap: 2.5rem;
    padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.project-modal-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.project-modal-stat-value {
    font-size: 1.5rem; font-weight: 600; color: #ff2d78;
    font-family: var(--font-sans);
}
.project-modal-stat-label {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4); font-family: var(--font-sans);
}
/* Body sections */
.project-modal-body { display: flex; flex-direction: column; gap: 2rem; }
.project-modal-section { display: flex; flex-direction: column; gap: 0.8rem; }
.project-modal-section-title {
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4); font-family: var(--font-sans);
}
.project-modal-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-modal-tech-tag {
    padding: 0.45rem 0.9rem; border-radius: 6px; font-size: 0.9rem;
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.08); font-family: var(--font-sans);
    transition: all 0.3s ease;
}
.project-modal-tech-tag:hover {
    background: rgba(255,47,139,0.1); border-color: rgba(255,47,139,0.25);
    color: #FF2F8B;
}
.project-modal-features { display: flex; flex-direction: column; gap: 0.7rem; }
.project-modal-feature {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1rem; color: rgba(255,255,255,0.6);
    font-family: var(--font-sans);
    transition: color 0.3s;
}
.project-modal-feature:hover { color: rgba(255,255,255,0.85); }
.project-modal-feature svg { width: 20px; height: 20px; color: #ff2d78; flex-shrink: 0; }

/* ── 7. CTA with glow ── */
.project-modal-cta { display: flex; gap: 1rem; padding-top: 1rem; }
.project-modal-cta-btn {
    padding: 1rem 2rem; border-radius: 12px; font-size: 1rem;
    font-family: var(--font-sans); font-weight: 600; cursor: pointer;
    text-decoration: none; text-align: center;
    transition: all 0.35s cubic-bezier(.23,1,.32,1);
    border: none; position: relative; overflow: hidden;
}
.project-modal-cta-btn:not(.secondary) {
    background: linear-gradient(135deg, #FF2F8B, #e0267a);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,47,139,0.3);
}
.project-modal-cta-btn:not(.secondary)::before {
    content: ''; position: absolute; inset: -2px;
    background: linear-gradient(135deg, #FF2F8B, #ff6bb5);
    border-radius: 14px; z-index: -1; opacity: 0;
    transition: opacity 0.4s; filter: blur(12px);
}
.project-modal-cta-btn:not(.secondary):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255,47,139,0.5);
}
.project-modal-cta-btn:not(.secondary):hover::before { opacity: 1; }
.project-modal-cta-btn.secondary {
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}
.project-modal-cta-btn.secondary:hover {
    background: rgba(255,255,255,0.08); color: #fff;
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Fullscreen viewer */
.fullscreen-viewer {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: radial-gradient(ellipse at center, #0d0d0d 0%, #000 100%);
    align-items: center; justify-content: center;
}
.fullscreen-viewer::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255,47,139,0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255,47,139,0.04) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}
.fullscreen-viewer.visible { display: flex; }
.fullscreen-image { max-width: 92vw; max-height: 92vh; position: relative; z-index: 1; }
.fullscreen-image img {
    max-width: 100%; max-height: 92vh; object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 80px rgba(0,0,0,0.6), 0 0 40px rgba(255,47,139,0.05);
}
.fullscreen-close,
.fullscreen-nav {
    position: absolute; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff;
    transition: all 0.35s cubic-bezier(.23,1,.32,1);
}
.fullscreen-close {
    top: 1.5rem; right: 1.5rem;
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
}
.fullscreen-close:hover {
    background: rgba(255,47,139,0.2); border-color: rgba(255,47,139,0.4);
    transform: rotate(90deg);
    box-shadow: 0 0 24px rgba(255,47,139,0.3);
}
.fullscreen-close svg { width: 24px; height: 24px; }
.fullscreen-nav {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.fullscreen-nav svg { width: 28px; height: 28px; }
.fullscreen-nav:hover {
    background: rgba(255,47,139,0.25); border-color: rgba(255,47,139,0.5);
    box-shadow: 0 0 30px rgba(255,47,139,0.3), 0 4px 20px rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.12);
}
.fullscreen-prev { left: 2.5rem; top: 50%; transform: translateY(-50%); }
.fullscreen-next { right: 2.5rem; top: 50%; transform: translateY(-50%); }
.fullscreen-counter {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    font-size: 0.95rem; color: rgba(255,255,255,0.5); font-family: var(--font-sans);
    background: rgba(0,0,0,0.4); padding: 0.4rem 1.2rem; border-radius: 20px;
    backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.08);
    z-index: 2;
}

/* Modal responsive */
@media (max-width: 1100px) {
    .project-modal-content {
        gap: 1.5rem; padding: 1.5rem;
    }
    .project-modal-gallery { flex: 1.5; }
    .project-modal-info { flex: 1; min-width: 280px; }
}
@media (max-width: 800px) {
    .project-modal-content {
        flex-direction: column; padding: 1rem; margin: 0.5rem auto;
        width: 100%;
    }
    .project-modal-gallery { flex: none; }
    .project-modal-main-image { aspect-ratio: 16/10; }
    .project-modal-info {
        max-height: none; padding: 1.25rem;
        border-radius: 16px; min-width: unset;
    }
    .project-modal-info::before { display: none; }
    .project-modal-stats { flex-wrap: wrap; gap: 1.5rem; }
    .project-modal-cta { flex-direction: column; }
    .project-modal-info-grid { grid-template-columns: 1fr 1fr; }
    .gallery-device-tabs { flex-wrap: wrap; }
    .project-modal-title { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   WEB PREVIEW SYSTEM (Integration / AI / Mobile previews)
   ═══════════════════════════════════════════════════════════ */

/* ── Main container ── */
.web-app-preview {
    display: flex; flex-direction: column;
    width: 100%; height: 100%; min-height: 420px;
    background: #111; border-radius: 10px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px; color: #e0e0e0;
    border: 1px solid rgba(255,255,255,0.08);
}
.web-app-body {
    display: flex; flex: 1; overflow: hidden;
}

/* ── Top bar ── */
.web-app-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; background: #0a0a0a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.web-app-topbar-right { display: flex; align-items: center; gap: 12px; }
.web-app-topbar-right > svg { width: 18px; height: 18px; color: rgba(255,255,255,0.4); }
.web-app-logo { display: flex; align-items: center; gap: 8px; }
.web-app-logo-icon {
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    background: linear-gradient(135deg, #FF2F8B, #d4256f); color: #fff;
}
.web-app-logo-text { font-size: 13px; letter-spacing: 0.05em; font-weight: 600; color: #fff; }
.web-app-user { display: flex; align-items: center; gap: 8px; }
.web-app-user span { font-size: 11px; color: rgba(255,255,255,0.5); }
.web-app-user-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

/* ── Sidebar ── */
.web-app-sidebar {
    width: 56px; min-width: 56px; background: #0d0d0d;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-direction: column; align-items: center;
    padding: 12px 0; gap: 4px; flex-shrink: 0;
}
.web-sidebar-item {
    width: 42px; height: 42px; border-radius: 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; color: rgba(255,255,255,0.3); cursor: pointer;
    transition: all 0.2s; border-left: 2px solid transparent;
}
.web-sidebar-item svg { width: 16px; height: 16px; }
.web-sidebar-item span { font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40px; text-align: center; }
.web-sidebar-item.active { color: #fff; background: rgba(255,255,255,0.08); border-left-color: #FF2F8B; }

/* ── Main content area ── */
.web-app-main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px; }
.web-app-main::-webkit-scrollbar { width: 4px; }
.web-app-main::-webkit-scrollbar-track { background: transparent; }
.web-app-main::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

/* ── Stats row ── */
.web-app-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    margin-bottom: 14px;
}
.web-stat-card {
    padding: 10px 12px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
}
.web-stat-label { font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.web-stat-value { font-size: 18px; font-weight: 700; }

/* ── Content splits ── */
.web-content-split {
    display: flex; gap: 12px; margin-top: 10px;
}
.web-content-cols { display: flex; gap: 12px; }

.web-doc-list, .web-doc-detail {
    flex: 1; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
    padding: 12px; overflow: hidden;
}
.web-content-panel {
    flex: 1; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
    padding: 12px; overflow: hidden;
}
.web-panel-title {
    font-size: 11px; font-weight: 600; color: #fff;
    margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;
}

/* ═══════════════════════════════════════════════════════════
   INTEGRATION THEMES
   ═══════════════════════════════════════════════════════════ */
.theme-gers-1c .web-app-logo-icon { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.theme-gers-pay .web-app-logo-icon { background: linear-gradient(135deg, #10B981, #059669); }
.theme-gers-crm .web-app-logo-icon { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }

/* ═══════════════════════════════════════════════════════════
   INTEGRATION ELEMENTS
   ═══════════════════════════════════════════════════════════ */

/* Section headers */
.intg-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.intg-section-title {
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.08em;
    display: flex; align-items: center; gap: 6px;
}
.intg-section-badge {
    font-size: 9px; color: rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 5px;
}
.intg-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 6px #4ADE80;
    animation: statusPulse 2s infinite;
}

/* Scroll area */
.intg-scroll-area {
    max-height: 280px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.intg-scroll-area::-webkit-scrollbar { width: 3px; }
.intg-scroll-area::-webkit-scrollbar-track { background: transparent; }
.intg-scroll-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

/* ── Product rows (1C integration) ── */
.intg-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.intg-row:last-child { border-bottom: none; }
.intg-row:hover { background: rgba(255,255,255,0.02); }
.intg-row-icon {
    width: 24px; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.intg-row-icon svg { width: 14px; height: 14px; }
.intg-row-icon.ok { background: rgba(74,222,128,0.12); color: #4ADE80; }
.intg-row-icon.ok svg { stroke: #4ADE80; }
.intg-row-icon.warn { background: rgba(245,158,11,0.12); color: #F59E0B; }
.intg-row-icon.warn svg { stroke: #F59E0B; }
.intg-row-body { flex: 1; min-width: 0; }
.intg-row-code { font-size: 9px; color: rgba(255,255,255,0.35); font-family: 'SF Mono', monospace; }
.intg-row-name { font-size: 11px; color: rgba(255,255,255,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intg-row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.intg-price { font-size: 11px; font-weight: 600; color: #fff; min-width: 60px; text-align: right; }
.intg-stock { font-size: 10px; min-width: 40px; text-align: right; }
.intg-stock.ok { color: rgba(255,255,255,0.5); }
.intg-stock.low { color: #F59E0B; }
.intg-stock.zero { color: #EF4444; font-weight: 600; }
.intg-time { font-size: 9px; color: rgba(255,255,255,0.3); min-width: 60px; text-align: right; }

/* ── Sync log (1C integration) ── */
.intg-log {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.intg-log:last-child { border-bottom: none; }
.intg-log .intg-log-time { font-size: 9px; color: rgba(255,255,255,0.3); min-width: 42px; flex-shrink: 0; padding-top: 1px; font-family: 'SF Mono', monospace; }
.intg-log .intg-row-icon { width: 18px; height: 18px; min-width: 18px; }
.intg-log .intg-row-icon svg { width: 11px; height: 11px; }
.intg-log-body { flex: 1; min-width: 0; }
.intg-log-event { font-size: 10px; color: rgba(255,255,255,0.7); }
.intg-log-details { font-size: 9px; color: rgba(255,255,255,0.35); margin-top: 1px; }

/* ── Transactions (acquiring) ── */
.intg-txn {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.intg-txn:last-child { border-bottom: none; }
.intg-txn:hover { background: rgba(255,255,255,0.02); }
.intg-txn-id { font-size: 10px; color: rgba(255,255,255,0.4); font-family: 'SF Mono', monospace; min-width: 70px; }
.intg-txn-method { font-size: 10px; color: rgba(255,255,255,0.6); flex: 1; }
.intg-txn-card { font-size: 9px; color: rgba(255,255,255,0.3); margin-left: 4px; }
.intg-txn-amount { font-size: 11px; font-weight: 600; color: #fff; min-width: 65px; text-align: right; }
.intg-txn-badge {
    font-size: 9px; padding: 2px 8px; border-radius: 4px;
    font-weight: 500; min-width: 60px; text-align: center;
}
.intg-txn-badge.success { background: rgba(74,222,128,0.12); color: #4ADE80; }
.intg-txn-badge.refunded { background: rgba(245,158,11,0.12); color: #F59E0B; }
.intg-txn-badge.pending { background: rgba(96,165,250,0.12); color: #60A5FA; }
.intg-txn-time { font-size: 9px; color: rgba(255,255,255,0.3); min-width: 35px; text-align: right; }

/* ── Payment methods (acquiring) ── */
.intg-method {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.intg-method:last-child { border-bottom: none; }
.intg-method-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.intg-method-icon svg { width: 16px; height: 16px; }
.intg-method-info { flex: 1; min-width: 0; }
.intg-method-name { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500; }
.intg-method-amount { font-size: 9px; color: rgba(255,255,255,0.35); margin-top: 1px; }
.intg-method-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 60px; }
.intg-method-share { font-size: 13px; font-weight: 700; }
.intg-method-bar { width: 60px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.intg-method-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; }

/* Revenue block */
.intg-revenue {
    padding: 12px; margin-top: 10px;
    background: rgba(255,255,255,0.03); border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.intg-revenue-label { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }
.intg-revenue-value { font-size: 20px; font-weight: 700; color: #4ADE80; margin-top: 4px; }

/* ── CRM Pipeline ── */
.intg-pipeline {
    display: flex; gap: 6px; overflow-x: auto;
    padding-bottom: 4px;
}
.intg-pipeline::-webkit-scrollbar { height: 3px; }
.intg-pipeline::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.intg-stage {
    flex: 1; min-width: 100px; padding: 10px;
    border-radius: 8px; text-align: center;
}
.intg-stage-name { font-size: 9px; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 4px; }
.intg-stage-count { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.intg-stage-lead {
    font-size: 9px; color: rgba(255,255,255,0.4);
    padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── CRM Leads ── */
.intg-lead {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.intg-lead:last-child { border-bottom: none; }
.intg-lead:hover { background: rgba(255,255,255,0.02); }
.intg-lead-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600; color: #fff; flex-shrink: 0;
}
.intg-lead-body { flex: 1; min-width: 0; }
.intg-lead-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.intg-lead-name { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500; }
.intg-lead-time { font-size: 9px; color: rgba(255,255,255,0.3); }
.intg-lead-company { font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.intg-lead-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 3px; }
.intg-lead-tag {
    font-size: 8px; padding: 2px 6px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.03);
}
.intg-lead-tag.stage { background: rgba(74,222,128,0.08); color: #4ADE80; border-color: rgba(74,222,128,0.15); }
.intg-lead-tag.source { background: rgba(96,165,250,0.08); color: #60A5FA; border-color: rgba(96,165,250,0.15); }
.intg-lead-phone { font-size: 9px; color: rgba(255,255,255,0.3); font-family: 'SF Mono', monospace; }

/* ── KPI / Chart placeholders ── */
.intg-kpi-card { padding: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; margin-bottom: 6px; }
.intg-kpi-label { font-size: 9px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.intg-kpi-value { font-size: 14px; font-weight: 700; color: #fff; }
.intg-kpi-change { font-size: 8px; color: #888; }
.intg-chart-placeholder { height: 80px; display: flex; align-items: flex-end; gap: 3px; padding: 0 2px; }
.intg-chart-bar { flex: 1; background: rgba(255,255,255,0.12); border-radius: 2px 2px 0 0; min-height: 4px; }

/* ═══════════════════════════════════════════════════════════
   AI THEMES
   ═══════════════════════════════════════════════════════════ */
.theme-ai-chat .web-app-logo-icon { background: linear-gradient(135deg, #5B7CF7, #3B5DE7); }
.theme-ai-gen .web-app-logo-icon { background: linear-gradient(135deg, #F59E0B, #D97706); }
.theme-ai-scan .web-app-logo-icon { background: linear-gradient(135deg, #EC4899, #DB2777); }

/* Status badges (AI support) */
.status-ai { font-size: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(91,124,247,0.12); color: #5B7CF7; }
.status-resolved { font-size: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(74,222,128,0.12); color: #4ADE80; }
.status-operator { font-size: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(245,158,11,0.12); color: #F59E0B; }

/* ── Conversation list (AI support) ── */
.web-conv-list {
    width: 220px; min-width: 220px;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-direction: column; overflow: hidden;
}
.web-conv-search {
    padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; color: rgba(255,255,255,0.3);
    position: relative;
}
.web-conv-search svg { width: 13px; height: 13px; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.web-conv-search span { font-size: 10px; }
.web-conv-item {
    display: flex; align-items: center; gap: 8px; padding: 8px;
    cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.web-conv-item:hover { background: rgba(255,255,255,0.04); }
.web-conv-item.unread { background: rgba(255,255,255,0.03); }
.web-conv-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.08); display: flex; align-items: center;
    justify-content: center; font-size: 10px; flex-shrink: 0; color: #fff;
}
.web-conv-info { flex: 1; min-width: 0; }
.web-conv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.web-conv-name { font-size: 10px; font-weight: 500; color: #ddd; }
.web-conv-time { font-size: 8px; color: rgba(255,255,255,0.25); }
.web-conv-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.web-conv-preview { font-size: 9px; color: rgba(255,255,255,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.web-conv-status { flex-shrink: 0; }

/* ── Chat area (AI support) ── */
.web-chat-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.web-chat-top {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.web-chat-top-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff;
}
.web-chat-top-info { flex: 1; }
.web-chat-top-name { font-size: 11px; font-weight: 500; color: #fff; display: block; }
.web-chat-top-status { font-size: 9px; color: rgba(255,255,255,0.4); display: block; }
.web-chat-top-badge { flex-shrink: 0; }
.web-chat-messages {
    flex: 1; overflow-y: auto; padding: 10px;
    display: flex; flex-direction: column; gap: 6px;
}
.web-chat-msg { display: flex; max-width: 85%; }
.web-chat-msg.client { margin-left: auto; }
.web-chat-msg.ai { margin-right: auto; }
.web-chat-bubble {
    padding: 8px 12px; border-radius: 12px;
    font-size: 10px; line-height: 1.5;
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
    white-space: pre-wrap;
}
.web-chat-msg.client .web-chat-bubble {
    background: linear-gradient(135deg, #FF2F8B, #d4256f); color: #fff;
    border-radius: 12px 12px 4px 12px;
}
.web-chat-msg.ai .web-chat-bubble { border-radius: 12px 12px 12px 4px; }
.web-chat-input {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 10px; color: rgba(255,255,255,0.3); flex-shrink: 0;
}

/* ── SEO / Generator panels (AI content) ── */
.web-generator-panel {
    width: 260px; min-width: 240px;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 12px; overflow-y: auto;
}
.web-form-group { margin-bottom: 10px; }
.web-form-group label { font-size: 9px; color: rgba(255,255,255,0.4); display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.web-form-group.half { flex: 1; }
.web-form-row { display: flex; gap: 8px; }
.web-form-select, .web-form-input {
    width: 100%; padding: 6px 10px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px; font-size: 10px; color: rgba(255,255,255,0.7);
    box-sizing: border-box;
}
.web-form-btn {
    padding: 8px 14px; border-radius: 6px; font-size: 10px; font-weight: 600;
    cursor: pointer; background: linear-gradient(135deg, #FF2F8B, #d4256f);
    color: #fff; width: 100%; text-align: center; margin-top: 8px;
}
.web-result-panel { flex: 1; padding: 12px; overflow-y: auto; }
.web-generated-text {
    font-size: 10px; line-height: 1.6; color: rgba(255,255,255,0.75);
    padding: 12px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
    margin-bottom: 12px;
}
.web-seo-bar {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 12px;
}
.web-seo-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.web-seo-scores { display: flex; flex-direction: column; gap: 6px; }
.web-seo-item { display: flex; align-items: center; gap: 8px; }
.web-seo-item > span:first-child { font-size: 9px; color: rgba(255,255,255,0.4); min-width: 60px; }
.web-seo-progress { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.web-seo-fill { height: 100%; border-radius: 2px; }
.web-seo-val { font-size: 9px; color: rgba(255,255,255,0.5); min-width: 28px; text-align: right; }
.web-result-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.web-recent-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.web-recent-info { flex: 1; min-width: 0; }
.web-recent-title { font-size: 10px; color: rgba(255,255,255,0.6); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-recent-meta { font-size: 8px; color: rgba(255,255,255,0.3); display: block; }
.web-recent-score { font-size: 11px; font-weight: 600; flex-shrink: 0; }

/* ── Document scan panel ── */
.web-content-split .web-doc-list {
    flex: 1; display: flex; flex-direction: column; overflow: hidden;
}
.web-doc-upload {
    padding: 10px; margin-bottom: 6px;
    border: 1px dashed rgba(255,255,255,0.12); border-radius: 8px;
    text-align: center; font-size: 10px; color: rgba(255,255,255,0.3);
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.web-doc-upload svg { width: 14px; height: 14px; color: rgba(255,255,255,0.3); }
.web-doc-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 4px; border-radius: 6px;
    cursor: pointer; transition: background 0.15s; margin-bottom: 2px;
}
.web-doc-item:hover { background: rgba(255,255,255,0.04); }
.web-doc-icon { flex-shrink: 0; }
.web-doc-icon svg { width: 16px; height: 16px; color: rgba(255,255,255,0.4); }
.web-doc-info { flex: 1; min-width: 0; }
.web-doc-name { font-size: 10px; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.web-doc-meta { font-size: 8px; color: rgba(255,255,255,0.3); display: block; }
.web-doc-status { flex-shrink: 0; }
.web-doc-status svg { width: 14px; height: 14px; }
.web-doc-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #FF2F8B; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.web-content-split .web-doc-detail {
    flex: 1; display: flex; flex-direction: column; overflow-y: auto;
}
.web-doc-detail-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.web-doc-detail-badge { font-size: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(74,222,128,0.12); color: #4ADE80; }
.web-doc-fields { display: flex; flex-direction: column; }
.web-field-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.web-field-label { font-size: 9px; color: rgba(255,255,255,0.4); min-width: 80px; flex-shrink: 0; }
.web-field-value { font-size: 10px; color: rgba(255,255,255,0.75); flex: 1; }

/* ── Marketplace elements ── */
.mp-board { display: flex; flex-direction: column; gap: 10px; }
.mp-search-bar { display: flex; gap: 6px; align-items: center; }
.mp-search-input { flex: 1; display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 10px; color: rgba(255,255,255,0.3); }
.mp-search-input svg { width: 13px; height: 13px; flex-shrink: 0; }
.mp-search-location { display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 10px; color: rgba(255,255,255,0.5); }
.mp-search-location svg { width: 12px; height: 12px; }
.mp-search-btn { padding: 6px 14px; background: linear-gradient(135deg, #FF2F8B, #d4256f); color: #fff; border-radius: 6px; font-size: 10px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.mp-categories-row { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.mp-cat-tab { display: flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 6px; font-size: 9px; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.mp-cat-tab.active { background: rgba(255,47,139,0.1); border-color: rgba(255,47,139,0.2); color: #FF2F8B; }
.mp-cat-icon svg { width: 12px; height: 12px; }
.mp-cat-name { font-weight: 500; }
.mp-cat-count { font-size: 8px; color: rgba(255,255,255,0.3); }
.mp-content-area { display: flex; gap: 10px; }
.mp-filters-panel { width: 150px; min-width: 140px; padding: 10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; }
.mp-filter-title { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.mp-filter-group { margin-bottom: 8px; }
.mp-filter-group label { font-size: 8px; color: rgba(255,255,255,0.4); display: block; margin-bottom: 3px; }
.mp-filter-range { display: flex; align-items: center; gap: 4px; }
.mp-filter-input { padding: 3px 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; font-size: 9px; color: rgba(255,255,255,0.5); }
.mp-filter-dash { color: rgba(255,255,255,0.2); font-size: 10px; }
.mp-filter-select { padding: 4px 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; font-size: 9px; color: rgba(255,255,255,0.5); }
.mp-filter-check { display: flex; align-items: center; gap: 5px; font-size: 9px; color: rgba(255,255,255,0.45); margin-bottom: 4px; cursor: pointer; }
.mp-check-box { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); flex-shrink: 0; }
.mp-filter-check.checked .mp-check-box { background: #FF2F8B; border-color: #FF2F8B; }
.mp-filter-apply { padding: 5px; background: linear-gradient(135deg, #FF2F8B, #d4256f); color: #fff; border-radius: 4px; font-size: 9px; text-align: center; cursor: pointer; margin-top: 6px; }
.mp-filter-reset { padding: 4px; text-align: center; font-size: 8px; color: rgba(255,255,255,0.3); cursor: pointer; margin-top: 3px; }
.mp-listings-grid { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mp-listing-card { display: flex; gap: 8px; padding: 8px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; transition: all 0.15s; }
.mp-listing-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.mp-listing-img { width: 50px; height: 50px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.mp-listing-verified { position: absolute; bottom: -2px; right: -2px; }
.mp-listing-verified svg { width: 14px; height: 14px; }
.mp-listing-body { flex: 1; min-width: 0; }
.mp-listing-title { font-size: 10px; color: rgba(255,255,255,0.8); font-weight: 500; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-listing-price { font-size: 11px; font-weight: 600; color: #FF2F8B; margin-bottom: 2px; }
.mp-listing-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.mp-listing-master { font-size: 9px; color: rgba(255,255,255,0.5); }
.mp-listing-online { font-size: 8px; color: #4ADE80; }
.mp-listing-bottom { display: flex; align-items: center; justify-content: space-between; }
.mp-listing-stars { font-size: 9px; color: rgba(255,255,255,0.3); }
.mp-star.filled { color: #F59E0B; }
.mp-listing-rating { color: rgba(255,255,255,0.6); font-weight: 500; }
.mp-listing-reviews { color: rgba(255,255,255,0.3); }
.mp-listing-location { font-size: 8px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 2px; }
.mp-listing-time { font-size: 8px; color: rgba(255,255,255,0.2); margin-top: 2px; }

/* ── Action buttons (shared) ── */
.web-action-btn {
    padding: 5px 10px; border-radius: 5px; font-size: 9px;
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
    cursor: pointer; transition: all 0.2s; display: inline-block;
}
.web-action-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   MOBILE APP THEMES
   ═══════════════════════════════════════════════════════════ */
.mobile-phone-frame {
    width: 280px; height: 520px; margin: 0 auto;
    background: #0a0a0a; border-radius: 28px;
    border: 2px solid rgba(255,255,255,0.12);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}
.mobile-status-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 16px; font-size: 10px; color: rgba(255,255,255,0.6);
    background: inherit; flex-shrink: 0;
}
.mobile-app-header {
    padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.mobile-app-header h3 { font-size: 16px; font-weight: 600; color: #fff; }
.mobile-app-content { flex: 1; overflow-y: auto; padding: 12px 16px; }
.mobile-bottom-nav {
    display: flex; justify-content: space-around; padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 9px; color: rgba(255,255,255,0.35);
}
.mobile-nav-item svg { width: 18px; height: 18px; }
.mobile-nav-item.active { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   BOT CHAT PREVIEW - PHONE FRAME
   ═══════════════════════════════════════════════════════════ */

/* Phone frame wrapper */
.bot-phone-frame {
    max-width: 380px; width: 100%; margin: 0 auto; position: relative;
    border: 2.5px solid rgba(255,255,255,0.12);
    border-radius: 36px; padding: 6px;
    background: #000;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6),
                0 0 50px rgba(255,47,139,0.08),
                inset 0 0 30px rgba(255,255,255,0.02);
}
/* Inside modal gallery - override aspect ratio */
.project-modal-main-image:has(.bot-phone-frame) {
    aspect-ratio: unset; background: transparent;
    align-items: stretch; padding: 1rem 0;
}
.project-modal-main-image:has(.bot-phone-frame)::after { display: none; }
.project-modal-main-image:has(.web-app-preview) {
    aspect-ratio: unset; background: transparent;
    align-items: stretch; padding: 0;
}
.project-modal-main-image:has(.web-app-preview)::after { display: none; }

/* ═══════════════════════════════════════════════════════════
   VIDEO PHONE FRAME (for mobile app demos)
   ═══════════════════════════════════════════════════════════ */
.project-modal-main-image:has(.video-phone-frame) {
    aspect-ratio: unset; background: transparent;
    align-items: center; justify-content: center; padding: 1rem 0;
}
.project-modal-main-image:has(.video-phone-frame)::after { display: none; }

.video-phone-frame {
    max-width: 300px; width: 100%; margin: 0 auto; position: relative;
    border: 3px solid rgba(255,47,139,0.25);
    border-radius: 40px; padding: 0;
    background: transparent;
    overflow: hidden;
    box-shadow:
        0 30px 100px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,47,139,0.1),
        0 0 60px rgba(255,47,139,0.12),
        0 0 100px rgba(255,47,139,0.06),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
.video-phone-frame:hover {
    border-color: rgba(255,47,139,0.4);
    box-shadow:
        0 30px 100px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,47,139,0.2),
        0 0 80px rgba(255,47,139,0.2),
        0 0 120px rgba(255,47,139,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}
.video-phone-notch {
    display: none;
}
.video-phone-screen {
    width: 100%; border-radius: 0; overflow: hidden;
    background: #000; position: relative;
}
.video-phone-player {
    width: 100%; display: block; border-radius: 0;
    background: #000;
}
.video-phone-player::-webkit-media-controls-panel,
.video-phone-player::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
.phone-card-video::-webkit-media-controls-panel,
.phone-card-video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
.video-phone-home {
    display: none;
}

/* ═══ Mobile modal layout ═══ */
.modal-mobile-layout {
    align-items: stretch;
    margin-top: auto !important;
    margin-bottom: auto !important;
}
.modal-mobile-layout .project-modal-gallery {
    flex: 0 0 340px;
    width: 340px;
    min-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    max-height: 80vh;
}
.modal-mobile-layout .project-modal-main-image {
    width: 100%;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    aspect-ratio: unset !important;
}
.modal-mobile-layout .project-modal-main-image::after { display: none; }
.modal-mobile-layout .project-modal-main-image:hover {
    box-shadow: none;
}

/* ── Mobile info panel - app-store style ── */
.modal-mobile-layout .project-modal-info {
    flex: 1;
    background:
        radial-gradient(circle at top right, rgba(255,47,139,0.06), transparent 50%),
        rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2rem;
    gap: 1.5rem;
}
.modal-mobile-layout .project-modal-info::before {
    border-radius: 0 24px 0 0;
}

/* Category badge - app-store pill */
.modal-mobile-layout .project-modal-category {
    background: rgba(255,47,139,0.08);
    border: 1px solid rgba(255,47,139,0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    align-self: flex-start;
    font-size: 0.7rem;
}

/* Title - compact */
.modal-mobile-layout .project-modal-title {
    font-size: 1.6rem;
    line-height: 1.2;
}

/* Info grid - rounded glass cards */
.modal-mobile-layout .project-modal-info-grid {
    border: none;
    border-radius: 16px;
    gap: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: transparent;
}
.modal-mobile-layout .project-modal-info-cell {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 14px !important;
    padding: 0.9rem 1rem;
    min-height: auto;
    transition: all 0.3s ease;
}
.modal-mobile-layout .project-modal-info-cell:hover {
    background: rgba(255,47,139,0.05);
    border-color: rgba(255,47,139,0.15) !important;
    transform: translateY(-2px);
}
.modal-mobile-layout .project-modal-info-cell:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.07) !important;
}
.modal-mobile-layout .project-modal-info-cell-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.modal-mobile-layout .project-modal-info-cell-value {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stats - horizontal pills */
.modal-mobile-layout .project-modal-stats {
    display: flex;
    gap: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-mobile-layout .project-modal-stat {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    transition: background 0.3s;
}
.modal-mobile-layout .project-modal-stat:last-child {
    border-right: none;
}
.modal-mobile-layout .project-modal-stat:hover {
    background: rgba(255,47,139,0.04);
}
.modal-mobile-layout .project-modal-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
}
.modal-mobile-layout .project-modal-stat-label {
    font-size: 0.7rem;
    margin-top: 4px;
}

/* Tech tags - rounded pills */
.modal-mobile-layout .project-modal-tech-tag {
    border-radius: 20px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.modal-mobile-layout .project-modal-tech-tag:hover {
    background: rgba(255,47,139,0.1);
    border-color: rgba(255,47,139,0.3);
    color: #ff2f8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,47,139,0.1);
}

/* Features - clean checkmarks */
.modal-mobile-layout .project-modal-feature {
    padding: 0.4rem 0;
    font-size: 0.95rem;
}
.modal-mobile-layout .project-modal-feature svg {
    width: 18px; height: 18px;
    background: rgba(255,47,139,0.1);
    border-radius: 50%;
    padding: 2px;
}

/* CTA buttons - rounded */
.modal-mobile-layout .project-modal-cta {
    gap: 0.75rem;
}
.modal-mobile-layout .project-modal-cta-btn {
    border-radius: 16px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
}
.modal-mobile-layout .project-modal-cta-btn.secondary {
    border-radius: 16px;
}

/* Section titles - smaller */
.modal-mobile-layout .project-modal-section-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
}

@media (max-width: 1100px) {
    .modal-mobile-layout .project-modal-gallery {
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
    }
    .modal-mobile-layout .video-phone-frame {
        max-width: 270px;
    }
}
@media (max-width: 800px) {
    .modal-mobile-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .modal-mobile-layout .project-modal-gallery {
        flex: none;
        width: 100%;
        min-width: unset;
        align-self: center;
    }
    .modal-mobile-layout .video-phone-frame {
        max-width: 260px;
    }
    .modal-mobile-layout .project-modal-title {
        font-size: 1.4rem;
    }
}
@media (max-width: 600px) {
    .video-phone-frame {
        max-width: 100%; border-radius: 28px; padding: 4px;
    }
    .video-phone-screen { border-radius: 0; }
    .video-phone-player { border-radius: 0; }
    .modal-mobile-layout .project-modal-info {
        padding: 1.25rem;
        border-radius: 18px;
    }
    .modal-mobile-layout .project-modal-info-grid {
        gap: 6px;
    }
    .modal-mobile-layout .project-modal-info-cell {
        border-radius: 10px !important;
        padding: 0.7rem 0.8rem;
    }
}
.project-modal-main-image .web-app-preview { width: 100%; height: 100%; min-height: 450px; }
.project-modal-main-image .bot-phone-frame {
    max-height: 680px; height: auto;
}
/* Notch */
.bot-phone-notch {
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 22px; background: #000;
    border-radius: 0 0 14px 14px; z-index: 5;
}
.bot-phone-notch::after {
    content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
    width: 8px; height: 8px; background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
/* Home indicator */
.bot-phone-home {
    width: 100px; height: 4px; background: rgba(255,255,255,0.2);
    border-radius: 3px; margin: 6px auto 4px;
}

/* Chat container inside frame */
.bot-chat-preview {
    width: 100%; height: 100%; max-height: 680px;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    border-radius: 30px; overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Chat header ── */
.bot-chat-header {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 2rem 1rem 0.65rem; background: rgba(17,17,17,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px); position: relative; z-index: 2;
}
.bot-chat-header-actions {
    display: flex; gap: 6px; margin-left: auto;
}
.bot-chat-header-actions button {
    background: none; border: none; color: rgba(255,255,255,0.4);
    cursor: pointer; padding: 4px; border-radius: 8px; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.bot-chat-header-actions button:hover {
    color: #FF2F8B; background: rgba(255,47,139,0.1);
}
.bot-chat-header-actions button svg { width: 18px; height: 18px; }
.bot-chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,47,139,0.2), rgba(255,47,139,0.05));
    border: 1.5px solid rgba(255,47,139,0.3);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bot-chat-avatar svg { width: 18px; height: 18px; color: #FF2F8B; fill: none; stroke: currentColor; stroke-width: 2; }
.bot-chat-header-info { display: flex; flex-direction: column; }
.bot-chat-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
/* Pulsing online status */
.bot-chat-status {
    font-size: 0.68rem; color: #4CAF50; display: flex; align-items: center; gap: 4px;
}
.bot-chat-status::before {
    content: ''; width: 6px; height: 6px; background: #4CAF50;
    border-radius: 50%; flex-shrink: 0;
    animation: statusPulse 2s infinite ease-in-out;
    box-shadow: 0 0 6px rgba(76,175,80,0.5);
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Chat messages area ── */
.bot-chat-messages {
    flex: 1; overflow-y: auto; padding: 0.75rem 0.75rem;
    display: flex; flex-direction: column; gap: 0.25rem;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(255,47,139,0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 30%, rgba(255,47,139,0.02) 0%, transparent 50%);
}
/* Custom scrollbar */
.bot-chat-messages::-webkit-scrollbar { width: 3px; }
.bot-chat-messages::-webkit-scrollbar-track { background: transparent; }
.bot-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,47,139,0.25); border-radius: 3px;
}
.bot-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255,47,139,0.5);
}

/* ── Date separator ── */
.bot-chat-date-sep {
    text-align: center; padding: 8px 0 6px; align-self: center;
}
.bot-chat-date-sep span {
    font-size: 0.62rem; color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05); padding: 3px 14px;
    border-radius: 10px; letter-spacing: 0.03em;
}

/* ── Progress bar for animated chat ── */
.bot-chat-progress {
    height: 2px; background: rgba(255,255,255,0.04);
    position: relative; flex-shrink: 0;
}
.bot-chat-progress-bar {
    height: 100%; width: 0%; background: linear-gradient(90deg, #FF2F8B, #ff6baf);
    border-radius: 2px; transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255,47,139,0.4);
}

/* ═══ MESSAGE BUBBLES ═══ */

/* Bot message - left aligned, with avatar */
.bot-msg {
    display: flex; align-items: flex-start; gap: 8px;
    animation: fadeUp 0.3s ease; max-width: 88%;
}
.bot-msg-inner {
    display: flex; flex-direction: column; align-items: flex-start;
    min-width: 0; flex: 1;
}
/* Sender label */
.bot-msg .msg-sender {
    font-size: 0.62rem; font-weight: 600; color: #FF2F8B;
    margin-bottom: 2px; padding-left: 2px;
}
/* Bot inline avatar */
.bot-msg-ava {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,47,139,0.15), rgba(255,47,139,0.05));
    border: 1px solid rgba(255,47,139,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; margin-top: 18px;
}
/* Hide avatar for grouped messages */
.bot-msg.grouped .bot-msg-ava { visibility: hidden; }
.bot-msg.grouped .msg-sender { display: none; }
.bot-msg.grouped { margin-top: -4px; }

/* User message - right aligned, no avatar */
.bot-msg.user {
    flex-direction: row-reverse; align-self: flex-end;
}
.bot-msg.user .bot-msg-ava { display: none; }
.bot-msg.user .bot-msg-inner { align-items: flex-end; }
.bot-msg.user .msg-sender {
    color: rgba(255,255,255,0.4); text-align: right; padding-right: 2px;
}
.bot-msg.user.grouped .msg-sender { display: none; }
.bot-msg.user.grouped { margin-top: -4px; }

/* Bot text bubble - dark, left tail */
.bot-msg.bot .bot-msg-inner > span:not(.msg-sender):not(.msg-time) {
    display: block; max-width: 100%; padding: 0.55rem 0.8rem;
    border-radius: 4px 16px 16px 16px; font-size: 0.8rem; line-height: 1.5;
    background: rgba(255,255,255,0.07); color: #ddd;
}
.bot-msg.bot.grouped .bot-msg-inner > span:not(.msg-sender):not(.msg-time) {
    border-radius: 4px 16px 16px 16px;
}
/* User text bubble - pink, right tail */
.bot-msg.user .bot-msg-inner > span:not(.msg-sender):not(.msg-time) {
    display: block; max-width: 100%; padding: 0.55rem 0.8rem;
    border-radius: 16px 4px 16px 16px; font-size: 0.8rem; line-height: 1.5;
    background: linear-gradient(135deg, #FF2F8B, #d4256f);
    color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Time + read receipts */
.msg-time {
    font-size: 0.58rem; color: rgba(255,255,255,0.2);
    margin-top: 2px; display: flex; align-items: center; gap: 3px; padding: 0 2px;
}
.bot-msg.user .msg-time { justify-content: flex-end; }
/* Read receipts */
.msg-read {
    color: #4FC3F7; font-size: 0.6rem; font-weight: 700; letter-spacing: -2px;
}

/* ── Quick buttons & inline buttons ── */
.bot-quick-btns { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.bot-quick-btn {
    padding: 0.3rem 0.7rem; font-size: 0.7rem;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
    color: rgba(255,255,255,0.6); transition: all 0.25s; cursor: pointer;
}
.bot-quick-btn:hover {
    border-color: rgba(255,47,139,0.4); color: #FF2F8B;
    background: rgba(255,47,139,0.06);
}
.bot-msg-buttons {
    display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem;
}
.bot-msg-btn {
    padding: 0.35rem 0.75rem; font-size: 0.72rem;
    border: 1px solid rgba(255,47,139,0.3); border-radius: 14px;
    color: #FF2F8B; cursor: pointer; transition: all 0.25s;
    background: rgba(255,47,139,0.06);
}
.bot-msg-btn:hover {
    background: rgba(255,47,139,0.18); border-color: #FF2F8B;
    box-shadow: 0 0 12px rgba(255,47,139,0.15);
    transform: translateY(-1px);
}

/* ── Chat input mock ── */
.bot-chat-input-area {
    display: flex; gap: 0.5rem; padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.bot-chat-input-area input {
    flex: 1; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
    padding: 0.4rem 0.8rem; font-size: 0.8rem; color: #ccc; outline: none;
}
.bot-chat-input-mock {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0.85rem; gap: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(17,17,17,0.95); flex-shrink: 0;
    backdrop-filter: blur(12px);
}
.bot-chat-input-mock span {
    flex: 1; padding: 0.45rem 0.85rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px; font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}
.bot-chat-input-mock svg {
    width: 20px; height: 20px; flex-shrink: 0;
    color: rgba(255,47,139,0.5); fill: none;
    stroke: currentColor; stroke-width: 1.5;
    transition: color 0.2s;
}
.bot-chat-input-mock:hover svg { color: #FF2F8B; }

/* ── Replay button ── */
.bot-chat-replay {
    position: absolute; bottom: 70px; right: 16px; z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,47,139,0.15); border: 1px solid rgba(255,47,139,0.3);
    color: #FF2F8B; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none;
}
.bot-chat-replay.visible {
    opacity: 1; pointer-events: auto;
}
.bot-chat-replay:hover {
    background: rgba(255,47,139,0.3); transform: scale(1.1) rotate(-20deg);
    box-shadow: 0 0 20px rgba(255,47,139,0.3);
}
.bot-chat-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── Animated bot chat ── */
.bot-chat-animated .bot-chat-messages {
    scroll-behavior: smooth;
}
.bot-msg-appear {
    animation: botMsgAppear 0.4s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes botMsgAppear {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Typing indicator */
.bot-typing {
    display: flex; gap: 4px; padding: 8px 14px;
    background: rgba(255,255,255,0.06); border-radius: 16px;
    width: fit-content;
}
.bot-typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: typingDot 1.4s infinite ease-in-out;
}
.bot-typing span:nth-child(2) { animation-delay: 0.2s; }
.bot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ── GERS branded cards ── */
.gers-welcome-card, .gers-dashboard, .gers-settings-panel {
    width: 100%; border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    border: 1px solid rgba(255,47,139,0.15);
}
.gers-card-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; background: rgba(255,47,139,0.05);
    border-bottom: 1px solid rgba(255,47,139,0.1);
}
.gers-card-logo {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, #FF2F8B, #d4256f);
    color: #fff; font-weight: 800; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.gers-card-decor {
    flex: 1; height: 2px;
    background: linear-gradient(90deg, rgba(255,47,139,0.3), transparent);
}
.gers-card-title {
    padding: 10px 14px 2px; font-size: 0.82rem; font-weight: 700; color: #fff;
}
.gers-card-subtitle {
    padding: 0 14px 8px; font-size: 0.7rem; color: rgba(255,255,255,0.4);
}
.gers-card-features { padding: 0 14px 8px; display: flex; flex-direction: column; gap: 6px; }
.gers-card-feature { display: flex; align-items: center; gap: 8px; }
.gers-card-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.gers-card-feature-text { display: flex; flex-direction: column; }
.gers-card-feature-label { font-size: 0.72rem; color: #fff; font-weight: 500; }
.gers-card-feature-desc { font-size: 0.62rem; color: rgba(255,255,255,0.35); }
.gers-card-footer {
    padding: 8px 14px; font-size: 0.62rem; color: rgba(255,255,255,0.25);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.gers-card-version {
    padding: 0 14px 8px; font-size: 0.58rem; color: rgba(255,47,139,0.4);
}
/* Dashboard */
.gers-dash-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px; background: rgba(255,47,139,0.04);
    border-bottom: 1px solid rgba(255,47,139,0.08);
}
.gers-dash-header-left { display: flex; align-items: center; gap: 8px; }
.gers-dash-title { font-size: 0.78rem; font-weight: 700; color: #fff; display: block; }
.gers-dash-sub { font-size: 0.62rem; color: rgba(255,255,255,0.35); display: block; }
.gers-dash-date { font-size: 0.62rem; color: rgba(255,255,255,0.3); }
.gers-dash-stats { display: flex; gap: 6px; padding: 10px 14px; flex-wrap: wrap; }
.gers-dash-stat {
    flex: 1; min-width: 60px; padding: 8px 10px; border-radius: 10px;
    background: rgba(255,255,255,0.03); text-align: center;
}
.gers-dash-stat-bar { width: 100%; height: 3px; border-radius: 2px; margin-bottom: 6px; }
.gers-dash-stat-value { font-size: 0.85rem; font-weight: 700; color: #fff; display: block; }
.gers-dash-stat-label { font-size: 0.58rem; color: rgba(255,255,255,0.35); display: block; }
.gers-dash-section { padding: 8px 14px; }
.gers-dash-section-title { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.5); margin: 0 0 6px; }
.gers-dash-bar-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.gers-dash-bar-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); width: 70px; flex-shrink: 0; }
.gers-dash-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.gers-dash-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.gers-dash-bar-val { font-size: 0.65rem; color: rgba(255,255,255,0.5); width: 28px; text-align: right; }
.gers-dash-top-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.gers-dash-top-num {
    width: 20px; height: 20px; border-radius: 6px; font-size: 0.6rem;
    font-weight: 700; color: #fff; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.gers-dash-top-info { flex: 1; }
.gers-dash-top-name { font-size: 0.68rem; color: #fff; display: block; }
.gers-dash-top-shop { font-size: 0.58rem; color: rgba(255,255,255,0.3); }
.gers-dash-top-price { font-size: 0.72rem; font-weight: 600; color: #4ADE80; }
.gers-dash-discount-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.gers-dash-discount-badge {
    padding: 2px 6px; border-radius: 4px; font-size: 0.58rem; font-weight: 700;
    background: rgba(239,68,68,0.15); color: #EF4444;
}
.gers-dash-discount-name { flex: 1; font-size: 0.65rem; color: #fff; }
.gers-dash-discount-old { font-size: 0.6rem; color: rgba(255,255,255,0.3); text-decoration: line-through; }
.gers-dash-discount-new { font-size: 0.68rem; font-weight: 600; color: #4ADE80; }
.gers-dash-footer {
    padding: 8px 14px; font-size: 0.58rem; color: rgba(255,255,255,0.2);
    border-top: 1px solid rgba(255,255,255,0.04); text-align: center;
}
/* Settings panel */
.gers-settings-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gers-settings-title { font-size: 0.82rem; font-weight: 700; color: #fff; }
.gers-settings-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.gers-settings-row-border { width: 3px; height: 28px; border-radius: 2px; flex-shrink: 0; }
.gers-settings-row-info { flex: 1; }
.gers-settings-row-label { font-size: 0.72rem; color: #fff; display: block; }
.gers-settings-row-desc { font-size: 0.58rem; color: rgba(255,255,255,0.3); }
.gers-settings-row-value { font-size: 0.68rem; font-weight: 600; flex-shrink: 0; }

/* ── Master cards (beauty salon) ── */
.bot-master-cards {
    display: flex; flex-direction: column; gap: 6px; width: 100%;
}
.bot-master-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.bot-master-card:hover {
    background: rgba(255,47,139,0.08);
    border-color: rgba(255,47,139,0.3);
}
.bot-master-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,47,139,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.bot-master-info { display: flex; flex-direction: column; gap: 2px; }
.bot-master-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.bot-master-spec { font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.bot-master-rating { font-size: 0.7rem; color: rgba(255,255,255,0.6); }

/* ── Doctor cards (clinic) ── */
.bot-doctor-cards {
    display: flex; flex-direction: column; gap: 8px; width: 100%;
}
.bot-doctor-card {
    display: flex; gap: 12px; padding: 12px;
    border-radius: 12px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer; transition: all 0.2s;
}
.bot-doctor-card:hover {
    background: rgba(255,47,139,0.06);
    border-color: rgba(255,47,139,0.25);
}
.bot-doctor-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,47,139,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.bot-doctor-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.bot-doctor-name { font-size: 0.78rem; font-weight: 600; color: #fff; line-height: 1.2; }
.bot-doctor-spec { font-size: 0.68rem; color: rgba(255,255,255,0.4); }
.bot-doctor-meta {
    display: flex; gap: 8px; font-size: 0.68rem; color: rgba(255,255,255,0.5);
}
.bot-doctor-price {
    font-size: 0.78rem; font-weight: 600; color: #FF2F8B;
    margin-top: 2px;
}

/* ── Schedule slots ── */
.bot-schedule {
    display: flex; flex-direction: column; gap: 10px; width: 100%;
}
.bot-schedule-day {
    display: flex; flex-direction: column; gap: 6px;
}
.bot-schedule-date {
    font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 0.03em;
}
.bot-schedule-slots {
    display: flex; flex-wrap: wrap; gap: 5px;
}
.bot-schedule-slot {
    padding: 6px 14px; border-radius: 20px; font-size: 0.75rem;
    background: rgba(255,47,139,0.08);
    border: 1px solid rgba(255,47,139,0.25);
    color: #FF2F8B; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
}
.bot-schedule-slot:hover {
    background: rgba(255,47,139,0.2);
    border-color: #FF2F8B;
    box-shadow: 0 0 12px rgba(255,47,139,0.2);
}

/* ── Bot product cards ── */
.bot-msg-product {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%;
}
.bot-product-card {
    border-radius: 10px; overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer; transition: all 0.2s;
}
.bot-product-card:hover {
    border-color: rgba(255,47,139,0.25);
    background: rgba(255,47,139,0.04);
}
.bot-product-card .product-img {
    width: 100%; aspect-ratio: 1; display: flex;
    align-items: center; justify-content: center;
    font-size: 2rem; background: rgba(255,255,255,0.03);
}
.bot-product-card .product-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.bot-product-card .product-info {
    padding: 6px 8px; display: flex; flex-direction: column; gap: 2px;
}
.bot-product-card .product-name {
    font-size: 0.68rem; color: #fff; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bot-product-card .product-price {
    font-size: 0.72rem; color: #FF2F8B; font-weight: 600;
}
/* Single product */
.bot-msg-product-single {
    width: 100%; border-radius: 12px; overflow: hidden;
    position: relative; aspect-ratio: 16/10;
    background: rgba(255,255,255,0.03);
}
.bot-msg-product-single .product-img {
    width: 100%; height: 100%; display: flex;
    align-items: center; justify-content: center; font-size: 3rem;
}
.bot-msg-product-single .product-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.bot-msg-product-single .product-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.bot-msg-product-single .product-overlay .product-name {
    font-size: 0.78rem; color: #fff; font-weight: 600; display: block;
}
.bot-msg-product-single .product-overlay .product-price {
    font-size: 0.85rem; color: #FF2F8B; font-weight: 700;
}

/* ── Booking confirmation card ── */
.bot-booking-card {
    width: 100%; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,47,139,0.06), rgba(255,47,139,0.02));
    border: 1px solid rgba(255,47,139,0.2);
    overflow: hidden;
}
.bot-booking-header {
    padding: 10px 14px; font-size: 0.78rem; font-weight: 700;
    color: #FF2F8B; background: rgba(255,47,139,0.06);
    border-bottom: 1px solid rgba(255,47,139,0.12);
    letter-spacing: 0.03em;
}
.bot-booking-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 14px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bot-booking-row:last-of-type { border-bottom: none; }
.bot-booking-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.bot-booking-value { font-size: 0.75rem; color: #fff; font-weight: 500; text-align: right; }
.bot-booking-price .bot-booking-value {
    color: #FF2F8B; font-size: 0.85rem; font-weight: 700;
}
.bot-booking-note {
    padding: 8px 14px; font-size: 0.72rem; color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.04);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Overlay — hidden, not needed for full-screen menu */
    .mob-nav-overlay {
        display: none !important;
    }
    .nav {
        display: flex;
        position: fixed;
        inset: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        z-index: 1002;
        padding: 4rem 2rem 2rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s cubic-bezier(.23,1,.32,1), visibility 0.35s;
        overflow-y: auto;
    }
    .nav.open {
        opacity: 1;
        visibility: visible;
    }
    .nav::-webkit-scrollbar { width: 3px; }
    .nav::-webkit-scrollbar-track { background: transparent; }
    .nav::-webkit-scrollbar-thumb { background: #eee; border-radius: 3px; }
    /* --- Mobile nav logo --- */
    .mob-nav-logo {
        display: block;
        padding: 0 0 1rem;
        border-bottom: 1px solid #eee;
        margin-bottom: 0.5rem;
    }
    .mob-nav-logo img {
        height: 112px;
        width: auto;
        object-fit: contain;
    }
    /* --- Nav link items --- */
    .nav-link {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        font-family: var(--font-sans);
        font-weight: 900;
        color: #1a1a1a !important;
        padding: 1.2rem 0;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        border-bottom: 1px solid #f0f0f0;
        display: block;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.35s, transform 0.35s, color 0.25s, padding-left 0.25s;
        position: relative;
    }
    /* Pink left accent on hover */
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        background: #ff2f8b;
        transform: scaleY(0);
        transition: transform 0.3s cubic-bezier(.23,1,.32,1);
    }
    .nav-link:hover::before {
        transform: scaleY(1);
    }
    .nav.open .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    .nav.open .nav-link:nth-child(1) { transition-delay: 0.06s; }
    .nav.open .nav-link:nth-child(2) { transition-delay: 0.12s; }
    .nav.open .nav-link:nth-child(3) { transition-delay: 0.16s; }
    .nav.open .nav-link:nth-child(4) { transition-delay: 0.20s; }
    .nav.open .nav-link:nth-child(5) { transition-delay: 0.24s; }
    .nav.open .nav-link:nth-child(6) { transition-delay: 0.28s; }
    .nav-link:hover {
        color: #ff2f8b !important;
        padding-left: 0.5rem;
    }
    .nav-link::after { display: none; }
    /* --- Bottom section (Telegram) --- */
    .mob-nav-bottom {
        margin-top: auto;
        padding: 1rem 0 0;
        border-top: 1px solid #eee;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .mob-nav-tg {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        color: #fff;
        font-size: 0.95rem;
        font-family: var(--font-sans);
        font-weight: 700;
        text-decoration: none;
        padding: 1rem 2rem;
        background: #1a1a1a;
        border: none;
        border-radius: 16px;
        transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
        width: 100%;
        letter-spacing: 0.03em;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    .mob-nav-tg svg {
        width: 20px; height: 20px;
        fill: #fff;
        transition: transform 0.25s;
    }
    .mob-nav-tg:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 28px rgba(0,0,0,0.25);
        background: #333;
    }
    .mob-nav-tg:hover svg {
        transform: scale(1.15);
    }
    .nav-burger { display: flex; }
    .mob-nav-logo { display: block; }
    .mob-nav-bottom { display: flex; }
    .mob-nav-overlay { display: block; }
    .header-controls { display: none; }
    .header-meta { display: none; }
    .header-tagline { display: none; }
    /* Compact header on mobile: logo + burger on same line, sticky */
    .header {
        padding: 0.8rem 1rem;
        gap: 1rem;
        position: sticky;
        top: 0;
        z-index: 1001;
    }
    .logo-img {
        height: 50px;
    }
    /* ── Hero section ── */
    .hero {
        min-height: auto;
        padding-bottom: 2rem;
    }
    .hero-visual {
        margin-bottom: 0;
    }
    .hero-logo-img {
        margin: -4% auto -16%;
    }
    .hero-text-block {
        margin-top: 0;
        padding: 0 1rem;
    }
    .hero-headline {
        margin-bottom: 0.8rem;
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }
    .hero-description {
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
    }
    .hero-cta {
        gap: 0.6rem;
    }
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.72rem;
    }
    .hero-scroll-indicator { display: none; }
    .hero-stats { display: none; }
    .marquee-container {
        padding: 0.8rem 0;
    }
    .marquee-item {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }
    .marquee-dot {
        font-size: 0.4rem;
        padding: 0 0.4rem;
    }

    /* ── Projects header ── */
    /* Projects header mobile: logo top-left, title centered */
    .header--projects {
        position: sticky;
        top: 0;
        padding: 0.8rem 1rem;
        min-height: 60px;
    }
    .header--projects .logo {
        position: relative;
        z-index: 2;
    }
    .header--projects .logo-img {
        height: 46px;
    }
    .header-center-title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .header-title-img { height: clamp(105px, 21vw, 165px); }

    /* ── About section ── */
    .s-about-dark {
        padding: 2.5rem 1.2rem;
        border-bottom-width: 4px;
    }
    .s-about-dark-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    .s-about-dark-left { width: 100%; position: static; }
    .s-about-dark-title {
        font-size: clamp(1.2rem, 5vw, 2.2rem);
        margin-bottom: 0;
        text-align: left;
        white-space: nowrap;
    }
    .s-about-dark-item {
        padding: 1.2rem 0;
        gap: 1rem;
    }
    .s-about-dark-num {
        font-size: 18px;
        min-width: 24px;
    }
    .s-about-dark-text {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    .s-about-dark-dots {
        display: none;
    }

    /* ── Services page: About metrics (circles + graffiti) ── */
    .about.about--dark {
        padding: 2.5rem 1.2rem;
    }
    .about-content {
        gap: 2rem;
    }
    .about-lead {
        font-size: 1rem;
    }
    .about-body {
        font-size: 0.85rem;
    }
    .about-metrics-wrap {
        min-height: auto;
        padding: 1rem 0;
    }
    .about-metrics {
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
    .metric {
        margin-bottom: 0.5rem;
    }
    .metric-visual svg {
        width: 90px;
        height: 90px;
    }
    .metric-value {
        font-size: 1.1rem;
    }
    .about--dark .metric-label {
        font-size: 0.75rem;
    }
    .about-graffiti {
        top: 71%;
        width: 350%;
        height: 350%;
    }

    /* ── How we work section ── */
    .s-howwork {
        padding: 2.5rem 1.2rem;
        border-bottom-width: 4px;
    }
    .s-howwork-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
    }
    .hw-flow {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 1.8rem;
        column-gap: 0;
    }
    .hw-flow::before { display: none; }
    .hw-flow-step {
        flex: 0 0 50%;
        padding: 0 0.8rem;
    }
    .hw-flow-step:last-child {
        flex: 0 0 50%;
    }
    .hw-flow-num {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }
    .hw-flow-name {
        font-size: 0.88rem;
        margin-bottom: 0.3rem;
    }
    .hw-flow-desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    /* 4. Vertical dashed connecting line between steps */
    .hw-flow-step {
        position: relative;
        padding-bottom: 0.5rem;
    }
    .hw-flow-step::after {
        content: '';
        position: absolute;
        bottom: -0.9rem;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 1.2rem;
        background: repeating-linear-gradient(
            to bottom,
            rgba(255, 47, 139, 0.35) 0px,
            rgba(255, 47, 139, 0.35) 3px,
            transparent 3px,
            transparent 6px
        );
    }
    /* Hide line on last row items */
    .hw-flow-step:nth-child(4)::after,
    .hw-flow-step:nth-child(5)::after {
        display: none;
    }

    /* ── 5. Services section — glassmorphism cards ── */
    .s-services {
        padding: 2.5rem 1.2rem;
    }
    .s-services-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 1.5rem;
        white-space: normal;
    }
    .s-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        background: transparent;
    }
    .svc-card {
        padding: 1.2rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .svc-card:hover {
        border-color: rgba(255, 47, 139, 0.25);
        background: rgba(255, 255, 255, 0.07);
    }
    .svc-num {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        color: #ff2f8b;
        text-shadow: 0 0 8px rgba(255, 47, 139, 0.4);
    }
    .svc-name {
        font-size: 0.88rem;
        margin-bottom: 0.4rem;
    }
    .svc-desc {
        font-size: 0.72rem;
        line-height: 1.5;
    }
    .svc-arrow {
        font-size: 1rem;
        margin-top: 0.8rem;
        color: #ff2f8b;
    }


    /* ── 7. Enhanced scroll reveal ── */
    .reveal-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* Stagger child items within sections */
    .s-about-dark-item {
        opacity: 0;
        transform: translateX(-15px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .reveal-section.visible .s-about-dark-item {
        opacity: 1;
        transform: translateX(0);
    }
    .reveal-section.visible .s-about-dark-item:nth-child(1) { transition-delay: 0.05s; }
    .reveal-section.visible .s-about-dark-item:nth-child(2) { transition-delay: 0.1s; }
    .reveal-section.visible .s-about-dark-item:nth-child(3) { transition-delay: 0.15s; }
    .reveal-section.visible .s-about-dark-item:nth-child(4) { transition-delay: 0.2s; }
    .reveal-section.visible .s-about-dark-item:nth-child(5) { transition-delay: 0.25s; }
    .reveal-section.visible .s-about-dark-item:nth-child(6) { transition-delay: 0.3s; }
    /* Stagger service cards */
    .svc-card {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        transition: opacity 0.5s ease, transform 0.5s ease,
                    background 0.5s ease, border-color 0.5s ease;
    }
    .reveal-section.visible .svc-card {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    .reveal-section.visible .svc-card:nth-child(1) { transition-delay: 0.05s; }
    .reveal-section.visible .svc-card:nth-child(2) { transition-delay: 0.1s; }
    .reveal-section.visible .svc-card:nth-child(3) { transition-delay: 0.15s; }
    .reveal-section.visible .svc-card:nth-child(4) { transition-delay: 0.2s; }
    .reveal-section.visible .svc-card:nth-child(5) { transition-delay: 0.25s; }
    .reveal-section.visible .svc-card:nth-child(6) { transition-delay: 0.3s; }
    /* Stagger hw-flow steps */
    .hw-flow-step {
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .reveal-section.visible .hw-flow-step {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-section.visible .hw-flow-step:nth-child(1) { transition-delay: 0.05s; }
    .reveal-section.visible .hw-flow-step:nth-child(2) { transition-delay: 0.15s; }
    .reveal-section.visible .hw-flow-step:nth-child(3) { transition-delay: 0.25s; }
    .reveal-section.visible .hw-flow-step:nth-child(4) { transition-delay: 0.35s; }
    .reveal-section.visible .hw-flow-step:nth-child(5) { transition-delay: 0.45s; }

    /* ── Guarantees section ── */
    .s-guarantees {
        padding: 2.5rem 1.2rem;
    }
    .s-guarantees-head {
        margin-bottom: 1.5rem;
    }
    .s-guarantees-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .s-guarantees-grid { grid-template-columns: 1fr 1fr; }
    .guar-item {
        padding: 1.2rem;
    }
    .guar-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    .guar-desc {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* ── Footer ── */
    .footer-new {
        padding: 2rem 1.2rem 1.5rem;
    }
    .footer-new-top { flex-direction: column; gap: 1.5rem; }
    .footer-brand {
        gap: 0.8rem;
    }
    .footer-logo-text {
        font-size: 1.1rem;
    }
    .footer-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .footer-col {
        gap: 0.5rem;
    }
    .footer-col-title {
        font-size: 0.7rem;
    }
    .footer-col a {
        font-size: 0.78rem;
    }
    .footer-new-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }

    /* ── Other pages ── */
    .s-showcase { grid-template-columns: 1fr; }
    .calculator-container { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .submit-btn { grid-column: span 1; }
    .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .projects-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hw-flow-step { flex: 0 0 50%; }
    .hw-flow-step:last-child { flex: 0 0 50%; }
    .s-services-grid { grid-template-columns: 1fr; }
    .svc-card { min-height: auto; padding: 1.2rem; }
    .s-guarantees-grid { grid-template-columns: 1fr; }
    .guar-item { padding: 1rem; }
    .footer-links { flex-direction: column; gap: 1.2rem; }
    .footer-new-bottom { flex-direction: column; text-align: center; }
    /* Extra-small hero tweaks */
    .hero-logo-img { margin: -2% auto -12%; }
    .btn { padding: 0.7rem 1.5rem; font-size: 0.68rem; }
    /* About section compact */
    .s-about-dark { padding: 2rem 1rem; }
    .s-about-dark-item { gap: 0.8rem; padding: 1rem 0; }
    .s-about-dark-num { font-size: 16px; }
    .s-about-dark-text { font-size: 0.8rem; }
    /* How we work compact */
    .s-howwork { padding: 2rem 1rem; }
    .hw-flow { row-gap: 1.5rem; }
    .hw-flow-num { width: 38px; height: 38px; font-size: 0.8rem; }
    .hw-flow-name { font-size: 0.82rem; }
    .hw-flow-desc { font-size: 0.7rem; }
    /* Services compact */
    .s-services { padding: 2rem 1rem; }
    .svc-num { font-size: 0.9rem; }
    .svc-name { font-size: 0.82rem; }
    .svc-desc { font-size: 0.68rem; }
    /* Guarantees compact */
    .s-guarantees { padding: 2rem 1rem; }
    .guar-title { font-size: 0.88rem; }
    .guar-desc { font-size: 0.72rem; }
    /* Footer compact */
    .footer-new { padding: 1.5rem 1rem 1rem; }
    .web-app-sidebar { width: 40px; min-width: 40px; }
    .web-sidebar-item span { display: none; }
    .web-conv-list { width: 160px; min-width: 140px; }
    .web-app-stats { grid-template-columns: repeat(2, 1fr); }
    .mp-filters-panel { display: none; }
    .mp-content-area { flex-direction: column; }
    .web-generator-panel { width: 200px; min-width: 180px; }
    .bot-phone-frame {
        max-width: 100%; border-radius: 24px; padding: 4px;
    }
    .bot-phone-notch { width: 80px; height: 18px; }
    .bot-chat-preview { border-radius: 20px; max-height: 560px; }
    .bot-chat-header { padding: 1.5rem 0.75rem 0.5rem; }
    .bot-msg { max-width: 92%; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES 3D CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.svc-carousel-section {
    background: #fff;
    padding: clamp(3rem, 6vh, 5rem) 0;
    overflow: hidden;
    position: relative;
}
.svc-carousel-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1200px;
}
.svc-carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    position: relative;
    transition: none;
}
/* ── Premium backlight behind active card ── */
.svc-carousel-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 500px;
    background: radial-gradient(ellipse at center,
        rgba(232, 67, 147, 0.12) 0%,
        rgba(232, 67, 147, 0.06) 30%,
        rgba(232, 67, 147, 0.02) 55%,
        transparent 80%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(30px);
    animation: svc-backlight-breathe 4s ease-in-out infinite;
}
@keyframes svc-backlight-breathe {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ── Individual slide card ── */
.svc-slide {
    position: absolute;
    width: 360px;
    height: 460px;
    background: #000;
    border: 1px solid rgba(232, 67, 147, 0.12);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
    will-change: transform, opacity, filter;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* ── Watermark number ── */
.svc-slide::before {
    content: attr(data-num);
    position: absolute;
    top: -15px;
    right: -10px;
    font-family: var(--font-sans);
    font-size: 11rem;
    font-weight: 900;
    color: rgba(232, 67, 147, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    transition: color 0.7s;
}
.svc-slide.active::before {
    color: rgba(232, 67, 147, 0.07);
}

/* ── Animated conic border glow ── */
.svc-slide::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 50%, rgba(232,67,147,0.4) 75%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.7s;
}
.svc-slide.active::after {
    opacity: 1;
    animation: svc-border-spin 3s linear infinite;
}

/* ── Cursor-following glow ── */
.svc-slide-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle 200px at var(--mx) var(--my), rgba(232,67,147,0.1) 0%, transparent 70%);
    transition: opacity 0.4s;
}
.svc-slide.active .svc-slide-glow {
    opacity: 1;
}

/* Active / center card */
.svc-slide.active {
    z-index: 10;
    transform: translateX(-50%) scale(1) rotateY(0deg) translateY(0);
    left: 50%;
    opacity: 1;
    filter: blur(0px) brightness(1);
    border-color: rgba(232, 67, 147, 0.45);
    box-shadow:
        0 0 30px rgba(232, 67, 147, 0.2),
        0 0 60px rgba(232, 67, 147, 0.1),
        0 0 120px rgba(232, 67, 147, 0.05),
        0 20px 80px rgba(0,0,0,0.6);
}
.svc-slide.active:hover {
    transform: translateX(-50%) scale(1.04) rotateY(0deg) translateY(-10px);
    border-color: rgba(232, 67, 147, 0.8);
    box-shadow:
        0 0 40px rgba(232, 67, 147, 0.4),
        0 0 80px rgba(232, 67, 147, 0.25),
        0 0 160px rgba(232, 67, 147, 0.1),
        0 30px 100px rgba(0,0,0,0.7);
}

/* Left neighbor */
.svc-slide.pos-left-1 {
    z-index: 5;
    left: 50%;
    transform: translateX(calc(-50% - 380px)) scale(0.85) rotateY(8deg);
    opacity: 0.7;
    filter: blur(1.5px) brightness(0.5);
}
.svc-slide.pos-left-1:hover {
    transform: translateX(calc(-50% - 370px)) scale(0.88) rotateY(6deg) translateY(-6px);
    opacity: 0.85;
    filter: blur(0.5px) brightness(0.6);
}

/* Right neighbor */
.svc-slide.pos-right-1 {
    z-index: 5;
    left: 50%;
    transform: translateX(calc(-50% + 380px)) scale(0.85) rotateY(-8deg);
    opacity: 0.7;
    filter: blur(1.5px) brightness(0.5);
}
.svc-slide.pos-right-1:hover {
    transform: translateX(calc(-50% + 370px)) scale(0.88) rotateY(-6deg) translateY(-6px);
    opacity: 0.85;
    filter: blur(0.5px) brightness(0.6);
}

/* Far left */
.svc-slide.pos-left-2 {
    z-index: 2;
    left: 50%;
    transform: translateX(calc(-50% - 700px)) scale(0.7) rotateY(15deg);
    opacity: 0.25;
    filter: blur(5px) brightness(0.35);
}

/* Far right */
.svc-slide.pos-right-2 {
    z-index: 2;
    left: 50%;
    transform: translateX(calc(-50% + 700px)) scale(0.7) rotateY(-15deg);
    opacity: 0.25;
    filter: blur(5px) brightness(0.35);
}

/* Hidden cards */
.svc-slide.hidden {
    z-index: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
    filter: blur(20px) brightness(0);
    pointer-events: none;
}

/* ── Icon circle ── */
.svc-slide-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(232, 67, 147, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(232, 67, 147, 0.06);
    box-shadow: 0 0 20px rgba(232, 67, 147, 0.1), inset 0 0 15px rgba(232, 67, 147, 0.05);
    transition: border-color 0.5s, box-shadow 0.5s;
    position: relative;
    z-index: 1;
}
.svc-slide.active .svc-slide-icon {
    border-color: rgba(232, 67, 147, 0.8);
    animation: svc-icon-pulse 2.5s ease-in-out infinite;
}
.svc-slide-icon svg {
    width: 32px;
    height: 32px;
    stroke: rgba(232, 67, 147, 0.7);
    stroke-width: 1.5;
    transition: stroke 0.5s;
}
.svc-slide.active .svc-slide-icon svg {
    stroke: rgba(232, 67, 147, 1);
}

/* ── Number ── */
.svc-slide-num {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.2);
    margin-bottom: 1rem;
    transition: color 0.5s;
    position: relative;
    z-index: 1;
}
.svc-slide.active .svc-slide-num {
    color: rgba(232, 67, 147, 0.6);
}

/* ── Title ── */
.svc-slide-title {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
/* Gradient underline */
.svc-slide-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, rgba(232,67,147,0.6), transparent);
    margin: 0.6rem auto 0;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-slide.active .svc-slide-title::after {
    width: 60px;
}

/* ── Description ── */
.svc-slide-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
    flex: 1;
    transition: color 0.5s;
    position: relative;
    z-index: 1;
}
.svc-slide.active .svc-slide-desc {
    color: rgba(255,255,255,0.65);
}

/* ── Tag / result ── */
.svc-slide-tag {
    margin-top: 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 67, 147, 0.7);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(232, 67, 147, 0.2);
    border-radius: 100px;
    background: rgba(232, 67, 147, 0.05);
    transition: all 0.5s;
    position: relative;
    z-index: 1;
}
.svc-slide.active .svc-slide-tag {
    color: rgba(232, 67, 147, 1);
    border-color: rgba(232, 67, 147, 0.4);
    background: rgba(232, 67, 147, 0.1);
    box-shadow: 0 0 15px rgba(232, 67, 147, 0.1);
}

/* ── Animations ── */
@keyframes svc-border-spin {
    to { --border-angle: 360deg; }
}
@keyframes svc-icon-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(232,67,147,0.2), inset 0 0 15px rgba(232,67,147,0.05); }
    50% { box-shadow: 0 0 40px rgba(232,67,147,0.35), 0 0 60px rgba(232,67,147,0.1), inset 0 0 25px rgba(232,67,147,0.1); }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── Nav Buttons ── */
.svc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.svc-carousel-btn:hover {
    border-color: rgba(232, 67, 147, 0.5);
    background: rgba(232, 67, 147, 0.1);
    box-shadow: 0 0 20px rgba(232, 67, 147, 0.15);
}
.svc-carousel-btn svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255,255,255,0.6);
    transition: stroke 0.3s;
}
.svc-carousel-btn:hover svg {
    stroke: #fff;
}
.svc-carousel-prev { left: clamp(1rem, 3vw, 3rem); }
.svc-carousel-next { right: clamp(1rem, 3vw, 3rem); }

/* ── Dots ── */
.svc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    padding-bottom: 1rem;
}
.svc-carousel-dot {
    width: 28px;
    height: 6px;
    border-radius: 3px;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    padding: 0;
}
.svc-carousel-dot:hover {
    background: rgba(232, 67, 147, 0.4);
}
.svc-carousel-dot.active {
    background: rgba(232, 67, 147, 0.9);
    box-shadow: 0 0 10px rgba(232, 67, 147, 0.4);
    width: 40px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .svc-slide {
        width: 300px;
        height: 400px;
        padding: 2rem 1.5rem;
    }
    .svc-slide.pos-left-1 { transform: translateX(calc(-50% - 300px)) scale(0.8) rotateY(8deg); }
    .svc-slide.pos-right-1 { transform: translateX(calc(-50% + 300px)) scale(0.8) rotateY(-8deg); }
    .svc-slide.pos-left-2,
    .svc-slide.pos-right-2 { opacity: 0; pointer-events: none; }
    .svc-carousel-track { height: 440px; }
}
@media (max-width: 600px) {
    .svc-slide {
        width: 260px;
        height: 380px;
        padding: 1.5rem 1.2rem;
    }
    .svc-slide.pos-left-1 { transform: translateX(calc(-50% - 200px)) scale(0.75) rotateY(10deg); opacity: 0.35; }
    .svc-slide.pos-right-1 { transform: translateX(calc(-50% + 200px)) scale(0.75) rotateY(-10deg); opacity: 0.35; }
    .svc-carousel-track { height: 420px; }
    .svc-carousel-btn { width: 40px; height: 40px; }
    .svc-carousel-btn svg { width: 18px; height: 18px; }
    .svc-slide-icon { width: 56px; height: 56px; }
    .svc-slide-icon svg { width: 26px; height: 26px; }
    .svc-slide-title { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS - Web preview micro-interactions
   ═══════════════════════════════════════════════════════════ */
@keyframes webFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intgPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes intgPulse1c { 0%, 100% { opacity: 1; box-shadow: 0 0 4px #aaa; } 50% { opacity: 0.4; box-shadow: 0 0 8px #aaa; } }
@keyframes intgPulsePay { 0%, 100% { opacity: 1; box-shadow: 0 0 4px #888; } 50% { opacity: 0.4; box-shadow: 0 0 8px #888; } }
@keyframes intgPulseCrm { 0%, 100% { opacity: 1; box-shadow: 0 0 4px #666; } 50% { opacity: 0.4; box-shadow: 0 0 8px #666; } }

.web-stat-card { animation: webFadeUp 0.35s ease both; }
.web-stat-card:nth-child(1) { animation-delay: 0.1s; }
.web-stat-card:nth-child(2) { animation-delay: 0.15s; }
.web-stat-card:nth-child(3) { animation-delay: 0.2s; }
.web-stat-card:nth-child(4) { animation-delay: 0.25s; }

.web-seo-fill { animation: webBarFill 1.2s ease both; }
.web-seo-item:nth-child(1) .web-seo-fill { animation-delay: 0.3s; }
.web-seo-item:nth-child(2) .web-seo-fill { animation-delay: 0.5s; }
.web-seo-item:nth-child(3) .web-seo-fill { animation-delay: 0.7s; }
.web-seo-item:nth-child(4) .web-seo-fill { animation-delay: 0.9s; }
@keyframes webBarFill { from { width: 0 !important; } }

.web-generated-text { animation: webTextReveal 1.5s ease both 0.5s; }
@keyframes webTextReveal { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

.web-form-btn { animation: webBtnGlow 2.5s ease-in-out infinite 1s; }
@keyframes webBtnGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }

.web-recent-item { animation: webFadeUp 0.35s ease both; }
.web-recent-item:nth-child(1) { animation-delay: 0.6s; }
.web-recent-item:nth-child(2) { animation-delay: 0.7s; }
.web-recent-item:nth-child(3) { animation-delay: 0.8s; }

.web-doc-item { animation: webFadeUp 0.35s ease both; }
.web-doc-item:nth-child(1) { animation-delay: 0.1s; }
.web-doc-item:nth-child(2) { animation-delay: 0.2s; }
.web-doc-item:nth-child(3) { animation-delay: 0.3s; }

.web-field-row { animation: webFadeUp 0.3s ease both; }
.web-field-row:nth-child(1) { animation-delay: 0.4s; }
.web-field-row:nth-child(2) { animation-delay: 0.5s; }
.web-field-row:nth-child(3) { animation-delay: 0.6s; }
.web-field-row:nth-child(4) { animation-delay: 0.7s; }

.web-sidebar-item { transition: all 0.2s ease; }
.web-sidebar-item:hover svg { transform: scale(1.1); transition: transform 0.2s; }
.web-action-btn { transition: all 0.2s ease; }
.web-action-btn:hover { transform: translateY(-1px); }

/* Mobile app animations */
@keyframes mobCardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ringDraw { from { stroke-dashoffset: 283; } }
