/**
 * Solvixa Tech — custom design system (no theme dependency)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --sx-navy: #0B1120;
    --sx-navy-mid: #151F32;
    --sx-blue: #3B82F6;
    --sx-blue-dark: #2563EB;
    --sx-cyan: #06B6D4;
    --sx-white: #FFFFFF;
    --sx-surface: #F8FAFC;
    --sx-border: #E2E8F0;
    --sx-muted: #64748B;
    --sx-text: #334155;
    --sx-radius: 14px;
    --sx-radius-lg: 20px;
    --sx-radius-xl: 28px;
    --sx-shadow: 0 1px 3px rgba(11, 17, 32, 0.06), 0 8px 24px rgba(11, 17, 32, 0.06);
    --sx-shadow-lg: 0 24px 64px rgba(11, 17, 32, 0.12);
    --sx-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --sx-container: 1180px;
    --sx-header-h: 72px;
    --sx-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: var(--sx-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--sx-text);
    background: var(--sx-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sx-blue-dark); text-decoration: none; transition: color 0.2s var(--sx-ease); }
a:hover { color: var(--sx-blue); }

.sx-skip {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--sx-blue-dark);
    color: var(--sx-white);
    border-radius: var(--sx-radius);
}
.sx-skip:focus { left: 16px; top: 16px; }

/* ─── Layout ─── */
.sx-container {
    width: min(var(--sx-container), calc(100% - 48px));
    margin-inline: auto;
}

.sx-section {
    padding-block: clamp(64px, 8vw, 100px);
}

.sx-section--surface { background: var(--sx-surface); }
.sx-section--dark { background: var(--sx-navy); color: rgba(255,255,255,0.85); }

/* ─── Header ─── */
.sx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--sx-header-h);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.sx-header.is-scrolled {
    border-bottom-color: var(--sx-border);
    box-shadow: 0 1px 12px rgba(11, 17, 32, 0.04);
}

.sx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.sx-logo img { height: 32px; width: auto; }

.sx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sx-text);
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.sx-nav a:hover,
.sx-nav a.is-active {
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.08);
}

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

.sx-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius);
    background: var(--sx-white);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sx-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--sx-navy);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

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

.sx-mobile-nav {
    display: none;
    position: fixed;
    inset: var(--sx-header-h) 0 0 0;
    background: var(--sx-white);
    padding: 24px;
    overflow-y: auto;
    z-index: 1001;
    border-top: 1px solid var(--sx-border);
}

.sx-mobile-nav.is-open { display: block; }

.sx-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-mobile-nav li { border-bottom: 1px solid var(--sx-border); }

.sx-mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sx-navy);
}

/* ─── Buttons ─── */
.sx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}

.sx-btn:hover { transform: translateY(-1px); }

.sx-btn--primary {
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, #1D4ED8 100%);
    color: var(--sx-white) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sx-btn--primary:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    color: var(--sx-white) !important;
}

.sx-btn--outline {
    background: var(--sx-white);
    color: var(--sx-navy) !important;
    border: 1px solid var(--sx-border);
    box-shadow: var(--sx-shadow);
}

.sx-btn--outline:hover {
    border-color: #BFDBFE;
    background: #EFF6FF;
    color: var(--sx-blue-dark) !important;
}

.sx-btn--ghost {
    background: transparent;
    color: var(--sx-blue-dark) !important;
    padding-inline: 16px;
}

.sx-btn--ghost:hover { background: rgba(37, 99, 235, 0.06); }

.sx-btn--white {
    background: var(--sx-white);
    color: var(--sx-navy) !important;
}

.sx-btn--lg { padding: 14px 28px; font-size: 16px; }

.sx-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Typography ─── */
.sx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 999px;
    margin-bottom: 20px;
}

.sx-eyebrow--light {
    color: var(--sx-cyan);
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.25);
}

.sx-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--sx-navy);
    margin: 0 0 16px;
    text-wrap: balance;
}

.sx-heading--light { color: var(--sx-white); }

.sx-heading span {
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sx-lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--sx-muted);
    max-width: 560px;
    margin: 0;
    line-height: 1.7;
}

.sx-lead--light { color: rgba(255,255,255,0.7); }

.sx-section-head {
    margin-bottom: clamp(40px, 5vw, 56px);
}

.sx-section-head--center { text-align: center; }
.sx-section-head--center .sx-lead { margin-inline: auto; }

/* ─── Hero ─── */
.sx-hero {
    position: relative;
    padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 48px);
    overflow-x: clip;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 130, 246, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #EEF6FF 0%, var(--sx-white) 85%);
}

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

.sx-hero__grid-lines {
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: sxGridDrift 25s linear infinite;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

@keyframes sxGridDrift {
    to { transform: translate(48px, 48px); }
}

.sx-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.sx-hero__orb--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: 10%;
    background: rgba(59, 130, 246, 0.25);
    animation: sxOrbFloat 12s ease-in-out infinite;
}

.sx-hero__orb--2 {
    width: 240px;
    height: 240px;
    bottom: 10%;
    left: 5%;
    background: rgba(6, 182, 212, 0.2);
    animation: sxOrbFloat 15s ease-in-out infinite reverse;
}

.sx-hero__orb--3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 45%;
    background: rgba(124, 58, 237, 0.12);
    animation: sxOrbFloat 10s ease-in-out infinite 2s;
}

@keyframes sxOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.sx-hero__grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.sx-hero__content {
    animation: sxHeroFadeIn 0.8s ease backwards;
    min-width: 0;
}

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

.sx-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-navy);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    box-shadow: var(--sx-shadow);
    animation: sxHeroFadeIn 0.8s ease 0.1s backwards;
}

.sx-hero__pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: sxPulseDot 2s ease infinite;
}

@keyframes sxPulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sx-hero__title {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--sx-navy);
    margin: 0 0 24px;
    text-wrap: balance;
}

.sx-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sx-hero__rotate {
    display: block;
    height: 1.15em;
    overflow: hidden;
    position: relative;
}

.sx-hero__rotate-track {
    display: flex;
    flex-direction: column;
    animation: sxWordRotate 9s ease-in-out infinite;
}

.sx-hero__rotate-track em {
    display: block;
    height: 1.15em;
    line-height: 1.15;
    flex-shrink: 0;
    white-space: nowrap;
}

@keyframes sxWordRotate {
    0%, 28% { transform: translateY(0); }
    33%, 61% { transform: translateY(-1.15em); }
    66%, 94% { transform: translateY(-2.3em); }
    100% { transform: translateY(0); }
}

.sx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.sx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--sx-border);
}

.sx-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sx-muted);
}

.sx-hero__trust-item span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 800;
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.sx-hero__visual {
    position: relative;
    min-height: 420px;
    animation: sxHeroFadeIn 0.8s ease 0.2s backwards;
}

/* Animated hero — problem → solution orbit */
.sx-hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    min-height: 420px;
}

.sx-hero-visual__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.sx-hero-visual__glow--1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 20%;
    background: rgba(59, 130, 246, 0.2);
    animation: sxGlowDrift 8s ease-in-out infinite alternate;
}

.sx-hero-visual__glow--2 {
    width: 160px;
    height: 160px;
    bottom: 15%;
    right: 10%;
    background: rgba(6, 182, 212, 0.18);
    animation: sxGlowDrift 10s ease-in-out infinite alternate-reverse;
}

.sx-hero-visual__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sx-hero-visual__arc {
    animation: sxArcDash 3s linear infinite;
}

.sx-hero-visual__arc--2 {
    animation-direction: reverse;
    animation-duration: 4s;
}

@keyframes sxArcDash {
    to { stroke-dashoffset: -20; }
}

@keyframes sxGlowDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(12px, -16px); }
}

.sx-hero-visual__problems {
    position: absolute;
    left: 0;
    top: 8%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 6;
    max-width: 148px;
}

.sx-hero-visual__problem {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 600;
    color: #B45309;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 999px;
    white-space: nowrap;
    animation: sxProblemFade 4s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.sx-hero-visual__problem--1 { animation-delay: 0s; }
.sx-hero-visual__problem--2 { animation-delay: 0.6s; }
.sx-hero-visual__problem--3 { animation-delay: 1.2s; }

@keyframes sxProblemFade {
    0%, 100% { opacity: 0.55; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

.sx-hero-visual__icon {
    font-size: 14px;
    line-height: 1;
}

.sx-hero-visual__hub {
    position: absolute;
    top: 50%;
    left: 56%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sx-hero-visual__hub-ring {
    position: absolute;
    inset: -24px;
    border: 2px dashed rgba(37, 99, 235, 0.25);
    border-radius: 50%;
    animation: sxHubSpin 20s linear infinite;
}

.sx-hero-visual__hub-ring--2 {
    inset: -40px;
    border-style: solid;
    border-color: rgba(6, 182, 212, 0.15);
    animation: sxHubSpin 30s linear infinite reverse;
}

@keyframes sxHubSpin {
    to { transform: rotate(360deg); }
}

.sx-hero-visual__hub-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--sx-navy) 0%, #1E3A5F 100%);
    border-radius: 50%;
    color: var(--sx-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.35);
    animation: sxHubPulse 3s ease-in-out infinite;
}

@keyframes sxHubPulse {
    0%, 100% { box-shadow: 0 16px 48px rgba(37, 99, 235, 0.35); }
    50% { box-shadow: 0 20px 56px rgba(6, 182, 212, 0.4); }
}

.sx-hero-visual__hub-icon {
    width: 32px;
    height: 32px;
    color: var(--sx-cyan);
}

.sx-hero-visual__orbit {
    position: absolute;
    inset: 0;
    animation: sxOrbitSpin 30s linear infinite;
    z-index: 2;
}

@keyframes sxOrbitSpin {
    to { transform: rotate(360deg); }
}

.sx-hero-visual__node {
    --angle: calc(var(--node-i) * 60deg);
    --orbit-radius: 148px;
    --orbit-center-x: 56%;
    position: absolute;
    top: 50%;
    left: var(--orbit-center-x);
    width: 72px;
    margin-left: -36px;
    margin-top: -28px;
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-radius)));
    transform-origin: center center;
}

.sx-hero-visual__node-inner {
    animation: sxNodeUpright 30s linear infinite;
}

@keyframes sxNodeUpright {
    from { transform: rotate(calc(-1 * var(--angle))); }
    to { transform: rotate(calc(-1 * var(--angle) - 360deg)); }
}

.sx-hero-visual__node-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: sxNodeBob 3s ease-in-out infinite;
    animation-delay: calc(var(--node-i) * 0.4s);
}

@keyframes sxNodeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.sx-hero-visual__node-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 14px;
    box-shadow: var(--sx-shadow);
}

.sx-hero-visual__node-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--sx-navy);
    text-align: center;
    white-space: nowrap;
}

.sx-hero-visual__flow {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--sx-shadow);
    z-index: 4;
}

.sx-hero-visual__flow-label { color: var(--sx-muted); }
.sx-hero-visual__flow-label--accent { color: var(--sx-blue-dark); }
.sx-hero-visual__flow-arrow {
    color: var(--sx-cyan);
    animation: sxArrowPulse 1.5s ease-in-out infinite;
}

@keyframes sxArrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(4px); opacity: 1; }
}

.sx-hero-visual__badge {
    position: absolute;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-navy);
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius);
    box-shadow: var(--sx-shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    white-space: nowrap;
}

.sx-hero-visual__badge--1 { top: 0; right: 0; animation: sxBadgeFloat 4s ease-in-out infinite; }
.sx-hero-visual__badge--2 { bottom: 48px; left: -8px; animation: sxBadgeFloat 5s ease-in-out infinite reverse; }

@keyframes sxBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.sx-hero-visual__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    animation: sxPulse 2s infinite;
}

@keyframes sxPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ─── Why choose us ─── */
.sx-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sx-why-card {
    padding: 28px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.sx-why-card:hover {
    transform: translateY(-3px);
    border-color: #BFDBFE;
    box-shadow: var(--sx-shadow-lg);
}

.sx-why-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.sx-why-card:hover .sx-why-card__icon {
    transform: scale(1.08) rotate(-3deg);
}

.sx-why-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
}

.sx-why-card__text {
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0;
    line-height: 1.65;
}

/* ─── Testimonials ─── */
.sx-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sx-testimonials-grid .sx-testimonial:nth-child(4),
.sx-testimonials-grid .sx-testimonial:nth-child(5) {
    grid-column: span 1;
}

.sx-testimonial {
    padding: 28px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}

.sx-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--sx-shadow-lg);
}

@media (hover: none) {
    .sx-testimonial:hover {
        transform: none;
        box-shadow: var(--sx-shadow);
    }
}

.sx-testimonial__stars {
    display: flex;
    gap: 2px;
    color: #F59E0B;
    margin-bottom: 16px;
}

.sx-testimonial__quote {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sx-text);
    margin: 0 0 20px;
    font-style: normal;
}

.sx-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.sx-testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sx-blue-dark), var(--sx-cyan));
    color: var(--sx-white);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sx-testimonial__name {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--sx-navy);
    display: block;
}

.sx-testimonial__meta {
    font-size: 12px;
    color: var(--sx-muted);
    margin: 2px 0 6px;
}

.sx-testimonial__service {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
}

.sx-testimonials-layout {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.sx-testimonials-layout .sx-testimonial:nth-child(1) { grid-column: span 2; }
.sx-testimonials-layout .sx-testimonial:nth-child(2) { grid-column: span 2; }
.sx-testimonials-layout .sx-testimonial:nth-child(3) { grid-column: span 2; }
.sx-testimonials-layout .sx-testimonial:nth-child(4) { grid-column: span 3; }
.sx-testimonials-layout .sx-testimonial:nth-child(5) { grid-column: span 3; }

.sx-disclaimer {
    font-size: 13px;
    color: var(--sx-muted);
    text-align: center;
    margin-top: 24px;
    font-style: italic;
}

/* ─── Stats band ─── */
.sx-stats-band {
    position: relative;
    padding-bottom: 8px;
    background: linear-gradient(180deg, var(--sx-white) 0%, var(--sx-surface) 100%);
}

.sx-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--sx-border);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    overflow: hidden;
    margin-top: -24px;
    position: relative;
    z-index: 2;
    box-shadow: var(--sx-shadow);
}

.sx-stats--creative {
    gap: 0;
    background: transparent;
    border: none;
    border-radius: var(--sx-radius-xl);
    box-shadow:
        0 4px 24px rgba(37, 99, 235, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

.sx-stat {
    padding: 28px 32px;
    background: var(--sx-white);
    text-align: center;
}

.sx-stat--creative {
    position: relative;
    padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sx-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sx-stat--creative:first-child {
    border-radius: var(--sx-radius-xl) 0 0 var(--sx-radius-xl);
}

.sx-stat--creative:last-child {
    border-radius: 0 var(--sx-radius-xl) var(--sx-radius-xl) 0;
}

.sx-stat--creative:not(:first-child) {
    border-left: none;
}

.sx-stat--creative:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
    z-index: 1;
}

.sx-stat__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--stat-color) 12%, white), color-mix(in srgb, var(--stat-color) 6%, white));
    border: 1px solid color-mix(in srgb, var(--stat-color) 20%, transparent);
    border-radius: 14px;
    transition: transform 0.3s;
}

.sx-stat--creative:hover .sx-stat__icon {
    transform: scale(1.1) rotate(-3deg);
}

.sx-stat__value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--sx-navy);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--sx-navy) 0%, var(--sx-blue-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sx-stat__label {
    font-size: 14px;
    color: var(--sx-muted);
    font-weight: 600;
}

/* ─── Tech strip ─── */
.sx-tech-strip {
    padding-block: 20px;
    overflow: hidden;
    background: transparent;
    border: none;
}

.sx-tech-strip--fwd {
    padding-top: 28px;
}

.sx-tech-strip--rev {
    padding-bottom: 28px;
}

.sx-tech-strip--rev .sx-tech-strip__track {
    animation-direction: reverse;
    animation-duration: 35s;
}

.sx-tech-strip__track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: sxMarquee 30s linear infinite;
}

.sx-tech-strip__item {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sx-muted);
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.sx-tech-strip__item--alt {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--sx-navy);
}

@keyframes sxMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Cards grid ─── */
.sx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── Service card ─── */
.sx-service-card {
    display: flex;
    flex-direction: column;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    overflow: hidden;
    box-shadow: var(--sx-shadow);
    transition: transform 0.25s var(--sx-ease), box-shadow 0.25s;
    height: 100%;
}

.sx-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sx-shadow-lg);
}

.sx-service-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sx-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--sx-ease);
}

.sx-service-card:hover .sx-service-card__img img { transform: scale(1.05); }

.sx-service-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.sx-service-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sx-blue-dark);
}

.sx-service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0;
    line-height: 1.35;
}

.sx-service-card__title a { color: inherit; }
.sx-service-card__title a:hover { color: var(--sx-blue-dark); }

.sx-service-card__text {
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0;
    flex: 1;
    line-height: 1.6;
}

.sx-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sx-blue-dark) !important;
    margin-top: auto;
}

.sx-service-card__link svg { transition: transform 0.2s; }
.sx-service-card:hover .sx-service-card__link svg { transform: translate(2px, -2px); }

/* ─── Feature card ─── */
.sx-feature {
    padding: 28px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sx-feature:hover {
    border-color: #BFDBFE;
    box-shadow: var(--sx-shadow);
}

.sx-feature__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    color: var(--sx-white);
    font-size: 20px;
    margin-bottom: 16px;
}

.sx-feature__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
}

.sx-feature__text {
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0;
    line-height: 1.65;
}

/* ─── Bento (why us) ─── */
.sx-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.sx-bento__main {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
    background: linear-gradient(135deg, var(--sx-navy) 0%, var(--sx-navy-mid) 100%);
    border-radius: var(--sx-radius-xl);
    color: var(--sx-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sx-bento__main .sx-heading { color: var(--sx-white); margin-bottom: 12px; }
.sx-bento__main .sx-heading span { -webkit-text-fill-color: var(--sx-cyan); background: none; color: var(--sx-cyan); }
.sx-bento__main p { color: rgba(255,255,255,0.7); margin: 0; max-width: 420px; }

/* ─── Case study card ─── */
.sx-case {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    box-shadow: var(--sx-shadow);
    transition: box-shadow 0.25s;
}

.sx-case:hover { box-shadow: var(--sx-shadow-lg); }

.sx-case + .sx-case { margin-top: 24px; }

.sx-case__img {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.sx-case__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
    transition: transform 0.5s var(--sx-ease);
}

.sx-case:hover .sx-case__img img { transform: scale(1.04); }

.sx-case__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,17,32,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.sx-case:hover .sx-case__overlay { opacity: 1; }

.sx-case__body {
    padding: clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sx-case__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sx-cyan);
    margin-bottom: 8px;
}

.sx-case__title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 12px;
    line-height: 1.3;
}

.sx-case__title a { color: inherit; }

.sx-case__desc {
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0 0 20px;
    line-height: 1.65;
}

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

.sx-case__meta span {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-text);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
}

/* ─── Home portfolio showcase ─── */
.sx-works-section {
    position: relative;
    overflow: hidden;
}

.sx-works-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 0% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 35% at 100% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.sx-works-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(24px, 4vw, 48px);
    align-items: end;
    margin-bottom: clamp(32px, 5vw, 48px);
    position: relative;
    z-index: 1;
}

.sx-works-head__copy {
    max-width: 560px;
}

.sx-works-head__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.sx-works-head__stat {
    text-align: right;
    padding: 16px 20px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
}

.sx-works-head__stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--sx-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.sx-works-head__stat span {
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sx-works-bento {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.sx-works-card {
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    box-shadow: var(--sx-shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.sx-works-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sx-shadow-lg);
    border-color: #BFDBFE;
}

.sx-works-card--featured {
    grid-row: span 2;
}

.sx-works-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.sx-works-card__link:hover {
    color: inherit;
}

.sx-works-card__media {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sx-works-card--featured .sx-works-card__media {
    aspect-ratio: 16 / 11;
    max-height: 280px;
}

.sx-works-card:not(.sx-works-card--featured) .sx-works-card__media {
    aspect-ratio: 16 / 9;
    max-height: 140px;
}

.sx-works-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--sx-ease);
}

.sx-works-card:hover .sx-works-card__media img {
    transform: scale(1.06);
}

.sx-works-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.sx-works-card:hover .sx-works-card__shine {
    opacity: 1;
}

.sx-works-card__hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 17, 32, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
}

.sx-works-card:hover .sx-works-card__hover {
    opacity: 1;
}

.sx-works-card__view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sx-navy);
    background: var(--sx-white);
    border-radius: 999px;
    transform: translateY(8px);
    transition: transform 0.3s;
}

.sx-works-card:hover .sx-works-card__view {
    transform: translateY(0);
}

.sx-works-card__body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sx-works-card--featured .sx-works-card__body {
    padding: 22px 24px 24px;
}

.sx-works-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sx-works-card__type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sx-blue-dark);
}

.sx-works-card__type-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}

.sx-works-card__num {
    font-size: 28px;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
}

.sx-works-card__title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sx-works-card--featured .sx-works-card__title {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.sx-works-card__desc {
    font-size: 13px;
    color: var(--sx-muted);
    line-height: 1.6;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sx-works-card--featured .sx-works-card__desc {
    -webkit-line-clamp: 3;
}

.sx-works-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-works-card__tags li {
    font-size: 11px;
    font-weight: 600;
    color: var(--sx-text);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ─── Home process flow ─── */
.sx-home-process {
    position: relative;
    overflow: hidden;
}

.sx-home-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 50% at 10% 80%, rgba(37, 99, 235, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 45% at 90% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.sx-home-flow {
    position: relative;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.sx-home-flow__track {
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: var(--sx-border);
    border-radius: 999px;
    overflow: hidden;
    z-index: 0;
}

.sx-home-flow__track-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, var(--sx-blue-dark), var(--sx-cyan));
    border-radius: 999px;
    animation: sxHomeFlowFill 6s ease-in-out infinite;
}

.sx-home-flow__track-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
    background: var(--sx-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    animation: sxHomeFlowPulse 6s ease-in-out infinite;
}

@keyframes sxHomeFlowFill {
    0% { width: 0; }
    40%, 60% { width: 100%; }
    100% { width: 0; }
}

@keyframes sxHomeFlowPulse {
    0% { left: 0; opacity: 1; }
    40%, 60% { left: 100%; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.sx-home-flow__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.sx-home-flow__step {
    position: relative;
    display: flex;
    align-items: stretch;
}

.sx-home-flow__connector {
    display: none;
}

.sx-home-flow__card {
    flex: 1;
    position: relative;
    padding: 24px 20px 22px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    animation: sxHomeStepGlow 8s ease-in-out infinite;
    animation-delay: calc(var(--step-i, 0) * 2s);
}

.sx-home-flow__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sx-blue-dark), var(--sx-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sx-home-flow__card:hover,
.sx-home-flow__card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--sx-shadow-lg);
    border-color: #BFDBFE;
}

.sx-home-flow__card:hover::before,
.sx-home-flow__card:focus-within::before {
    transform: scaleX(1);
}

@keyframes sxHomeStepGlow {
    0%, 12%, 100% {
        box-shadow: var(--sx-shadow);
        border-color: var(--sx-border);
    }
    6% {
        box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
        border-color: #93C5FD;
        transform: translateY(-4px);
    }
}

.sx-home-flow__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-radius: 12px;
    margin-bottom: 14px;
}

.sx-home-flow__num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(37, 99, 235, 0.35);
}

.sx-home-flow__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
}

.sx-home-flow__text {
    font-size: 13px;
    color: var(--sx-muted);
    line-height: 1.6;
    margin: 0;
}

.sx-home-process__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sx-home-process__hint {
    font-size: 13px;
    font-weight: 600;
    color: var(--sx-muted);
    letter-spacing: 0.02em;
}

/* ─── Process timeline (legacy grid — unused on home) ─── */
.sx-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.sx-process::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--sx-blue-dark), var(--sx-cyan));
    opacity: 0.25;
}

.sx-process__step {
    text-align: center;
    padding: 0 12px;
}

.sx-process__num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--sx-white);
    background: linear-gradient(135deg, var(--sx-blue-dark), var(--sx-cyan));
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.sx-process__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 6px;
}

.sx-process__text {
    font-size: 13px;
    color: var(--sx-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─── Process page ─── */
.sx-process-hero {
    position: relative;
    padding-block: clamp(56px, 9vw, 100px) clamp(48px, 7vw, 72px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 85% 10%, rgba(6, 182, 212, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 5% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #F0F7FF 0%, var(--sx-white) 85%);
}

.sx-process-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.sx-process-pipeline {
    position: relative;
    padding: 24px 0;
}

.sx-process-pipeline__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    position: relative;
}

.sx-process-pipeline__track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: var(--sx-border);
    border-radius: 999px;
    z-index: 0;
}

.sx-process-pipeline__progress {
    position: absolute;
    top: 28px;
    left: 8%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sx-blue-dark), var(--sx-cyan));
    border-radius: 999px;
    z-index: 1;
    animation: sx-pipeline-fill 3s ease-out 0.4s forwards;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
}

@keyframes sx-pipeline-fill {
    to { width: 84%; }
}

.sx-process-pipeline__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.sx-process-pipeline__dot {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--sx-white);
    border: 2px solid var(--sx-border);
    border-radius: 50%;
    box-shadow: var(--sx-shadow);
    animation: sx-pipeline-pop 0.5s ease backwards;
    animation-delay: calc(0.15s + var(--step-i, 0) * 0.18s);
}

@keyframes sx-pipeline-pop {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sx-process-pipeline__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--sx-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 72px;
}

.sx-process-visual {
    margin-top: -24px;
    padding-bottom: clamp(32px, 5vw, 48px);
}

.sx-process-visual__card {
    position: relative;
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    box-shadow: var(--sx-shadow-lg);
    aspect-ratio: 21 / 8;
    max-height: 320px;
}

.sx-process-visual__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 8s ease;
}

.sx-process-visual__card:hover img {
    transform: scale(1.08);
}

.sx-process-visual__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 6vw, 64px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 58, 138, 0.55) 100%);
    padding: 24px;
}

.sx-process-visual__stat {
    text-align: center;
    color: var(--sx-white);
    animation: sx-stat-rise 0.7s ease backwards;
}

.sx-process-visual__stat:nth-child(1) { animation-delay: 0.2s; }
.sx-process-visual__stat:nth-child(2) { animation-delay: 0.35s; }
.sx-process-visual__stat:nth-child(3) { animation-delay: 0.5s; }

@keyframes sx-stat-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.sx-process-visual__stat strong {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, var(--sx-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sx-process-visual__stat span {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

.sx-process-timeline {
    position: relative;
    max-width: 820px;
    margin-inline: auto;
    padding-left: 8px;
}

.sx-process-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--sx-blue-dark), var(--sx-cyan));
    opacity: 0.2;
    border-radius: 999px;
}

.sx-process-timeline__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: clamp(16px, 3vw, 32px);
    padding-bottom: clamp(32px, 5vw, 48px);
    position: relative;
}

.sx-process-timeline__item:last-child {
    padding-bottom: 0;
}

.sx-process-timeline__marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sx-process-timeline__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--sx-white);
    border: 2px solid var(--sx-border);
    border-radius: 50%;
    box-shadow: var(--sx-shadow);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.sx-process-timeline__item:hover .sx-process-timeline__icon {
    transform: scale(1.08);
    border-color: var(--sx-blue);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.sx-process-timeline__num {
    font-size: 11px;
    font-weight: 800;
    color: var(--sx-blue-dark);
    letter-spacing: 0.06em;
}

.sx-process-timeline__content {
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    padding: clamp(20px, 3vw, 28px);
    box-shadow: var(--sx-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sx-process-timeline__item:hover .sx-process-timeline__content {
    transform: translateX(4px);
    box-shadow: var(--sx-shadow-lg);
}

.sx-process-timeline__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.sx-process-timeline__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0;
}

.sx-process-timeline__duration {
    font-size: 12px;
    font-weight: 700;
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.sx-process-timeline__text {
    font-size: 15px;
    color: var(--sx-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.sx-process-timeline__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-process-timeline__tags li {
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-text);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    padding: 6px 12px;
    border-radius: 999px;
}

.sx-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0s);
}

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

/* ─── Technologies page ─── */
.sx-tech-hero {
    position: relative;
    padding-block: clamp(56px, 9vw, 100px) clamp(40px, 6vw, 64px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 65% 50% at 15% 15%, rgba(59, 130, 246, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 25%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #EEF6FF 0%, var(--sx-white) 80%);
}

.sx-tech-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.sx-tech-orbit {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    min-height: 400px;
}

.sx-tech-orbit__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
}

.sx-tech-orbit__glow--1 {
    width: 180px;
    height: 180px;
    top: 8%;
    left: 15%;
    background: rgba(59, 130, 246, 0.22);
    animation: sxGlowDrift 7s ease-in-out infinite alternate;
}

.sx-tech-orbit__glow--2 {
    width: 150px;
    height: 150px;
    bottom: 12%;
    right: 8%;
    background: rgba(6, 182, 212, 0.2);
    animation: sxGlowDrift 9s ease-in-out infinite alternate-reverse;
}

.sx-tech-orbit__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sx-tech-orbit__hub-ring {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    animation: sxHubSpin 18s linear infinite;
}

.sx-tech-orbit__hub-core {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(145deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    border-radius: 50%;
    color: var(--sx-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.35);
    animation: sxHubPulse 3s ease-in-out infinite;
}

.sx-tech-orbit__hub-icon {
    font-size: 28px;
    line-height: 1;
}

.sx-tech-orbit__spin {
    position: absolute;
    inset: 0;
    animation: sxOrbitSpin 28s linear infinite;
}

.sx-tech-orbit__node {
    --angle: calc(var(--node-i) * 60deg);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    margin-left: -34px;
    margin-top: -26px;
    transform: rotate(var(--angle)) translateY(-155px) rotate(calc(-1 * var(--angle)));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: sxTechNodeBob 3.5s ease-in-out infinite;
    animation-delay: calc(var(--node-i) * 0.35s);
}

@keyframes sxTechNodeBob {
    0%, 100% { transform: rotate(var(--angle)) translateY(-155px) rotate(calc(-1 * var(--angle))) translateY(0); }
    50% { transform: rotate(var(--angle)) translateY(-155px) rotate(calc(-1 * var(--angle))) translateY(-5px); }
}

@keyframes sxTechNodeBobMobile {
    0%, 100% { transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-r))) rotate(calc(-1 * var(--angle))) translateY(0); }
    50% { transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-r))) rotate(calc(-1 * var(--angle))) translateY(-5px); }
}

.sx-tech-orbit__node-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 16px;
    box-shadow: var(--sx-shadow);
}

.sx-tech-orbit__node-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--sx-navy);
    white-space: nowrap;
}

.sx-tech-orbit__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: sxTechPulse 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes sxTechPulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.sx-tech-stack {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sx-tech-stack__layer {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    animation: sxLayerHighlight 8s ease-in-out infinite;
    animation-delay: calc(var(--layer-i, 0) * 2s);
}

@keyframes sxLayerHighlight {
    0%, 15%, 100% {
        border-color: var(--sx-border);
        box-shadow: var(--sx-shadow);
        transform: translateX(0);
    }
    5%, 10% {
        border-color: var(--sx-blue);
        box-shadow: 0 8px 28px rgba(37, 99, 235, 0.15);
        transform: translateX(6px);
    }
}

.sx-tech-stack__layer:hover {
    border-color: var(--sx-blue);
    box-shadow: var(--sx-shadow-lg);
    transform: translateX(6px);
}

.sx-tech-stack__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 14px;
}

.sx-tech-stack__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 4px;
}

.sx-tech-stack__desc {
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0;
    line-height: 1.5;
}

.sx-tech-stack__index {
    font-size: 28px;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.12);
    line-height: 1;
}

.sx-tech-visual {
    padding-bottom: clamp(32px, 5vw, 48px);
}

.sx-tech-visual__card {
    position: relative;
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    box-shadow: var(--sx-shadow-lg);
    aspect-ratio: 21 / 8;
    max-height: 300px;
}

.sx-tech-visual__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.sx-tech-visual__card:hover img {
    transform: scale(1.06);
}

.sx-tech-visual__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 58, 138, 0.6) 100%);
}

.sx-tech-visual__quote {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 600;
    color: var(--sx-white);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 0 12px;
}

.sx-tech-visual__cite {
    font-size: 13px;
    font-weight: 600;
    color: var(--sx-cyan);
    letter-spacing: 0.04em;
}

.sx-tech-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.sx-tech-filter__btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--sx-muted);
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.sx-tech-filter__btn:hover {
    color: var(--sx-navy);
    border-color: #BFDBFE;
}

.sx-tech-filter__btn.is-active {
    color: var(--sx-white);
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.sx-tech-group {
    margin-bottom: clamp(40px, 6vw, 56px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sx-tech-group.is-hidden {
    display: none;
}

.sx-tech-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sx-border);
}

.sx-tech-group__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    border-radius: 12px;
}

.sx-tech-group__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0;
}

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

.sx-tech-card {
    position: relative;
    padding: 24px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.sx-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sx-blue-dark), var(--sx-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.sx-tech-card:hover {
    transform: translateY(-4px);
    border-color: #BFDBFE;
    box-shadow: var(--sx-shadow-lg);
}

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

@media (hover: none) {
    .sx-tech-card:hover {
        transform: none;
        border-color: var(--sx-border);
        box-shadow: var(--sx-shadow);
    }

    .sx-tech-card:hover::before {
        transform: scaleX(0);
    }
}

.sx-tech-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sx-tech-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--sx-surface);
    border-radius: 12px;
}

.sx-tech-card__cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--sx-blue-dark);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
}

.sx-tech-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
}

.sx-tech-card__text {
    font-size: 14px;
    color: var(--sx-muted);
    line-height: 1.65;
    margin: 0 0 16px;
}

.sx-tech-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-tech-card__tags li {
    font-size: 11px;
    font-weight: 600;
    color: var(--sx-text);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ─── Portfolio page ─── */
.sx-portfolio-hero {
    padding-block: clamp(56px, 9vw, 96px) clamp(40px, 6vw, 56px);
    background:
        radial-gradient(ellipse 70% 55% at 90% 10%, rgba(6, 182, 212, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 5% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #F0F7FF 0%, var(--sx-white) 85%);
}

.sx-portfolio-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 48px);
    align-items: center;
}

.sx-portfolio-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 32px;
}

.sx-portfolio-hero__stats div {
    text-align: left;
}

.sx-portfolio-hero__stats strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--sx-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.sx-portfolio-hero__stats span {
    font-size: 13px;
    font-weight: 600;
    color: var(--sx-muted);
}

.sx-portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.sx-portfolio-filter__btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--sx-muted);
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.sx-portfolio-filter__btn:hover {
    color: var(--sx-navy);
    border-color: #BFDBFE;
}

.sx-portfolio-filter__btn.is-active {
    color: var(--sx-white);
    background: linear-gradient(135deg, var(--sx-blue-dark) 0%, var(--sx-cyan) 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

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

.sx-portfolio-card {
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    box-shadow: var(--sx-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.sx-portfolio-card.is-hidden {
    display: none;
}

.sx-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sx-shadow-lg);
}

.sx-portfolio-card--featured {
    box-shadow: var(--sx-shadow-lg);
}

.sx-portfolio-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sx-portfolio-card--featured .sx-portfolio-card__media {
    aspect-ratio: 4 / 3;
}

.sx-portfolio-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--sx-ease);
}

.sx-portfolio-card:hover .sx-portfolio-card__media img {
    transform: scale(1.05);
}

.sx-portfolio-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 17, 32, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
}

.sx-portfolio-card:hover .sx-portfolio-card__overlay {
    opacity: 1;
}

.sx-portfolio-card__body {
    padding: 20px 24px 24px;
}

.sx-portfolio-card__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sx-cyan);
    margin-bottom: 8px;
}

.sx-portfolio-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.sx-portfolio-card__title a {
    color: inherit;
}

.sx-portfolio-card__desc {
    font-size: 14px;
    color: var(--sx-muted);
    line-height: 1.6;
    margin: 0 0 14px;
}

.sx-portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-portfolio-card__tags li {
    font-size: 11px;
    font-weight: 600;
    color: var(--sx-text);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    padding: 4px 10px;
    border-radius: 999px;
}

.sx-portfolio-detail-hero {
    position: relative;
    min-height: clamp(320px, 45vw, 480px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sx-portfolio-detail-hero__media {
    position: absolute;
    inset: 0;
}

.sx-portfolio-detail-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sx-portfolio-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.2) 0%, rgba(11, 17, 32, 0.85) 100%);
}

.sx-portfolio-detail-hero__content {
    position: relative;
    z-index: 1;
    padding-block: clamp(48px, 8vw, 80px);
    color: var(--sx-white);
}

.sx-portfolio-detail-hero__content .sx-hero__title {
    color: var(--sx-white);
}

.sx-portfolio-detail-hero__content .sx-lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
}

.sx-portfolio-detail-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.sx-portfolio-detail-hero__tags li {
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
}

.sx-portfolio-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.sx-portfolio-detail__sidebar {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
}

.sx-portfolio-detail__fact {
    padding: 14px 0;
    border-bottom: 1px solid var(--sx-border);
}

.sx-portfolio-detail__fact:last-of-type {
    border-bottom: none;
    margin-bottom: 8px;
}

.sx-portfolio-detail__fact span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sx-muted);
    margin-bottom: 4px;
}

.sx-portfolio-detail__fact strong {
    font-size: 15px;
    color: var(--sx-navy);
}

.sx-portfolio-detail__block {
    margin-bottom: 32px;
}

.sx-portfolio-detail__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.sx-portfolio-detail__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--sx-radius-lg);
}

/* ─── Tags ─── */
.sx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sx-tag {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sx-navy);
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s;
}

.sx-tag:hover {
    border-color: var(--sx-blue-dark);
    color: var(--sx-blue-dark);
}

/* ─── Engagement ─── */
.sx-engage {
    padding: 32px;
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sx-engage::before {
    content: attr(data-num);
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.06);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.sx-engage__title {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 10px;
    padding-right: 56px;
}

.sx-engage__text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--sx-muted);
    margin: 0;
    line-height: 1.65;
}

/* ─── Dark band ─── */
.sx-dark-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sx-dark-band__box {
    padding: 32px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--sx-radius-lg);
}

.sx-dark-band__box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sx-white);
    margin: 0 0 12px;
}

.sx-dark-band__box p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.7;
}

/* ─── FAQ ─── */
.sx-faq { max-width: 720px; margin-inline: auto; }

.sx-faq__item {
    border-bottom: 1px solid var(--sx-border);
}

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

.sx-faq__q svg {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--sx-blue-dark);
}

.sx-faq__item.is-open .sx-faq__q svg { transform: rotate(45deg); }

.sx-faq__a {
    display: none;
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--sx-muted);
    line-height: 1.7;
}

.sx-faq__item.is-open .sx-faq__a { display: block; }

/* ─── CTA ─── */
.sx-cta {
    position: relative;
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    background: var(--sx-navy);
}

.sx-cta__bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
}

.sx-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sx-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: clamp(40px, 6vw, 64px);
}

.sx-cta__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--sx-white);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.sx-cta__text {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 480px;
}

.sx-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

@media (min-width: 1025px) {
    .sx-cta__inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .sx-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        min-width: 320px;
    }
}

/* ─── Page hero (inner pages) ─── */
.sx-page-hero {
    padding-block: clamp(48px, 6vw, 72px);
    background:
        radial-gradient(ellipse 70% 80% at 50% -20%, rgba(59, 130, 246, 0.1) 0%, transparent 60%),
        var(--sx-surface);
    border-bottom: 1px solid var(--sx-border);
    text-align: center;
}

.sx-page-hero .sx-lead { margin-inline: auto; }

/* ─── Breadcrumbs ─── */
.sx-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: var(--sx-muted);
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.sx-breadcrumbs a { color: var(--sx-muted); }
.sx-breadcrumbs a:hover { color: var(--sx-blue-dark); }
.sx-breadcrumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.4; }

/* ─── Footer ─── */
.sx-footer {
    background: var(--sx-navy);
    color: rgba(255,255,255,0.7);
    padding-top: 64px;
}

.sx-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sx-footer__brand p {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 0;
    max-width: 280px;
}

.sx-footer__brand img { height: 28px; filter: brightness(0) invert(1); }

.sx-footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sx-white);
    margin: 0 0 16px;
}

.sx-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sx-footer__col li { margin-bottom: 10px; }

.sx-footer__col a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

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

.sx-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.sx-footer__social {
    display: flex;
    gap: 12px;
}

.sx-footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

.sx-footer__social a:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--sx-cyan);
}

/* ─── Forms ─── */
.sx-form {
    background: var(--sx-white);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius-lg);
    padding: clamp(28px, 4vw, 40px);
    box-shadow: var(--sx-shadow);
}

.sx-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sx-navy);
    margin-bottom: 8px;
}

.sx-form input,
.sx-form textarea,
.sx-form select {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--sx-navy);
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: var(--sx-radius);
    margin-bottom: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sx-form input:focus,
.sx-form textarea:focus,
.sx-form select:focus {
    outline: none;
    border-color: var(--sx-blue-dark);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.sx-form .sx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sx-alert {
    padding: 16px;
    border-radius: var(--sx-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.sx-alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* ─── Content prose ─── */
.sx-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 2rem 0 0.75rem;
}

.sx-prose p {
    color: var(--sx-muted);
    line-height: 1.75;
}

.sx-prose ul {
    color: var(--sx-muted);
    padding-left: 1.25rem;
}

.sx-prose ul li { margin-bottom: 8px; }

/* ─── Split layout ─── */
.sx-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.sx-split--reverse { direction: rtl; }
.sx-split--reverse > * { direction: ltr; }

/* ─── Image banner ─── */
.sx-banner-img {
    border-radius: var(--sx-radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
}

.sx-banner-img img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    max-height: 420px;
}

/* ─── Scroll top ─── */
.sx-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sx-navy);
    color: var(--sx-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.2s;
    z-index: 900;
    box-shadow: var(--sx-shadow-lg);
}

.sx-top.is-visible { opacity: 1; visibility: visible; }
.sx-top:hover { transform: translateY(-2px); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .sx-nav, .sx-header__actions .sx-btn { display: none; }
    .sx-menu-toggle { display: flex; }
    .sx-tech-hero__grid { grid-template-columns: 1fr; }
    .sx-portfolio-hero__grid { grid-template-columns: 1fr; }
    .sx-portfolio-detail { grid-template-columns: 1fr; }
    .sx-portfolio-detail__sidebar { position: static; }
    .sx-tech-orbit { order: 1; max-width: 360px; min-height: 300px; margin-inline: auto; }
    .sx-tech-hero__grid > div:first-child { order: 0; min-width: 0; }
    .sx-tech-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-process-hero__grid { grid-template-columns: 1fr; }
    .sx-process-pipeline { max-width: 640px; margin-inline: auto; }
    .sx-process-pipeline__track { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .sx-process-pipeline__track::before,
    .sx-process-pipeline__progress { display: none; }
    .sx-hero__grid { grid-template-columns: 1fr; }
    .sx-hero__visual { order: 1; max-width: 420px; margin-inline: auto; min-height: 300px; }
    .sx-hero-visual { min-height: 300px; }
    .sx-hero-visual__problems { display: none; }
    .sx-stats { grid-template-columns: repeat(2, 1fr); }
    .sx-why-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-testimonials-layout { grid-template-columns: 1fr; }
    .sx-testimonials-layout .sx-testimonial { grid-column: span 1 !important; }
    .sx-bento { grid-template-columns: 1fr; }
    .sx-bento__main { grid-column: span 1; grid-row: span 1; }
    .sx-works-head { grid-template-columns: 1fr; }
    .sx-works-head__aside { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
    .sx-works-bento { grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; }
    .sx-works-card--featured { grid-row: span 1; }
    .sx-works-card--featured .sx-works-card__media { max-height: 220px; }
    .sx-case { grid-template-columns: 1fr; }
    .sx-home-flow__track { display: none; }
    .sx-home-flow__steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .sx-process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .sx-process::before { display: none; }
    .sx-dark-band { grid-template-columns: 1fr; }
    .sx-footer__grid { grid-template-columns: 1fr 1fr; }
    .sx-cta__inner { grid-template-columns: 1fr; }
    .sx-cta__actions { align-items: stretch; width: 100%; }
    .sx-cta__actions .sx-btn { width: 100%; justify-content: center; }
    .sx-grid-3, .sx-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .sx-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sx-container {
        width: min(var(--sx-container), calc(100% - 32px));
    }

    .sx-portfolio-grid { grid-template-columns: 1fr; }
    .sx-portfolio-detail__gallery { grid-template-columns: 1fr; }
    .sx-tech-filter__btn { font-size: 12px; padding: 8px 14px; }
    .sx-tech-stack__layer { grid-template-columns: 44px 1fr; }
    .sx-tech-stack__index { display: none; }
    .sx-tech-orbit {
        max-width: 300px;
        min-height: 260px;
    }
    .sx-tech-orbit__node {
        --orbit-r: 118px;
        transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-r))) rotate(calc(-1 * var(--angle)));
        animation: sxTechNodeBobMobile 3.5s ease-in-out infinite;
    }
    .sx-engage {
        padding: 24px;
    }
    .sx-engage::before {
        font-size: 36px;
        top: 12px;
        right: 16px;
    }
    .sx-engage__title {
        padding-right: 44px;
    }
    .sx-testimonial {
        height: auto;
    }
    .sx-works-bento {
        gap: 16px;
    }
    .sx-works-card--featured .sx-works-card__media {
        max-height: 200px;
    }
    .sx-stats { grid-template-columns: 1fr; }
    .sx-process-pipeline__track { grid-template-columns: repeat(2, 1fr); }
    .sx-process-visual__overlay { flex-direction: column; gap: 20px; }
    .sx-process-visual__card { aspect-ratio: 16 / 10; max-height: none; }
    .sx-process-timeline__item { grid-template-columns: 56px 1fr; gap: 12px; }
    .sx-process-timeline::before { left: 27px; }
    .sx-process-timeline__icon { width: 48px; height: 48px; font-size: 20px; }
    .sx-home-flow__steps { grid-template-columns: 1fr; }
    .sx-home-flow__step {
        flex-direction: column;
    }
    .sx-home-flow__card { order: 1; }
    .sx-home-flow__connector {
        display: flex;
        order: 2;
        align-items: center;
        justify-content: center;
        height: 28px;
        color: var(--sx-blue-dark);
        opacity: 0.4;
    }
    .sx-home-flow__connector svg { width: 24px; height: auto; transform: rotate(90deg); }
    .sx-home-flow__step:last-child .sx-home-flow__connector { display: none; }
    .sx-stat--creative:first-child { border-radius: var(--sx-radius-xl) var(--sx-radius-xl) 0 0; }
    .sx-stat--creative:last-child { border-radius: 0 0 var(--sx-radius-xl) var(--sx-radius-xl); }
    .sx-stat--creative:not(:first-child) { border-left: 1px solid var(--sx-border); border-top: none; }
    .sx-hero {
        padding-block: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 32px);
    }
    .sx-hero__visual {
        display: none;
    }
    .sx-hero__grid {
        gap: 28px;
    }
    .sx-hero__title {
        font-size: clamp(1.65rem, 7.5vw, 2.15rem);
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    .sx-hero__rotate { height: auto; overflow: visible; }
    .sx-hero__rotate-track { animation: none; transform: none; }
    .sx-hero__rotate-track em {
        white-space: normal;
    }
    .sx-hero__rotate-track em:not(:first-child) { display: none; }
    .sx-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .sx-hero__actions .sx-btn {
        justify-content: center;
    }
    .sx-hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }
    .sx-tech-grid { grid-template-columns: 1fr; gap: 16px; }
    .sx-tech-card {
        padding: 20px;
    }
    .sx-tech-card__head {
        flex-wrap: wrap;
    }
    .sx-tech-card__cat {
        white-space: normal;
        text-align: right;
    }
    .sx-grid-2, .sx-grid-3, .sx-grid-4 { grid-template-columns: 1fr; }
    .sx-why-grid { grid-template-columns: 1fr; }
    .sx-form .sx-form-row { grid-template-columns: 1fr; }
    .sx-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sx-tech-strip__track,
    .sx-hero__grid-lines,
    .sx-hero__orb,
    .sx-hero__pill-dot,
    .sx-hero__rotate-track,
    .sx-hero-visual__arc,
    .sx-hero-visual__orbit,
    .sx-hero-visual__node-inner,
    .sx-hero-visual__node-content,
    .sx-hero-visual__hub-ring,
    .sx-hero-visual__hub-ring--2,
    .sx-hero-visual__hub-core,
    .sx-hero-visual__problem,
    .sx-hero-visual__badge,
    .sx-hero-visual__flow-arrow,
    .sx-hero-visual__glow,
    .sx-home-flow__track-fill,
    .sx-home-flow__track-pulse,
    .sx-home-flow__card,
    .sx-process-pipeline__dot,
    .sx-process-visual__stat { animation: none !important; }
    .sx-tech-orbit__spin,
    .sx-tech-orbit__hub-ring,
    .sx-tech-orbit__pulse,
    .sx-tech-stack__layer { animation: none !important; }
    .sx-reveal { opacity: 1; transform: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}