/* =====================================================
   VISIV Advertising - Main Stylesheet
   Exact replica of akis.studio adapted for VISIV brand
   ===================================================== */

/* =====================================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ===================================================== */
:root {
    /* VISIV Brand Colors */
    --color-primary: #D4A748;
    --color-primary-light: #FFB523;
    --color-secondary: #3B9BD9;
    --color-secondary-light: #5DADE2;

    /* Backgrounds */
    --color-bg: #000000;
    --color-bg-dark: #060606;
    --color-bg-card: rgba(6, 6, 6, 0.5);

    /* Text Colors */
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --color-text-subtle: #666666;
    --color-dark-10: rgba(255, 255, 255, 0.1);
    --color-dark-20: rgba(255, 255, 255, 0.2);
    --color-dark-40: rgba(255, 255, 255, 0.4);

    /* Typography */
    --font-family: 'Acumin Pro', 'Acumin Variable Concept', sans-serif;
    --font-size-xxs: 0.75rem;
    /* 12px */
    --font-size-xs: 0.875rem;
    /* 14px */
    --font-size-s: 1rem;
    /* 16px */
    --font-size-m: 1.125rem;
    /* 18px */
    --font-size-l: 1.25rem;
    /* 20px */
    --font-size-xl: 1.5rem;
    /* 24px */
    --font-size-2xl: 2rem;
    /* 32px */
    --font-size-3xl: 2.5rem;
    /* 40px */
    --font-size-4xl: 3rem;
    /* 48px */
    --font-size-5xl: 4rem;
    /* 64px */
    --font-size-huge: 5rem;
    /* 80px */

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --max-width: 1280px;
    --padding-sides: 1rem;

    /* Borders */
    --radius-sm: 2px;
    --radius-md: 10px;
    --radius-lg: 20px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 600ms ease;

    /* Z-index layers */
    --z-base: 1;
    --z-above: 10;
    --z-nav: 100;
    --z-menu: 901;
    --z-header: 1000;
    --z-loader: 1101;
}

/* Responsive padding */
@media (min-width: 640px) {
    :root {
        --padding-sides: 2rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --padding-sides: 4rem;
    }
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-s);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-dark);
    touch-action: pan-y;
    /* Optimize touch scrolling */
}

/* =====================================================
   CUSTOM SCROLLBAR - VISIV Premium Dark Theme
   ===================================================== */

/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 167, 72, 0.4);
    border-radius: 3px;
    transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 167, 72, 0.7);
}

::-webkit-scrollbar-corner {
    background: var(--color-bg-dark);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 167, 72, 0.4) var(--color-bg-dark);
}

/* Hide scrollbar for mobile but keep functionality */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 3px;
    }

    * {
        scrollbar-width: none;
    }

    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        width: 0;
        background: transparent;
    }
}

/* Prevent scroll during loading */
body.loading {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Shared Components Wrappers */
header-component,
footer-component {
    display: contents;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
/* --- PREMIUM TYPOGRAPHY GLOBAL --- */

/* Global Paragraph Style - Premium but readable */
p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    /* Responsive 16px to 18px */
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    /* Lighter/Muted */
    margin-bottom: var(--space-4);
}

/* Tag - Scaled UP */
.tag {
    font-size: 1rem;
    /* Was xxs/0.75rem */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 600;
    /* Bolder */
    display: inline-block;
    margin-bottom: var(--space-4);
}

/* For larger emphasis text (Introduction/About) - Scaled DOWN */
.text-editorial {
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    /* ~18px - 22px */
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.text-editorial strong {
    font-weight: 600;
    color: #fff;
}

/* Adjusted Headlines - Scaled UP */
.text-display-l {
    font-size: clamp(3rem, 6vw, 5.5rem);
    /* Use for massive statements */
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-display-m {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Increased size for section titles */
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.hero__tagline.premium {
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border-left: none;
    padding-left: 0;
    margin-bottom: var(--space-6);
}

/* Link adjustments */
.about__link,
.btn-text {
    font-size: 1.125rem !important;
    /* Ensure visibility */
    font-weight: 500;
}

.text-title-huge {
    font-size: clamp(2.5rem, 6vw, var(--font-size-huge));
    font-weight: 500;
    line-height: 1.1;
}

.text-title-xl {
    font-size: clamp(2rem, 4vw, var(--font-size-4xl));
    font-weight: 500;
    line-height: 1.15;
}

.text-title-l {
    font-size: clamp(1.75rem, 3.5vw, var(--font-size-3xl));
    font-weight: 500;
    line-height: 1.2;
}

.text-title-m {
    font-size: clamp(1.5rem, 3vw, var(--font-size-2xl));
    font-weight: 500;
    line-height: 1.25;
}

.text-title-s {
    font-size: var(--font-size-xl);
    font-weight: 500;
    line-height: 1.3;
}

.text-para-l {
    font-size: var(--font-size-l);
}

.text-para-m {
    font-size: var(--font-size-m);
}

.text-para-s {
    font-size: var(--font-size-s);
}

.text-para-xs {
    font-size: var(--font-size-xs);
}

.text-para-xxs {
    font-size: var(--font-size-xxs);
}

.text-primary {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

/* --- PREMIUM TYPOGRAPHY GLOBAL - REFINED HIERARCHY --- */

/* Global Paragraph Style - Standardized for readability */
p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-4);
}

/* Tag - BIGGER as requested */
.tag {
    font-size: 1.125rem;
    /* ~18px, bold and visible */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 700;
    display: inline-block;
    margin-bottom: var(--space-4);
}

/* Editorial ("Oggi essere...") - SMALLER as requested */
.text-editorial {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    /* Scaled down to be cleaner */
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.text-editorial strong {
    font-weight: 600;
    color: #fff;
}

/* Headlines - BIGGER as requested */
.text-display-l {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-display-m {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Increased minimum impactingness */
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.hero__tagline.premium {
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border-left: none;
    padding-left: 0;
    margin-bottom: var(--space-6);
}

/* Link adjustments - BIGGER */
.about__link,
.btn-text {
    font-size: 1.25rem;
    font-weight: 500;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--padding-sides);
    padding-right: var(--padding-sides);
    overflow-x: hidden;
}

.padding-sides {
    padding-left: var(--padding-sides);
    padding-right: var(--padding-sides);
}

.max-w-container {
    max-width: var(--max-width);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

.grid {
    display: grid;
    max-width: 100%;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--color-bg);
    z-index: var(--z-loader);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Change from slide to fade */
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Make logo zoom OUT as the screen fades */
.loader.loaded .loader__logo {
    transform: scale(1.1);
    opacity: 0;
    transition: transform 0.8s ease-in, opacity 0.5s ease-in;
}

.loader__logo {
    width: 80vw;
    /* Responsive massive size for mobile */
    max-width: 400px;
    /* Cap it so it doesn't break on tablets */
    opacity: 0;
    will-change: transform, opacity;
    /* Speed up to 1s so it finishes before the 1.3s JS timeout */
    animation: loaderReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

@media (min-width: 1024px) {
    .loader__logo {
        width: 40vw;
        /* Reduced from 100vw */
        max-width: 500px;
        /* Reduced from 1200px */
    }
}

@keyframes loaderReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.3s;
    mix-blend-mode: difference;
    opacity: 0;
    /* Hidden by default, shown via JS .active class */
}

/* Add this class via JS when mouse moves */
.cursor.active {
    opacity: 1;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

@media (hover: none) {
    .cursor {
        display: none;
    }
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: var(--space-4) var(--padding-sides);
    background-color: var(--color-bg);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    height: 18px;
}

.header__logo svg {
    height: 100%;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.header__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
}

.header__menu-btn span {
    display: block;
    width: 20px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition-base);
}

.header__menu-btn:hover span {
    background-color: var(--color-text-muted);
}

.header__cta {
    display: none;
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 0.7rem 1.5rem !important;
    /* Balanced size */
    border-radius: 50px;
    /* Fully rounded for pill shape */
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-base);

    /* Override liquid-metal-btn sizes but keep it reasonably sized */
    min-width: 0 !important;
    height: auto !important;
    line-height: 1;
    text-align: center;
}

.header__cta:hover {
    background-color: var(--color-text-muted);
}

@media (min-width: 640px) {
    .header__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0;
    }
}

/* Header gradient overlay */
.header-gradient {
    position: absolute;
    z-index: calc(var(--z-header) - 1);
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--color-bg) 70%, transparent 100%);
    pointer-events: none;
}

/* =====================================================
   NAVIGATION MENU (FULLSCREEN)
   ===================================================== */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: var(--z-menu);
    transform: translateX(100%);
    transition: transform var(--transition-slow) ease-out;
    padding: var(--space-24) var(--space-8);
}

.nav-menu.open {
    transform: translateX(0);
}

@media (min-width: 640px) {
    .nav-menu {
        width: 66.667%;
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        width: 58.333%;
        padding: var(--space-32) 9rem;
    }
}

.nav-menu__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-menu__list {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-menu__list ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.nav-menu__link {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-base);
    display: block;
    letter-spacing: -0.01em;
}

.nav-menu__link:hover {
    color: var(--color-text-muted);
}

@media (min-width: 480px) {
    .nav-menu__link {
        font-size: var(--font-size-3xl);
        font-weight: 500;
    }
}

.nav-menu__footer {
    display: flex;
    gap: var(--space-6);
}

@media (min-width: 480px) {
    .nav-menu__footer {
        gap: var(--space-12);
    }
}

.nav-menu__footer-item p {
    color: var(--color-primary);
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-2);
}

.nav-menu__footer-item a {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    transition: color var(--transition-base);
}

.nav-menu__footer-item a:hover {
    color: var(--color-text-muted);
}

@media (min-width: 480px) {

    .nav-menu__footer-item p,
    .nav-menu__footer-item a {
        font-size: var(--font-size-m);
    }
}

/* =====================================================
   NAVIGATION SUBMENU (Accordion Style)
   ===================================================== */

.nav-menu__item--has-submenu {
    position: relative;
}

.nav-menu__link--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    padding: var(--space-2) 0;
    cursor: pointer;
    transition: color var(--transition-base);
    letter-spacing: -0.01em;
}

@media (min-width: 480px) {
    .nav-menu__link--toggle {
        font-size: var(--font-size-3xl);
        font-weight: 500;
    }
}

.nav-menu__link--toggle:hover {
    color: var(--color-text-muted);
}

.nav-menu__arrow {
    transition: transform var(--transition-base);
    margin-left: auto;
    margin-right: var(--space-2);
}

.nav-menu__link--toggle[aria-expanded="true"] .nav-menu__arrow {
    transform: rotate(180deg);
}

.nav-menu__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding-left: var(--space-4);
}

.nav-menu__submenu.open {
    max-height: 500px;
}

.nav-menu__sublink {
    display: block;
    font-size: var(--font-size-l);
    font-weight: 500;
    color: var(--color-text-muted);
    padding: var(--space-1) 0;
    transition: color var(--transition-base);
    line-height: 1.3;
}

@media (min-width: 480px) {
    .nav-menu__sublink {
        font-size: var(--font-size-l);
    }
}

.nav-menu__sublink:hover {
    color: var(--color-text);
}

/* Visiv Labs as standalone menu item */
.nav-menu__link--labs {
    color: var(--color-primary);
}

.nav-menu__link--labs:hover {
    color: var(--color-primary-light);
}

.nav-menu__sublink--labs:hover {
    color: var(--color-primary-light);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
/* =====================================================
   HERO SECTION (Kinetic Titan)
   ===================================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg);
}

/* Immersive Background */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 0% 100%, var(--color-primary) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, var(--color-secondary) 0%, transparent 50%),
        var(--color-bg);
    opacity: 0.6;
    animation: heroGradientPulse 8s ease-in-out infinite alternate;
}

@keyframes heroGradientPulse {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.7;
    }
}

.hero__titan-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    perspective: 1000px;
    /* overflow: hidden; REMOVED to prevent clipping */
    padding: 0 var(--padding-sides);
}

/* Massive Title */
.hero__titan {
    font-size: 7vw;
    /* Reduced from 18vw for longer text */
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: center;
    /* User selection off */
    user-select: none;
    cursor: default;
    max-width: 100%;
    width: 100%;
    /* Ensure visibility above background */
    position: relative;
    z-index: 10;
    z-index: 10;
    /* overflow: hidden; REMOVED to prevent clipping during animation */
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .hero__titan {
        font-size: 9.5vw;
    }
}

.hero__titan-char {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.1s ease-out;
    /* Individual char animation start state */
    opacity: 0;
}

/* =====================================================
   ABOUT SECTION REDESIGN (Bento & Glass)
   ===================================================== */
.about {
    position: relative;
    padding: var(--space-20) 0;
    overflow: hidden;
    max-width: 100vw;
}

/* Background Orb */
.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(59, 155, 217, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    animation: orbBreathe 10s ease-in-out infinite alternate;
}

@keyframes orbBreathe {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

.about__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr 1.5fr;
        /* Left (Title) / Right (Content) */
        gap: var(--space-12);
        align-items: start;
    }
}

/* Left Column */
.about__left {
    position: relative;
}

.about__tag {
    margin-bottom: var(--space-6);
}

.about__title {
    max-width: 15ch;
    margin-bottom: var(--space-8);
}

/* Golden Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.golden-thread {
    position: absolute;
    left: 0;
    /* Align with text */
    top: 100%;
    width: 1px;
    height: 100px;
    /* Base height */
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    margin-top: var(--space-4);
    transform-origin: top;
    animation: threadGrow 1.5s ease-out forwards;
}

/* Hide on mobile to prevent "virgola" artifact */
@media (max-width: 768px) {
    .golden-thread {
        display: none;
    }
}

@keyframes threadGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* Right Column (Bento Grid) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        /* Top full, bottom split */
    }

    /* First item spans full width */
    .about-grid>.glass-panel:nth-child(1) {
        grid-column: 1 / -1;
    }
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Quieter border */
    border-radius: var(--radius-md);
    padding: var(--space-6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
    /* For spotlight */
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Spotlight Effect (CSS only variable-ready, simple fallback) */
.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-panel:hover::after {
    opacity: 1;
}

/* Content within panels */
.glass-panel strong {
    color: var(--color-primary);
    font-weight: 600;
}

.glass-panel p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly brighter for readabilty on glass */
}

/* Prevent spaces from collapsing to zero width if they become inline-blocks */
.hero__titan-char {
    min-width: 0.3em;
    will-change: transform, opacity;
}

/* Triggered by JS when loader is done - Deprecated rule removed */

/* Sub-content Floating */
.hero__sub-content {
    position: absolute;
    bottom: var(--space-20);
    left: var(--padding-sides);
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .hero__sub-content {
        bottom: var(--space-12);
    }
}

.hero__tagline {
    font-size: var(--font-size-l);
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    padding-left: var(--space-2);
    border-left: 2px solid var(--color-primary);
}

.hero__cta {
    align-self: flex-start;
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    right: var(--padding-sides);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    z-index: 2;
    opacity: 0;
    animation: fadeSlideUp 1s ease 2.5s forwards;
}

.hero__scroll-text {
    font-size: var(--font-size-xxs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background-color: var(--color-text-muted);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    animation: scrollLineDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}


/* =====================================================
   HERO ENTRANCE ANIMATIONS
   ===================================================== */

/* Animation delays are handled in JS */

.hero-animated .hero__sub-content {
    animation: fadeSlideUp 0.8s ease 1.2s forwards;
}



/* Dramatic Impact Zoom for Container - Subtle Settle */
.hero-animated .hero__titan {
    animation: heroDramaticZoom 1.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    transform-style: preserve-3d;
    transform-origin: center center;
    will-change: transform, opacity;
}

@keyframes heroDramaticZoom {
    0% {
        opacity: 0;
        transform: scale(1.5);
        /* Increased container zoom */
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Updated Character Entrance - Ethereal Kinetic Slam (Direct Zoom, No Overshoot) */
.hero-animated .hero__titan-char {
    animation: titanCharKinetic 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: var(--delay, 0s);
    transform-origin: center center;
    /* will-change: transform, opacity, filter; - REMOVED globally to prevent memory issues, added specific mobile handling below */
}

@keyframes titanCharKinetic {
    0% {
        opacity: 0;
        transform: scale(8.0);
        /* Start EXTREMELY HUGE */
        filter: blur(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@media (max-width: 768px) {
    .hero-animated .hero__titan-char {
        animation-name: titanCharKineticMobile;
    }
}

@keyframes titanCharKineticMobile {
    0% {
        opacity: 0;
        transform: scale(4.0);
        /* 4x is plenty for mobile */
        filter: blur(10px);
        /* Reduced blur for performance */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLineDrop {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Bottom gradient fade */
.hero__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: 2;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: var(--space-20) var(--padding-sides) var(--space-32);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

@media (min-width: 1024px) {
    .about {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: var(--space-4);
    }
}

.about__tag {
    grid-column: 1 / 13;
    margin-bottom: var(--space-4);
}

.about__left {
    margin-top: var(--space-20);
}

@media (min-width: 1024px) {
    .about__left {
        margin-top: 0;
        grid-column: 1 / 6;
    }
}

.about__title {
    margin-bottom: var(--space-4);
}

.about__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--font-size-xxs);
    padding: var(--space-2) 0;
    margin-top: var(--space-8);
    margin-bottom: var(--space-12);
    transition: color var(--transition-base);
}

.about__link:hover {
    color: var(--color-text);
}

.about__link svg {
    transition: transform var(--transition-base);
}

.about__link:hover svg {
    transform: translateX(4px);
}

@media (min-width: 1024px) {
    .about__link {
        font-size: var(--font-size-xs);
    }
}

.about__right {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 500;
    /* Medium/Bold weight */
    color: var(--color-text);
}

.about__right strong {
    font-weight: 700;
    /* Bold for emphasis */
    color: #fff;
}

@media (min-width: 1024px) {
    .about__right {
        grid-column: 9 / 13;
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-sides);
    overflow: hidden;
}

.services__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateY(100%);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    /* Prevent overflow from transformed image */
}

@media (max-width: 768px) {
    .services {
        overflow: visible !important;
    }

    .services__bg {
        top: 35%;
        /* Push glow much lower on mobile as requested */
    }
}

.services__bg img {
    width: 100%;
    transform: scale(5);
    /* Much larger for mobile */
    transform-origin: center;
    animation: diamondPulseMobile 4s ease-in-out infinite;
    opacity: 0.25;
    will-change: opacity, transform;
}

@keyframes diamondPulseMobile {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(5);
        /* Much larger base scale */
    }

    50% {
        opacity: 0.5;
        transform: scale(6);
        /* Much larger pulse */
    }
}

@media (min-width: 640px) {
    .services__bg {
        transform: translateY(66.667%);
    }

    .services__bg img {
        transform: scale(4);
        animation-name: diamondPulseTablet;
    }
}

@keyframes diamondPulseTablet {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(4);
    }

    50% {
        opacity: 0.4;
        transform: scale(4.6);
    }
}

@media (min-width: 768px) {
    .services__bg {
        transform: translateY(30%);
    }

    .services__bg img {
        transform: scale(1.5);
        animation-name: diamondPulseDesktop;
    }
}

@keyframes diamondPulseDesktop {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1.5);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.725);
    }
}

@media (min-width: 1280px) {
    .services__bg img {
        transform: scale(1.15);
        animation-name: diamondPulseLarge;
    }
}

@keyframes diamondPulseLarge {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1.15);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.32);
    }
}

.services__inner {
    padding: var(--space-20) 0 var(--space-32);
}

@media (min-width: 1024px) {
    .services__inner {
        padding: var(--space-4) var(--space-4) var(--space-32);
    }
}

.services__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-12);
    text-align: center;
}

@media (min-width: 1024px) {
    .services__header {
        margin-bottom: var(--space-20);
    }
}

.services__title {
    margin-top: var(--space-4);
}

@media (min-width: 768px) {
    .services__title {
        max-width: 66.667%;
    }
}

/* Services Grid */
.services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    overflow: visible;
    /* Ensure no internal scrollbar */
}

@media (min-width: 640px) {
    .services__grid {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: var(--space-2);
    }
}

@media (min-width: 768px) {
    .services__grid {
        gap: var(--space-6);
        padding: 0 var(--space-4);
    }
}

/* Service Card - Premium Glass Redesign */
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

/* Labs-style Hover Glow */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, var(--color-primary), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 167, 72, 0.1);
}





.service-card__inner {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    gap: var(--space-4);
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2);
}

.service-card__number {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    /* Outline effect */
    opacity: 0.5;
    transition: all 0.4s ease;
}



.service-card__icon {
    width: 40px;
    height: 40px;
    color: #fff;
    opacity: 0.5;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}



.service-card__title {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-2);
}

.service-card__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.service-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

@media (min-width: 1024px) {
    .service-card__title {
        font-size: 1.75rem;
    }
}

/* =====================================================
   SERVICES GRID - LAYOUT: 1 FULL + 2x2 GRID + 1 FULL
   ===================================================== */

.services__grid--6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    overflow-y: hidden;
    /* Ensure global scroll only */
}

/* Card 1 (Influencer) - Full width */
.services__grid--6 .service-card:nth-child(1) {
    grid-column: span 2;
}

/* Cards 2-5 (Advertising, Website Design, Content, Press) - 2x2 grid */
.services__grid--6 .service-card:nth-child(2),
.services__grid--6 .service-card:nth-child(3),
.services__grid--6 .service-card:nth-child(4),
.services__grid--6 .service-card:nth-child(5) {
    grid-column: span 1;
}

/* Card 6 (Visiv Labs) - Full width */
.services__grid--6 .service-card:nth-child(6) {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .services__grid--6 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services__grid--6 .service-card:nth-child(1),
    .services__grid--6 .service-card:nth-child(6) {
        grid-column: span 1;
    }
}

/* =====================================================
   SERVICE CARDS - ELEGANT MINIMAL DESIGN
   ===================================================== */

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 240px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(212, 167, 72, 0.03) 0%,
            transparent 50%,
            rgba(59, 155, 217, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 167, 72, 0.12);
    transform: translateY(-4px);
}

.service-card__inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    position: relative;
    z-index: 1;
    justify-content: flex-start;
}

.service-card__main {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Elegant Number - Properly aligned with title */
.service-card__number {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 167, 72, 0.25);
    opacity: 0.6;
    transition: all 0.25s ease;
    flex-shrink: 0;
    display: inline-block;
    margin-top: -0.1em;
}

.service-card:hover .service-card__number {
    -webkit-text-stroke-color: rgba(212, 167, 72, 0.6);
    opacity: 0.9;
}

/* Title - Clean uppercase, aligned with number */
.service-card__title {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    transition: color 0.25s ease;
    white-space: normal;
    /* Allow wrapping */
    word-wrap: break-word;
}

.service-card:hover .service-card__title {
    color: #ffffff;
}

/* Description - Refined typography */
.service-card__desc {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1.05rem;
    /* Larger for better readability */
    line-height: 1.6;
    font-weight: 400;
    /* Regular weight, matching names better than Light */
    color: rgba(255, 255, 255, 0.7);
    /* Slightly brighter */
    max-width: 45ch;
    margin: 0;
    transition: color 0.25s ease;
}

.service-card:hover .service-card__desc {
    color: rgba(255, 255, 255, 0.75);
}

.service-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* =====================================================
   FULL-WIDTH CARDS - ENHANCED TYPOGRAPHY
   ===================================================== */

/* First card (Influencer) and last card (Visiv Labs) are full-width */
.services__grid--6 .service-card:nth-child(1),
.services__grid--6 .service-card:nth-child(6) {
    min-height: 320px;
}

@media (max-width: 768px) {

    .services__grid--6 .service-card:nth-child(1),
    .services__grid--6 .service-card:nth-child(6) {
        min-height: auto !important;
        height: auto !important;
    }
}

.services__grid--6 .service-card:nth-child(1) .service-card__inner,
.services__grid--6 .service-card:nth-child(6) .service-card__inner {
    padding: 3rem;
    justify-content: center;
}

.services__grid--6 .service-card:nth-child(1) .service-card__main,
.services__grid--6 .service-card:nth-child(6) .service-card__main {
    margin-bottom: 2rem;
}

/* Bigger number for full-width cards */
.services__grid--6 .service-card:nth-child(1) .service-card__number,
.services__grid--6 .service-card:nth-child(6) .service-card__number {
    font-size: 5rem;
    -webkit-text-stroke: 1px rgba(212, 167, 72, 0.35);
}

/* Bigger title for full-width cards */
.services__grid--6 .service-card:nth-child(1) .service-card__title,
.services__grid--6 .service-card:nth-child(6) .service-card__title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.05;
    white-space: normal;
    /* Allow wrapping */
}

/* Mobile Adjustments for Card Typography */
@media (max-width: 768px) {
    .service-card__title {
        font-size: 1.25rem;
        /* Smaller title on mobile */
    }

    .services__grid--6 .service-card:nth-child(1) .service-card__title,
    .services__grid--6 .service-card:nth-child(6) .service-card__title {
        font-size: 1.75rem;
        /* Smaller big title on mobile */
    }

    .services__grid--6 .service-card:nth-child(1) .service-card__number,
    .services__grid--6 .service-card:nth-child(6) .service-card__number {
        font-size: 3.5rem;
        /* Smaller big number on mobile */
    }

    .service-card__number {
        font-size: 2.5rem;
    }

    .service-card__inner {
        padding: 1.5rem;
        /* Reduce padding on mobile */
    }

    /* Stack number and title for ALL cards on mobile to prevent overflow */
    .service-card__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Fix content cropping on mobile */
    .service-card {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .service-card__inner {
        overflow: visible !important;
        height: auto !important;
        min-height: unset !important;
        padding: 1.5rem;
    }

    .service-card__desc {
        overflow: visible !important;
        display: block !important;
        max-width: none !important;
    }

    /* Ensure grid allows growth */
    .services__grid--6 {
        grid-auto-rows: auto !important;
    }
}

/* Bigger, wider description for full-width cards */
.services__grid--6 .service-card:nth-child(1) .service-card__desc,
.services__grid--6 .service-card:nth-child(6) .service-card__desc {
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 55ch;
    color: rgba(255, 255, 255, 0.65);
}

.services__grid--6 .service-card:nth-child(1):hover .service-card__desc,
.services__grid--6 .service-card:nth-child(6):hover .service-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

/* =====================================================
   CHROME/METALLIC CARD EFFECT - SHARED
   ===================================================== */
@property --rotate {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.service-card--metallic {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    /* Transparent/Glass like others */
    border: 1px solid rgba(212, 167, 72, 0.3);
    /* Brighter initial border */
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

/* Subtle metallic shine - dark version */
.service-card--metallic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%,
            rgba(212, 167, 72, 0.15) 0%,
            transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Horizontal metallic line - Larger */
.service-card--metallic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 167, 72, 0.6) 20%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(212, 167, 72, 0.6) 80%,
            transparent 100%);
    animation: metallicLine 3s ease-in-out infinite;
    z-index: 1;
    will-change: transform, opacity;
    /* OPTIMIZATION: Hint for GPU layer */
    transform: translateZ(0);
}

@keyframes metallicLine {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-100%) translateZ(0);
    }

    50% {
        opacity: 1;
        transform: translateX(100%) translateZ(0);
    }
}

/* Mobile: Much larger glow effect, smaller animation, no cropping */
@media (max-width: 768px) {
    .service-card--metallic::before {
        background: radial-gradient(ellipse 180% 120% at 50% -40%,
                rgba(212, 167, 72, 0.35) 0%,
                rgba(212, 167, 72, 0.15) 30%,
                transparent 70%);
    }

    .service-card--metallic::after {
        height: 2px;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(212, 167, 72, 0.3) 10%,
                rgba(255, 255, 255, 0.5) 50%,
                rgba(212, 167, 72, 0.3) 90%,
                transparent 100%);
    }

    .service-card--labs .service-card__title {
        /* OPTIMIZATION: Reduced shadow complexity for mobile */
        text-shadow:
            0 0 15px rgba(212, 167, 72, 0.3),
            0 0 30px rgba(212, 167, 72, 0.2);
    }

    .service-card--labs:hover .service-card__title {
        text-shadow:
            0 0 20px rgba(212, 167, 72, 0.4),
            0 0 40px rgba(212, 167, 72, 0.3);
    }

    /* Much larger card glow */
    .service-card--metallic {
        /* OPTIMIZATION: Reduced box-shadow blur radius */
        box-shadow:
            0 0 30px rgba(212, 167, 72, 0.15),
            inset 0 0 30px rgba(212, 167, 72, 0.05);
    }

    .service-card--metallic:hover {
        box-shadow:
            0 0 40px rgba(212, 167, 72, 0.2),
            inset 0 0 40px rgba(212, 167, 72, 0.08);
    }

    /* Ensure no content cropping */
    .service-card {
        min-height: 220px;
        overflow: visible;
        will-change: transform;
        /* OPTIMIZATION: Promote card to layer */
        transform: translateZ(0);
    }

    .service-card__inner {
        overflow: visible;
    }
}



/* Labs card text - now clearly visible on dark bg */
.service-card--labs .service-card__number {
    -webkit-text-stroke: 1px rgba(212, 167, 72, 0.6);
    opacity: 0.8;
}

.service-card--labs:hover .service-card__number {
    -webkit-text-stroke: 1px rgba(212, 167, 72, 1);
    opacity: 1;
}

.service-card--labs .service-card__title {
    color: #ffffff;
    text-shadow: 0 0 30px rgba(212, 167, 72, 0.3);
}

.service-card--labs .service-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--labs:hover .service-card__title {
    text-shadow: 0 0 40px rgba(212, 167, 72, 0.5);
}





/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-20) var(--padding-sides) var(--space-24);
    position: relative;
    z-index: 3;
    overflow-x: hidden;
}

@media (min-width: 1024px) {
    .faq {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: var(--space-5);
    }
}

.faq__tag {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .faq__tag {
        grid-column: 1 / 12;
    }
}

.faq__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    overflow: hidden;
    padding: var(--space-2) 0;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .faq__title {
        grid-column: 1 / 12;
    }
}

.faq__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: var(--space-12);
}

@media (min-width: 1024px) {
    .faq__subtitle {
        margin-bottom: var(--space-20);
        grid-column: 1 / 8;
    }
}

@media (min-width: 1280px) {
    .faq__subtitle {
        grid-column: 1 / 6;
    }
}

.faq__list {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .faq__list {
        grid-column: 6 / 13;
        grid-row: 3;
    }
}

@media (min-width: 1280px) {
    .faq__list {
        grid-row: 3;
    }
}

/* FAQ Item */
.faq-item {
    border-top: 1px solid var(--color-dark-20);
    border-bottom: 1px solid var(--color-dark-20);
    overflow: hidden;
    margin-bottom: -1px;
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    text-align: left;
    padding: var(--space-4);
    color: #FFFFFF;
    font-weight: 500;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: #D4A748;
}

.faq-item__icon {
    flex-shrink: 0;
    transition: transform var(--transition-slow) ease-in-out;
    color: var(--color-text-muted);
}

.faq-item.open .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    visibility: hidden;
}

.faq-item.open .faq-item__answer {
    max-height: 800px;
    overflow: visible;
    visibility: visible;
}

.faq-item.open .faq-item__answer-content {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    visibility: visible !important;
    content-visibility: visible !important;
}

.faq-item__answer-content {
    padding: var(--space-4);
    font-size: 1rem !important;
    color: #FFFFFF !important;
    line-height: 1.8;
    visibility: visible;
    animation: none;
    opacity: 1;
    content-visibility: visible;
}

.faq-item__answer-content p {
    margin-bottom: var(--space-3);
    color: #FFFFFF !important;
}

.faq-item__answer-content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    position: relative;
    padding-top: var(--space-16);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section {
        padding-top: var(--space-32);
    }
}

.cta-section__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section__inner {
    position: relative;
    padding: var(--space-16) var(--padding-sides) var(--space-36);
}

@media (min-width: 1024px) {
    .cta-section__inner {
        padding: var(--space-20) var(--padding-sides) var(--space-36);
    }
}

.cta-section__card {
    max-width: var(--max-width);
    margin: 0 auto;
    background: radial-gradient(at 33% 0%, transparent 0%, rgba(6, 6, 6, 0.4) 55%, rgba(0, 0, 0, 0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-dark-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-32) var(--space-4);
}

@media (max-width: 768px) {
    .cta-section__card {
        /* PERFORMANCE: Disable blur on mobile */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: radial-gradient(at 33% 0%, rgba(6, 6, 6, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
        border: 1px solid var(--color-dark-20);
    }
}

@media (min-width: 1024px) {
    .cta-section__card {
        padding: var(--space-32) var(--space-16);
    }
}

.cta-section__title {
    text-align: center;
    max-width: 600px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.2rem 3.2rem;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.liquid-metal-btn {
    min-width: 180px;
    height: 52px;
}

.liquid-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.liquid-metal-btn:hover .liquid-container {
    opacity: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Button Outline/Border Effect */
.liquid-metal-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent, rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.btn--primary {
    color: white;
}

.btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn svg {
    position: relative;
    z-index: 2;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn--large {
    padding: 2rem 5rem;
    font-size: var(--font-size-m);
}

/* =====================================================
   LIQUID METAL FALLBACK (when shaders fail to load)
   ===================================================== */
.liquid-metal-fallback {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    position: relative;
    overflow: hidden;
}

.liquid-metal-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.liquid-metal-fallback:hover::before {
    opacity: 1;
}

.liquid-metal-fallback .liquid-container {
    display: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: var(--space-12) var(--padding-sides) var(--space-4);
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .footer {
        display: flex;
        flex-direction: column;
    }
}

/* Footer Logo */
.footer__logo {
    margin-bottom: var(--space-20);
}

@media (min-width: 1024px) {
    .footer__logo {
        margin-bottom: 0;
        margin-top: var(--space-20);
        order: 3;
    }
}

.footer__logo svg {
    width: 100%;
    height: auto;
    display: block;
    margin: var(--space-4) 0 var(--space-8);
}

/* =====================================================
   FOOTER CONTENT - REDESIGNED CLEAN LAYOUT
   ===================================================== */

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (min-width: 1024px) {
    .footer__content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 6rem;
        padding: 0;
    }
}

/* Footer CTA - Left Column */
.footer__cta {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .footer__cta {
        grid-column: 1 / 2;
        padding-right: 2rem;
    }
}

.footer__cta-title {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 400;
}

.footer__cta-title p {
    margin: 0;
}

/* Footer Navigation Sections */
.footer__nav,
.footer__contact,
.footer__social {
    min-width: 0;
}

.footer__nav-title,
.footer__contact-title,
.footer__social-title {
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

/* Footer Nav Lists */
.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-link,
.footer__contact-link,
.footer__social-link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}

.footer__nav-link:hover,
.footer__contact-link:hover,
.footer__social-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Contact Section */
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact-link {
    margin-bottom: 0.25rem;
}

/* Social Section */
.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer Bottom */
.footer__bottom {
    margin: var(--space-4) 0;
    padding-top: var(--space-4);
}

@media (min-width: 1024px) {
    .footer__bottom {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        order: 3;
        margin-bottom: var(--space-12);
        margin-top: var(--space-8);
    }
}

.footer__bottom-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

@media (min-width: 1024px) {
    .footer__bottom-links {
        flex-direction: row;
        gap: var(--space-8);
        grid-column: 6 / 13;
        justify-content: flex-end;
    }
}

.footer__bottom-link {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    transition: color var(--transition-base);
}

.footer__bottom-link:hover {
    color: var(--color-text-muted);
}

.footer__copyright {
    margin-top: var(--space-10);
    font-size: var(--font-size-xs);
    text-align: center;
}

@media (min-width: 1024px) {
    .footer__copyright {
        margin-top: 0;
        text-align: left;
        grid-column: 1 / 4;
        grid-row: 1;
        color: var(--color-text-subtle);
    }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
[data-animate="item"]:nth-child(1) {
    transition-delay: 0ms;
}

[data-animate="item"]:nth-child(2) {
    transition-delay: 100ms;
}

[data-animate="item"]:nth-child(3) {
    transition-delay: 200ms;
}

[data-animate="item"]:nth-child(4) {
    transition-delay: 300ms;
}

[data-animate="item"]:nth-child(5) {
    transition-delay: 400ms;
}

[data-animate="item"]:nth-child(6) {
    transition-delay: 500ms;
}

/* Title animation */
[data-animate="title"] {
    opacity: 0;
    transform: translateY(40px);
}

[data-animate="title"].visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }

    .sm\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }

    .lg\:hidden {
        display: none;
    }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   UI/UX PRO MAX - PREMIUM COMPONENTS
   ===================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(212, 167, 72, 0.1), rgba(0, 0, 0, 0));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.feature-card__title {
    font-size: var(--font-size-m);
    font-weight: 600;
    color: var(--color-text);
}

.feature-card__text {
    font-size: var(--font-size-s);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Process Timeline Section */
.process-section {
    position: relative;
    padding: var(--space-20) 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    z-index: 0;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .process-steps::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.step-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-6);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .step-card {
        grid-template-columns: 1fr 48px 1fr;
        align-items: center;
    }

    .step-card:nth-child(even) .step-card__content {
        order: -1;
        text-align: right;
    }

    .step-card:nth-child(odd) .step-card__content {
        order: 1;
        text-align: left;
    }

    .step-card:nth-child(even) .step-card__spacer {
        order: 1;
    }
}

.step-card__number {
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: 0 0 30px rgba(212, 167, 72, 0.15);
    font-family: var(--font-family);
}

@media (min-width: 768px) {
    .step-card__number {
        margin: 0 auto;
    }
}

.step-card__content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-base);
}

.step-card:hover .step-card__content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.step-card__title {
    font-size: var(--font-size-l);
    margin-bottom: var(--space-3);
    color: var(--color-text);
    font-weight: 500;
}

.step-card__desc {
    color: var(--color-text-muted);
    font-size: var(--font-size-s);
    line-height: 1.6;
}

/* =====================================================
   PHASE 15: 3D ASSETS (CSS PURE)
   ===================================================== */
.asset-3d-wrapper {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1 / 3;
    place-self: end;
}

.asset-3d-wrapper--large {
    max-width: 100%;
    max-height: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 70%);
    border-radius: var(--radius-md);
    transform: none;
    /* Reset grid placement */
}

.asset-3d-wrapper--large .asset-3d-scene {
    transform: scale(1.8) rotateX(15deg) rotateY(-20deg);
}


.asset-3d-scene {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-25deg);
    transition: transform 0.5s ease;
}

.service-card:hover .asset-3d-scene {
    transform: rotateX(10deg) rotateY(-15deg) scale(1.05);
}

.service-card:hover .layer-3 {
    transform: translateZ(30px);
}

.service-card:hover .window-floating {
    transform: translateZ(60px) rotate(10deg);
}

.service-card:hover .bracket {
    transform: translateZ(50px) rotateZ(0deg);
}

.service-card:hover .cube {
    transform: rotateX(-10deg) rotateY(65deg);
}

/* Common Glass Style */
.asset-glass {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* -- ASSET 1: BRANDING (Floating Layers) -- */
.asset-branding .layer-1,
.asset-branding .layer-2,
.asset-branding .layer-3 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.asset-branding .layer-1 {
    transform: translateZ(-20px);
    opacity: 0.4;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
}

.asset-branding .layer-2 {
    transform: translateZ(0px);
    opacity: 0.7;
}

.asset-branding .layer-3 {
    transform: translateZ(20px);
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 15px rgba(212, 167, 72, 0.2);
}

.asset-branding-logo {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(212, 167, 72, 0.4);
}

/* -- ASSET 2: WEB DESIGN (Tilted Interface) -- */
.asset-design .window-frame {
    width: 140px;
    height: 100px;
    top: 10px;
    left: -10px;
    transform: rotateY(15deg);
}

.asset-design .window-header {
    height: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 6px;
    padding: 0 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
}

.asset-design .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.asset-design .dot:nth-child(1) {
    background: #ff5f56;
}

.asset-design .dot:nth-child(2) {
    background: #ffbd2e;
}

.asset-design .dot:nth-child(3) {
    background: #27c93f;
}

.asset-design .content-block {
    margin: 12px 10px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 60%;
}

.asset-design .content-block:nth-child(3) {
    width: 80%;
}

.asset-design .content-image {
    margin: 0 10px;
    height: 40px;
    width: 85%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.asset-design .window-floating {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -15px;
    right: -25px;
    transform: translateZ(40px);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0.8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

/* -- ASSET 3: DEVELOPMENT (Code Block) -- */
.asset-dev .terminal {
    width: 140px;
    height: 110px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    transform: rotateY(-10deg);
    padding: 15px;
}

.asset-dev .code-line {
    height: 4px;
    margin-bottom: 8px;
    background: var(--color-primary);
    width: 0;
    animation: typeLine 2s steps(10) infinite;
    opacity: 0.8;
    border-radius: 2px;
}

.asset-dev .code-line:nth-child(1) {
    width: 30%;
    animation: none;
}

.asset-dev .code-line:nth-child(2) {
    animation-delay: 0.2s;
    width: 60%;
}

.asset-dev .code-line:nth-child(3) {
    animation-delay: 0.5s;
    width: 40%;
}

.asset-dev .code-line:nth-child(4) {
    animation-delay: 0.8s;
    width: 70%;
}

@keyframes typeLine {
    0% {
        width: 0;
        opacity: 1;
    }

    50% {
        width: 50%;
        opacity: 1;
    }

    90% {
        width: 50%;
        opacity: 0;
    }

    100% {
        width: 0;
        opacity: 0;
    }
}

.asset-dev .bracket {
    position: absolute;
    right: -25px;
    bottom: -15px;
    font-size: 80px;
    color: white;
    font-family: monospace;
    transform: translateZ(40px) rotateZ(-15deg);
    text-shadow: 0 0 20px var(--color-primary);
    font-weight: 300;
    transition: transform 0.5s ease;
}

/* -- ASSET 4: ECOMMERCE (3D Box) -- */
.asset-ecom .cube {
    width: 70px;
    height: 70px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(45deg);
    top: 20px;
    transition: transform 0.5s ease;
}

.asset-ecom .face {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-primary);
    /* opacity: 0.8; */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.asset-ecom .front {
    transform: translateZ(35px);
}

.asset-ecom .back {
    transform: rotateY(180deg) translateZ(35px);
}

.asset-ecom .right {
    transform: rotateY(90deg) translateZ(35px);
}

.asset-ecom .left {
    transform: rotateY(-90deg) translateZ(35px);
}

.asset-ecom .top {
    transform: rotateX(90deg) translateZ(35px);
    background: var(--color-primary);
    opacity: 0.3;
}

.asset-ecom .bottom {
    transform: rotateX(-90deg) translateZ(35px);
}

.asset-ecom .tag {
    position: absolute;
    top: -40px;
    right: -30px;
    padding: 6px 12px;
    background: var(--color-primary);
    color: black;
    font-weight: bold;
    font-size: 11px;
    transform: translateZ(50px) rotateY(-10deg);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* =====================================================
   LIQUID GLASS & METAL STYLES (REDESIGN)
   ===================================================== */

/* Liquid Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    /* Optional: Enable the frosted liquid distortion if supported */
    /* backdrop-filter: url(#frosted); */
    /* -webkit-backdrop-filter: url(#frosted); */
}

/* Apply SVG filter on hover for that 'liquid' feel if supported */
.glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(212, 167, 72, 0.15);
    transform: translateY(-2px);
}

/* Liquid Metal Buttons - Universal Style */
.liquid-metal-btn,
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.03) !important;
    /* Glass background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff !important;
    /* White text */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.liquid-metal-btn:hover,
.btn:hover {
    border-color: var(--color-primary-light) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    /* Slightly brighter glass on hover */
    box-shadow: 0 0 25px rgba(212, 167, 72, 0.2), inset 0 0 10px rgba(212, 167, 72, 0.1);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.liquid-metal-btn::before,
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.liquid-metal-btn:hover::before,
.btn:hover::before {
    width: 300%;
    height: 300%;
    opacity: 0.2;
}

/* Cleanup old container if present but redundant now */
.liquid-metal-btn .liquid-container {
    display: none;
}

.liquid-metal-btn .btn-text,
.liquid-metal-btn svg,
.btn span,
.btn svg {
    position: relative;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}




.liquid-metal-btn:hover .liquid-container {
    width: 300%;
    height: 300%;
    opacity: 0.2;
}

.liquid-metal-btn .btn-text,
.liquid-metal-btn svg {
    position: relative;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.liquid-metal-btn:hover .btn-text {
    color: var(--color-primary-light);
}

/* Service Card Redesign */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    position: relative;
    padding: var(--space-6);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.service-card__number {
    font-family: 'Acumin Pro', sans-serif;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    opacity: 0.5;
    line-height: 1;
}

.service-card__title {
    font-family: 'Acumin Pro', sans-serif;
    font-size: var(--font-size-2xl);
    font-weight: 500;
    color: var(--color-text);
    margin-right: auto;
    margin-left: var(--space-4);
    margin-top: 0.5rem;
}

.service-card__desc {
    font-size: var(--font-size-m);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    flex-grow: 1;
}

.service-card__icon {
    align-self: flex-end;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon {
    transform: translateX(5px) translateY(-5px);
}

.service-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}




/* =====================================================
   FOUNDERS SECTION (The Visionaries) - Minimalist
   ===================================================== */
.founders {
    position: relative;
    padding-bottom: var(--space-24);
    /* More breathing room */
    overflow: visible;
    /* Ensure global scroll only */
}

.founders__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 900px) {
    .founders__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-16);
        /* Massive gap for minimalist separation */
    }
}

.founder-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    /* Prevent local scrollbars */
    /* Clean layout, no glass background */
    background: transparent;
    border-radius: 0;
    /* Sharp corners or very subtle radius if preferred */
    min-height: 500px;
    /* Tall and imposing */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle divider instead of box border */
    transition: transform 0.4s ease;
}

@media (min-width: 600px) {
    .founder-card {
        flex-direction: column;
        /* Stacked vertical card for minimalist impact */
    }

    .founder-card__content {
        padding-left: 0;
        padding-right: 0;
    }
}

.founder-card:hover {
    transform: translateY(-5px);
}

/* Image Container */
.founder-card__image {
    width: 100%;
    max-width: 550px;
    /* Limit size as requested - Increased */
    margin: 0 auto;
    /* Center it since it's smaller */
    aspect-ratio: 4/5;
    /* Portrait format */
    background-color: #111;
    /* Plain dark bg */
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
    .founder-card__image {
        max-width: 380px;
        /* Reduced for desktop */
    }
}

/* Removed the decorative ::before pattern */

.founder-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Classic B&W */
    transition: filter 0.6s ease, transform 0.8s ease;
    opacity: 0.8;
}

.founder-card:hover .founder-card__image img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

/* Content Container */
.founder-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--space-4);
    /* Align text with the centered photo */
    align-items: center;
    text-align: center;
}

/* Removed Vertical Gold Accent Line ::before */

.founder-card__role {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.founder-card__name {
    font-family: 'Acumin Pro', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* MASSIVE */
    font-weight: 500;
    margin-bottom: var(--space-4);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
}

.founder-card__bio {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 45ch;
}

/* Removed hover spotlight effect */


/* =====================================================
   KINETIC 3D BACKGROUND (Chi Siamo)
   ===================================================== */
.about {
    position: relative;
    overflow: hidden;
    /* Ensure 3D elements don't spill */
}

.about__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    pointer-events: none;
    perspective: 1000px;
    opacity: 0.6;
    /* Tasteful subtlety */
}

.kinetic-globe {
    position: absolute;
    top: 50%;
    left: 75%;
    /* Positioned to the right side */
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--rotate-x, 15deg)) rotateY(var(--rotate-y, 15deg));
    transition: transform 0.1s linear;
    /* Smooth mouse follow */
}

/* Rings */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(212, 167, 72, 0.05);
}

.ring-1 {
    width: 600px;
    height: 600px;
    border-color: rgba(255, 255, 255, 0.08);
    animation: rotateRing1 20s linear infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(212, 167, 72, 0.4);
    /* Gold Accent */
    animation: rotateRing2 25s linear infinite reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-color: rgba(255, 255, 255, 0.1);
    animation: rotateRing3 15s linear infinite;
}

.ring-4 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(212, 167, 72, 0.2);
    /* Inner Gold */
    animation: rotateRing2 10s linear infinite;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px var(--color-primary);
    animation: pulseCore 3s ease-in-out infinite;
}

/* Keyframes */
@keyframes rotateRing1 {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
    }
}

@keyframes rotateRing2 {
    0% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(360deg);
    }
}

@keyframes rotateRing3 {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

@keyframes pulseCore {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}




/* =====================================================
   KINETIC 3D BACKGROUND (Chi Siamo)
   ===================================================== */
.about {
    position: relative;
    overflow: hidden;
    /* Ensure 3D elements don't spill */
}

.about__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    pointer-events: none;
    perspective: 1000px;
    opacity: 0.6;
    /* Tasteful subtlety */
}

.kinetic-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centered */
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(var(--rotate-x, 15deg)) rotateY(var(--rotate-y, 15deg));
    transition: transform 0.1s linear;
    width: 600px;
    height: 600px;
    /* Smooth mouse follow */
}

/* About Right Section Refactor - Editorial Style */
.about__right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding-left: 0;
    will-change: transform;
    /* Promote to layer for smoother scroll */
    transform: translateZ(0);
    /* Force hardware acceleration */
}

@media (min-width: 1024px) {
    .about__right {
        padding-left: 2rem;
    }
}

/* Key Stat */
.about__editorial-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-display {
    font-family: 'Acumin Pro', sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    /* Massive, editorial */
    font-weight: 300;
    /* Light weight for elegance */
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--color-text);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-context {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 600;
    max-width: 30ch;
}

/* Divider */
.editorial-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-primary);
    opacity: 0.5;
}

/* Content */
.about__editorial-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* List */
.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.editorial-list li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 1.5rem;
    position: relative;
}

.editorial-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    transform: rotate(45deg);
    /* Diamond bullet */
    opacity: 0.8;
}

.editorial-list strong {
    color: #fff;
    font-weight: 500;
}

.about__closing {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 1rem;
}

/* Rings */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(212, 167, 72, 0.05);
}

.ring-1 {
    width: 600px;
    height: 600px;
    border-color: rgba(255, 255, 255, 0.08);
    animation: rotateRing1 20s linear infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(212, 167, 72, 0.4);
    /* Gold Accent */
    animation: rotateRing2 25s linear infinite reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-color: rgba(255, 255, 255, 0.1);
    animation: rotateRing3 15s linear infinite;
}

.ring-4 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(212, 167, 72, 0.2);
    /* Inner Gold */
    animation: rotateRing2 10s linear infinite;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px var(--color-primary);
    animation: pulseCore 3s ease-in-out infinite;
}

/* Keyframes */
@keyframes rotateRing1 {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
    }
}

@keyframes rotateRing2 {
    0% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(360deg);
    }
}

@keyframes rotateRing3 {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

@keyframes pulseCore {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .kinetic-globe {
        opacity: 0.65;
        /* Balanced opacity on mobile */
        left: 50%;
    }

    /* Thinner rings on mobile */
    .ring {
        border-width: 1px;
        box-shadow: 0 0 15px rgba(212, 167, 72, 0.1);
    }

    .ring-1 {
        border-color: rgba(255, 255, 255, 0.15);
        border-width: 1px;
    }

    .ring-2 {
        border: 1px dashed rgba(212, 167, 72, 0.5);
    }

    .ring-3 {
        border-color: rgba(255, 255, 255, 0.2);
        border-width: 1px;
    }

    .ring-4 {
        border: 1px solid rgba(212, 167, 72, 0.3);
    }

    .core {
        width: 18px;
        height: 18px;
        box-shadow: 0 0 30px var(--color-primary);
    }
}

/* =====================================================
   GLOBAL OVERFLOW PROTECTION
   ===================================================== */

/* Ensure all major sections don't cause horizontal scroll */
section,
article,
main,
.stack-section,
.hero-premium,
.stack-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent any image from causing overflow */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Ensure grid and flex containers don't overflow */
[class*="grid"],
[class*="flex"] {
    max-width: 100%;
}

/* Universal box-sizing protection */
[class*="content"] {
    max-width: 100%;
}

/* =====================================================
   STANDARDIZED DESCRIPTION TYPOGRAPHY
   Aligned with Founder Names (Acumin Pro, Regular Weight)
   ===================================================== */
.hero__tagline,
.about__text,
.faq-item__answer-content p,
.footer__cta-title p {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

*,
*::before,
*::after {
    max-width: 100vw;
}

/* =====================================================
   EMERGENCY MOBILE FIX - PREVENT CONTENT CROPPING
   ===================================================== */

@media (max-width: 768px) {

    /* Force all service cards to show full content */
    .services .service-card,
    .services__grid .service-card,
    .services__grid--6 .service-card,
    [class*="service-card"] {
        min-height: unset !important;
        max-height: unset !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Force inner containers to expand */
    .services .service-card__inner,
    [class*="service-card__inner"] {
        min-height: unset !important;
        height: auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Force descriptions to be fully visible */
    .services .service-card__desc,
    [class*="service-card__desc"] {
        overflow: visible !important;
        display: block !important;
        max-width: none !important;
        max-height: none !important;
        white-space: normal !important;
    }

    /* Ensure sections don't clip content */
    .services,
    .services__inner,
    .services__grid,
    .services__grid--6 {
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }

    /* Fix for founders image overflow on mobile */
    .founder-card__image {
        overflow: hidden !important;
        overflow-y: hidden !important;
    }
}