/* ====================================================
   SERVICES SCROLL SECTION
==================================================== */

.st-sv {
    background: transparent;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    /* Removed overflow: hidden so position: sticky doesn't break inside page builders */
}

.st-sv-inner {
    position: relative;
    width: 100%;
}

/* ── LEFT panel: absolutely over left half, JS drives fixed/absolute ── */
.st-sv-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 60px 60px 5vw;
    box-sizing: border-box;
    z-index: 2;
}
/* JS class: viewport-fixed while scrolling through section */
.st-sv-left--fixed {
    position: fixed !important;
    top: 0 !important;
    height: 100vh !important;
}
/* JS class: pinned to section bottom after right col finishes */
.st-sv-left--bottom {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    height: 100vh !important;
}

/* ── RIGHT: offset by 50% so it never reflows when left goes fixed ── */
.st-sv-right {
    margin-left: 50%;
    padding: 80px 5vw 80px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
}

.st-sv-sticky { width: 100%; }

.st-sv-label {
    font-family: var(--font-heading) !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--color-primary) !important;
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.st-sv-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background: var(--color-primary) !important;
}

.st-sv-heading {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 30px;
}
.st-sv-heading-accent {
    color: var(--color-primary) !important;
}

.st-sv-desc {
    font-family: var(--font-text) !important;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 40px;
    max-width: 380px;
}

.st-sv-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    font-family: var(--font-heading) !important;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border: 1.5px solid var(--border-ghost);
    transition: all 0.35s ease;
}
.st-sv-cta:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--text-primary);
}
.st-sv-cta svg { transition: transform 0.3s; }
.st-sv-cta:hover svg { transform: translateX(5px); }

/* Progress dots */
.st-sv-dots {
    display: flex;
    gap: 8px;
    margin-top: 48px;
}
.st-sv-dot {
    width: 24px;
    height: 3px;
    background: var(--deco-15);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.4s, width 0.4s;
}
.st-sv-dot.active {
    width: 40px;
    background: var(--color-primary) !important;
}


/* ── CARD ── */
.st-sv-step { opacity: 1; }

.st-sv-card {
    background: var(--card-dark);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.4s, transform 0.4s;
    cursor: default;
}
.st-sv-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-4px);
}
.st-sv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--card-accent);
}

.st-sv-card-num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: var(--font-heading) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-ghost);
}

/* ── GRAPHIC AREA ── */
.st-sv-card-graphic {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* — Marketing graphic: rings + bars — */
.st-sv-graphic--marketing {
    background: radial-gradient(ellipse at 60% 50%, var(--accent-glow) 0%, transparent 70%);
}
.st-sv-gfx-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-ring);
    width: 200px; height: 200px;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: st-ring-pulse 3s ease-in-out infinite;
}
.st-sv-gfx-ring--2 { width: 300px; height: 300px; animation-delay: 0.5s; opacity: 0.5; }
.st-sv-gfx-ring--3 { width: 400px; height: 400px; animation-delay: 1s; opacity: 0.2; }
@keyframes st-ring-pulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%,-50%) scale(1.05); opacity: 1; }
}
.st-sv-gfx-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    position: relative;
    z-index: 2;
}
.st-sv-bar {
    width: 28px;
    height: var(--h, 50%);
    background: var(--bar-gradient);
    border-radius: 2px 2px 0 0;
    animation: st-bar-grow 1.2s ease both;
}
@keyframes st-bar-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}
.st-sv-bar:nth-child(2) { animation-delay: 0.1s; }
.st-sv-bar:nth-child(3) { animation-delay: 0.2s; }
.st-sv-bar:nth-child(4) { animation-delay: 0.3s; }
.st-sv-bar:nth-child(5) { animation-delay: 0.4s; }
.st-sv-bar:nth-child(6) { animation-delay: 0.5s; }

/* — SEO graphic — */
.st-sv-graphic--seo {
    background: radial-gradient(ellipse at 50% 80%, var(--green-glow) 0%, transparent 70%);
    flex-direction: column;
    gap: 16px;
}
.st-sv-seo-graph { width: 80%; }
.st-sv-seo-graph svg { width: 100%; height: auto; }
.st-sv-seo-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.st-sv-seo-rank span {
    font-family: var(--font-heading) !important;
    font-size: 3rem;
    font-weight: 700;
    color: var(--theme-green);
    line-height: 1;
}
.st-sv-seo-rank small {
    font-family: var(--font-text) !important;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* — Web Dev browser — */
.st-sv-graphic--web {
    background: radial-gradient(ellipse at 40% 60%, var(--purple-glow) 0%, transparent 70%);
}
.st-sv-browser {
    width: 75%;
    border: 1px solid var(--purple-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-purple);
}
.st-sv-browser-bar {
    background: var(--card-purple-alt);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.st-sv-browser-bar span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--deco-20);
}
.st-sv-browser-url {
    font-family: var(--font-text) !important;
    font-size: 0.68rem;
    color: var(--text-footnote);
    margin-left: 10px;
    background: var(--deco-05);
    padding: 2px 10px;
    border-radius: 3px;
    flex: 1;
}
.st-sv-browser-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.st-sv-code-line {
    height: 7px;
    width: var(--w, 60%);
    background: var(--c, var(--text-primary));
    border-radius: 2px;
    opacity: 0.7;
}

/* — Software terminal — */
.st-sv-graphic--software {
    background: radial-gradient(ellipse at 50% 50%, var(--cyan-glow) 0%, transparent 70%);
}
.st-sv-terminal {
    width: 78%;
    border: 1px solid var(--cyan-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-cyan);
}
.st-sv-terminal-bar {
    background: var(--card-cyan-alt);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.st-sv-terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--deco-20); }
.st-sv-terminal-bar small {
    font-family: var(--font-text) !important;
    font-size: 0.7rem;
    color: var(--text-footnote);
    margin-left: auto;
}
.st-sv-terminal-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.st-sv-t-line {
    font-family: var(--font-text) !important;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.st-sv-t-line em { color: var(--theme-cyan); font-style: normal; }
.st-sv-t-ok { color: var(--theme-green); }
.st-sv-t-cursor {
    display: inline-block;
    animation: st-blink 0.9s step-end infinite;
    color: var(--theme-cyan);
}
@keyframes st-blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* — Design shapes — */
.st-sv-graphic--design {
    background: radial-gradient(ellipse at 60% 40%, var(--orange-ring) 0%, transparent 70%);
    flex-direction: column;
    gap: 20px;
}
.st-sv-design-shapes {
    position: relative;
    width: 200px; height: 140px;
}
.st-sv-shape {
    position: absolute;
    border-radius: 3px;
}
.st-sv-shape--circle {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--accent-strong);
    top: 0; left: 0;
    animation: st-float 4s ease-in-out infinite;
}
.st-sv-shape--rect {
    width: 80px; height: 50px;
    background: var(--orange-mid);
    bottom: 0; right: 0;
    animation: st-float 4s ease-in-out infinite 0.7s;
}
.st-sv-shape--tri {
    width: 0; height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--gold-soft);
    background: none;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    animation: st-float 4s ease-in-out infinite 1.2s;
}
.st-sv-shape--ring {
    width: 55px; height: 55px;
    border-radius: 50%;
    border: 4px solid var(--deco-30);
    top: 20px; right: 20px;
    animation: st-float 4s ease-in-out infinite 0.3s;
}
@keyframes st-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.st-sv-palette {
    display: flex;
    gap: 8px;
}
.st-sv-palette span {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--deco-15);
}

/* — Video player — */
.st-sv-graphic--video {
    background: radial-gradient(ellipse at 50% 50%, var(--magenta-glow) 0%, transparent 70%);
}
.st-sv-video-player {
    width: 72%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--magenta-border);
}
.st-sv-vp-screen {
    background: var(--card-magenta);
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.st-sv-vp-play {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--magenta-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    animation: st-vp-pulse 2.5s ease-in-out infinite;
}
.st-sv-vp-play svg { width: 24px; height: 24px; margin-left: 3px; }
@keyframes st-vp-pulse {
    0%,100% { box-shadow: 0 0 0 0 var(--magenta-soft); }
    50% { box-shadow: 0 0 0 20px transparent; }
}
.st-sv-vp-scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        var(--deco-02) 0px,
        var(--deco-02) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
}
.st-sv-vp-timeline {
    background: var(--card-magenta-alt);
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.st-sv-vp-progress {
    height: 3px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.st-sv-vp-progress::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 35%;
    background: var(--theme-magenta);
    border-radius: 2px;
    animation: st-vp-progress 6s linear infinite;
}
@keyframes st-vp-progress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── CARD BODY ── */
.st-sv-card-body {
    padding: 32px 36px 36px;
}
.st-sv-card-title {
    font-family: var(--font-heading) !important;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}
.st-sv-card-text {
    font-family: var(--font-text) !important;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-desc);
    line-height: 1.72;
    margin: 0 0 24px;
}
.st-sv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.st-sv-card-tags span {
    font-family: var(--font-text) !important;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
    padding: 5px 12px;
    border-radius: 2px;
    transition: border-color 0.3s, color 0.3s;
}
.st-sv-card:hover .st-sv-card-tags span {
    border-color: var(--card-accent);
    color: var(--card-accent);
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
    .st-sv-inner { display: block; }
    .st-sv-left {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 80px 40px 40px;
    }
    .st-sv-right {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 40px 80px; gap: 28px;
    }
    .st-sv-dots { display: none; }
}
@media (max-width: 640px) {
    .st-sv-left { padding: 60px 24px 32px; }
    .st-sv-right { padding: 0 24px 60px; gap: 20px; }
    .st-sv-card-graphic { height: 200px; }
    .st-sv-card-body { padding: 24px; }
}

/* ══════════════════════════════════════════════
   CARD LINK — clickable wrapper
══════════════════════════════════════════════ */
.st-sv-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 16px;
}
.st-sv-card-link:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* ══════════════════════════════════════════════
   AI SEO GRAPHIC
══════════════════════════════════════════════ */
.st-sv-graphic--ai-seo { display: flex; align-items: center; justify-content: center; }
.st-sv-ai-brain { position: relative; width: 80px; height: 80px; }
.st-sv-ai-brain svg { width: 100%; height: 100%; animation: st-sv-ai-pulse 3s ease-in-out infinite; }
@keyframes st-sv-ai-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }
.st-sv-ai-pulse { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, var(--card-accent) 0%, transparent 70%); opacity: 0.15; animation: st-sv-ai-ring 2s ease-in-out infinite; pointer-events: none; }
@keyframes st-sv-ai-ring { 0%, 100% { transform: scale(0.8); opacity: 0.1; } 50% { transform: scale(1.2); opacity: 0.25; } }

/* ══════════════════════════════════════════════
   SMM GRAPHIC
══════════════════════════════════════════════ */
.st-sv-graphic--smm { display: flex; align-items: center; justify-content: center; }
.st-sv-smm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 120px; }
.st-sv-smm-cell { width: 100%; aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; animation: st-sv-smm-fade 2s ease-in-out infinite; animation-delay: var(--d); }
.st-sv-smm-cell svg { width: 18px; height: 18px; color: var(--card-accent); }
.st-sv-smm-cell--active { background: rgba(0,212,255,0.15); }
@keyframes st-sv-smm-fade { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ══════════════════════════════════════════════
   ADS GRAPHIC
══════════════════════════════════════════════ */
.st-sv-graphic--ads { display: flex; align-items: center; justify-content: center; }
.st-sv-ads-signal { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.st-sv-ads-wave { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid var(--card-accent); opacity: 0; animation: st-sv-ads-wave 2.5s ease-out infinite; animation-delay: var(--d); }
@keyframes st-sv-ads-wave { 0% { transform: scale(0.3); opacity: 0.6; } 100% { transform: scale(1.2); opacity: 0; } }
.st-sv-ads-dollar { position: relative; z-index: 1; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.st-sv-ads-dollar svg { width: 100%; height: 100%; color: var(--card-accent); }

/* ══════════════════════════════════════════════
   AI AUTO GRAPHIC — chat bubbles
══════════════════════════════════════════════ */
.st-sv-graphic--ai-auto { display: flex; align-items: center; justify-content: center; }
.st-sv-ai-chat { display: flex; flex-direction: column; gap: 8px; width: 140px; }
.st-sv-ai-bubble { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: 12px; animation: st-sv-bubble-in 0.5s ease-out forwards; opacity: 0; animation-delay: var(--d); }
.st-sv-ai-bubble--left { background: rgba(255,255,255,0.08); align-self: flex-start; border-bottom-left-radius: 2px; }
.st-sv-ai-bubble--right { background: rgba(108,99,255,0.15); align-self: flex-end; border-bottom-right-radius: 2px; }
.st-sv-ai-bubble span { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); width: 100%; }
.st-sv-ai-bubble span[style] { width: var(--w); }
@keyframes st-sv-bubble-in { 0% { opacity: 0; transform: translateY(8px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
