﻿/* ============================================
   TEANBRIS STUDIO - Premium Dark Theme v2.0
   Data Operations. Governance. Delivery.
   ============================================ */

:root {
    /* Colors - Deep Premium Dark */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: rgba(16, 16, 18, 0.65);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(24, 24, 28, 0.7);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-tertiary: rgba(255, 255, 255, 0.56);

    /* Accents */
    --accent-glow: rgba(255, 255, 255, 0.08);
    --accent-line: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.18);
    --glow-primary: rgba(200, 200, 220, 0.12);
    --glow-accent: rgba(180, 190, 230, 0.08);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: clamp(96px, 10vw, 132px);

    /* Animation */
    --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(112, 156, 226, 0.12) 0%, transparent 34%),
        radial-gradient(circle at 88% 2%, rgba(158, 197, 255, 0.1) 0%, transparent 31%),
        linear-gradient(180deg, rgba(6, 8, 13, 0.34) 0%, rgba(5, 5, 5, 0) 36%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(171, 206, 255, 0.28);
    color: #ffffff;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(188, 216, 255, 0.44) rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

*::-webkit-scrollbar-thumb {
    background: rgba(188, 216, 255, 0.34);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(188, 216, 255, 0.52);
    background-clip: content-box;
}

:focus-visible {
    outline: 2px solid rgba(171, 206, 255, 0.72);
    outline-offset: 2px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.35rem;
    font-weight: 300;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.25rem);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    scroll-margin-top: 96px;
}

/* Section video backgrounds */
.section-video-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    filter: brightness(0.52) contrast(1.12) saturate(1.14);
    opacity: 0.58;
}

.section-video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.82) 0%,
            rgba(5, 5, 5, 0.58) 42%,
            rgba(5, 5, 5, 0.9) 100%);
}

.section-video-overlay--services {
    background: linear-gradient(160deg,
            rgba(6, 8, 14, 0.88) 0%,
            rgba(7, 8, 13, 0.64) 45%,
            rgba(5, 5, 5, 0.92) 100%);
}

.section-video-overlay--results {
    background: linear-gradient(170deg,
            rgba(4, 10, 17, 0.86) 0%,
            rgba(5, 7, 12, 0.7) 48%,
            rgba(5, 5, 5, 0.92) 100%);
}

.section-video-overlay--portfolio {
    background: linear-gradient(170deg,
            rgba(7, 11, 18, 0.84) 0%,
            rgba(5, 7, 11, 0.68) 46%,
            rgba(5, 5, 5, 0.92) 100%);
}

.section-video-overlay--why {
    background: linear-gradient(170deg,
            rgba(7, 8, 13, 0.88) 0%,
            rgba(7, 8, 12, 0.62) 42%,
            rgba(5, 5, 5, 0.9) 100%);
}

.section-video-overlay--tech {
    background: linear-gradient(170deg,
            rgba(6, 11, 18, 0.86) 0%,
            rgba(5, 8, 13, 0.66) 45%,
            rgba(5, 5, 5, 0.92) 100%);
}

.section-video-overlay--cta {
    background: linear-gradient(180deg,
            rgba(6, 8, 13, 0.84) 0%,
            rgba(5, 7, 12, 0.66) 44%,
            rgba(5, 5, 5, 0.94) 100%);
}

.section-video-bg>.container {
    position: relative;
    z-index: 2;
}

/* ============================================
   NAVIGATION â€” Enhanced Blur
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.9rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.25rem);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s var(--ease-smooth);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION â€” Cinematic Video Background
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    inset: -5% -2%;
    overflow: hidden;
    transform-origin: center center;
    animation: heroVideoDrift 20s ease-in-out infinite alternate;
}

.hero-video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(140, 188, 255, 0.24) 0%, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(194, 216, 255, 0.16) 0%, transparent 38%);
    mix-blend-mode: screen;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.72) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.25) 0%, rgba(5, 5, 5, 0.4) 100%);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    transform: scale(1.06);
    filter: brightness(0.56) contrast(1.18) saturate(1.22);
    transition: opacity 1.2s var(--ease-smooth), transform 6s var(--ease-smooth);
}

.hero-video.is-ready {
    opacity: 0.64;
    transform: scale(1.12);
}

@keyframes heroVideoDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1.02);
    }

    100% {
        transform: translate3d(0, -2.5%, 0) scale(1.08);
    }
}

.hero-film-frame {
    position: absolute;
    inset: clamp(1.15rem, 2.8vw, 2.5rem);
    z-index: 5;
    border-radius: clamp(14px, 2.3vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(9, 11, 16, 0.4);
    pointer-events: none;
}

.hero-film-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-film-frame__line {
    position: absolute;
    width: clamp(30px, 4.8vw, 68px);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    opacity: 0.9;
}

.hero-film-frame__line--tl {
    top: 20px;
    left: 20px;
}

.hero-film-frame__line--tr {
    top: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.hero-film-frame__line--bl {
    bottom: 20px;
    left: 20px;
}

.hero-film-frame__line--br {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.hero-video-status {
    position: absolute;
    top: clamp(6rem, 12vh, 8.4rem);
    right: clamp(1.4rem, 3vw, 2.8rem);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 8, 13, 0.6);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-video-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b8d7ff;
    box-shadow: 0 0 0 0 rgba(184, 215, 255, 0.42);
    animation: heroStatusPulse 2.4s ease-in-out infinite;
}

@keyframes heroStatusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 215, 255, 0.48);
    }

    70% {
        box-shadow: 0 0 0 11px rgba(184, 215, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 215, 255, 0);
    }
}

/* Dark gradient overlay above video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg,
            rgba(5, 5, 5, 0.84) 0%,
            rgba(5, 5, 5, 0.56) 38%,
            rgba(5, 5, 5, 0.68) 66%,
            rgba(5, 5, 5, 0.96) 100%);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 18%, rgba(88, 140, 222, 0.3) 0%, transparent 44%),
        radial-gradient(circle at 80% 12%, rgba(180, 213, 255, 0.22) 0%, transparent 36%),
        radial-gradient(circle at 54% 84%, rgba(120, 165, 240, 0.2) 0%, transparent 56%);
    z-index: 2;
    opacity: 0.82;
    animation: heroGradientShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(0, -3%, 0) scale(1.06);
    }
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.045;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.hero-content {
    text-align: center;
    max-width: min(900px, 92vw);
    padding: clamp(2rem, 4vw, 3.2rem) clamp(1.2rem, 3.5vw, 3rem);
    position: relative;
    z-index: 10;
    border-radius: clamp(16px, 2.6vw, 28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(150deg,
            rgba(20, 26, 36, 0.58) 0%,
            rgba(11, 13, 18, 0.34) 45%,
            rgba(7, 8, 11, 0.62) 100%);
    backdrop-filter: blur(10px) saturate(145%);
    -webkit-backdrop-filter: blur(10px) saturate(145%);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    animation:
        heroFadeIn 1.2s var(--ease-out-expo) 0.3s forwards,
        heroPanelPulse 8s ease-in-out 1.8s infinite alternate;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(240px, 56vw);
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPanelPulse {
    0% {
        box-shadow:
            0 28px 90px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.13);
    }

    100% {
        box-shadow:
            0 32px 98px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s var(--ease-smooth) 0.8s forwards;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--text-muted);
}

.eyebrow-text {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 0.95;
    font-weight: 700;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.46);
}

.title-accent {
    color: #dbe9ff;
    display: block;
    font-weight: 500;
    background: linear-gradient(90deg, #eef6ff 0%, #abc8f4 50%, #e5f1ff 100%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 8s ease-in-out infinite;
}

@keyframes titleShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 2.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-meta-item {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(235, 242, 255, 0.78);
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 10, 15, 0.58);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s var(--ease-smooth) 1.5s forwards;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 11px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   BUTTONS â€” Premium Transitions
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.4s var(--ease-smooth);
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
}

/* Glow Button Effect */
.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(200, 200, 230, 0.3),
            rgba(255, 255, 255, 0.1),
            rgba(200, 200, 230, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    filter: blur(8px);
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.8rem, 5vw, 4.6rem);
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
    position: relative;
    padding: 0 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.section-label::before {
    right: 100%;
}

.section-label::after {
    left: 100%;
}

/* Legacy support */
.section-number {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
    font-weight: 700;
    line-height: 1.08;
}

.section-desc {
    font-size: clamp(0.98rem, 1.8vw, 1.08rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   SERVICES GRID â€” Premium Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.7rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.6rem 2.1rem;
    border-radius: 14px;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Inner glow on hover */
.card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
    background: radial-gradient(ellipse at 50% 0%,
            rgba(200, 200, 230, 0.06) 0%,
            transparent 70%);
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

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

.card-icon-wrapper {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.card-icon {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
    padding-left: 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.service-card:hover .service-list li {
    color: var(--text-secondary);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease;
}

.service-card:hover .service-list li::before {
    background: rgba(255, 255, 255, 0.5);
}

.card-link {
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    padding-bottom: 3px;
    letter-spacing: 0.01em;
    transition: all 0.3s var(--ease-smooth);
}

.card-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

/* Tech Stack Badge */
.tech-stack-mini {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tech-badge {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.workflow-strip {
    margin-top: 2.2rem;
    padding: 1.15rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(99, 160, 255, 0.22);
    background: linear-gradient(135deg,
            rgba(15, 19, 28, 0.8) 0%,
            rgba(10, 11, 16, 0.82) 100%);
    position: relative;
    overflow: hidden;
}

.workflow-strip::before {
    content: '';
    position: absolute;
    inset: -35% auto auto 50%;
    width: 65%;
    height: 200%;
    transform: translateX(-50%);
    background: radial-gradient(circle,
            rgba(93, 156, 255, 0.16) 0%,
            rgba(93, 156, 255, 0) 70%);
    pointer-events: none;
}

.workflow-sequence {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.workflow-word {
    --word-step: 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.1vw, 1.25rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(224, 233, 247, 0.58);
    opacity: 0.58;
    transform: translateY(8px) scale(0.98);
    padding: 0.18rem 0.35rem;
    border-radius: 8px;
    text-shadow: none;
    will-change: transform, opacity, color, text-shadow;
}

.workflow-arrow {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(148, 168, 196, 0.45);
    opacity: 0.7;
}

.workflow-sequence.is-animated .workflow-word {
    animation: workflowWordLight 760ms var(--ease-out-expo) forwards;
    animation-delay: calc(var(--word-step) * 340ms);
}

@keyframes workflowWordLight {
    0% {
        opacity: 0.48;
        transform: translateY(8px) scale(0.98);
        color: rgba(214, 224, 241, 0.5);
        text-shadow: none;
        box-shadow: 0 0 0 rgba(92, 156, 255, 0);
    }

    55% {
        opacity: 1;
        transform: translateY(0) scale(1);
        color: #d9e9ff;
        text-shadow: 0 0 14px rgba(99, 167, 255, 0.6),
            0 0 30px rgba(99, 167, 255, 0.28);
        box-shadow: 0 0 0 1px rgba(99, 167, 255, 0.24),
            0 0 18px rgba(99, 167, 255, 0.22);
    }

    100% {
        opacity: 0.94;
        transform: translateY(0);
        color: rgba(214, 230, 255, 0.95);
        text-shadow: 0 0 10px rgba(99, 167, 255, 0.34);
        box-shadow: 0 0 0 1px rgba(99, 167, 255, 0.13),
            inset 0 0 8px rgba(99, 167, 255, 0.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-wrapper,
    .hero-gradient,
    .hero-video-status__dot,
    .hero-content,
    .title-accent {
        animation: none;
    }

    .hero-video {
        transition: none;
    }

    .workflow-word {
        transition: none;
        transform: none;
    }

    .workflow-sequence.is-animated .workflow-word {
        animation: none;
        opacity: 0.94;
        color: rgba(214, 230, 255, 0.95);
        text-shadow: 0 0 8px rgba(99, 167, 255, 0.26);
    }
}

/* ============================================
   BRAND REEL â€” Cinematic Showcase
   ============================================ */
.brand-reel {
    padding: 100px 0;
    background: var(--bg-primary);
}

.brand-reel__wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.brand-reel__frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-reel__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s var(--ease-smooth);
}

.brand-reel__video.is-playing {
    opacity: 0.45;
}

/* Cinematic dark overlay â€” ensures text readability */
.brand-reel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.25) 0%,
            rgba(5, 5, 5, 0.1) 30%,
            rgba(5, 5, 5, 0.1) 60%,
            rgba(5, 5, 5, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Headline overlay â€” centered inside video */
.brand-reel__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.brand-reel__eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.brand-reel__headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* CTA below video */
.brand-reel__cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Mobile: switch to taller aspect ratio for vertical video */
@media (max-width: 768px) {
    .brand-reel {
        padding: 60px 0;
    }

    .brand-reel__frame {
        padding-top: 125%;
        /* ~4:5 vertical ratio */
        border-radius: 10px;
    }

    .brand-reel__headline {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
}

/* ============================================
   IMPACT & RESULTS SECTION
   ============================================ */
.impact-section {
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-block {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    background: rgba(8, 10, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-block:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(10, 12, 18, 0.62);
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    display: inline;
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    background: transparent;
}

.featured-portfolio {
    position: relative;
}

.featured-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.featured-card {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(9, 12, 18, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.featured-card__video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #050505;
}

.featured-card__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.08) 0%,
            rgba(5, 5, 5, 0.36) 100%);
    pointer-events: none;
}

.featured-card__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.featured-card__label {
    padding: 1rem 1rem 1.1rem;
}

.featured-card__label h4 {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.featured-card__label span {
    font-size: 0.72rem;
    color: rgba(228, 236, 250, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.view-all-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 11, 16, 0.58);
    color: rgba(235, 242, 255, 0.86);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-smooth);
}

.view-all-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(11, 14, 21, 0.72);
    transform: translateY(-2px);
}

.view-all-link svg {
    transition: transform 0.35s var(--ease-smooth);
}

.view-all-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .featured-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .featured-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   VIDEO PORTFOLIO (Legacy)
   ============================================ */
.video-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
    margin-bottom: 4rem;
}

.video-item {
    position: relative;
    background: rgba(9, 12, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth);
}

.video-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 9px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.04) 0%,
            rgba(5, 5, 5, 0.28) 100%);
    pointer-events: none;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.82;
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.video-wrapper:hover video {
    opacity: 0.97;
    transform: scale(1.035);
}

.video-info {
    margin-top: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.video-info h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.video-info span {
    font-size: 0.68rem;
    color: rgba(228, 236, 250, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    white-space: nowrap;
}

/* Video Controls */
.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
    pointer-events: auto;
}

.play-pause-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: transform 0.3s var(--ease-smooth), background 0.3s ease;
}

.play-pause-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.play-pause-btn svg {
    width: 22px;
    height: 22px;
}

/* Locked background loops should not show manual controls */
.video-wrapper video[data-loop-video]+.video-controls {
    display: none;
}

.work-cta {
    text-align: center;
}

/* Featured item */
.video-item.featured {
    grid-column: 1 / -1;
}

.video-item.featured .video-wrapper {
    aspect-ratio: 21/9;
}

/* ============================================
   WHY TEANBRIS SECTION
   ============================================ */
.why-section {
    background: transparent;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.7rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2.4rem 2rem;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(200, 200, 230, 0.2),
            transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.why-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

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

.why-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.4s ease;
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card:hover .why-icon {
    color: var(--text-primary);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.why-card:hover p {
    color: var(--text-secondary);
}

/* ============================================
   TECH SECTION
   ============================================ */
.tech-section {
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.tech-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.tech-text {
    flex: 1;
}

.tech-logos {
    flex: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tech-logo-item {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-smooth);
    cursor: default;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.02);
}

.tech-logo-item:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg,
            rgba(20, 20, 30, 0.5) 0%,
            rgba(10, 10, 10, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(2.6rem, 6vw, 4.4rem);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 10%,
            rgba(200, 200, 230, 0.2) 50%,
            transparent 90%);
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ============================================
   STICKY CTA â€” Floating Button
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    color: #050505;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-smooth);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.sticky-cta svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: clamp(4rem, 8vw, 5.7rem) 0 clamp(2.3rem, 4vw, 3rem);
    background: linear-gradient(180deg,
            rgba(11, 13, 20, 0.9) 0%,
            rgba(5, 5, 7, 1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 6%,
            rgba(130, 168, 255, 0.24) 50%,
            transparent 94%);
    pointer-events: none;
}

.footer-top,
.footer-content {
    display: grid;
    grid-template-columns: minmax(230px, 1.05fr) minmax(0, 2fr);
    gap: clamp(2rem, 4vw, 4.6rem);
    align-items: start;
    margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    width: fit-content;
}

.footer-logo-img {
    width: auto;
    height: 48px;
    max-width: min(160px, 100%);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.footer-brand .tagline,
.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0;
    max-width: 32ch;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.7vw, 3rem);
}

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

.f-col h4,
.footer-col h5 {
    font-family: var(--font-display);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-weight: 600;
}

.f-col a,
.footer-col a {
    display: block;
    margin-bottom: 0.72rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.25s ease, transform 0.25s ease;
    line-height: 1.35;
}

.f-col a:last-child,
.footer-col a:last-child {
    margin-bottom: 0;
}

.f-col a:hover,
.footer-col a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.65rem;
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-bottom p:only-child {
    margin-inline: auto;
    text-align: center;
}

.footer-location {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-left: auto;
}

/* ============================================
   SCROLL-REVEAL SYSTEM
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo),
        transform 0.7s var(--ease-out-expo);
}

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

/* Legacy scroll animate support */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 100, 180, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    mix-blend-mode: screen;
}

/* ============================================
   LINK ARROW
   ============================================ */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 500;
}

.link-arrow:hover {
    color: var(--text-primary);
}

.link-arrow svg {
    transition: transform 0.3s var(--ease-smooth);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */
.page-header {
    padding: 170px 0 88px;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 3.5rem;
}

.page-header.section-video-bg {
    background: transparent;
}

.page-header.section-video-bg .section-bg-video {
    transform: scale(1.1);
    opacity: 0.6;
    filter: brightness(0.54) contrast(1.12) saturate(1.16);
}

.section-video-overlay--subpage {
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.78) 0%,
            rgba(5, 5, 5, 0.52) 45%,
            rgba(5, 5, 5, 0.9) 100%);
}

.section-video-overlay--subpage-soft {
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.82) 0%,
            rgba(5, 5, 5, 0.62) 46%,
            rgba(5, 5, 5, 0.9) 100%);
}

.page-header--about .section-video-overlay--subpage {
    background: linear-gradient(170deg,
            rgba(7, 10, 16, 0.82) 0%,
            rgba(7, 10, 16, 0.56) 45%,
            rgba(5, 5, 5, 0.9) 100%);
}

.page-header--services .section-video-overlay--subpage {
    background: linear-gradient(170deg,
            rgba(7, 12, 20, 0.84) 0%,
            rgba(7, 11, 18, 0.55) 45%,
            rgba(5, 5, 5, 0.9) 100%);
}

.page-header--process .section-video-overlay--subpage {
    background: linear-gradient(170deg,
            rgba(8, 11, 18, 0.84) 0%,
            rgba(8, 11, 18, 0.58) 45%,
            rgba(5, 5, 5, 0.92) 100%);
}

.page-header--contact .section-video-overlay--subpage {
    background: linear-gradient(170deg,
            rgba(8, 10, 16, 0.84) 0%,
            rgba(7, 10, 16, 0.56) 45%,
            rgba(5, 5, 5, 0.92) 100%);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: min(840px, 92vw);
    padding: clamp(1.25rem, 2.8vw, 2rem) clamp(1rem, 2.8vw, 2.2rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: linear-gradient(150deg,
            rgba(10, 14, 21, 0.56) 0%,
            rgba(7, 9, 14, 0.36) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.32);
}

/* ============================================
   SERVICE DETAIL STYLES
   ============================================ */
.service-detail-section {
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 3.5rem;
}

.service-detail-section.section-video-bg {
    margin-bottom: 2.2rem;
    padding: clamp(1.7rem, 2.7vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 10, 15, 0.32);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.service-detail-section.section-video-bg:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-detail-section.section-video-bg>.section-video-layer {
    z-index: 0;
}

.service-detail-section.section-video-bg>.service-detail-header,
.service-detail-section.section-video-bg>.service-content-grid,
.service-detail-section.section-video-bg>.project-management-showcase {
    position: relative;
    z-index: 2;
}

.service-detail-section:last-child {
    border-bottom: none;
}

.service-detail-header {
    margin-bottom: 3rem;
}

.service-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-priority-section {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.ai-priority-panel {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-priority-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.8rem 1rem;
    margin: 0 0 1.6rem;
    padding: 0;
}

.ai-priority-list li {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.ai-priority-experience {
    margin-bottom: 1.6rem;
}

.ai-priority-actions,
.service-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-priority-note {
    margin-top: 2rem;
    margin-bottom: 1.6rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.service-detail-section.section-video-bg>.service-priority-note,
.service-detail-section.section-video-bg>.service-cta-row {
    position: relative;
    z-index: 2;
}

/* Project Management Showcase */
.project-management-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.pm-content {
    flex: 1;
}

.pm-example {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--text-secondary);
}

.pm-example ul {
    list-style: none;
    margin-top: 1rem;
}

.pm-example li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.pm-example strong {
    color: var(--text-primary);
}

.pm-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.workflow-node {
    padding: 0.75rem 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.workflow-node.start {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.workflow-node.process {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.workflow-node.end {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.workflow-line {
    width: 1px;
    height: 30px;
    background: var(--border-subtle);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3.2rem;
    align-items: start;
}

.about-text-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-visual-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.visual-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.visual-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.4s var(--ease-smooth);
}

.value-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.value-card,
.visual-block,
.contact-form-wrapper,
.project-management-showcase,
.process-step {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3.2rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: border-color 0.3s var(--ease-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.info-block a,
.info-block p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-block a:hover {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
}

/* ============================================
   PROCESS PAGE
   ============================================ */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.step-deliverables {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-deliverables li {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}

/* ============================================
   PAGE EXIT / TRANSITIONS
   ============================================ */
.page-exit {
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   NAVIGATION TOGGLE
   ============================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    width: 28px;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 1px;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translateY(5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Menu Active State */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-top,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .page-header .container {
        border-radius: 12px;
        padding: 1.1rem 0.95rem 1.2rem;
    }

    .page-header.section-video-bg .section-bg-video {
        transform: scale(1.16);
        opacity: 0.52;
    }

    .section-bg-video {
        transform: scale(1.15);
        opacity: 0.5;
    }

    .video-masonry {
        gap: 1rem;
    }

    .video-item {
        padding: 0.58rem;
    }

    .hero {
        padding-top: 92px;
    }

    .hero-video-wrapper {
        inset: -8% -8%;
        animation-duration: 24s;
    }

    .hero-film-frame {
        inset: 0.95rem;
        border-radius: 16px;
    }

    .hero-video-status {
        top: 5.5rem;
        right: 1.1rem;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        padding: 0.4rem 0.62rem;
    }

    .hero-content {
        max-width: 95vw;
        padding: 1.7rem 1.08rem 1.55rem;
        border-radius: 18px;
    }

    .hero-eyebrow {
        margin-bottom: 1.45rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-meta {
        margin-top: 1.1rem;
        gap: 0.46rem;
    }

    .hero-meta-item {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
        padding: 0.34rem 0.56rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .workflow-strip {
        margin-top: 1.5rem;
        padding: 1rem 1.05rem;
    }

    .workflow-sequence {
        gap: 0.45rem;
    }

    .workflow-word {
        letter-spacing: 0.06em;
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-block {
        padding: 2rem 1rem;
    }

    .video-masonry {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .tech-content {
        flex-direction: column;
        text-align: center;
    }

    .tech-logos {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 1.3rem;
    }

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

    .footer-location {
        margin-left: 0;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .project-management-showcase {
        flex-direction: column;
    }

    .about-main-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        order: -1;
    }

    .cta-card {
        padding: 3rem 2rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .sticky-cta {
        bottom: 1.25rem;
        right: 1.25rem;
        padding: 0.65rem 1.2rem;
        font-size: 0.75rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-header .container {
        border-radius: 10px;
        padding: 0.92rem 0.82rem 1.02rem;
    }

    .page-header.section-video-bg .section-bg-video {
        transform: scale(1.22);
        opacity: 0.46;
    }

    .section-bg-video {
        transform: scale(1.2);
        opacity: 0.44;
    }

    .video-item {
        padding: 0.5rem;
    }

    .video-info h4 {
        font-size: 0.9rem;
    }

    .video-info span {
        font-size: 0.63rem;
    }

    .hero-film-frame,
    .hero-video-status {
        display: none;
    }

    .hero-content {
        padding: 1.4rem 0.95rem 1.3rem;
        border-radius: 14px;
    }

    .hero-meta {
        gap: 0.38rem;
    }

    .hero-meta-item {
        font-size: 0.55rem;
        padding: 0.32rem 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .ai-priority-actions,
    .service-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .container {
        padding: 0 1.25rem;
    }

    .footer {
        padding-top: 3.4rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .workflow-sequence {
        justify-content: flex-start;
    }

    .workflow-arrow {
        opacity: 0.56;
    }
}
