:root {
    --bg: #010513;
    --bg-soft: #050b1f;
    --panel: rgba(18, 28, 60, 0.4);
    --panel-soft: rgba(25, 38, 72, 0.35);
    --primary: #f4f6ff;
    --muted: #9aa6cf;
    --accent: #0d6efd;
    --accent-strong: #5ddcff;
    --accent-soft: rgba(13, 110, 253, 0.25);
    --border: rgba(255, 255, 255, 0.18);
    --gradient: linear-gradient(135deg, #0d6efd, #2bb6ff 45%, #5ddcff);
    --radius-lg: 38px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --radius-full: 999px;
    --shadow: 0 25px 70px rgba(4, 9, 35, 0.65);
    --header-height: 88px;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-blur: 40px;
    --liquid-transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --layout-max: 90%;
    --layout-wide: min(1380px, 94vw);
    --layout-gutter: clamp(1.5rem, 4vw, 3.5rem);
}

body[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-soft: #ffffff;
    --panel: rgba(255, 255, 255, 0.8);
    --panel-soft: rgba(248, 249, 252, 0.9);
    --primary: #0a1128;
    --muted: #5a6b8c;
    --accent: #0d6efd;
    --accent-strong: #0056d2;
    --accent-soft: rgba(13, 110, 253, 0.15);
    --border: rgba(10, 17, 40, 0.12);
    --gradient: linear-gradient(135deg, #0d6efd, #4da3ff 45%, #85c5ff);
    --shadow: 0 25px 70px rgba(13, 110, 253, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(13, 110, 253, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 12% 20%, rgba(93, 220, 255, 0.25), transparent 50%),
        radial-gradient(circle at 78% 10%, rgba(13, 110, 253, 0.35), transparent 45%),
        radial-gradient(circle at 45% 60%, rgba(51, 100, 234, 0.18), transparent 40%),
        linear-gradient(180deg, var(--bg), #02061b 60%, #010513);
    color: var(--primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    animation: backgroundFloat 20s ease-in-out infinite;
    transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}

body[data-theme="light"] {
    background:
        radial-gradient(circle at 12% 20%, rgba(13, 110, 253, 0.08), transparent 50%),
        radial-gradient(circle at 78% 10%, rgba(93, 220, 255, 0.12), transparent 45%),
        radial-gradient(circle at 45% 60%, rgba(51, 100, 234, 0.06), transparent 40%),
        linear-gradient(180deg, var(--bg), #e8ecf5 60%, #f8f9fc);
    animation: backgroundFloat 20s ease-in-out infinite;
}

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

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

.container {
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

section {
    padding: 6rem 0;
    content-visibility: auto;
    contain: layout paint style;
    contain-intrinsic-size: 800px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(93, 220, 255, 0.2));
    backdrop-filter: blur(20px);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--liquid-transition);
}

.section-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-header h2 {
    font-family: "Syne", "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    margin: 1rem 0;
}

.section-header p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--liquid-transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    cursor: inherit;
}

@media (pointer: coarse) {
    body,
    a,
    button,
    .btn {
        cursor: auto;
    }
    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

.btn-primary {
    background: var(--gradient);
    color: #0a0a12;
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(13, 110, 253, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    border-color: var(--glass-border);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

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

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--accent);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    background: var(--accent-soft);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.main-nav {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 0.45rem;
    border-radius: var(--radius-full);
    background: var(--nav-shell-bg);
    border: 1px solid var(--nav-shell-border);
    box-shadow: 0 20px 45px var(--nav-shell-shadow);
    backdrop-filter: blur(var(--nav-shell-blur, 18px));
    overflow: hidden;
    isolation: isolate;
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease, padding 0.3s ease;
}

.main-nav::before,
.main-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    z-index: 0;
}

.main-nav::before {
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: 
        linear-gradient(160deg, var(--nav-shell-aurora-1), var(--nav-shell-aurora-2), var(--nav-shell-aurora-3)) 0% 50% / 300% 100%,
        linear-gradient(140deg, rgba(255, 255, 255, 0.15), transparent 50%),
        var(--nav-shell-noise, linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 70%));
    background-blend-mode: screen, screen, normal;
    opacity: 0.9;
    mix-blend-mode: color-dodge;
    filter: saturate(1.2) brightness(1.1);
    animation: var(--nav-shell-aurora-animation, none);
}

.main-nav::after {
    inset: -30% -10% 5% -10%;
    background: radial-gradient(circle at 50% 0%, var(--nav-shell-highlight), transparent 70%);
    filter: blur(36px);
    opacity: 0.6;
    mix-blend-mode: color-dodge;
    animation: var(--nav-shell-ripple-animation, none);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.main-nav li {
    flex: 0 0 auto;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--nav-tab-border);
    color: var(--nav-tab-color);
    font-weight: 600;
    letter-spacing: 0.01em;
    background: var(--nav-tab-bg);
    backdrop-filter: blur(var(--nav-pill-blur, 10px));
    text-shadow: var(--nav-tab-text-shadow, none);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 18px rgba(0, 0, 0, 0.35);
    transition: color 0.2s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.main-nav a::before,
.main-nav a::after {
    content: "";
    position: absolute;
    inset: 0.07rem;
    border-radius: inherit;
    pointer-events: none;
}

.main-nav a::before {
    background: radial-gradient(circle at 30% 20%, var(--nav-tab-glow, rgba(86, 148, 255, 0.4)), transparent 65%);
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.main-nav a::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    color: var(--nav-tab-hover-color, var(--nav-tab-active-color));
    border-color: var(--nav-tab-hover-border);
    background: var(--nav-tab-hover-bg);
    box-shadow: 0 18px 34px var(--nav-glimmer);
    transform: translateY(-2px);
}

.main-nav a:hover::after {
    opacity: 0.45;
}

.main-nav a:hover::before {
    opacity: 0.35;
}

.main-nav .active {
    background: var(--nav-tab-active-bg);
    color: var(--nav-tab-active-color);
    border-color: var(--nav-tab-active-ring, transparent);
    box-shadow: 0 20px 45px var(--nav-glimmer), 0 0 30px rgba(255, 255, 255, 0.25);
}

.main-nav .active::after {
    opacity: 0.7;
}

.main-nav .active::before {
    opacity: 1;
    animation: activePulse 2.5s infinite ease-in-out;
}

@keyframes glassRipple {
    0% {
        transform: translate3d(-8%, -6%, 0) scale(0.95);
        opacity: 0.35;
    }
    50% {
        transform: translate3d(6%, 4%, 0) scale(1.05);
        opacity: 0.65;
    }
    100% {
        transform: translate3d(3%, -4%, 0) scale(1);
        opacity: 0.4;
    }
}

@keyframes auroraGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
}

@keyframes causticShift {
    0% {
        transform: rotate(0deg) scale(1.2);
        opacity: 0.2;
    }
    50% {
        transform: rotate(10deg) scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: rotate(0deg) scale(1.2);
        opacity: 0.2;
    }
}

@keyframes activePulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
        filter: blur(18px);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        filter: blur(22px);
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
        filter: blur(18px);
    }
}

@keyframes liquidShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes backgroundFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 10%, 45% 60%, 0% 0%;
    }
    33% {
        background-position: 100% 20%, 0% 30%, 55% 70%, 0% 0%;
    }
    66% {
        background-position: 20% 40%, 80% 50%, 35% 50%, 0% 0%;
    }
}

@keyframes liquidFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.header-container {
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #060608;
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text strong {
    display: block;
    font-family: "Syne", sans-serif;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
}

.logo-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

.main-header.scrolled .header-container {
    justify-content: center;
    gap: 0;
}

.main-header.scrolled .header-logo {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    width: 0;
    margin: 0;
}

.main-header.scrolled .main-nav {
    padding: 0.55rem;
    transform: translateY(10px) scale(1.01);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    --nav-shell-bg: linear-gradient(150deg, rgba(5, 9, 22, 0.96), rgba(4, 14, 34, 0.88));
    --nav-shell-border: rgba(38, 96, 255, 0.35);
    --nav-shell-highlight: rgba(54, 127, 255, 0.5);
    --nav-shell-noise: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 70%);
    --nav-shell-caustic: rgba(34, 114, 255, 0.4);
    --nav-shell-shadow: rgba(0, 8, 24, 0.75);
    --nav-shell-blur: 18px;
    --nav-shell-ripple-animation: none;
    --nav-tab-color: #dee8ff;
    --nav-tab-border: rgba(62, 115, 255, 0.28);
    --nav-tab-bg: rgba(7, 16, 35, 0.65);
    --nav-tab-hover-bg: rgba(18, 61, 173, 0.35);
    --nav-tab-active-bg: linear-gradient(145deg, rgba(30, 102, 255, 0.95), rgba(20, 74, 210, 0.9));
    --nav-tab-active-color: #fdfdff;
    --nav-tab-hover-border: rgba(121, 186, 255, 0.65);
    --nav-tab-hover-color: #f5f8ff;
    --nav-tab-glow: rgba(60, 132, 255, 0.65);
    --nav-tab-active-ring: rgba(96, 168, 255, 0.45);
    --nav-tab-text-shadow: none;
    --nav-pill-blur: 10px;
    --nav-glimmer: rgba(31, 99, 255, 0.45);
    transition: background 0.4s ease, border-color 0.4s ease, height 0.35s ease, box-shadow 0.4s ease;
}

.main-header::before {
    content: "";
    position: absolute;
    inset: 8px 12px auto;
    height: 65px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 50% 0%, rgba(53, 114, 255, 0.3), transparent 60%);
    filter: blur(28px);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.main-header.scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    height: 72px;
    --nav-shell-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(214, 232, 255, 0.7));
    --nav-shell-border: rgba(255, 255, 255, 0.9);
    --nav-shell-highlight: rgba(255, 255, 255, 1);
    --nav-shell-noise: linear-gradient(130deg, rgba(255, 255, 255, 0.2), transparent 60%);
    --nav-shell-shadow: rgba(95, 145, 255, 0.45);
    --nav-shell-blur: 36px;
    --nav-shell-ripple-animation: glassRipple 11s ease-in-out infinite;
    --nav-shell-aurora-animation: auroraGlow 14s ease-in-out infinite;
    --nav-shell-caustic-animation: causticShift 18s ease-in-out infinite;
    --nav-shell-aurora-1: rgba(101, 173, 255, 0.8);
    --nav-shell-aurora-2: rgba(200, 169, 255, 0.8);
    --nav-shell-aurora-3: rgba(136, 234, 255, 0.8);
    --nav-tab-color: #0a1a35;
    --nav-tab-border: rgba(255, 255, 255, 0.55);
    --nav-tab-bg: rgba(255, 255, 255, 0.35);
    --nav-tab-hover-bg: rgba(255, 255, 255, 0.7);
    --nav-tab-active-bg: linear-gradient(125deg, rgba(86, 148, 255, 1), rgba(65, 115, 255, 1));
    --nav-tab-active-color: #ffffff;
    --nav-tab-hover-border: rgba(89, 141, 255, 0.9);
    --nav-tab-hover-color: #071120;
    --nav-tab-glow: rgba(143, 189, 255, 0.9);
    --nav-tab-active-ring: rgba(255, 255, 255, 0.7);
    --nav-tab-text-shadow: 0 8px 24px rgba(44, 86, 153, 0.35);
    --nav-pill-blur: 28px;
    --nav-glimmer: rgba(133, 171, 255, 0.65);
}

.main-header.scrolled::before {
    opacity: 0.2;
    transform: translateY(-32px) scaleX(0.65);
}

.header-cta {
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: none;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: 0.25s ease;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 15, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: 0.4s ease;
    gap: 1.5rem;
    z-index: 40;
}

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

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-link {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--muted);
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--primary);
}

body.menu-open {
    overflow: hidden;
}

.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

.cursor {
    width: 40px;
    height: 40px;
    background: transparent;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cursor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cursor-follower {
    width: 42px;
    height: 42px;
    border: 2px solid var(--accent);
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

.hero-section {
    padding-top: calc(var(--header-height) + 3rem);
    min-height: 100vh;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 40px;
    background: radial-gradient(circle at 20% 20%, rgba(93, 220, 255, 0.15), transparent 45%);
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: start;
}

.case-hero-grid {
    align-items: stretch;
}

.hero-content {
    max-width: 640px;
    text-align: left;
}


.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.hero-headline {
    font-family: "Syne", sans-serif;
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin: 1.5rem 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    min-height: 11rem;
}

.hero-headline span {
    display: block;
}

.hero-subheadline {
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.typewriter {
    color: var(--accent);
    min-height: 1.1em;
    display: inline-block;
    vertical-align: top;
}

.hero-proof {
    margin-top: 3rem;
    padding-block: 3rem;
    width: 100%;
    display: grid;
    gap: 1.5rem;
    color: var(--muted);
    text-align: center;
}

.hero-metrics {
    display: none;
}

.hero-proof-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-proof-track {
    display: flex;
    gap: 1.5rem;
    animation: slideLeft 20s linear infinite;
    width: fit-content;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-proof-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--liquid-transition);
    min-width: 180px;
}


.hero-proof-chip img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}


.hero-reference {
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--liquid-transition);
    position: relative;
    overflow: hidden;
}

.hero-reference::before {
    content: "";
    position: absolute;
    inset: -100%;
    background: linear-gradient(135deg, transparent, rgba(93, 220, 255, 0.15), transparent);
    animation: liquidShine 8s ease-in-out infinite;
}

.hero-reference-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-reference-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.hero-reference h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.75rem;
}

.hero-reference small {
    color: var(--muted);
}

.hero-metrics {
    width: 100%;
    margin-top: clamp(1rem, 6vw, 8rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.metric-card {
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: var(--liquid-transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(13, 110, 253, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.4), transparent 55%);
    opacity: 0.4;
}

.metric-card strong,
.metric-card span {
    position: relative;
    z-index: 1;
}

.metric-card strong {
    font-size: 2rem;
    display: block;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.services-section {
    background: linear-gradient(180deg, rgba(6, 12, 30, 0.6), rgba(5, 10, 22, 0.95));
    position: relative;
}

.services-section::after {
    content: "";
    position: absolute;
    inset: 10% 5% auto;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.25), transparent 65%);
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
    position: relative;
    z-index: 1;
}

.service-card {
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 25px 60px rgba(2, 6, 16, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    min-height: 100%;
    transition: var(--liquid-transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(93, 220, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(93, 220, 255, 0.6);
    box-shadow: 0 30px 80px rgba(0, 10, 20, 0.8), 0 0 60px rgba(93, 220, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.projects-section {
    padding-inline: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.projects-intro,
.projects-cta {
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto;
    text-align: center;
    padding-inline: var(--layout-gutter);
}

.projects-intro {
    max-width: min(860px, 92vw);
}

.projects-intro h2 {
    font-family: "Syne", "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 0.4rem;
}

.projects-intro p {
    color: var(--muted);
}
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 50px rgba(13, 110, 253, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
.service-card p {
    color: var(--muted);
    margin-bottom: 1.2rem;
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto;
    min-height: 70px;
}

.service-card strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.roi-section {
    background: radial-gradient(circle at 15% 40%, rgba(13, 110, 253, 0.12), transparent 55%),
        linear-gradient(135deg, rgba(9, 13, 30, 0.95), rgba(5, 8, 20, 0.9));
}

.roi-card {
    border-radius: calc(var(--radius-lg) + 10px);
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
    overflow: hidden;
}

.roi-card::after {
    content: "";
    position: absolute;
    inset: -5% 40% auto -10%;
    height: 220px;
    background: radial-gradient(circle, rgba(93, 220, 255, 0.15), transparent 65%);
    opacity: 0.5;
    pointer-events: none;
}

.roi-range input[type="range"] {
    width: 100%;
    margin: 1.5rem 0 0.5rem;
}

.roi-output {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.roi-output strong {
    font-size: 2rem;
}

.roi-output span {
    color: var(--muted);
}

.roi-cta {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--liquid-transition);
}

.roi-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.roi-cta ul {
    list-style: none;
    margin: 1.5rem 0;
    color: var(--muted);
    display: grid;
    gap: 0.7rem;
}

.projects-section {
    padding-inline: clamp(1rem, 6vw, 4rem);
}

.projects-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.projects-intro h2 {
    font-family: "Syne", "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
}

.projects-intro p {
    color: var(--muted);
}

.project-marquee {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) + 6px);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.project-marquee::before,
.project-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 8vw, 120px);
    pointer-events: none;
    z-index: 2;
}

.project-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.project-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.project-marquee-track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: clamp(1.25rem, 2vw, 1.85rem);
    width: fit-content;
    min-width: calc(100% + 1px);
    padding-inline: clamp(1.5rem, 3vw, 3rem);
    animation: projectMarquee 95s linear infinite;
    will-change: transform;
}

.project-marquee:hover .project-marquee-track {
    animation-play-state: paused;
}

.project-marquee .project-card {
    flex: 0 0 clamp(240px, 26vw, 340px);
    min-height: 100%;
    background: rgba(3, 8, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.projects-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.projects-cta .btn {
    min-width: 220px;
}

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

@media (prefers-reduced-motion: reduce) {
    .project-marquee-track {
        animation: none;
        transform: none !important;
    }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: calc(var(--radius-lg) + 6px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.project-card {
    transition: var(--liquid-transition);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(93, 220, 255, 0.5);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(13, 110, 253, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(5, 7, 16, 0.8), rgba(13, 110, 253, 0.55));
    opacity: 0;
    transition: 0.3s ease;
    color: var(--primary);
    font-weight: 600;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn.active {
    background: var(--gradient);
    color: #05070f;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.45);
}

.reference-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.reference-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    border-radius: calc(var(--radius-lg) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: clamp(1.5rem, 3vw, 2.75rem);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(93, 220, 255, 0.05));
    position: relative;
    overflow: hidden;
}


.reference-card.reverse .reference-media {
    order: 2;
}

.reference-card.reverse .reference-body {
    order: 1;
}

.reference-card.is-hidden {
    display: none;
}

.reference-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    min-height: 260px;
}

.reference-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reference-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.reference-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-body h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.reference-body p {
    color: var(--muted);
    font-size: 1rem;
}

.reference-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.reference-actions .btn {
    min-width: 190px;
}

.template-section {
    background: var(--bg-soft);
}

.template-stack {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.template-stack .reference-card {
    background: linear-gradient(135deg, rgba(3, 7, 20, 0.85), rgba(8, 22, 48, 0.8));
}

.section-empty {
    text-align: center;
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}

.view-more-container {
    text-align: center;
    margin-top: 2.5rem;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hero-case-media,
.case-media figure {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-case-media {
    min-height: 320px;
}

.hero-case-media img,
.case-media figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-detail-section {
    background: var(--bg-soft);
}

.case-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.case-detail-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: clamp(1.8rem, 3vw, 3rem);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.case-detail-content h2,
.case-detail-content h3,
.case-detail-content h4 {
    margin-top: 1.5rem;
    font-family: "Syne", sans-serif;
}

.case-detail-content p,
.case-detail-content ul,
.case-detail-content ol {
    margin: 0.9rem 0;
    color: var(--muted);
}

.case-detail-content ul,
.case-detail-content ol {
    padding-left: 1.25rem;
}

.case-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.case-detail-content table th,
.case-detail-content table td {
    border: 1px solid var(--border);
    padding: 0.75rem;
    text-align: left;
}

.case-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-aside-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: var(--liquid-transition);
}

.case-aside-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.case-aside-card h4 {
    margin-bottom: 0.8rem;
}

.case-meta-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--muted);
}

.case-meta-list span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.case-related-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.case-card {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--liquid-transition);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 220, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(13, 110, 253, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.case-media img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.case-body {
    padding: 1.5rem;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.process-step {
    border-radius: var(--radius-md);
    border: 1px dashed var(--glass-border);
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--liquid-transition);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.process-step span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
}

.specialisation-section {
    background: var(--bg-soft);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.special-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--liquid-transition);
}

.special-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(13, 110, 253, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(93, 220, 255, 0.25));
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--liquid-transition);
}

.special-card:hover .icon-circle {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 36px rgba(13, 110, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.client-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.testimonial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 2rem 0;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(93, 220, 255, 0.05) 100%);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(13, 110, 253, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.15);
    pointer-events: auto;
    z-index: 2;
}

.testimonial-card p {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text);
    position: relative;
    padding: 0 1.5rem;
}

.testimonial-card p::before {
    content: '„';
    position: absolute;
    left: -0.3rem;
    top: -0.5rem;
    font-size: 4rem;
    color: rgba(13, 110, 253, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-meta strong {
    font-size: 1.1rem;
    color: var(--text);
}

.testimonial-meta span {
    color: var(--muted);
    font-size: 0.95rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 10rem;
    z-index: 10;
    position: relative;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.testimonial-btn:hover {
    border-color: rgba(13, 110, 253, 0.8);
    background: rgba(13, 110, 253, 0.15);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.3);
}

.testimonial-btn:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(13, 110, 253, 0.6);
}

.testimonial-dot:hover {
    background: rgba(13, 110, 253, 0.6);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-slider {
        min-height: 550px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card p {
        font-size: 1.05rem;
        padding: 0 1rem;
    }
    
    .testimonial-card p::before {
        font-size: 3rem;
    }
}

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

.blog-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--liquid-transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.blog-card:hover,
.blog-card.is-active {
    transform: translateY(-6px);
    border-color: rgba(93, 220, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(13, 110, 253, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.blog-card h3 {
    margin: 1rem 0 0.75rem;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-list .blog-card {
    padding: 1.75rem;
    cursor: pointer;
}

.blog-card-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.blog-card-head h3 {
    margin: 0;
}

.blog-card-meta {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.blog-card-excerpt {
    color: var(--primary);
}

.blog-card-open {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.blog-card-open:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.blog-card-full {
    display: none;
}

.blog-reader {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: clamp(1.5rem, 3vw, 2.8rem);
    background: linear-gradient(160deg, rgba(93, 220, 255, 0.12), rgba(13, 110, 253, 0.18)) , var(--glass-bg);
    backdrop-filter: blur(45px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 520px;
}

.blog-reader-meta {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.blog-reader-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0;
}

.blog-reader-content {
    margin-top: 1rem;
    color: var(--primary);
    line-height: 1.8;
    max-height: min(70vh, 760px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.blog-reader-content p + p {
    margin-top: 1.2rem;
}

.blog-reader-empty,
.blog-empty {
    color: var(--muted);
    text-align: center;
}

.blog-reader-empty {
    margin-top: 2rem;
}

.case-body p {
    color: var(--muted);
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.faq-column details {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--liquid-transition);
}

.faq-column details:hover {
    border-color: rgba(93, 220, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.faq-column details[open] {
    border-color: rgba(93, 220, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(13, 110, 253, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

summary {
    font-weight: 600;
    cursor: none;
}

summary::-webkit-details-marker {
    display: none;
}

.contact-section {
    background: linear-gradient(180deg, rgba(4, 6, 18, 0.95), rgba(5, 9, 22, 0.95));
}

.contact-wrapper {
    border-radius: calc(var(--radius-lg) + 8px);
    border: 1px solid var(--glass-border);
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.contact-form-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-form-meta i {
    color: var(--accent);
}

.contact-info p {
    color: var(--muted);
    margin: 1.2rem 0;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-top: 0.6rem;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    color: var(--muted);
}

.contact-list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--liquid-transition);
}

.contact-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(93, 220, 255, 0.4);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-list i {
    margin-right: 0.6rem;
    color: var(--accent);
}

.contact-list a {
    color: var(--primary);
    font-weight: 600;
}

.legal-section {
    background: var(--bg-soft);
}

.legal-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: grid;
    gap: 2rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.legal-block h3 {
    font-size: 1.35rem;
}

.legal-block p,
.legal-block ul,
.legal-block ol {
    color: var(--muted);
    margin-top: 0.75rem;
}

.legal-note {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    color: var(--muted);
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 1rem;
}

.legal-list--numbered {
    counter-reset: legal-counter;
}

.legal-list--numbered li {
    padding-left: 2.5rem;
    position: relative;
}

.legal-list--numbered li::before {
    counter-increment: legal-counter;
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--accent);
}

.legal-list--bullets li {
    padding-left: 1.6rem;
    position: relative;
}

.legal-list--bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--primary);
    font-family: inherit;
    transition: var(--liquid-transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(93, 220, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25), 0 8px 32px rgba(13, 110, 253, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
    color: var(--muted);
}

.checkbox-grid label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.4rem;
}

.form-feedback.is-error {
    color: #ff8b8b;
}

.form-feedback.is-success {
    color: #7cffb2;
}

input.has-error,
select.has-error,
textarea.has-error {
    border-color: #ff8b8b;
}

.main-footer {
    background: radial-gradient(circle at top, rgba(13, 110, 253, 0.08), transparent 45%), #03050d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 4rem;
}

.footer-cta {
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto 3rem;
    padding: clamp(2rem, 2.8vw, 3rem) clamp(2rem, 4vw, 3.5rem);
    border-radius: calc(var(--radius-lg) + 12px);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-cta-text h3 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0.5rem 0 0.8rem;
}

.footer-cta-text p {
    color: var(--muted);
    max-width: 540px;
}

.footer-cta-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-cta small {
    color: var(--muted);
}

.footer-cta small a {
    color: var(--accent);
}

.footer-container {
    width: 100%;
    max-width: var(--layout-max);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted);
    margin: 1rem 0;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-inputs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.newsletter-inputs input {
    flex: 1;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.footer-columns h4 {
    margin-bottom: 0.8rem;
}

.footer-columns ul {
    list-style: none;
    color: var(--muted);
    display: grid;
    gap: 0.35rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.footer-socials a {
    margin-left: 0.8rem;
    color: var(--muted);
    font-size: 1.1rem;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    color: var(--primary);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--liquid-transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: rgba(93, 220, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(13, 110, 253, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 1100px) {
    .header-container {
        gap: 1.25rem;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .theme-switcher {
        margin-left: auto;
        order: 3;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 4;
    }

    .main-header.scrolled .header-container {
        justify-content: space-between;
        gap: 1.25rem;
    }

    .main-header.scrolled .header-logo {
        opacity: 1;
        pointer-events: auto;
        transform: none;
        width: auto;
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }


    .hero-buttons,
    .hero-proof-list {
        justify-content: center;
    }

    .hero-reference {
        padding: 1.75rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roi-card {
        grid-template-columns: 1fr;
    }

    .contact-wrapper,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-detail-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-reader {
        position: relative;
        top: 0;
        min-height: auto;
    }

    .blog-reader-content {
        max-height: none;
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        gap: 2rem;
        text-align: left;
    }

    .hero-content {
        text-align: left;
        margin: 0;
    }

    .hero-buttons,
    .hero-proof-list {
        justify-content: flex-start;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 7vw, 3.6rem);
        min-height: 8rem;
    }

    .hero-aside {
        width: 100%;
        align-items: stretch;
        margin-top: 50px;
    }

    .hero-metrics {
        margin-top: 1.5rem;
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .reference-card {
        grid-template-columns: 1fr;
    }

    .reference-card.reverse .reference-media {
        order: 1;
    }

    .reference-card.reverse .reference-body {
        order: 2;
    }

    .filter-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
        --layout-gutter: clamp(1rem, 6vw, 1.5rem);
    }

    .hero-grid {
        gap: 1.75rem;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 9vw, 3.6rem);
        line-height: 1.15;
        min-height: 7rem;
    }

    .hero-aside {
        margin-top: 50px;
    }

    .hero-reference {
        padding: 1.5rem;
    }

    .hero-metrics {
        margin-top: 1.25rem;
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .metric-card {
        padding: 1.25rem;
    }

    .roi-output {
        grid-template-columns: 1fr;
    }

    .blog-list .blog-card {
        padding: 1.5rem;
    }

    .blog-reader {
        padding: 1.75rem;
    }

    .newsletter-inputs {
        flex-direction: column;
    }

    .footer-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .footer-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 1.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-headline {
        min-height: 6rem;
    }

    .hero-content {
        z-index: 10;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .blog-reader {
        padding: 1.25rem;
    }

    .hero-proof-list {
        flex-direction: column;
    }

    .hero-reference {
        padding: 1.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .reference-stack {
        padding: 1.25rem;
    }

    .reference-card {
        padding: 1.25rem;
    }

    .reference-actions .btn {
        width: 100%;
    }

    .service-grid,
    .project-grid,
    .case-grid,
    .special-grid,
    .testimonial-slider,
    .blog-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper,
    .roi-card {
        padding: 2rem;
    }

    .footer-cta {
        padding: 2rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }

    .hero-case-media {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

    .hero-headline {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    .metric-card strong {
        font-size: 1.4rem;
    }

    .contact-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .roi-card,
    .contact-wrapper,
    .footer-cta {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (pointer: coarse) {
    body,
    a,
    button,
    .btn,
    summary,
    input,
    select,
    textarea,
    .mobile-menu-toggle {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-rotate.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.scroll-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(40px);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

.scroll-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.scroll-flip {
    opacity: 0;
    transform: perspective(1000px) rotateX(-15deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-flip.revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

.parallax-slow {
    transition: transform 0.1s ease-out;
}

.parallax-medium {
    transition: transform 0.15s ease-out;
}

.parallax-fast {
    transition: transform 0.2s ease-out;
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ===========================
   THEME SWITCHER MIT RIPPLE EFFEKT
   =========================== */

.theme-switcher {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    color: var(--accent-strong);
    font-size: 1.2rem;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 10;
}

.theme-switcher:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.4);
}

.theme-switcher:active {
    transform: scale(0.95);
}

.theme-switcher .theme-icon {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}

.theme-switcher.switching .theme-icon {
    transform: rotate(360deg) scale(0);
}

body[data-theme="light"] .theme-switcher .theme-icon::before {
    content: "\f185";
}

.theme-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    will-change: transform;
}

.theme-ripple.light-ripple {
    background: radial-gradient(circle, 
        rgba(248, 249, 252, 1) 0%,
        rgba(248, 249, 252, 0.95) 30%,
        rgba(248, 249, 252, 0.8) 60%,
        rgba(248, 249, 252, 0) 100%
    );
    box-shadow: 
        0 0 100px 50px rgba(13, 110, 253, 0.3),
        inset 0 0 80px rgba(255, 255, 255, 0.4);
}

.theme-ripple.dark-ripple {
    background: radial-gradient(circle, 
        rgba(1, 5, 19, 1) 0%,
        rgba(1, 5, 19, 0.95) 30%,
        rgba(1, 5, 19, 0.8) 60%,
        rgba(1, 5, 19, 0) 100%
    );
    box-shadow: 
        0 0 100px 50px rgba(93, 220, 255, 0.3),
        inset 0 0 80px rgba(13, 110, 253, 0.3);
}

.theme-ripple.expanding {
    animation: rippleExpand 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.theme-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    will-change: transform, opacity;
}

body[data-theme="light"] .theme-particle {
    background: radial-gradient(circle, var(--accent-strong), var(--accent));
    box-shadow: 0 0 10px var(--accent);
}

body[data-theme="dark"] .theme-particle,
body:not([data-theme]) .theme-particle {
    background: radial-gradient(circle, #5ddcff, #0d6efd);
    box-shadow: 0 0 10px #5ddcff;
}

@media (max-width: 768px) {
    .theme-switcher {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        margin-left: 1rem;
    }
}
