:root {
    --bg-main: #0A0A0A;
    --acc: #B7FF00;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --card-bg: #111111;
    --card-border: rgba(183, 255, 0, 0.2);
    --font-h1: 'Anton', 'Impact', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --fz-h1: clamp(60px, 8vw, 120px);
    --fz-h2: clamp(40px, 5vw, 56px);
    --fz-h3: clamp(24px, 3vw, 32px);
    --fz-body: clamp(16px, 2vw, 18px);
    --fz-small: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: var(--fz-body);
    line-height: 1.5;
    overflow-x: hidden;
    cursor: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* SECTION VIDEOS */
.section-with-video {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-main);
}

/* Base styles for video containers */
.section-bg-video {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.section-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover native size better to prevent stretching calculations */
    /* mix-blend-mode: screen; REMOVED because it causes heavy GPU lag on full screen */
    opacity: 0.6;
    /* Slightly lower opacity to blend naturally with the black background */
    will-change: transform;
}

/* Specific DNA placements */
.main-dna {
    top: 65%;
    left: 50%;
    /* Shifted further down */
    width: 100vw;
    height: 120%;
    /* Increased height to give it more breathing room without hard bounds */
    transform: translate3d(-50%, -50%, 0) scale(2.0);
    /* Drop the scale slightly so edges don't get cropped */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(10, 10, 15, 0.7) 100%);
    pointer-events: none;
}

@media (max-width: 992px) {
    .main-dna {
        transform: translate3d(-50%, -50%, 0) scale(1.8);
    }
}

.relative-z {
    position: relative;
    z-index: 1;
}

/* BUTTONS */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 500;
    color: var(--acc);
    background-color: transparent;
    border: 1px solid var(--acc);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    font-family: var(--font-body);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.btn-header {
    padding: 9px 22px;
    font-size: 15px;
}

.btn:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183, 255, 0, 0.15);
}

.btn:active {
    transform: translateY(0px) scale(0.98);
    transition-duration: 0.1s;
}

/* Button Text Layer */
.btn>span {
    position: relative;
    z-index: 2;
    pointer-events: none;
    transition: letter-spacing 0.3s ease;
}

.btn:hover>span {
    letter-spacing: 1px;
}

/* Ripple Element */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: var(--acc);
    /* bg-black adapted to our theme */
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.full-width {
    width: 100%;
}

.mt-auto {
    margin-top: auto;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    text-transform: uppercase;
    font-family: var(--font-h1);
    letter-spacing: 1px;
}

.section-title {
    font-size: var(--fz-h2);
    font-weight: 800;
    margin-bottom: 40px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    color: var(--acc);
    font-size: 24px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

html[data-theme="light"] .logo-img {
    filter: hue-rotate(-45deg) saturate(1.5);
}

.logo-accent {
    color: var(--acc);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--acc);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav a:hover {
    color: var(--acc);
}

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
    /* reduced gap */
}

.header-phone {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.header-phone .phone-icon {
    display: none;
}

.header-phone:hover {
    color: var(--acc);
}

.lang-switch {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-mono);
    transition: filter 0.2s;
}

.lang-btn:hover {
    filter: brightness(1.5);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    min-width: 60px;
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown span {
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
}

.lang-dropdown span:hover {
    background: var(--acc);
    color: #000;
}

.nav-burger {
    display: flex;
    /* Always show */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: none;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--acc);
    border-radius: 2px;
    transition: none;
}

.nav-burger:hover span {
    background: var(--acc);
}

/* DROPDOWN MENU */
.mobile-menu {
    position: fixed;
    top: 88px;
    right: 20px;
    width: 250px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-close {
    display: none;
    /* Hide close button for dropdown */
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.mobile-nav a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    padding: 12px 20px;
    width: 100%;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.mobile-nav a:hover {
    background: var(--surface);
    color: var(--acc);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-main);
    z-index: -1;
    overflow: hidden;
}

.hero-bg-anim::after {
    /* REMOVED: Heavy SVG noise filter causing severe GPU lag on some devices */
    /* background: url('data:image/svg+xml,... noiseFilter ...'); */
    /* mix-blend-mode: overlay; */
    content: '';
    display: none;
}

.blob-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    /* filter: blur(120px); REMOVED: blur+animation causes massive repaint lag */
    opacity: 0.8;
    will-change: transform;
}

.blob-1 {
    width: 120vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(30, 30, 30, 0.9) 0%, transparent 60%);
    top: -20vh;
    left: -10vw;
    animation: float1 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at center, rgba(20, 20, 20, 0.9) 0%, transparent 60%);
    bottom: -30vh;
    right: -20vw;
    animation: float2 30s infinite alternate ease-in-out;
}

.blob-3 {
    width: 140vw;
    height: 90vh;
    background: radial-gradient(ellipse at center, rgba(40, 40, 40, 0.5) 0%, transparent 60%);
    top: 10vh;
    left: 10vw;
    animation: float3 35s infinite alternate ease-in-out;
}

.blob-4 {
    width: 100vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(25, 25, 25, 0.8) 0%, transparent 60%);
    bottom: 5vh;
    left: -30vw;
    animation: float4 28s infinite alternate ease-in-out;
}

@keyframes float1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(15vw, 10vh) scale(1.1) rotate(5deg);
    }

    66% {
        transform: translate(-5vw, 20vh) scale(0.9) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(-20vw, -10vh) scale(1.1) rotate(-5deg);
    }

    66% {
        transform: translate(-10vw, 15vh) scale(0.9) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes float3 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(10vw, -15vh) scale(0.9) rotate(5deg);
    }

    66% {
        transform: translate(25vw, 10vh) scale(1.1) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes float4 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(25vw, -5vh) scale(1.1) rotate(-5deg);
    }

    66% {
        transform: translate(10vw, -20vh) scale(0.9) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

.hero-spline-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
}

spline-viewer {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .hero-spline-container {
        width: 100%;
        opacity: 0.3;
        pointer-events: none;
        /* Disable interaction on mobile so it doesn't block scrolling */
    }
}

.code-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Ctext y="20" fill="%23B7FF00" font-family="monospace" font-size="12"%3E%3C/%3E%3C/text%3E%3Ctext y="60" x="40" fill="%23B7FF00" font-family="monospace" font-size="12"%3E%7B%7D%3C/text%3E%3Ctext y="90" x="80" fill="%23B7FF00" font-family="monospace" font-size="12"%3E=&gt;%3C/text%3E%3C/svg%3E');
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 1000px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    z-index: 20;
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.hero-content>* {
    pointer-events: auto;
    /* Re-enable for actual text/buttons */
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(183, 255, 0, 0.1);
    color: var(--acc);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: var(--fz-small);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--acc);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(183, 255, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(183, 255, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(183, 255, 0, 0);
    }
}

.hero-title {
    font-size: clamp(48px, 6vw, 96px);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.accent-text {
    color: var(--acc);
    text-shadow:
        0 1px 0 #8fcc00,
        0 2px 0 #7cb300,
        0 3px 0 #689900,
        0 4px 0 #557f00,
        0 5px 0 #416600,
        0 8px 15px rgba(0, 0, 0, 0.8);
}

.metallic-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.6));
    display: inline-block;
    margin-top: 15px;
    /* Added spacing between texts */
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: var(--fz-h3);
    margin-bottom: 32px;
}

.hero-subtitle--small {
    font-size: 14px;
    max-width: 520px;
    line-height: 1.6;
    opacity: .7;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    /* For the glow event scope */
}

.services-grid:hover .service-card::before {
    opacity: 1;
    /* Trigger glow on all cards when mouse is in grid */
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 22px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Magic Glow Border */
.service-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9px;
    /* slightly larger than base 8px */
    padding: 2px;
    /* thickness of the border glow */
    background: radial-gradient(400px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
            var(--acc),
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(183, 255, 0, 0.15);
    /* Keep shadow but lower intensity since we have glowing border */
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acc);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    text-transform: none;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    flex: 1;
}

.service-meta {
    display: none;
}

/* TIMELINE PROCESS */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 400px;
    /* Space for top and bottom cards */
    padding: 0 20px;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--card-border);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 20%;
    /* 5 items = 20% each */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-node {
    width: 28px;
    height: 28px;
    background: var(--bg-main);
    border: 2px solid var(--acc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acc);
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(183, 255, 0, 0.2);
}

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 24px;
    border-radius: 8px;
    width: 200px;
    /* fixed square width */
    height: 200px;
    /* fixed square height */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    /* Center the text as requested */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally */
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
}

.timeline-card:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 30px rgba(183, 255, 0, 0.15);
    border-color: rgba(183, 255, 0, 0.3);
}

.timeline-card.expanded {
    width: 320px;
    height: 280px;
    justify-content: flex-start;
    align-items: flex-start;
    /* Reset align on expand */
    text-align: left;
    /* Reset text-align on expand */
    z-index: 10;
    box-shadow: 0 10px 40px rgba(183, 255, 0, 0.2);
    border-color: var(--acc);
}

.timeline-item.top .timeline-card {
    bottom: calc(50% + 40px);
}

.timeline-item.bottom .timeline-card {
    top: calc(50% + 40px);
}

.timeline-date {
    color: var(--acc);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}

.timeline-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 22px;
    /* Increased size to make it more noticeable */
    text-transform: uppercase;
    /* Match the screenshots for larger impact */
    margin-bottom: 0px;
    transition: all 0.4s;
}

.timeline-card.expanded h3 {
    font-size: 18px;
    /* Drop size down slightly when expanded so paragraph fits */
    margin-bottom: 12px;
}

.timeline-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    margin: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-card.expanded p {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Mobile Responsive */
@media (max-width: 992px) {
    .timeline-container {
        flex-direction: column;
        min-height: auto;
        gap: 40px;
        padding-left: 10px;
        align-items: flex-start;
        margin-top: 30px;
    }

    .timeline-line {
        height: 100%;
        width: 1px;
        left: 24px;
        /* center of the 28px node with 10px padding */
        top: 0;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        align-items: flex-start;
        padding-left: 60px;
        min-height: auto;
    }

    .timeline-node {
        left: 14px;
        top: 24px;
        transform: none;
        /* remove absolute center offset on mobile */
    }

    .timeline-item.top .timeline-card,
    .timeline-item.bottom .timeline-card {
        position: relative;
        left: 0;
        bottom: auto;
        top: auto;
        transform: none;
        width: 100%;
        padding: 20px;
    }

    .timeline-card:hover {
        transform: translateY(-5px);
    }
}

/* ── PORTFOLIO NEW ── */
.pf-section { padding-top: 80px; padding-bottom: 80px; }


/* Grid */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 0;
}

/* Card */
.pf-card {
    display: flex;
    flex-direction: column;
    background: #111114;
    border: 1px solid rgba(255,255,255,0.055);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
    animation: pfFadeUp 0.4s ease both;
}
.pf-card:nth-child(1)  { animation-delay: 0.04s }
.pf-card:nth-child(2)  { animation-delay: 0.08s }
.pf-card:nth-child(3)  { animation-delay: 0.12s }
.pf-card:nth-child(4)  { animation-delay: 0.16s }
.pf-card:nth-child(5)  { animation-delay: 0.20s }
.pf-card:nth-child(6)  { animation-delay: 0.24s }
.pf-card:nth-child(7)  { animation-delay: 0.28s }
.pf-card:nth-child(8)  { animation-delay: 0.32s }
.pf-card:nth-child(9)  { animation-delay: 0.36s }
.pf-card:nth-child(10) { animation-delay: 0.40s }
.pf-card:nth-child(11) { animation-delay: 0.44s }

@keyframes pfFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pf-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(183,255,0,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}
.pf-card:hover { transform: translateY(-4px); border-color: rgba(183,255,0,0.25); }
.pf-card:hover::before { opacity: 1; }

/* Image area */
.pf-img-wrap {
    position: relative;
    height: 230px;
    background: #16161a;
    overflow: hidden;
    flex-shrink: 0;
}
.pf-svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.pf-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1) saturate(1);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.3s;
}
.pf-card:hover .pf-img { transform: scale(1.04); filter: brightness(0.45) saturate(0.7); }

.pf-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888699;
    background: rgba(12,12,14,0.75);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}
.pf-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--acc);
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(5px,-5px) scale(0.7);
    transition: opacity 0.25s, transform 0.25s cubic-bezier(0.22,1,0.36,1);
    z-index: 2;
}
.pf-card:hover .pf-arrow { opacity: 1; transform: translate(0,0) scale(1); }

/* Text area */
.pf-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
    flex: 1;
}
.pf-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    text-transform: none;
}
.pf-desc {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: #888699;
    line-height: 1.5;
    margin: 0;
}
.pf-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.055);
    margin: 8px 0;
}
.pf-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--acc);
}

/* CTA card */
.pf-cta {
    background: #0c0c0e;
    border-color: rgba(183,255,0,0.2);
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 32px 24px;
    cursor: default;
    min-height: 200px;
}
.pf-cta::before { display: none; }
.pf-cta-plus {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(183,255,0,0.1);
    border: 1px solid rgba(183,255,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: var(--acc);
}
.pf-cta-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    color: var(--acc);
    margin: 0;
    text-transform: none;
    letter-spacing: -0.01em;
}
.pf-cta-sub {
    font-size: 13px;
    color: rgba(183,255,0,0.5);
    margin: 0;
}
.pf-cta-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 20px;
    background: var(--acc);
    color: #0c0c0e;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.pf-cta-btn:hover { opacity: 0.85; }

/* Stats bar */
.pf-stats {
    display: flex;
    align-items: center;
    background: #111114;
    border: 1px solid rgba(255,255,255,0.055);
    border-radius: 12px;
    overflow: hidden;
    animation: pfFadeUp 0.4s 0.48s ease both;
    margin-top: 48px;
}
.pf-stat {
    flex: 1;
    padding: 24px 28px;
    border-right: 1px solid rgba(255,255,255,0.055);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pf-stat-num {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 500;
    color: var(--acc);
    line-height: 1;
    letter-spacing: -0.02em;
}
.pf-stat-lbl {
    font-size: 10.5px;
    color: #888699;
}
.pf-stats-actions {
    display: flex;
    gap: 10px;
    padding: 0 24px;
    flex-shrink: 0;
}
.pf-stats-btn-primary {
    padding: 12px 22px;
    background: var(--acc);
    color: #0c0c0e;
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s;
}
.pf-stats-btn-primary:hover { opacity: 0.88; }
.pf-stats-btn-ghost {
    padding: 12px 22px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.pf-stats-btn-ghost:hover { border-color: var(--acc); color: var(--acc); }

/* Responsive */
@media (max-width: 800px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
    .pf-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .pf-stats { flex-wrap: wrap; }
    .pf-stat { flex: 1 1 40%; }
    .pf-stats-actions { width: 100%; padding: 16px 24px 24px; border-top: 1px solid rgba(255,255,255,0.055); }
}
@media (max-width: 520px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.055); }
}

/* WHY US */
.whyus-layout {
    display: flex;
    gap: 64px;
    align-items: center;
}

.whyus-numbers {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.number-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.num {
    font-family: var(--font-h1);
    font-size: 80px;
    color: var(--text-main);
    line-height: 1;
}

.num-plus {
    font-family: var(--font-h1);
    font-size: 80px;
    color: var(--acc);
    line-height: 1;
}

.num-label {
    width: 100%;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 8px;
}

.whyus-list {
    flex: 1;
}

.whyus-list li {
    font-size: 18px;
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
}

.whyus-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--acc);
    font-family: var(--font-mono);
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.35s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--acc), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(183, 255, 0, 0.08);
    border-color: rgba(183, 255, 0, 0.35);
}

.team-card:hover::before {
    opacity: 1;
}

/* CEO Leader Card */
.team-card--leader {
    border-color: rgba(183, 255, 0, 0.4);
    background: linear-gradient(180deg, rgba(183, 255, 0, 0.03) 0%, var(--card-bg) 40%);
}

.team-card--leader::before {
    opacity: 0.5;
}

.team-card--leader:hover::before {
    opacity: 1;
}

/* Photo wrapper */
.team-card__photo-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: visible;
}

.team-card__photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--card-border);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s ease, box-shadow 0.4s ease;
}

.team-card:hover .team-card__photo-wrapper img {
    transform: scale(1.12);
    border-color: var(--acc);
    box-shadow: 0 0 25px rgba(183, 255, 0, 0.2);
}

/* Placeholder until real photos */
.team-card__photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(183, 255, 0, 0.15) 0%, rgba(183, 255, 0, 0.05) 100%);
    border: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h1);
    font-size: 36px;
    color: var(--acc);
    letter-spacing: 2px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.team-card:hover .team-card__photo-placeholder {
    transform: scale(1.12);
    border-color: var(--acc);
    box-shadow: 0 0 25px rgba(183, 255, 0, 0.2);
    background: linear-gradient(135deg, rgba(183, 255, 0, 0.25) 0%, rgba(183, 255, 0, 0.08) 100%);
}

/* Badge */
.team-card__badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .team-card__badge {
    background: var(--acc);
    color: #000;
    border-color: var(--acc);
}

.team-card__badge--ceo {
    background: var(--acc);
    color: #000;
    border-color: var(--acc);
}

/* Info */
.team-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.team-card__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.team-card:hover .team-card__name {
    color: var(--acc);
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--acc);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card__desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 6px;
}

/* Social links */
.team-card__socials {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.team-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-social-link:hover {
    background: var(--acc);
    color: #000;
    border-color: var(--acc);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(183, 255, 0, 0.2);
}

/* PRICING */
.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px 32px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(183, 255, 0, 0.1);
    border-color: rgba(183, 255, 0, 0.4);
}

.pricing-card.pro {
    border: 2px solid var(--acc);
    transform: scale(1.05);
}

.pricing-card.pro:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 12px 40px rgba(183, 255, 0, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--acc);
    color: #000;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
}

.pricing-card h3 {
    font-family: var(--font-body);
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-h1);
    font-size: 48px;
    color: var(--text-main);
    margin-bottom: 32px;
}

.pricing-card ul {
    margin-bottom: 40px;
}

.pricing-card li {
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.pricing-card li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--acc);
}

.pricing-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* REVIEWS MARQUEE */
.marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleed wrapper */
    overflow: hidden;
    padding-top: 20px;
    /* Prevent hover card border from being clipped */
    padding-bottom: 60px;
    position: relative;
    display: flex;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 12px;
    will-change: transform;
    user-select: none;
}

.marquee-wrapper {
    cursor: grab;
}

.marquee-wrapper:active {
    cursor: grabbing;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 24px;
    /* Reduced padding */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: 350px;
    /* Fixed smaller width */
    height: 280px;
    /* Fixed smaller height */
    flex-shrink: 0;
    transition: transform 0.3s, border-color 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(183, 255, 0, 0.3);
}

.stars {
    color: var(--acc);
    letter-spacing: 2px;
    margin-bottom: 16px;
    /* Reduced */
}

.review-text {
    font-size: 15px;
    /* Reduced from 18px */
    font-style: italic;
    margin-bottom: 24px;
    /* Reduced */
    flex: 1;
    overflow: hidden;
}

.review-author {
    font-weight: 700;
    font-size: 16px;
    /* Reduced from 18px */
}

.review-role {
    color: var(--text-muted);
    font-size: 13px;
    /* Reduced */
    margin-bottom: 12px;
}

.review-metric {
    font-family: var(--font-mono);
    font-size: 14px;
    /* Reduced */
    color: var(--acc);
    font-weight: 700;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--card-border);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--acc);
}

.accordion-header .icon {
    color: var(--acc);
    font-family: var(--font-mono);
    font-size: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-content p {
    color: var(--text-muted);
    padding-bottom: 24px;
    transition: opacity 0.3s ease 0.1s;
}

.accordion-item.active .icon {
    content: '-';
    transform: rotate(45deg);
}

/* CONTACTS */
.contact-layout {
    display: flex;
    gap: 64px;
}

.contact-form {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px rgba(183, 255, 0, 0.08);
    background: rgba(17, 17, 17, 0.8);
}

.form-group select {
    appearance: none;
}

.contact-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(183, 255, 0, 0.1);
    border-color: rgba(183, 255, 0, 0.4);
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--acc);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.25;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-val {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.form-message {
    padding: 16px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(183, 255, 0, 0.1);
    color: var(--acc);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--acc);
    padding: 60px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-mid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 14px;
}

.footer-mid a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-mid a:hover {
    color: var(--acc);
    transform: translateX(4px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.main-site-link {
    color: var(--acc);
    font-weight: 700;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-site-link:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    transition: background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-mono);
    font-size: 14px;
}

.social-links a:hover {
    background: var(--acc);
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(183, 255, 0, 0.2);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* ANIMATIONS & REVEALS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whyus-layout {
        flex-direction: column;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.pro {
        transform: scale(1);
    }

    .contact-layout {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-card {
        padding: 14px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 0;
    }

    .whyus-layout {
        flex-direction: column;
        gap: 28px;
    }

    .whyus-numbers {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .number-block {
        text-align: center;
        justify-content: center;
    }

    .num {
        font-size: 40px;
    }

    .num-plus {
        font-size: 20px;
    }

    .num-label {
        font-size: 11px;
        width: 100%;
        text-align: center;
    }

    .whyus-list li {
        font-size: 13px;
        margin-bottom: 14px;
        padding-left: 24px;
    }

    /* Team — 2 columns compact */
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .team-card {
        padding: 16px 12px 12px;
    }

    .team-card__photo-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }

    .team-card__photo-placeholder span {
        font-size: 16px;
    }

    .team-card__badge {
        font-size: 8px;
        padding: 2px 5px;
    }

    .team-card__name {
        font-size: 13px;
    }

    .team-card__role {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .team-card__desc {
        font-size: 11px;
        line-height: 1.3;
        margin-top: 4px;
    }

    .team-card__info {
        gap: 3px;
        margin-bottom: 8px;
    }

    /* Timeline / Process — 2 columns compact */
    .timeline-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        min-height: auto !important;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .timeline-node {
        display: none;
    }

    .timeline-item.top .timeline-card,
    .timeline-item.bottom .timeline-card {
        position: relative !important;
        left: 0 !important;
        bottom: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        padding: 14px;
    }

    .timeline-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .timeline-card p {
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        font-size: 11px;
        line-height: 1.3;
    }

    .timeline-date {
        font-size: 11px;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-line {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Reviews — smaller */
    .review-card {
        width: 260px;
        height: 220px;
        padding: 16px;
    }

    .stars {
        font-size: 12px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .review-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .review-author {
        font-size: 12px;
    }

    .review-role {
        font-size: 10px;
    }

    .review-metric {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* FAQ — smaller */
    .accordion-header {
        padding: 14px 0;
        font-size: 13px;
    }

    .accordion-header .icon {
        font-size: 18px;
    }

    .accordion-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Contacts — icons in a row */
    .contact-info {
        flex-direction: row !important;
        gap: 12px;
        justify-content: center;
    }

    .contact-link {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 14px 10px;
        flex: 1;
        text-align: center;
    }

    .contact-link div {
        display: none;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
    }

    .header {
        padding: 14px 0;
    }

    .logo-text {
        font-size: 14px;
        white-space: nowrap;
    }

    .logo-img {
        height: 24px;
    }

    .header-phone .phone-text {
        display: none;
    }

    .header-phone .phone-icon {
        display: block;
    }

    .header-phone {
        display: flex;
        align-items: center;
    }

    .lang-btn {
        font-size: 11px;
        letter-spacing: .05em;
    }

    .lang-arrow {
        display: none;
    }

    .hero {
        display: flex;
        align-items: flex-end;
    }

    .hero-content {
        padding-bottom: 48px;
        margin-top: auto;
    }

    .hero-subtitle {
        font-size: 12px !important;
    }
}

/* INVERTED BUTTON HOVER FX */
.btn-invert.btn-hover-fx:hover,
.btn-invert:hover {
    color: var(--accent, #b8ff00) !important;
}

.btn-invert .btn-ripple {
    background-color: var(--black, #000) !important;
    background: #000 !important;
}

/* ══════════════════════════════════════════════
   LIGHT THEME — DEV
   ══════════════════════════════════════════════ */

.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.pro {
        transform: scale(1);
    }

    .contact-layout {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-card {
        padding: 14px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 0;
    }

    .whyus-layout {
        flex-direction: column;
        gap: 28px;
    }

    .whyus-numbers {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .number-block {
        text-align: center;
        justify-content: center;
    }

    .num {
        font-size: 40px;
    }

    .num-plus {
        font-size: 20px;
    }

    .num-label {
        font-size: 11px;
        width: 100%;
        text-align: center;
    }

    .whyus-list li {
        font-size: 13px;
        margin-bottom: 14px;
        padding-left: 24px;
    }

    /* Team — 2 columns compact */
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .team-card {
        padding: 16px 12px 12px;
    }

    .team-card__photo-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }

    .team-card__photo-placeholder span {
        font-size: 16px;
    }

    .team-card__badge {
        font-size: 8px;
        padding: 2px 5px;
    }

    .team-card__name {
        font-size: 13px;
    }

    .team-card__role {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .team-card__desc {
        font-size: 11px;
        line-height: 1.3;
        margin-top: 4px;
    }

    .team-card__info {
        gap: 3px;
        margin-bottom: 8px;
    }

    /* Timeline / Process — 2 columns compact */
    .timeline-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        min-height: auto !important;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .timeline-node {
        display: none;
    }

    .timeline-item.top .timeline-card,
    .timeline-item.bottom .timeline-card {
        position: relative !important;
        left: 0 !important;
        bottom: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        padding: 14px;
    }

    .timeline-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .timeline-card p {
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        font-size: 11px;
        line-height: 1.3;
    }

    .timeline-date {
        font-size: 11px;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-line {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Reviews — smaller */
    .review-card {
        width: 260px;
        height: 220px;
        padding: 16px;
    }

    .stars {
        font-size: 12px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .review-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .review-author {
        font-size: 12px;
    }

    .review-role {
        font-size: 10px;
    }

    .review-metric {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* FAQ — smaller */
    .accordion-header {
        padding: 14px 0;
        font-size: 13px;
    }

    .accordion-header .icon {
        font-size: 18px;
    }

    .accordion-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Contacts — icons in a row */
    .contact-info {
        flex-direction: row !important;
        gap: 12px;
        justify-content: center;
    }

    .contact-link {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 14px 10px;
        flex: 1;
        text-align: center;
    }

    .contact-link div {
        display: none;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
    }

    .header {
        padding: 14px 0;
    }

    .logo-text {
        font-size: 14px;
        white-space: nowrap;
    }

    .logo-img {
        height: 24px;
    }

    .header-phone .phone-text {
        display: none;
    }

    .header-phone .phone-icon {
        display: block;
    }

    .header-phone {
        display: flex;
        align-items: center;
    }

    .lang-btn {
        font-size: 11px;
        letter-spacing: .05em;
    }

    .lang-arrow {
        display: none;
    }

    .hero {
        display: flex;
        align-items: flex-end;
    }

    .hero-content {
        padding-bottom: 48px;
        margin-top: auto;
    }

    .hero-subtitle {
        font-size: 12px !important;
    }
}

/* INVERTED BUTTON HOVER FX */
.btn-invert.btn-hover-fx:hover,
.btn-invert:hover {
    color: var(--accent, #b8ff00) !important;
}

.btn-invert .btn-ripple {
    background-color: var(--black, #000) !important;
    background: #000 !important;
}

/* ══════════════════════════════════════════════
   LIGHT THEME — DEV
   ══════════════════════════════════════════════ */

.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background .2s, color .2s, border-color .2s;
}

.theme-toggle:hover {
    background: var(--acc);
    color: #000;
    border-color: transparent;
}

.theme-toggle svg {
    pointer-events: none;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

/* ── LIGHT THEME CORE VARIABLES ── */
html[data-theme="light"] {
    --bg-main: #f4f4f4;
    --acc: #e6b800;
    /* Yellow */
    --text-main: #0a0a0a;
    --text-muted: #666;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ── HEADER & NAV ── */
html[data-theme="light"] .header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
}

html[data-theme="light"] .header-phone,
html[data-theme="light"] .logo-text,
html[data-theme="light"] .lang-btn {
    color: #0a0a0a;
}

/* Hover in header makes things yellow EXCEPT logo */
html[data-theme="light"] .header-phone:hover,
html[data-theme="light"] .lang-btn:hover,
html[data-theme="light"] .lang-dropdown span:hover,
html[data-theme="light"] .theme-toggle:hover {
    color: var(--acc) !important;
}

html[data-theme="light"] .theme-toggle {
    background: transparent;
    border-color: transparent;
    color: #0a0a0a;
}

html[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* Contact CTA Button */
html[data-theme="light"] .btn-cta {
    background: #000000 !important;
    color: var(--acc) !important;
    border: 1px solid var(--acc) !important;
}

html[data-theme="light"] .btn-cta:hover {
    color: #000000 !important;
    border-color: var(--acc) !important;
}

html[data-theme="light"] .btn-cta .btn-ripple {
    background-color: var(--acc) !important;
}

/* Header CTA Button Light Theme */
html[data-theme="light"] .btn-cta.btn-header {
    background: transparent !important;
    color: #0a0a0a !important;
    border: 1px solid #0a0a0a !important;
}

html[data-theme="light"] .btn-cta.btn-header:hover {
    background: var(--acc) !important;
    color: #0a0a0a !important;
    border-color: var(--acc) !important;
}


/* ── BASIC UI COMPONENTS ── */
html[data-theme="light"] .btn {
    border-color: #000;
    color: #000;
}

html[data-theme="light"] .btn:hover {
    color: var(--acc);
}

html[data-theme="light"] .btn-ripple {
    background-color: #000;
}

html[data-theme="light"] .lang-dropdown {
    background: rgba(244, 244, 244, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .lang-dropdown span {
    color: rgba(0, 0, 0, 0.65);
    background: transparent;
}

html[data-theme="light"] .mobile-menu {
    background: rgba(244, 244, 244, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .nav-burger span {
    background: #000;
}

/* ── SECTIONS & CARDS ── */
html[data-theme="light"] .section,
html[data-theme="light"] .section-with-video {
    background-color: #f4f4f4;
}

html[data-theme="light"] .section-title {
    color: var(--acc) !important;
}

html[data-theme="light"] .card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .team-card,
html[data-theme="light"] .timeline-card {
    background: #e2e2e2;
    border-color: rgba(0, 0, 0, 0.1);
}

/* ── TIMELINE (КАК МЫ РАБОТАЕМ) ── */
html[data-theme="light"] .timeline-card {
    background: #ffffff !important;
    border: 1px solid var(--acc) !important;
    box-shadow: 0 4px 15px rgba(230, 184, 0, 0.4) !important;
}

/* ── HERO SECTION ── */
/* Keep background dark and text white like dark theme */
html[data-theme="light"] .hero-bg-anim {
    background: #0A0A0A !important;
}

html[data-theme="light"] .hero {
    --text-main: #FFFFFF;
    --text-muted: #888888;
    color: var(--text-main);
}

html[data-theme="light"] .hero .hero-subtitle {
    color: var(--text-muted);
}

/* Yellow 3D shadow for Hero */
html[data-theme="light"] .accent-text {
    color: var(--acc);
    text-shadow:
        0 1px 0 #cc9900,
        0 2px 0 #b38500,
        0 3px 0 #997300,
        0 4px 0 #806000,
        0 5px 0 #664d00,
        0 8px 15px rgba(0, 0, 0, 0.8);
}

/* ── SERVICES (ЧТО МЫ ДЕЛАЕМ) ── */
html[data-theme="light"] #services {
    background-color: #0A0A0A !important;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    color: var(--text-main);
}

html[data-theme="light"] #services [class*="card"] {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* ── PORTFOLIO (НАШИ ПРОЕКТЫ) ── */
html[data-theme="light"] .pf-card { background: #f8f8f8; border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .pf-name { color: #111; }
html[data-theme="light"] .pf-stats { background: #f8f8f8; border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .pf-stat { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .pf-stats-btn-ghost { border-color: rgba(0,0,0,0.15); color: #333; }

/* ── TEAM (НАШИ СПЕЦИАЛИСТЫ) ── */
html[data-theme="light"] .team-card {
    background: #ffffff !important;
    border: 1px solid var(--acc) !important;
}

html[data-theme="light"] .team-card__name {
    color: #0a0a0a !important;
}

html[data-theme="light"] .team-card__info {
    background: transparent !important;
}

html[data-theme="light"] .team-card__photo-placeholder {
    background: #ffffff !important;
    border-color: var(--acc) !important;
}

html[data-theme="light"] .team-card:hover .team-card__photo-placeholder {
    background: #ffffff !important;
}

/* ── CONTACT & FOOTER ── */
html[data-theme="light"] #contact,
html[data-theme="light"] footer {
    background-color: #0A0A0A !important;
    --text-main: var(--acc);
    --text-muted: #888888;
    color: var(--text-main);
    border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] footer p,
html[data-theme="light"] footer span:not(.logo-accent) {
    color: #ffffff !important;
}

html[data-theme="light"] footer a {
    color: var(--acc) !important;
}

html[data-theme="light"] #contact p {
    color: #ffffff !important;
}

html[data-theme="light"] #contact .contact-label,
html[data-theme="light"] #contact .contact-val {
    color: #FFFFFF;
}

html[data-theme="light"] .contact-link {
    background: #000000 !important;
    border: 1px solid rgba(230, 184, 0, 0.3) !important;
    color: var(--acc) !important;
    transition: all 0.3s ease;
}

html[data-theme="light"] .contact-link:hover {
    border-color: var(--acc) !important;
}

html[data-theme="light"] .contact-link .contact-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

html[data-theme="light"] .contact-link .contact-val {
    color: var(--acc) !important;
}

html[data-theme="light"] .contact-link svg path,
html[data-theme="light"] .contact-link svg rect,
html[data-theme="light"] .contact-link svg circle {
    stroke: var(--acc) !important;
}

/* Base Inputs in light theme */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
    background: #e8e8e8;
    color: #0a0a0a;
    border-color: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: rgba(0, 0, 0, 0.38);
}

/* Contact Inputs (Dark background, yellow text and borders) */
html[data-theme="light"] #contact input,
html[data-theme="light"] #contact select,
html[data-theme="light"] #contact textarea {
    background: #111111 !important;
    color: var(--acc) !important;
    border: 1px solid rgba(230, 184, 0, 0.3) !important;
}

html[data-theme="light"] #contact input:focus,
html[data-theme="light"] #contact select:focus,
html[data-theme="light"] #contact textarea:focus,
html[data-theme="light"] #contact input:hover,
html[data-theme="light"] #contact select:hover,
html[data-theme="light"] #contact textarea:hover {
    border-color: var(--acc) !important;
}

html[data-theme="light"] #contact input::placeholder,
html[data-theme="light"] #contact textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Contact Select Options */
html[data-theme="light"] #contact select option {
    background: #ffffff !important;
    color: #000000 !important;
}