/* Global Animation Blocker for Resize */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

:root {
    --bg-color: #fafafa;
    --text-color: #0f0f11;
    --text-secondary: #666666;
    /* Vibrant, sophisticated gradients */
    --gradient-1: linear-gradient(135deg, #6366f1, #a855f7);
    /* Indigo to Purple */
    --gradient-2: linear-gradient(135deg, #3b82f6, #06b6d4);
    /* Blue to Cyan */
    --gradient-3: linear-gradient(135deg, #f43f5e, #fb923c);
    /* Rose to Orange */
    --surface-color: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(20px);
    --border-color: rgba(0, 0, 0, 0.08);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spacing-xs: 8px;
    --spacing-sm: 24px;
    --spacing-md: 48px;
    --spacing-lg: 96px;
    --spacing-xl: 160px;
    /* About Page Theme */
    --about-bg: #0b0b0d;
    --about-text: #f0f0f0;
    --about-accent: #3b82f6;
    --about-line: rgba(255, 255, 255, 0.1);
    /* Work Page Theme */
    --work-bg: #fafafa;
    --work-text: #0f0f11;
    --work-accent: #6366f1;
    /* Services Page Theme */
    --srv-bg: #fafafa;
    --srv-card-bg: #ffffff;
    --srv-text: #0f0f11;
    --srv-accent: #6366f1;
    --srv-border: rgba(0, 0, 0, 0.08);
    --srv-hover: rgba(0, 0, 0, 0.03);
    --srv-secondary: #666666;
    /* Product Design Theme */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}




/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.line-inner {
    display: block;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.loaded .line-inner {
    transform: translateY(0) !important;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-secondary);
    max-width: 50ch;
    margin-bottom: var(--spacing-md);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--text-color);
    text-decoration: none;
}

nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-weight: 600;
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #6366f1 !important;
}

.mobile-cta {
    display: none;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.3s;
    border: none;
    font-size: 16px;
    text-decoration: none;
}

::selection,
.btn-primary {
    background: var(--text-color);
    color: white;
}

.btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    z-index: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 100px;
}

.btn:hover .btn-fill {
    transform: scaleY(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    position: relative;
    z-index: 2000;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Open State Animations */
body.nav-active .hamburger {
    background: transparent !important;
}

body.nav-active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

body.nav-active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Immersive/About Theme Overrides */
.immersive-page .hamburger,
.immersive-page .hamburger::before,
.immersive-page .hamburger::after,
.about-page .hamburger,
.about-page .hamburger::before,
.about-page .hamburger::after {
    background: #fff;
}

.btn-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.cta-button {
    background: var(--text-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.magnet-target,
.btn,
.cta-button,
.contact-option,
.contact-email {
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnet-target .btn-text,
.btn .btn-text,
.cta-button .btn-text {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.contact-option .option-text {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}


/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-header {
    margin-bottom: var(--spacing-md);
}

.hero-label {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 24px;
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(72px, 12vw, 160px);
    line-height: 0.9;
    margin-left: -0.5px;
    letter-spacing: -0.96px;
    color: var(--text-color);
    width: 100%;
    word-break: break-word;
}

.hero-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: var(--spacing-sm);
}

.hero-text-block {
    max-width: 600px;
}

.rotating-badge svg {
    animation: spin 20s linear infinite;
    fill: var(--text-color);
    width: 100%;
    height: 100%;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2.5px;
}

.badge-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 40px;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Orbs */
.hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    /* Softer blur */
    opacity: 0.4;
    animation: float 15s infinite ease-in-out alternate;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: var(--gradient-1);
    top: -20%;
    right: -10%;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: var(--gradient-2);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: var(--gradient-3);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(40px, -40px) scale(1.05) rotate(10deg);
    }
}

/* Services */
/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    padding: 48px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    isolation: isolate;
}

.service-card:hover {
    background: #0f0f11;
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.15);
}

/* Internal Gradient Overlay */
.card-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    filter: blur(80px);
    /* Soft glow effect */
    transform: scale(0.8);
}

.service-card:hover .card-bg-gradient {
    opacity: 0.2;
    /* Subtle purple glow on dark bg */
    transform: scale(1);
}

/* Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
}

.service-num {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.4s ease;
    font-family: var(--font-body);
}

.service-card:hover .service-num {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-color);
}

.service-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(15deg) scale(1.1);
}

.service-icon {
    width: 28px;
    height: 28px;
}

/* Body */
.card-body {
    position: relative;
    z-index: 2;
    margin-top: 48px;
    margin-bottom: 32px;
}

.card-body h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    transition: color 0.4s ease;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.card-body p {
    font-size: 18px;
    color: var(--text-secondary);
    transition: color 0.4s ease;
    max-width: 95%;
    line-height: 1.6;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-color 0.4s ease;
}

.service-card:hover .card-footer {
    border-color: rgba(255, 255, 255, 0.15);
}

.learn-more {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--text-color);
}

.service-card:hover .arrow-icon {
    color: #fff;
    transform: rotate(-45deg);
}

/* Work Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.project-item {
    position: relative;
    /* group-hover logic handled via direct nesting */
}

.project-image {
    width: 100%;
    height: 500px;
    /* Base height */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.project-image.flexible,
.project-image:has(.project-img-full) {
    height: auto;
}

.project-img-full {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item.large .project-image {
    height: 700px;
}

.project-item.large .project-image:has(.project-img-full) {
    height: auto;
}

.parallax-bg {
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 8px;
}

.project-info h3 {
    font-size: 32px;
    margin-bottom: 4px;
}

.nav-arrow {
    display: none;
}

.project-item:hover .nav-arrow {
    transform: translate(5px, -5px);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-weight: 600;
}

/* Animations */
/* Animations - Progressive Enhancement */
.reveal-text,
.reveal-on-scroll {
    opacity: 1;
    /* Visible by default */
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-enabled .reveal-text,
body.js-enabled .reveal-on-scroll {
    opacity: 0;
    /* Hidden initially ONLY if JS works */
    transform: translateY(30px);
}

.reveal-text.is-visible,
.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {

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

    .project-item.large {
        grid-column: span 1;
    }

    .project-item.large .project-image,
    .project-image {
        height: 350px;
    }

    .hero-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .badge-wrapper {
        align-self: flex-start;
    }

    .scroll-indicator {
        bottom: 16px;
    }

    .navbar {
        padding: 16px 0;
    }

    .navbar-container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }



    nav.nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        display: flex;
    }

    body.nav-active nav.nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .mobile-cta {
        display: block !important;
    }

    nav.nav-links .nav-link {
        font-size: 48px;
        font-weight: 700;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    body.nav-active nav.nav-links .nav-link {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered entrance */
    body.nav-active nav.nav-links .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    body.nav-active nav.nav-links .nav-link:nth-child(2) {
        transition-delay: 0.2s;
    }

    body.nav-active nav.nav-links .nav-link:nth-child(3) {
        transition-delay: 0.3s;
    }

    body.nav-active nav.nav-links .nav-link:nth-child(4) {
        transition-delay: 0.4s;
    }

    /* About/Immersive Theme Overrides */
    .about-page nav.nav-links,
    .immersive-page nav.nav-links {
        background: rgba(11, 11, 13, 0.95);
    }

    .about-page nav.nav-links .nav-link,
    .immersive-page nav.nav-links .nav-link {
        color: #fff;
    }

    .hero-content {
        padding: 0 var(--spacing-sm);
    }

    .orb-1 {
        width: 80vw;
        height: 80vw;
    }

    .orb-2 {
        width: 70vw;
        height: 70vw;
    }

    .orb-3 {
        width: 50vw;
        height: 50vw;
    }

}

/* Process Section V2 */
.process-container {
    position: relative;
    margin-top: var(--spacing-lg);
    padding-left: 32px;
}

.process-line-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
    opacity: 0.5;
    z-index: 0;
}

.process-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom,
            #6366f1 0%,
            #a855f7 25%,
            #ec4899 50%,
            #f59e0b 75%,
            #f59e0b 100%);
    z-index: 1;
    transition: height 0.1s ease-out;
}


.process-steps-v2 {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.process-step-v2 {
    position: relative;
    display: flex;
    gap: 64px;
    align-items: flex-start;
    cursor: default;
}

.step-marker {
    position: absolute;
    left: -32px;
    top: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border: 2px solid var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    z-index: 2;
    transition: all 0.4s var(--transition-smooth);
}

.process-step-v2:hover .step-marker,
.process-step-v2.is-active .step-marker {
    background: var(--step-color);
    color: white;
    border-color: var(--step-color);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 20px var(--step-color);
}

.process-step-v2.is-visible .step-marker {
    background: var(--step-color);
    color: white;
    border-color: var(--step-color);
}

.step-content {
    background: var(--step-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--step-border);
    padding: 56px;
    border-radius: 40px;
    display: flex;
    gap: 56px;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.process-step-v2:hover .step-content,
.process-step-v2.is-active .step-content {
    background: var(--step-bg-hover);
    box-shadow: 0 40px 80px -20px var(--step-shadow);
    transform: translateX(24px);
    border-color: transparent;
}

/* Background Number Decor */
.step-content::before {
    content: attr(data-step);
    position: absolute;
    right: -32px;
    bottom: -48px;
    font-size: 240px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    pointer-events: none;
    transition: all 0.6s ease;
}

.process-step-v2:hover .step-content::before,
.process-step-v2.is-active .step-content::before {
    transform: translateY(-32px);
    color: var(--step-color);
    opacity: 0.08;
}

.step-visual {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Minimalism: Hide complex decorative layers */

.step-visual svg {
    width: 36px;
    height: 36px;
    color: var(--text-color);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.process-step-v2:nth-child(1) {
    --step-color: #6366f1;
    --step-bg: #f5f8ff;
    --step-bg-hover: #eef2ff;
    --step-border: rgba(99, 102, 241, 0.08);
    --step-shadow: rgba(99, 102, 241, 0.12);
}

.process-step-v2:nth-child(2) {
    --step-color: #a855f7;
    --step-bg: #faf9ff;
    --step-bg-hover: #f5f3ff;
    --step-border: rgba(168, 85, 247, 0.08);
    --step-shadow: rgba(168, 85, 247, 0.12);
}

.process-step-v2:nth-child(3) {
    --step-color: #ec4899;
    --step-bg: #fff5f9;
    --step-bg-hover: #fff1f2;
    --step-border: rgba(236, 72, 153, 0.08);
    --step-shadow: rgba(236, 72, 153, 0.12);
}

.process-step-v2:nth-child(4) {
    --step-color: #f59e0b;
    --step-bg: #fffaf2;
    --step-bg-hover: #fff7ed;
    --step-border: rgba(245, 158, 11, 0.08);
    --step-shadow: rgba(245, 158, 11, 0.12);
}

.process-step-v2:hover .visual-container,
.process-step-v2.is-active .visual-container {
    transform: translateY(-5px);
    border-color: var(--step-color);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.process-step-v2:hover .step-visual svg,
.process-step-v2.is-active .step-visual svg {
    opacity: 1;
    color: var(--step-color);
    transform: scale(1.05);
}


.step-text {
    flex-grow: 1;
}

.step-text h3 {
    font-size: 44px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.step-text p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.step-tags {
    display: flex;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.step-tags li {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 100px;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: default;
}

.process-step-v2:hover .step-tags li,
.process-step-v2.is-active .step-tags li {
    background: var(--step-color);
    color: white;
    border-color: var(--step-color);
    transform: translateY(-2px);
}

@media (max-width: 900px) {

    .step-content {
        flex-direction: column;
        padding: 40px;
        gap: 32px;
    }

    .process-step-v2:hover .step-content,
    .process-step-v2.is-active .step-content {
        transform: translateY(-16px);
    }

    .step-visual {
        width: 80px;
        height: 80px;
    }

    .step-visual svg {
        width: 32px;
        height: 32px;
    }

    .step-text h3 {
        font-size: 32px;
    }

    .step-content::before {
        font-size: 128px;
    }

}


/* Stats Section */
/* Serving Worldwide */
.serving-worldwide {
    padding: var(--spacing-xl) 0;
    background: var(--bg-color);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.locations-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.locations-wrapper .section-header {
    margin-bottom: 0;
    max-width: 400px;
    flex-shrink: 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--spacing-md);
    row-gap: 32px;
    flex-grow: 1;
}

.location-name {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.5;
    cursor: default;
}

.location-name::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--text-color);
    transition: width 0.4s ease;
}

.location-name:hover,
.location-name.is-active {
    color: var(--text-color);
    opacity: 1;
    padding-left: 10px;
}

.location-name:hover::before,
.location-name.is-active::before {
    width: 20px;
}

.tokyo-reveal,
.london-reveal,
.berlin-reveal {
    gap: 0 !important;
}

.tokyo-reveal::before,
.london-reveal::before,
.berlin-reveal::before {
    display: none !important;
}

.tokyo-icon,
.london-icon,
.berlin-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(20px) rotate(-15deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transform-origin: bottom center;
}

.tokyo-reveal:hover .tokyo-icon,
.london-reveal:hover .london-icon,
.berlin-reveal:hover .berlin-icon,
.tokyo-reveal.is-active .tokyo-icon,
.london-reveal.is-active .london-icon,
.berlin-reveal.is-active .berlin-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.tokyo-reveal:hover,
.tokyo-reveal.is-active {
    color: #EC383E !important;
    /* Tokyo Tower Red/Orange */
    opacity: 1 !important;
}

.london-reveal:hover,
.london-reveal.is-active {
    color: #DDAE76 !important;
    opacity: 1 !important;
}

.berlin-reveal:hover,
.berlin-reveal.is-active {
    color: #D32F2F !important;
    opacity: 1 !important;
}

.ny-reveal {
    gap: 0 !important;
}

.ny-reveal::before {
    display: none !important;
}

.ny-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(30px) rotate(-10deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-origin: bottom center;
}

.ny-reveal:hover .ny-icon,
.ny-reveal.is-active .ny-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.ny-reveal:hover,
.ny-reveal.is-active {
    color: #14A085 !important;
    /* Statue of Liberty Jade */
    opacity: 1 !important;
}

.sf-reveal {
    gap: 0 !important;
}

.sf-reveal::before {
    display: none !important;
}

.sf-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(30px) rotate(15deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-origin: bottom center;
}

.sf-reveal:hover .sf-icon,
.sf-reveal.is-active .sf-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.sf-reveal:hover,
.sf-reveal.is-active {
    color: #E63946 !important;
    /* International Orange */
    opacity: 1 !important;
}

.sg-reveal {
    gap: 0 !important;
}

.sg-reveal::before {
    display: none !important;
}

.sg-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(30px) rotate(-5deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-origin: bottom center;
}

.sg-reveal:hover .sg-icon,
.sg-reveal.is-active .sg-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.sg-reveal:hover,
.sg-reveal.is-active {
    color: #55D9BE !important;
    /* Marina Teal */
    opacity: 1 !important;
}

.dubai-reveal {
    gap: 0 !important;
}

.dubai-reveal::before {
    display: none !important;
}

.dubai-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(30px) rotate(5deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-origin: bottom center;
}

.dubai-reveal:hover .dubai-icon,
.dubai-reveal.is-active .dubai-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.dubai-reveal:hover,
.dubai-reveal.is-active {
    color: #C5A059 !important;
    /* Premium Gold/Sand */
    opacity: 1 !important;
}

.sydney-reveal {
    gap: 0 !important;
}

.sydney-reveal::before {
    display: none !important;
}

.sydney-icon {
    width: 0;
    height: 38px;
    opacity: 0;
    margin-right: 0;
    transform: scale(0.2) translateY(30px) rotate(10deg);
    transition:
        width 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform-origin: bottom center;
}

.sydney-reveal:hover .sydney-icon,
.sydney-reveal.is-active .sydney-icon {
    width: 44px;
    opacity: 1;
    margin-right: 18px;
    transform: scale(1.15) rotate(0);
}

.sydney-reveal:hover,
.sydney-reveal.is-active {
    color: #2D3748 !important;
    /* Ocean Blue */
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 900px) {

    .locations-wrapper {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .locations-wrapper .section-header {
        margin-bottom: var(--spacing-md);
        max-width: 100%;
    }

    .locations-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        column-gap: var(--spacing-md);
        row-gap: 24px;
    }

    .location-name {
        font-size: 24px;
        cursor: pointer !important;
    }

}

@media (max-width: 600px) {

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

}

/* Testimonials Section */
.testimonials {
    overflow: hidden;
    /* Hide scrollbar if we use drag script, or just clean overflow */
}

.testimonial-scroller-wrapper {
    overflow-x: auto;
    padding-bottom: 32px;
    /* Space for scrollbar if visible */
    /* Hide scrollbar visually but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-scroller {
    display: flex;
    gap: var(--spacing-md);
    width: max-content;
    padding: 0 var(--spacing-xs);
    /* Padding for endpoints */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 48px;
    border-radius: 24px;
    width: 450px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
    user-select: none;
    /* For dragging */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.5;
    color: var(--text-color);
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    margin: 0;
}

.author-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {

    .testimonial-card {
        width: 300px;
        padding: 32px;
    }

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

    .stat-number {
        font-size: 56px;
    }

}

/* Contact / CTA Section */
.contact {
    background: #0f0f11;
    color: white;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 15, 17, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: clamp(42px, 7vw, 96px);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1;
}

.contact-content p {
    font-size: clamp(18px, 2.5vw, 28px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    font-weight: 300;
}

.contact-content .btn-primary {
    background: white;
    color: #0f0f11;
    padding: 18px 48px;
    font-size: 18px;
}

.contact-content .btn-fill {
    background: var(--gradient-1);
}

.btn:hover .btn-text,
.contact-content .btn:hover .btn-text {
    color: white;
}

/* Footer Updates */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-left p {
    margin: 16px 0;
    max-width: 300px;
}

.footer-meta {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-meta a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.link-column a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.dot,
.nav-link:hover,
.link-column a:hover {
    color: #6366f1;
}

.copyright {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .service-card {
        min-height: 350px;
        /* Reduced specific height for mobile */
        padding: 32px;
        /* Reduced padding */
    }

    .card-body h3 {
        font-size: 28px;
    }

}

/* Immersive Page Theme */
body.immersive-page {
    background: #000;
    color: #fff;
    --text-color: #fff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
}

.immersive-page .navbar {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.immersive-page .cta-button {
    background: #fff;
    color: #000;
}

.immersive-page .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.immersive-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.immersive-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(100px);
    z-index: 1;
    animation: pulse-glow 8s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.immersive-title {
    font-size: clamp(66px, 12vw, 192px);
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.96px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff, #666666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
}

.immersive-subtitle {
    font-size: clamp(18px, 2vw, 28px);
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

.feature-panel {
    background: #050505;
    padding: 64px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.5s;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-panel:hover {
    background: #0a0a0a;
}

.feature-panel h3 {
    font-size: 40px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.feature-panel p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

.feature-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.feature-panel:hover .feature-visual {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Stat Strip */
.stat-strip {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0;
    position: relative;
    z-index: 2;
}

.stat-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.stat-item-v2:hover {
    transform: translateY(-5px);
}

.stat-num-v2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-v2 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

@media (max-width: 768px) {
    .stat-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 24px;
    }
}

/* Section main titles */

.work-title,
.services-title {
    font-size: clamp(72px, 12vw, 128px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.96px;
    margin-bottom: 32px;
    color: var(--work-text);
    background: linear-gradient(to bottom, #0f0f11, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-subtitle,
.services-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Tabs */


/* Contact Modal & Premium Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: backdrop-filter 0.5s ease;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 32px;
    padding: 48px;
    z-index: 2;
    transform: scale(0.92) translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-overlay.is-open .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 40px;
    text-align: center;
}

.modal-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 700;
}

.modal-title {
    font-size: 36px;
    line-height: 1.1;
    color: var(--text-color);
    letter-spacing: -1px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-option:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.contact-option.telegram:hover {
    background: linear-gradient(to right, rgba(0, 136, 204, 0.05), #fff);
    border-color: #0088cc;
}

.contact-option.whatsapp:hover {
    background: linear-gradient(to right, rgba(37, 211, 102, 0.05), #fff);
    border-color: #25D366;
}

.contact-option.email:hover {
    background: linear-gradient(to right, rgba(234, 67, 53, 0.05), #fff);
    border-color: #EA4335;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.4s ease;
    color: var(--text-color);
    flex-shrink: 0;
}

.contact-option:hover .icon-box {
    background: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


.contact-option .option-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.handle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hover-arrow {
    display: none;
}

.contact-option:hover .hover-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.contact-option.telegram:hover .icon-box,
.contact-option.telegram:hover .hover-arrow {
    color: #0088cc;
}

.contact-option.whatsapp:hover .icon-box,
.contact-option.whatsapp:hover .hover-arrow {
    color: #25D366;
}

.contact-option.email:hover .icon-box,
.contact-option.email:hover .hover-arrow {
    color: #EA4335;
}

.modal-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Immersive & About Page Overrides */
body.immersive-page .modal-content,
body.about-page .modal-content {
    background: #0f0f11;
    /* Dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover .card-body h3,
.service-card:hover .learn-more,
.immersive-page .logo,
.immersive-page .nav-link,
.immersive-page .service-num,
body.immersive-page .modal-title,
body.about-page .modal-title {
    color: #fff;
}

body.immersive-page .modal-close:hover,
body.about-page .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.immersive-page .contact-option,
body.about-page .contact-option {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.immersive-page .modal-close,
body.about-page .modal-close,
body.immersive-page .icon-box,
body.about-page .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.immersive-page .handle,
body.about-page .handle {
    color: rgba(255, 255, 255, 0.5);
}

body.immersive-page .contact-option:hover,
body.about-page .contact-option:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Simply lighten on hover in dark mode */
}

body.immersive-page .contact-option.telegram:hover,
body.about-page .contact-option.telegram:hover {
    border-color: #0088cc;
}

body.immersive-page .contact-option.whatsapp:hover,
body.about-page .contact-option.whatsapp:hover {
    border-color: #25D366;
}

body.immersive-page .contact-option.email:hover,
body.about-page .contact-option.email:hover {
    border-color: #EA4335;
}

@media (max-width: 600px) {

    .modal-content {
        padding: 40px 24px;
        width: 92%;
        border-radius: 24px;
    }

    .modal-title {
        font-size: 32px;
    }

}

/* --- ABOUT PAGE STYLES (Moved from about.html) --- */

body.about-page {
    background-color: var(--about-bg);
    color: var(--about-text);
    /* Override standard variables for shared components */
    --text-color: var(--about-text);
    --text-secondary: #888888;
    --border-color: var(--about-line);
}

/* 1. Structural Grid Background */
.blueprint-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(var(--about-line) 0.5px, transparent 0.5px),
        linear-gradient(90deg, var(--about-line) 0.5px, transparent 0.5px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 100%);
}

/* 2. Hero Section - Technical/Architectural */
.about-hero {
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 96px;
    position: relative;
    border-bottom: 1px solid var(--about-line);
}

.hero-label {
    font-family: 'Overpass Mono', monospace;
    font-size: 12px;
    color: var(--about-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 32px;
    display: block;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.5s;
}

body.loaded .hero-label {
    opacity: 1;
}

.about-title-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    /* Push content down slightly */
}

.about-title {
    font-size: clamp(62px, 12vw, 176px);
    line-height: 0.85;
    letter-spacing: -0.96px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    position: relative;
}

.about-title span {
    display: block;
}

.about-title .stroked {
    color: var(--about-bg);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    transition: all 0.5s ease;
    paint-order: stroke fill;
}

.about-title:hover .stroked {
    color: var(--about-bg);
    -webkit-text-stroke-color: var(--about-accent);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.about-subtitle {
    margin-top: 48px;
    max-width: 500px;
    font-size: 18px;
    color: #888888;
    border-left: 2px solid var(--about-accent);
    padding-left: 24px;
}

/* 3. Manifesto Section - Interactive Text */
.manifesto {
    padding-top: 160px;
    padding-bottom: 160px;
    border-bottom: 1px solid var(--about-line);
}

.manifesto-text {
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.3;
    font-weight: 300;
    color: #666666;
    font-family: 'Outfit', sans-serif;
    max-width: 90%;
    margin: 0;
    /* Left align */
}

.manifesto-text span {
    color: var(--about-text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-block;
    padding: 0 3px;
}

.manifesto-text span:hover {
    color: var(--about-accent);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* 4. Team List - Redesigned for Solo Architect */
.team-section {
    padding-top: 96px;
    padding-bottom: 160px;
    position: relative;
}

.team-header {
    margin-bottom: 80px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3.2px;
    color: var(--about-accent);
    font-family: 'Overpass Mono', monospace;
}

.solo-architect-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.architect-image-box {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Larger, viewport-worthy height */
    background: var(--about-line);
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.architect-image-box:hover {
    filter: grayscale(0%) contrast(1);
}

.architect-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps original image ratio during resize/scaling */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.architect-image-box:hover img {
    transform: scale(1.05);
}

.architect-details {
    padding-right: 40px;
}

.member-name-large {
    font-size: clamp(48px, 6vw, 84px);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: var(--about-text);
}

.member-role-large {
    font-size: 18px;
    color: var(--about-accent);
    font-family: 'Overpass Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 32px;
    display: block;
}

.member-bio {
    font-size: 20px;
    line-height: 1.6;
    color: #888888;
    max-width: 480px;
}

/* Floating Elements for Flair */
.architect-signature {
    margin-top: 48px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .solo-architect-card {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .architect-details {
        padding-right: 0;
    }

    .member-name-large {
        font-size: 48px;
    }
}

/* 5. Timeline - Redesigned */
.timeline-section {
    padding-top: 96px;
    /* Reduced gap matching Architect section */
    padding-bottom: 160px;
    border-top: 1px solid var(--about-line);
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    padding: 100px 0;
    border-bottom: 1px solid var(--about-line);
    position: relative;
    cursor: default;
}

.timeline-year {
    font-size: 120px;
    font-weight: 800;
    color: var(--about-text);
    opacity: 0.1;
    font-family: 'Outfit', sans-serif;
    line-height: 0.8;
    transition: opacity 0.5s ease;
}

.timeline:hover .timeline-year {
    opacity: 0.3;
}

.timeline-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--about-text);
    font-family: 'Outfit', sans-serif;
}

.timeline-content p {
    color: #888888;
    line-height: 1.8;
    max-width: 540px;
    font-size: 18px;
}

.contact-email {
    font-size: clamp(32px, 6vw, 80px);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {

    .team-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .member-name {
        font-size: 28.8px;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .member-preview {
        display: none;
        /* Hide hover effect on mobile */
    }

}

/* --- WORK PAGE STYLES (Moved from work.html) --- */
body.work-page {
    background-color: var(--work-bg);
    color: var(--work-text);
}

/* Reusing Services Hero Animation for Consistency */

@keyframes gridFlow {
    0% {
        transform: perspective(100vh) rotateX(60deg) scale(2) translateY(0);
    }

    100% {
        transform: perspective(100vh) rotateX(60deg) scale(2) translateY(60px);
    }
}


/* Enhanced Project Grid */
.full-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    /* More breathing room */
    padding-bottom: 128px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    /* group: project; - removed invalid property */
}

.project-item.large,
.project-card.large {
    grid-column: span 2;
}

.project-thumb {
    width: 100%;
    height: 50vw;
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.project-thumb.flexible,
.project-thumb:has(.project-img-full) {
    height: auto;
    max-height: none;
}

.project-card.large .project-thumb {
    max-height: 800px;
}

.project-card.large .project-thumb:has(.project-img-full) {
    height: auto;
    max-height: none;
}

.thumb-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-content .btn-primary:hover,
.project-card:hover .thumb-inner,
.project-card:hover .project-img-full {
    transform: scale(1.05);
}

.footer-content,
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--work-text);
}

.project-cats {
    color: #666666;
    font-size: 18px;
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--text-color);
}

.project-card:hover .project-arrow {
    transform: translate(5px, -5px);
    color: var(--work-accent);
}

@media (max-width: 768px) {

    .full-project-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .project-card.large {
        grid-column: span 1;
    }

    .project-thumb {
        height: 350px;
    }

    .work-hero {
        padding-top: 150px;
    }

}

/* --- SERVICES PAGE STYLES (Moved from services.html) --- */
body.services-page {
    background-color: var(--srv-bg);
    color: var(--srv-text);
}

body.services-page footer {
    background-color: #ffffff;
}

/* 1. Hero with animated grid */
.work-hero,
.services-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.work-hero-bg,
.services-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(100vh) rotateX(60deg) scale(2);
    transform-origin: top center;
    opacity: 0.6;
    animation: gridFlow 20s linear infinite;
}

/* Reusing gridFlow animation from Work page if not already present or slightly different */
/* It's already defined in the Work section, but I'll keep it here if it needs scoping or slight tweaks */
/* Actually, let's use the one already defined at line 2343 if they are identical. */

.hero-spotlight {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.work-hero-content,
.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 32px;
}

/* 2. Categorized Service Grid - List Redesign */
/* 2. Minimalist Bold Services - Non-Clickable Architectural Layout */
.minimal-service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.minimal-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    border-bottom: 1px solid var(--srv-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
}

.service-identity {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    flex: 1;
}

.service-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--srv-accent);
    margin-bottom: 32px;
    font-family: var(--font-heading);
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.minimal-service-title {
    font-size: clamp(64px, 12vw, 180px);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--srv-text);
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, color;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.minimal-service-desc {
    flex: 0 1 420px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 20px;
}

.minimal-service-item:hover,
.minimal-service-item.is-active {
    padding-left: 64px;
}

.minimal-service-item:hover .minimal-service-title,
.minimal-service-item.is-active .minimal-service-title {
    color: var(--srv-accent);
    transform: skewX(-4deg) scale(1.02) translateZ(0);
    letter-spacing: -0.02em;
}

.minimal-service-item:hover .minimal-service-desc,
.minimal-service-item.is-active .minimal-service-desc {
    color: var(--srv-text);
    transform: translateX(20px);
    opacity: 1;
}

.srv-title {
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--srv-text);
}

.minimal-service-item:hover .service-num,
.minimal-service-item.is-active .service-num {
    opacity: 1;
    transform: translateY(-10px);
}

.minimal-service-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--srv-accent);
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-service-item:hover::after,
.minimal-service-item.is-active::after {
    width: 100%;
}

@media (max-width: 1100px) {
    .minimal-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 64px 0;
    }

    .minimal-service-desc {
        flex: none;
        max-width: 600px;
        padding-top: 0;
        padding-left: 56px;
    }

    .minimal-service-item:hover,
    .minimal-service-item.is-active {
        padding-left: 0;
    }

    .minimal-service-item:hover .minimal-service-desc,
    .minimal-service-item.is-active .minimal-service-desc {
        transform: none;
    }
}

@media (max-width: 768px) {
    .minimal-service-title {
        font-size: clamp(48px, 12vw, 100px);
    }

    .minimal-service-desc {
        padding-left: 0;
        font-size: 16px;
    }
}

/* 3. Process Section */
.process-section {
    padding: 128px 0;
    background: #fff;
    border-top: 1px solid var(--srv-border);
}

.process-row {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    padding: 64px 0;
    border-bottom: 1px solid var(--srv-border);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.modal-overlay.is-open,
.process-row:hover {
    opacity: 1;
}

.process-num {
    font-size: 64px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    font-family: var(--font-heading, sans-serif);
}

.process-content p {
    color: var(--srv-secondary);
    max-width: 600px;
    margin-top: 16px;
    font-size: 18px;
}

/* 4. Marquee for Tools */
.tools-marquee {
    padding: 48px 0;
    background: var(--srv-bg);
    border-top: 1px solid var(--srv-border);
    border-bottom: 1px solid var(--srv-border);
    overflow: hidden;
}

.tools-track {
    display: flex;
    white-space: nowrap;
    gap: 64px;
    animation: slideTools 30s linear infinite;
}

.tool-item {
    font-size: 24px;
    color: #888888;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: color 0.3s;
}

.tool-item:hover {
    color: var(--srv-accent);
}

.tool-item img {
    height: 30px;
    filter: grayscale(1);
    opacity: 0.6;
}

@keyframes slideTools {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {

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

    .process-row {
        flex-direction: column;
        gap: 16px;
    }

    .services-hero {
        padding-top: 150px;
    }

}

/* --- PRODUCT DESIGN PAGE STYLES (Moved from product-design.html) --- */
.product-hero {
    background-color: #fafafa;
    color: #0f0f11;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

/* 3D Moving Grid Background */
.grid-plane {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%) rotateX(60deg);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

.product-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #fafafa 80%);
    z-index: 1;
    pointer-events: none;
}

.product-hero-content {
    position: relative;
    z-index: 2;
}

.product-hero-title {
    font-size: clamp(72px, 12vw, 192px);
    line-height: 0.85;
    letter-spacing: -0.96px;
    color: #0f0f11;
    margin-bottom: 32px;
    font-weight: 800;
}

/* Floating UI Elements in Hero */
.hero-floater {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
    animation: floatUI 8s ease-in-out infinite;
}

.floater-1 {
    top: 15%;
    left: 10%;
    width: 120px;
    height: 160px;
    animation-delay: 0s;
}

.floater-2 {
    bottom: 20%;
    right: 10%;
    width: 180px;
    height: 100px;
    animation-delay: -2s;
}

.floater-3 {
    top: 25%;
    right: 15%;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    animation-delay: -4s;
}

@keyframes floatUI {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Interface Lab Section */
.interface-lab {
    padding: 128px 0;
    background: white;
    overflow: hidden;
}

.lab-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 64px;
    align-items: center;
}

.lab-visual {
    position: relative;
    height: 500px;
    background: #fafafa;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    cursor: default;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: white;
    border: 8px solid #0f0f11;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transform: rotate(-10deg) translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-visual:hover .phone-mockup {
    transform: rotate(0deg) translateY(0);
}

.mockup-screen {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    background: #fff;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
}

.mock-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 16px;
    height: 120px;
}

.mock-btn {
    background: #0f0f11;
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-top: auto;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.lab-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.lab-features {
    list-style: none;
    margin-top: 32px;
}

.lab-features li {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #666666;
    transition: color 0.3s;
}

.lab-features li:hover {
    color: #0f0f11;
    padding-left: 10px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Methodology Grid - Enhanced */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.method-card {
    background: #fff;
    padding: 64px 32px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
}

.method-card:hover,
.method-card.is-active {
    background: #0f0f11;
    color: white;
}

.method-icon {
    font-size: 32px;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-icon,
.method-card.is-active .method-icon {
    transform: scale(1.2) rotate(10deg);
}

.method-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.method-card p {
    font-size: 16px;
    color: #666666;
    line-height: 1.5;
    transition: color 0.4s;
}

.service-card:hover .card-body p,
.method-card:hover p,
.method-card.is-active p {
    color: rgba(255, 255, 255, 0.7);
}

/* Design System Strip */
.design-system-strip {
    display: flex;
    overflow-x: auto;
    padding: 64px var(--spacing-md);
    gap: 32px;
    background: #fafafa;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.visual-glass,
.visual-orb,
.visual-decor,
.testimonial-scroller-wrapper::-webkit-scrollbar,
.design-system-strip::-webkit-scrollbar {
    display: none;
}

.ds-card {
    min-width: 300px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s;
    cursor: default;
}

.ds-card:hover {
    transform: translateY(-5px);
}

.ds-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #888888;
    font-weight: 600;
}

.color-stack {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.type-stack h4 {
    font-size: 32px;
    line-height: 1;
}

.type-stack p {
    font-size: 16px;
    color: #666666;
}

@media (max-width: 900px) {

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

    .grid-plane {
        display: none;
        /* Save performance on mobile */
    }

}

@media (max-width: 600px) {

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

}

/* --- BRAND IDENTITY PAGE STYLES (Moved from brand-identity.html) --- */
.brand-hero {
    background-color: #fafafa;
    color: #0f0f11;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.brand-hero-title {
    font-size: clamp(72px, 12vw, 256px);
    line-height: 0.85;
    letter-spacing: -0.96px;
    color: #0f0f11;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    font-weight: 800;
    mix-blend-mode: multiply;
}

.product-subtitle,
.brand-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    max-width: 600px;
    margin: 0 auto;
    color: #666666;
    position: relative;
    z-index: 2;
}

/* Minimalist Grid */
/* Enhanced Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #0f0f11;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-panel {
    background: #fff;
    padding: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.brand-panel:hover,
.brand-panel.is-active {
    background: #fafafa;
}

.panel-graphic {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    opacity: 0.12;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.brand-panel:hover .panel-graphic,
.brand-panel.is-active .panel-graphic {
    opacity: 0.5;
    transform: scale(1.05);
}

.panel-graphic svg {
    width: 100%;
    max-width: 320px;
    height: 160px;
}

@keyframes panelPulse {

    0%,
    100% {
        r: 3;
        opacity: 0.8;
    }

    50% {
        r: 5;
        opacity: 1;
    }
}

.panel-graphic .pulse-dot {
    animation: panelPulse 3s ease-in-out infinite;
}

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

.panel-graphic .dash-animate {
    animation: panelDash 8s linear infinite;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.panel-num {
    font-size: 14px;
    font-weight: 800;
    color: #0f0f11;
    opacity: 0.2;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

.panel-icon {
    width: 64px;
    height: 64px;
    color: #6366f1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-panel:hover .panel-icon,
.brand-panel.is-active .panel-icon {
    transform: scale(1.1) rotate(5deg);
    color: #0f0f11;
}

.brand-panel h3 {
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.48px;
}

.brand-panel p {
    font-size: 18px;
    color: #666666;
    max-width: 400px;
    line-height: 1.6;
}




/* Color Palette Strip */
.palette-strip {
    display: flex;
    height: 250px;
    width: 100%;
}

.swatch {
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
    overflow: hidden;
}

.swatch:hover,
.swatch.is-active {
    flex: 4;
}

.swatch span {
    position: absolute;
    bottom: 48px;
    left: 48px;
    color: white;
    font-family: 'Outfit', monospace;
    font-size: 24px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s 0.1s;
}

.swatch:last-child span {
    color: #0f0f11;
}

.swatch:hover span,
.swatch.is-active span {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .palette-strip {
        height: 180px;
    }

    .swatch span {
        bottom: 24px;
        left: 20px;
        font-size: 16px;
        white-space: normal;
        width: calc(100% - 40px);
        line-height: 1.2;
    }

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

    .brand-panel {
        padding: 40px 32px;
        aspect-ratio: auto;
        min-height: auto;
    }

    .brand-panel h3 {
        font-size: 32px;
    }

    .panel-icon {
        width: 48px;
        height: 48px;
    }
}

/* --- Portfolio Viewer Open State --- */




body.viewer-open .hero-bg .gradient-orb {
    filter: blur(180px);
    opacity: 0.6;
    animation-duration: 6s;
}

body.viewer-open .noise-overlay {
    opacity: 0.1;
    z-index: 11000;
}

/* --- MASTER RESPONSIVE STYLES --- */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .brand-panel {
        padding: 64px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 60px;
        --spacing-lg: 40px;
        --spacing-md: 20px;
    }

    .navbar .cta-button,
    #start-project-btn {
        display: none !important;
    }

    /* Navigation Transformation */
    .menu-toggle {
        display: block;
    }

    /* Global Mobile Content Gutters */
    .container,
    .navbar-container,
    .hero-content,
    .footer-content,
    .copyright,
    .brand-hero-content,
    .product-hero-content,
    .section-header {
        padding-right: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Heading Scaling & Safety */
    h1,
    h2,
    .section-title,
    .minimal-service-title {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
        hyphens: auto !important;
    }

    .section-title {
        font-size: clamp(28px, 9vw, 36px) !important;
    }


    /* Navigation Transformation */

    .rotating-badge {
        display: block;
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .rotating-badge svg {
        width: 100%;
        height: 100%;
    }

    .badge-icon {
        font-size: 32px !important;
    }

    /* Services & Project Grids */
    .services-grid,
    .project-grid,
    .minimal-service-list,
    .full-project-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .brand-grid,
    .grid-showcase {
        grid-template-columns: 1fr !important;
        gap: 1px !important;
    }

    .project-item.large {
        grid-column: span 1 !important;
    }

    .service-card {
        min-height: auto !important;
        padding: 32px !important;
    }

    /* Process Section V2 */
    .process-container {
        padding-left: 24px !important;
        padding-right: 0 !important;
    }

    .process-step-v2 {
        gap: 32px !important;
    }

    .step-marker {
        width: 32px !important;
        height: 32px !important;
        left: -24px !important;
        /* Match container padding to center on line */
        font-size: 12px !important;
    }

    .step-content {
        padding: 32px !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .step-visual {
        width: 70px !important;
        height: 70px !important;
    }

    .step-text h3 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }

    .step-text p {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }

    /* Services Page Minimal List */
    .minimal-service-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 32px 0 !important;
    }

    .service-identity {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .service-num {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: var(--srv-accent) !important;
        margin: 0 !important;
        padding: 4px 10px !important;
        border: 1px solid rgba(99, 102, 241, 0.4) !important;
        border-radius: 100px !important;
        line-height: 1 !important;
        opacity: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        background: rgba(99, 102, 241, 0.05) !important;
        transform: translateY(3px) !important;
        /* Nudge down for perfect optical center */
    }

    .minimal-service-title {
        font-size: clamp(32px, 10vw, 48px) !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        transform: none !important;
    }

    .minimal-service-item:hover .minimal-service-title,
    .minimal-service-item.is-active .minimal-service-title {
        transform: none !important;
    }

    .minimal-service-desc {
        flex: none !important;
        width: 100% !important;
        padding-top: 0 !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
    }

    /* About Page Specifics */
    .about-hero {
        padding: 140px 20px 60px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        min-height: auto !important;
        gap: 24px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .about-title-wrapper {
        padding-top: 0 !important;
        width: 100% !important;
    }

    .about-subtitle {
        margin-top: 32px !important;
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        padding-left: 16px !important;
        border-left: 2px solid var(--about-accent) !important;
    }

    .manifesto {
        padding: 80px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .team-section {
        padding: 80px 20px !important;
    }

    .team-header {
        margin-bottom: 40px !important;
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }

    .team-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px 0 !important;
        gap: 6px !important;
    }

    .team-row:hover {
        padding-left: 0 !important;
        background: transparent !important;
    }

    .member-name {
        font-size: 32px !important;
    }

    .member-role {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }

    .timeline-section {
        padding: 80px 20px !important;
        /* Explicit horizontal padding */
    }

    .timeline {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 40px 0 !important;
    }

    .timeline-year {
        font-size: 48px !important;
        width: auto !important;
        color: var(--about-accent) !important;
        opacity: 0.3 !important;
    }

    .timeline-content h3 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column !important;
        gap: 48px !important;
    }

    .footer-links {
        width: 100%;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 48px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 36px !important;
    }

    .minimal-service-title {
        font-size: 48px !important;
    }
}

/* --- SEO PAGE STYLES --- */
.seo-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.seo-hero-title {
    font-size: clamp(72px, 12vw, 256px);
    line-height: 0.85;
    letter-spacing: -0.96px;
    color: #0f0f11;
    margin-bottom: 32px;
    margin-top: 32px;
    position: relative;
    z-index: 2;
    font-weight: 800;
    mix-blend-mode: multiply;
}

.seo-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    max-width: 600px;
    margin: 0 auto;
    color: #666666;
    position: relative;
    z-index: 2;
}

.metrics-strip {
    background: #0f0f11;
    padding: 40px 0;
    overflow: hidden;
}

.metrics-grid {
    display: flex;
    width: 100%;
}

.metric-item {
    flex: 1;
    text-align: center;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 10px;
}

.metric-item:last-child {
    border-right: none;
}

.metric-value {
    display: block;
    font-size: clamp(32px, 5vw, 48px);
    font-family: var(--font-heading);
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .metrics-strip {
        padding: 80px 0;
    }

    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
        padding: 0 20px;
    }

    .metric-item {
        border-right: none;
    }

    .metric-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 48px 0;
    }

    .metric-item:nth-child(odd) {
        border-right: none;
    }

    .metric-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
    }

    .metric-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.growth-section {
    padding: var(--spacing-xl) 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.growth-section .section-header {
    text-align: left;
}

.growth-bg-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(99, 102, 241, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

.growth-list {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.growth-item {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 300px;
    align-items: center;
    padding: 100px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

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

.growth-item:hover,
.growth-item.is-active {
    background: rgba(99, 102, 241, 0.01);
    padding-left: 40px;
}

.growth-info {
    padding-right: 60px;
}

.growth-num {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6366f1;
    margin-bottom: 24px;
    display: block;
}

.growth-item h3 {
    font-size: clamp(48px, 6vw, 84px);
    letter-spacing: -2px;
    line-height: 0.9;
    margin: 0;
}

.growth-desc {
    padding-right: 20px;
    max-width: 380px;
}

.growth-desc p {
    font-size: 19px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

.growth-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-graphic {
    width: 100%;
    height: 100%;
    opacity: 0.05;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.9) rotate(-10deg);
}

.growth-item:hover .growth-graphic,
.growth-item.is-active .growth-graphic {
    opacity: 0.5;
    transform: scale(1.1) rotate(0deg);
}

.growth-tags {
    display: flex;
    gap: 12px;
}

.growth-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 100px;
    color: #666;
    transition: all 0.3s ease;
}

.growth-item:hover .growth-tag,
.growth-item.is-active .growth-tag {
    background: #6366f1;
    color: white;
}

@media (max-width: 1100px) {
    .growth-item {
        grid-template-columns: 1fr 1.2fr 150px;
        gap: 20px;
    }

    .growth-visual {
        height: 120px;
    }
}

@media (max-width: 900px) {
    .growth-item {
        display: grid;
        grid-template-columns: 1fr 100px;
        align-items: center;
        gap: 0 20px;
        padding: 60px 0;
    }

    .growth-info {
        grid-column: 1;
        padding: 0;
    }

    .growth-visual {
        grid-column: 2;
        grid-row: 1;
        height: 80px;
        margin-top: 0;
        justify-content: flex-end;
    }

    .growth-graphic {
        width: 80px;
        opacity: 0.15;
        transform: scale(1.4) rotate(0deg);
    }

    .growth-desc {
        grid-column: 1 / span 2;
        padding-top: 24px;
        max-width: 100%;
        padding-right: 0;
    }

    .growth-desc p {
        margin-bottom: 24px;
    }

    .growth-item:hover,
    .growth-item.is-active {
        padding-left: 0;
        background: transparent;
    }
}


/* Privacy Policy Page */
.privacy-content {
    padding-top: 160px;
    padding-bottom: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 40px;
    color: var(--text-color);
}

.privacy-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.privacy-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.privacy-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.privacy-content li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}