:root {
    --bg: #0a0f1c;
    --bg-soft: #0f1728;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --surface-dark: #10192b;
    --text: #111827;
    --text-soft: #5b6474;
    --text-light: rgba(255, 255, 255, 0.82);
    --line: rgba(148, 163, 184, 0.2);
    --line-strong: rgba(148, 163, 184, 0.28);
    --primary: #2563eb;
    --primary-strong: #1d4ed8;
    --accent: #0f766e;
    --shadow-xl: 0 30px 80px rgba(2, 6, 23, 0.22);
    --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --font-headings: "Sora", "Segoe UI", "Segoe UI Variable Text", Arial, sans-serif;
    --font-section-headings: "Outfit", "Sora", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Inter", "Segoe UI", "Segoe UI Variable Text", Arial, sans-serif;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 24%), radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 24%), linear-gradient(180deg, #f6f8fc 0%, #eef2f8 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.12), transparent 20%), radial-gradient(circle at 85% 12%, rgba(99, 102, 241, 0.1), transparent 18%), radial-gradient(circle at 50% 100%, rgba(15, 118, 110, 0.08), transparent 24%);
    z-index: 0;
    overflow: hidden;
}

.page-bg::before,
.page-bg::after {
    content: "";
    position: absolute;
    inset: -40%;
    pointer-events: none;
}

.page-bg::before {
    background-image: linear-gradient(rgba(29, 78, 216, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 78, 216, 0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: rotate(-10deg);
    opacity: 0.48;
    animation: driftGrid 12s linear infinite;
}

.page-bg::after {
    background-image: repeating-linear-gradient(115deg, rgba(14, 116, 144, 0.2) 0 2px, transparent 2px 30px), repeating-linear-gradient(65deg, rgba(29, 78, 216, 0.18) 0 1px, transparent 1px 22px);
    opacity: 0.4;
    animation: pulsePattern 4s ease-in-out infinite;
}

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

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    /*border-radius: 24px;*/
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
    transition: transform 0.28s ease, opacity 0.2s ease;
    will-change: transform;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .brand-text strong {
        font-size: 1rem;
        font-weight: 800;
        color: #0f172a;
    }

    .brand-text small {
        margin-top: 0.2rem;
        font-size: 0.84rem;
        color: var(--text-soft);
    }

.topnav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-left: auto;
}

.language-switcher {
    margin-left: 0.3rem;
    position: relative;
}

.language-switcher-toggle {
    min-width: 80px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.16rem 0.52rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 4px 10px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.language-icon {
    color: #1e40af;
    font-size: 0.98rem;
}

.language-code {
    min-width: 1.55rem;
    text-align: center;
}

.language-chevron {
    font-size: 0.72rem;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
}

.language-switcher:hover .language-switcher-toggle {
    border-color: rgba(37, 99, 235, 0.34);
}

.language-switcher:focus-within .language-switcher-toggle,
.language-switcher.is-open .language-switcher-toggle {
    border-color: rgba(37, 99, 235, 0.48);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 14px rgba(15, 23, 42, 0.08);
}

.language-switcher.is-open .language-chevron {
    transform: rotate(180deg);
    color: #1d4ed8;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 126px;
    padding: 0.34rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1200;
}

.language-switcher.is-open .language-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.48rem 0.56rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-option + .language-option {
    margin-top: 4px;
}

.language-option:hover {
    background: rgba(37, 99, 235, 0.09);
    color: #1d4ed8;
}

.language-option.is-active {
    background: rgba(37, 99, 235, 0.13);
    color: #1d4ed8;
}

.rzi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

    .topnav a {
        position: relative;
        font-weight: 600;
        font-size: 0.95rem;
        color: #334155;
        padding: 0.36rem 0.12rem;
        border-radius: 0;
        transition: color 0.25s ease;
    }

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

.main-shell {
    display: block;
}

.portfolio-root {
    display: grid;
    gap: 22px;
}

.legal-inline-view {
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.portfolio-root.is-legal-active > :not(.legal-inline-view) {
    display: none !important;
}

.portfolio-root.is-legal-active .legal-inline-view {
    display: block !important;
}

.legal-panel[hidden] {
    display: none !important;
}

.hero-section {
    position: relative;
    perspective: 1400px;
    padding: 8px 0 6px;
}

.hero-main {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
    padding: 38px 18px 34px;
    border-radius: 28px;
}

.hero-top-layout {
    align-items: center;
    min-height: 520px;
}

.hero-identity,
.hero-profile-slot {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
}

.hero-name {
    margin: 0.5rem 0 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #0b1220;
    text-wrap: balance;
    font-family: var(--font-headings);
}

.work-in-progress-banner {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(185, 28, 28, 0.9);
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(185, 28, 28, 0.28);
}

.hero-offer {
    margin: 1.2rem 0 0;
    max-width: 58ch;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-profile-slot {
    justify-self: end;
    width: min(100%, 430px);
}

.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.hero-profile-caption {
    margin: 0.7rem 0 0;
    text-align: center;
    color: #526074;
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-immersive::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.2), transparent 38%), radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.16), transparent 42%), linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2));
    z-index: 0;
}

.hero-immersive::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    z-index: 0;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    background-image: linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 55% 45%, rgba(0, 0, 0, 0.82), transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 55% 45%, rgba(0, 0, 0, 0.82), transparent 72%);
    opacity: 0.55;
}

.hero-main::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    top: -260px;
    right: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.26) 0%, rgba(37, 99, 235, 0) 72%);
}

.hero-main::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -200px;
    bottom: -280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.18) 0%, rgba(15, 118, 110, 0) 72%);
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.44rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
}

.meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #0f766e 100%);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.hero-copy h1 {
    margin: 1.15rem 0 0;
    font-size: clamp(2.5rem, 5.2vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #0b1220;
    max-width: 14ch;
    text-wrap: balance;
}

    .hero-copy h1 span {
        display: block;
        background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        filter: drop-shadow(0 10px 22px rgba(29, 78, 216, 0.18));
    }

.hero-lead {
    margin: 1.1rem 0 0;
    max-width: 67ch;
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.82;
}

.hero-impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.66rem;
    margin-top: 1.2rem;
    max-width: 66ch;
}

.impact-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.66rem;
    align-items: start;
    padding: 0.68rem 0.74rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.impact-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(15, 118, 110, 0.16));
    color: #1d4ed8;
    font-size: 0.92rem;
}

.impact-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 800;
}

.impact-item p {
    margin: 0.2rem 0 0;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

    .hero-actions .rz-button {
        border-radius: 999px;
        font-weight: 700;
        padding-inline: 1.4rem;
        min-height: 50px;
        box-shadow: none;
    }

        .hero-actions .rz-button.rz-button-primary {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            border: none;
            color: #ffffff;
        }

        .hero-actions .rz-button.rz-button-primary:hover,
        .hero-actions .rz-button.rz-button-primary:focus-visible {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
            color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
        }

        .hero-actions .rz-button.rz-button-outlined {
            border: 1px solid rgba(15, 23, 42, 0.12);
            background: rgba(255, 255, 255, 0.7);
            color: #0f172a;
        }

        .hero-actions .rz-button.rz-button-outlined:hover,
        .hero-actions .rz-button.rz-button-outlined:focus-visible {
            color: #0b1220;
            border-color: rgba(37, 99, 235, 0.35);
            background: rgba(255, 255, 255, 0.92);
            transform: translateY(-1px);
        }

.hero-trustbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.68rem;
    margin-top: 1.25rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.68rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
}

    .trust-item .rzi {
        color: var(--accent);
    }

.hero-panel {
    border-radius: 28px;
    padding: 22px;
    background: linear-gradient(165deg, #0f172a 0%, #1b2a45 56%, #12304a 100%);
    color: #fff;
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    transform-style: preserve-3d;
}

.profile-placeholder {
    margin-bottom: 0.9rem;
    padding: 0.78rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
}

.profile-placeholder-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(191, 219, 254, 0.5);
    background: radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.2), transparent 36%), radial-gradient(circle at 80% 82%, rgba(45, 212, 191, 0.2), transparent 38%), rgba(15, 23, 42, 0.35);
}

.profile-placeholder-frame .rzi {
    font-size: 3rem;
    color: rgba(219, 234, 254, 0.9);
}

.profile-placeholder-meta {
    margin-top: 0.62rem;
}

.profile-placeholder-meta strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    color: #e2e8f0;
}

.profile-placeholder-meta p {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.82);
}

.hero-signal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.56rem;
    margin-bottom: 0.86rem;
}

.signal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    font-weight: 700;
}

.signal-chip .rzi {
    color: #bfdbfe;
}

.hero-3d-stage {
    position: relative;
    height: 190px;
    margin-bottom: 0.9rem;
    perspective: 1300px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.2px);
}

.orb-one {
    width: 96px;
    height: 96px;
    top: 18px;
    left: 8px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.75), rgba(59, 130, 246, 0.08));
    box-shadow: 0 0 44px rgba(59, 130, 246, 0.48);
    animation: floatOrbA 5.2s ease-in-out infinite;
}

.orb-two {
    width: 80px;
    height: 80px;
    top: 24px;
    right: 10px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.7), rgba(45, 212, 191, 0.08));
    box-shadow: 0 0 36px rgba(45, 212, 191, 0.42);
    animation: floatOrbB 6.2s ease-in-out infinite;
}

.orb-three {
    width: 70px;
    height: 70px;
    bottom: 6px;
    left: 34%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.64), rgba(99, 102, 241, 0.07));
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    animation: floatOrbC 5.8s ease-in-out infinite;
}

.tech-cube {
    position: absolute;
    width: 86px;
    height: 86px;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(-24deg) rotateY(36deg);
    animation: spinCube 12s linear infinite;
}

.tech-cube .face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tech-cube .front {
    transform: translateZ(43px);
}

.tech-cube .back {
    transform: rotateY(180deg) translateZ(43px);
}

.tech-cube .right {
    transform: rotateY(90deg) translateZ(43px);
}

.tech-cube .left {
    transform: rotateY(-90deg) translateZ(43px);
}

.tech-cube .top {
    transform: rotateX(90deg) translateZ(43px);
}

.tech-cube .bottom {
    transform: rotateX(-90deg) translateZ(43px);
}

.panel-badge {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.panel-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.panel-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .panel-item:last-child {
        border-bottom: none;
    }

    .panel-item .rzi {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        color: #c7d2fe;
        font-size: 1.1rem;
    }

    .panel-item strong {
        display: block;
        font-size: 0.98rem;
        font-weight: 700;
    }

    .panel-item p {
        margin: 0.34rem 0 0;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.6;
        font-size: 0.92rem;
    }

.panel-highlight {
    margin-top: 1rem;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 0.94rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stats-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.stat-item {
    padding: 20px 18px;
    position: relative;
    border-radius: 14px;
    background: transparent;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.5), transparent);
    }

    .stat-item:hover {
        background: rgba(255, 255, 255, 0.28);
        transform: translateY(-2px);
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25), 0 12px 24px rgba(15, 23, 42, 0.08);
    }

.showcase-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
    border-color: rgba(37, 99, 235, 0.25);
}

.stat-value {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    font-family: var(--font-headings);
}

.stat-item p,
.showcase-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.projects-section {
    padding-top: 30px;
}

.projects-cards {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
    gap: 16px;
}

.project-card {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-card-main {
    min-height: 360px;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.project-media-placeholder {
    position: relative;
    min-height: 0;
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)), radial-gradient(circle at 20% 18%, rgba(37, 99, 235, 0.35), transparent 38%), radial-gradient(circle at 82% 82%, rgba(15, 118, 110, 0.24), transparent 38%), rgba(255, 255, 255, 0.36);
}

.project-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.project-media-placeholder span:not(.project-status-banner) {
    padding: 0.32rem 0.64rem;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.64);
}

.project-media-placeholder .project-status-banner {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #ea580c;
    background: #f97316;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.28);
}

.project-card-content {
    min-height: 0;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.7);
}

.project-card-content h3 {
    margin: 0;
    font-size: 1.12rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    font-family: var(--font-headings);
}

.project-description {
    margin: 0.6rem 0 0;
    color: #475569;
    line-height: 1.68;
    font-size: 0.92rem;
}

.project-description a {
    display: inline-block;
    margin-top: 0.46rem;
    color: #1d4ed8;
    font-weight: 700;
}

.project-card-plan {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.26);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
}

.project-card-plan p {
    margin: 0;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000000;
}

.project-count {
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 900;
    color: #c89b2c;
}

.project-plan-text {
    color: #000000;
}

.project-history {
    margin-top: 1.4rem;
}

.project-history h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    letter-spacing: -0.02em;
    color: #0f172a;
    font-family: var(--font-headings);
}

.project-history-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-history-item {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.project-history-item h4 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    letter-spacing: -0.01em;
    font-family: var(--font-headings);
}

.project-history-item p {
    margin: 0.62rem 0 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.68;
}

.project-history-item code {
    padding: 0.08rem 0.35rem;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.86em;
    font-weight: 700;
}

.content-section {
    position: relative;
    padding: 34px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.content-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    opacity: 0.65;
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.section-intro {
    max-width: 800px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #1d4ed8;
    font-family: var(--font-section-headings);
}

    .section-kicker.light {
        color: rgba(255, 255, 255, 0.82);
    }

.section-intro h2,
.cta-content h2 {
    margin: 0;
    font-size: clamp(1.06rem, 1.7vw, 1.35rem);
    line-height: 1.22;
    letter-spacing: -0.005em;
    color: #0f172a;
    font-family: var(--font-section-headings);
}

.section-intro p,
.cta-content p {
    margin: 0.95rem 0 0;
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 1rem;
}

.skills-focus-line {
    margin-top: 0.7rem;
    font-weight: 700;
    color: #1f2937;
}

.skills-groups {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.skill-group-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.skill-group-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
    font-family: var(--font-headings);
}

.skill-list {
    margin: 0.7rem 0 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.38rem;
}

.skill-list li {
    color: #475569;
    line-height: 1.5;
    font-size: 0.92rem;
}

.legal-content {
    margin-top: 0.8rem;
    max-width: 100%;
}

.legal-content p {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.legal-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

body[data-legal-page] .site-shell,
body[data-legal-page] .main-shell,
body[data-legal-page] .content-section,
body[data-legal-page] .section-intro {
    max-width: 100%;
}

body[data-legal-page] {
    overflow-x: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 1.7rem;
}

.feature-card {
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.feature-icon,
.showcase-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 118, 110, 0.12) 100%);
    color: #1d4ed8;
    font-size: 1.25rem;
}

.feature-card h3,
.showcase-card h3 {
    margin: 0;
    font-size: 1.08rem;
    color: #0f172a;
    font-family: var(--font-headings);
}

.feature-card p {
    margin: 0.7rem 0 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.45rem;
}

.premium-pills .pill {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 246, 251, 0.96) 100%);
    color: #162033;
    font-size: 0.93rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .premium-pills .pill:hover {
        transform: translateY(-2px);
        border-color: rgba(37, 99, 235, 0.26);
        box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
    }

.tooling-pills .pill {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.95) 0%, rgba(247, 250, 255, 0.95) 100%);
}

.testing-pills .pill {
    background: linear-gradient(180deg, rgba(240, 253, 250, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.loading-pill {
    color: var(--text-soft);
    font-weight: 600;
}

.quality-section {
    position: relative;
    overflow: hidden;
}

.cta-section {
    padding: 34px;
    border: none;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cta-content {
    max-width: 760px;
}

    .cta-content h2 {
        color: #0f172a;
    }

    .cta-content p {
        color: var(--text-soft);
    }

.cta-section .section-kicker.light {
    color: #1d4ed8;
}

.cta-actions {
    margin-top: 1.4rem;
}

    .cta-actions .rz-button {
        border-radius: 999px;
        font-weight: 700;
        min-height: 48px;
    }

.site-footer {
    margin-top: 26px;
    padding: 24px 8px 8px;
    color: #374151;
}

.footer-line {
    width: 100%;
    height: 1px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.45) 16%, rgba(148, 163, 184, 0.45) 84%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-brand-col {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.footer-brand-name {
    margin: 0;
    color: #0f172a;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-family: var(--font-headings);
}

.footer-brand-text {
    margin: 0.55rem 0 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-heading {
    margin: 0;
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.footer-nav {
    margin-top: 0.62rem;
    display: grid;
    gap: 0.48rem;
}

.footer-nav a,
.footer-legal a {
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-cta-link:hover {
    color: #1d4ed8;
}

.footer-contact-text {
    margin: 0.62rem 0 0;
    color: #4b5563;
    line-height: 1.68;
    font-size: 0.94rem;
}

.footer-contact-list {
    margin-top: 0.72rem;
    display: grid;
    gap: 0.42rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    color: #334155;
    font-size: 0.93rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-contact-item .rzi {
    width: 18px;
    justify-content: center;
    color: #1d4ed8;
    font-size: 0.95rem;
}

.footer-contact-item:hover {
    color: #1d4ed8;
}

.footer-cta-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.66rem;
    color: #1e40af;
    font-weight: 700;
    font-size: 0.94rem;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.footer-copy {
    margin: 0;
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 700;
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

    .reveal.in-view {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes spinCube {
    0% {
        transform: translate(-50%, -50%) rotateX(-24deg) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(-24deg) rotateY(360deg);
    }
}

@keyframes floatOrbA {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(6px, -8px, 0);
    }
}

@keyframes floatOrbB {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-8px, 10px, 0);
    }
}

@keyframes floatOrbC {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(7px, -7px, 0);
    }
}

@keyframes driftGrid {
    0% {
        transform: rotate(-10deg) translate3d(0, 0, 0);
    }
    100% {
        transform: rotate(-10deg) translate3d(92px, 64px, 0);
    }
}

@keyframes pulsePattern {
    0%, 100% {
        opacity: 0.24;
    }
    50% {
        opacity: 0.36;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .tilt-card {
        transition: none;
    }

    .tech-cube,
    .orb,
    .page-bg::before,
    .page-bg::after {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .hero-main {
        grid-template-columns: 1fr;
    }

    .hero-profile-slot {
        justify-self: stretch;
        width: min(100%, 460px);
    }

    .feature-grid,
    .stats-band,
    .projects-cards,
    .skills-groups,
    .project-history-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    body.nav-hidden .topbar {
        transform: translateY(calc(-100% - 12px));
        opacity: 0.98;
    }

    .topbar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.55rem;
        padding: 10px 12px;
    }

    .brand {
        width: auto;
        flex: 0 0 auto;
    }

    .brand-text strong {
        font-size: 0.84rem;
        display: flex;
        flex-direction: column;
        line-height: 0.95;
    }

    .brand-text small {
        font-size: 0.78rem;
    }

    .topnav {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0.52rem;
        margin-left: auto;
    }

    .topnav a {
        font-size: 0.8rem;
        padding: 0.28rem 0.1rem;
        white-space: nowrap;
    }

    .language-switcher {
        margin-left: 0.15rem;
    }

    .hero-name {
        max-width: none;
        font-size: clamp(2.25rem, 10vw, 3.25rem);
    }

    .hero-offer {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-profile-slot {
        width: 100%;
    }

}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 86px;
    }

    .site-shell {
        width: min(100% - 20px, 1240px);
        padding: 14px 0 30px;
    }

    .topbar {
        top: 0;
        width: 100%;
        margin-bottom: 12px;
        padding: 8px 10px;
        border-radius: 14px;
    }

    .topnav {
        justify-content: flex-end;
        gap: 0.4rem;
    }

    .language-switcher {
        margin-left: 0;
    }

    .topnav a {
        font-size: 0.74rem;
        padding: 0.24rem 0.06rem;
    }

    .brand-text strong {
        font-size: 0.78rem;
    }

    .hero-main {
        gap: 18px;
    }

    .hero-top-layout {
        min-height: unset;
    }

    .hero-name {
        font-size: clamp(2rem, 11vw, 2.6rem);
        line-height: 0.98;
    }

    .hero-offer {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .work-in-progress-banner {
        font-size: 0.76rem;
    }

    .project-card-main {
        min-height: 0;
        height: auto;
    }

    .project-media-placeholder {
        min-height: 190px;
        flex: 0 0 auto;
    }

    .project-card-content {
        flex: 1 1 auto;
        padding: 0.95rem 1rem;
    }

    .project-card-plan {
        min-height: 220px;
    }

    .project-history-item {
        padding: 0.9rem 0.92rem;
    }

    .legal-content p {
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-main,
    .content-section,
    .cta-section,
    .showcase-card {
        padding: 22px;
        border-radius: 24px;
    }

    .content-section {
        padding: 24px 0;
        border-radius: 0;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
    }

        .hero-actions .rz-button,
        .cta-actions .rz-button {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 430px) {
    .site-shell {
        width: calc(100% - 14px);
    }

    .topbar {
        padding: 9px 10px;
    }

    .topnav a {
        font-size: 0.84rem;
    }

    .language-switcher-toggle {
        min-width: 74px;
        height: 32px;
        padding: 0.15rem 0.44rem;
    }

    .hero-main,
    .content-section,
    .cta-section,
    .showcase-card {
        padding: 18px;
        border-radius: 20px;
    }

    .stat-item {
        padding: 16px 10px;
    }

    .section-intro h2,
    .cta-content h2 {
        font-size: clamp(1rem, 4.7vw, 1.22rem);
    }
}
