/* ========================================
   SYNCORE AUTOMATIONS - STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-black: #000000;
    --color-black-light: #0a0a0a;
    --color-black-lighter: #121212;
    --color-white: #FFFFFF;
    --color-gray-light: #E5E5E5;
    --color-gray: #B3B3B3;
    --color-gray-dark: #666666;
    --color-border: rgba(255, 255, 255, 0.50);
    --color-border-hover: rgba(255, 255, 255, 0.35);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    --text-7xl: 4.5rem;
    --text-display: 7.5rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.875rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-4xl: 5rem;
    --space-5xl: 7rem;
    
    /* Layout */
    --header-height: 72px;
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --duration-normal: 0.3s;
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Colors - Primary */
    --color-primary: #6366F1;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Mobile Variables */
@media (max-width: 640px) {
    :root {
        --header-height: 56px;
        --container-padding: 1rem;
        --text-display: 2rem;
        --text-7xl: 1.75rem;
        --text-6xl: 1.5rem;
        --text-5xl: 1.25rem;
        --text-4xl: 1.125rem;
        --text-3xl: 1rem;
        --text-2xl: 0.938rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }
}

/* ========================================
   RESET & BASE
   ======================================== */

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* Prevent overscroll bounce - desktop only (breaks scroll chaining on mobile Chrome) */
@media (min-width: 641px) {
    body {
        overscroll-behavior: none;
        overscroll-behavior-y: none;
    }
}

/* Body loaded state - enables smooth scroll after initial paint for better first-scroll performance */
@media (min-width: 1025px) {
    body.loaded {
        scroll-behavior: smooth;
    }
}

/* Custom Scrollbar - aesthetic: black track with thin white thumb */
/* WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-white);
    border-radius: 9999px;
    border: 2px solid var(--color-black);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-white) var(--color-black);
}

/* Smooth scroll handled via body.loaded class for better first-paint performance */

/* Mobile overflow prevention */
@media (max-width: 640px) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
    }
    
    img, video, iframe, canvas, svg {
        max-width: 100%;
        height: auto;
    }
}

/* Grain Texture Overlay - Optimized (hidden on mobile) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMCCgkGBQQjxBYmAAAASklEQVQ4y2MYBaNg2AJmJgYGJkEGBgZBRgYGRiYGBkZmBgYmFgYGZlYGBlY2BgZ2DgYGTi4GBi5uBgYeXgYGPn4GBoH/owAZAADEDRyMVQ3ZHQAAAABJRU5ErkJggg==");
    background-repeat: repeat;
    contain: strict;
    will-change: auto;
}

/* Hide grain texture on mobile for better performance */
@media (max-width: 1024px) {
    body::before {
        display: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* Selection */
::selection {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

.section {
    padding: var(--space-5xl) 0;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    scroll-margin-top: 100px;
}

@media (max-width: 640px) {
    .section {
        padding: var(--space-3xl) 0;
        content-visibility: auto;
        contain-intrinsic-size: auto 500px;
        scroll-margin-top: 80px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

/* Section Headers */
.section__header {
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.section__label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.section__title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

@media (max-width: 640px) {
    .section__header {
        margin-bottom: var(--space-xl);
    }
    
    .section__title {
        font-size: var(--text-2xl);
        word-break: break-word;
        line-height: 1.2;
    }
    
    .section__label {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    box-shadow: 0 0 0 0 var(--color-black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover {
        transform: translate3d(-2px, -4px, 0);
        box-shadow: 2px 5px 0 0 var(--color-black);
    }
}

.btn--primary:active {
    transform: translate3d(1px, 2px, 0);
    box-shadow: 0 0 0 0 var(--color-black);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-border);
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .btn--outline:hover {
        border-color: var(--color-white);
        transform: translateY(-2px);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .btn--outline:active {
        border-color: var(--color-white);
        transform: scale(0.97);
    }
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

@media (max-width: 640px) {
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }
    
    .btn--large {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-xs);
    }
}

/* Shine Effect */
.btn--shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn--shine:hover::before {
    left: 100%;
}

/* Mobile Touch Feedback */
@media (max-width: 1024px) {
    .btn:active {
        transform: scale(0.98);
    }
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Wrapper - GPU Optimized */
.header__wrapper {
    --scroll-progress: 0;
    max-width: 100%;
    margin: 0;
    border: 1px solid transparent;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Pre-create blur layer with 0 blur to avoid first-scroll jank */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 0.15s ease-out, -webkit-backdrop-filter 0.15s ease-out;
}

@media (min-width: 1025px) {
    .header__wrapper {
        animation: none;
    }
    
    .header__logo {
        animation: dropInBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
        opacity: 0;
    }
    
    .header__nav {
        animation: dropInBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
        opacity: 0;
    }
    
    .header__cta {
        animation: dropInBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .header__wrapper {
        animation: fadeInDown 0.6s ease forwards;
    }
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =========================
   DESKTOP STYLES (Scroll-controlled)
   ========================= */
@media (min-width: 1025px) {
    .header__wrapper {
        /* Interpolate values based on --scroll-progress (0 to 1) */
        /* Background: transparent → rgba(10,10,10,0.95) */
        background-color: rgba(10, 10, 10, calc(var(--scroll-progress) * 0.95));
        
        /* Max-width: 100% → 1000px (using calc with viewport) */
        max-width: calc(100% - (var(--scroll-progress) * (100% - 1000px)));
        
        /* Margin: 0 → 8px auto */
        margin: calc(var(--scroll-progress) * 8px) auto;
        
        /* Border radius: 0 → 9999px */
        border-radius: calc(var(--scroll-progress) * 9999px);
        
        /* Border color: transparent → border color */
        border-color: rgba(255, 255, 255, calc(var(--scroll-progress) * 0.1));
        
        /* Padding: 0 → 16px */
        padding: 0 calc(var(--scroll-progress) * 16px);
        
        /* GPU acceleration */
        contain: layout style;
    }
    
    /* Backdrop blur: use class toggle for better performance */
    .header.scrolled .header__wrapper {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .header__container {
        /* Height: 64px → 56px */
        height: calc(64px - (var(--scroll-progress) * 8px));
    }
}

/* =========================
   MOBILE STYLES
   ========================= */
@media (max-width: 1024px) {
    /* Mobile: Solid background (no blur for performance) */
    .header__wrapper {
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        will-change: auto;
        animation: none;
    }
    
    .header__container {
        height: 56px;
    }
}

/* Logo - Header */
.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header__logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.logo-text {
    font-size: var(--text-base);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-subtext {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.header__logo:hover {
    opacity: 0.8;
}

@media (min-width: 1025px) {
    .header__logo:hover {
        transform: translateY(-1px);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .header__logo-img {
        height: 24px;
    }
    
    .header__logo-text {
        gap: 1px;
    }
    
    .logo-text {
        font-size: var(--text-sm);
        letter-spacing: 0.1em;
    }
    
    .logo-subtext {
        font-size: 0.5rem;
        letter-spacing: 0.15em;
    }
}

/* Navigation - Desktop */
.header__nav {
    display: none;
}

@media (min-width: 1025px) {
    .header__nav {
        display: block;
    }
    
    .nav__list {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
    
    .nav__link {
        font-size: var(--text-xs);
        font-weight: 500;
        color: var(--color-gray);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: var(--space-sm) var(--space-xs);
        position: relative;
        transition: color 0.3s ease, transform 0.3s ease;
    }
    
    /* Active indicator - elegant underline */
    .nav__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-white), transparent);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav__link:hover {
        color: var(--color-white);
    }
    
    .nav__link:hover::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .nav__link.active {
        color: var(--color-white);
    }
    
    .nav__link.active::after {
        transform: translateX(-50%) scaleX(0.5);
        background: var(--color-white);
    }
}

/* CTA Button - Desktop */
.header__cta {
    display: none;
}

@media (min-width: 1025px) {
    .header__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background-color: transparent;
        color: var(--color-white);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-full);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        z-index: 1;
        transition: color 0.3s ease, border-color 0.3s ease;
    }
    
    .header__cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--color-white);
        border-radius: var(--radius-full);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
        z-index: -1;
    }
    
    .header__cta:hover {
        color: var(--color-black);
        border-color: var(--color-white);
    }
    
    .header__cta:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* Language Toggle - Desktop */
.header__lang-toggle {
    display: none;
}

@media (min-width: 1025px) {
    .header__lang-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        background-color: transparent;
        color: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-full);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        z-index: 1;
        transition: color 0.3s ease, border-color 0.3s ease;
        font-family: inherit;
    }

    .header__lang-toggle::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--color-white);
        border-radius: var(--radius-full);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
        z-index: -1;
    }

    .header__lang-toggle:hover {
        color: var(--color-black);
        border-color: var(--color-white);
    }

    .header__lang-toggle:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* Language Toggle - Mobile */
.header__lang-toggle-mobile {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.header__lang-toggle-mobile:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger - Mobile */
.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 6px;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.header__hamburger:active {
    background-color: rgba(255, 255, 255, 0.05);
}

.hamburger__line {
    display: block;
    width: 20px;
    height: 1.5px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    transition: 
        transform var(--transition-base),
        opacity var(--transition-fast);
}

/* Hamburger active state - X */
.header__hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}

.header__hamburger.active .hamburger__line:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 1025px) {
    .header__hamburger {
        display: none;
    }
}

/* ========================================
   MOBILE NAVIGATION (Animated expansion)
   ======================================== */

.mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.menu-open .mobile-nav {
    max-height: calc(100vh - 56px);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    padding: var(--space-md) var(--space-md) var(--space-xl);
    gap: var(--space-xs);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    
    /* Animation properties */
    opacity: 0;
    transform: translateX(-12px);
    transition: 
        opacity 0.25s ease,
        transform 0.25s ease,
        color var(--transition-fast),
        background-color var(--transition-fast);
    /* transition-delay is set via JS */
}

/* Show links when menu is open */
.header.menu-open .mobile-nav__link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    transition: height var(--transition-base);
}

.mobile-nav__link:active {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav__link.active {
    color: var(--color-white);
}

.mobile-nav__link.active::before {
    height: 20px;
}

.mobile-nav__cta {
    margin-top: var(--space-md);
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
}

.mobile-nav__cta:active {
    background-color: var(--color-gray-light);
}

.mobile-nav__cta.active::before {
    display: none;
}

@media (min-width: 1025px) {
    .mobile-nav {
        display: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    padding-bottom: var(--space-xl);
    contain: layout style;
}

/* Grid Background - GPU Optimized */
.hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    contain: strict;
    will-change: auto;
    transform: translateZ(0);
}

/* Vignette Overlay - GPU Optimized */
.hero__vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    contain: strict;
    will-change: auto;
}

/* Content Container */
.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--container-padding);
    max-width: 900px;
    contain: layout style;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gray-light);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.05s;
    opacity: 0;
    transform: translateZ(0);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .hero__badge:hover {
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.06);
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .hero__badge:active {
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.06);
        transform: scale(0.98);
    }
}

/* Title */
.hero__title {
    margin-bottom: var(--space-xl);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
}

/* Explicit H1 font-size to avoid deprecated behavior */
section h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.hero__phrase {
    display: block;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--color-white);
    opacity: 0;
    animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.15s;
    transform: translateZ(0);
}

/* Description */
.hero__description {
    max-width: 550px;
    margin: 0 auto var(--space-lg);
    font-size: var(--text-base);
    color: var(--color-gray);
    line-height: 1.7;
    animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.35s;
    opacity: 0;
    transform: translateZ(0);
}

.hero__description strong {
    display: block;
    color: var(--color-gray-light);
    margin-top: var(--space-xs);
}

/* CTA Container */
.hero__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateZ(0);
}

/* Hero Buttons - Minimal & Elegant */
.hero__btn-primary {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: var(--radius-full);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .hero__btn-primary:hover {
        transform: translate3d(0, -2px, 0);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .hero__btn-primary:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    }
}

.hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-gray-light);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero__btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .hero__btn-secondary:hover {
        color: var(--color-white);
        border-color: rgba(255, 255, 255, 0.4);
    }
    
    .hero__btn-secondary:hover svg {
        transform: translateX(3px);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .hero__btn-secondary:active {
        color: var(--color-white);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(0.97);
    }
}

/* Hero Microcopy */
.hero__microcopy {
    width: 100%;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-gray);
    opacity: 0.7;
    margin-top: var(--space-xs);
}

/* Hero Link Secondary */
.hero__link-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--color-gray);
    opacity: 0.6;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-top: var(--space-lg);
}

.hero__link-secondary svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .hero__link-secondary:hover {
        color: var(--color-white);
        opacity: 1;
        text-decoration-color: var(--color-white);
    }
    
    .hero__link-secondary:hover svg {
        transform: translateX(4px);
    }
}

/* Hero Trust Badges */
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    animation: heroFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero__trust-item {
    font-size: var(--text-xs);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    /* Hide decorative elements on mobile for performance */
    .hero__grid,
    .hero__vignette {
        display: none;
    }
    
    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        height: auto;
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
        contain: layout style;
    }
    
    .hero__content {
        padding: 0 var(--space-md);
    }
    
    /* Disable hero animations on mobile for faster FCP */
    .hero__badge,
    .hero__phrase,
    .hero__description,
    .hero__cta-container,
    .hero__trust {
        animation: none;
        opacity: 1;
        transform: none;
        will-change: auto;
    }
    
    .hero__trust {
        gap: var(--space-xs);
        margin-top: var(--space-lg);
    }
    
    .hero__trust-item {
        padding: var(--space-xs) var(--space-sm);
        font-size: 11px;
    }
    
    .hero__link-secondary {
        margin-top: var(--space-md);
    }
    
    .hero__phrase {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.15;
        font-weight: 800;
    }
    
    .hero__description {
        padding: 0;
        font-size: var(--text-sm);
        margin-bottom: var(--space-md);
    }
    
    .hero__cta-container {
        flex-direction: column;
        width: 100%;
        padding: var(--space-md);
        gap: var(--space-sm);
    }
    
    .hero__cta-container .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about__content {
    max-width: 540px;
}

.about__text {
    font-size: var(--text-sm);
    color: var(--color-gray-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.stat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.stat__number {
    font-family: var(--font-mono);
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat__suffix {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-gray);
}

.stat__label {
    width: 100%;
    font-size: var(--text-sm);
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

.about__disclaimer {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    font-size: var(--text-xs);
    color: var(--color-gray);
    opacity: 0.7;
    text-align: center;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about__divider {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
    transform: translate(-50%, -50%) rotate(15deg);
}

@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about__content {
        max-width: 100%;
        text-align: center;
    }
    
    .about__stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-3xl);
    }
    
    .stat {
        text-align: center;
        justify-content: center;
    }
    
    .about__divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .about__grid {
        gap: var(--space-xl);
    }
    
    .about__content {
        position: relative;
    }
    
    .about__text {
        font-size: 0.8rem;
        line-height: 1.55;
        margin-bottom: var(--space-md);
        color: var(--color-gray);
    }
    
    /* Show only first 2 paragraphs on mobile, hide the third */
    .about__text:nth-child(4) {
        display: none;
    }
    
    .stat__number {
        font-size: 1.75rem;
    }
    
    .stat__suffix {
        font-size: var(--text-base);
    }
    
    .about__stats {
        gap: var(--space-lg);
        flex-direction: column;
    }
    
    .stat {
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .stat__label {
        font-size: var(--text-xs);
        width: auto;
        margin-top: 0;
    }
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */

/* Visibility utilities */
.desktop-only {
    display: list-item;
}

.mobile-only {
    display: none;
}

.hide-on-mobile {
    display: block;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    height: calc((100vh - 80px) * 1.15);
    min-height: 700px;
    max-height: 1000px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color var(--transition-base), transform var(--transition-base);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Desktop hover - apenas borda e leve elevação */
@media (hover: hover) and (pointer: fine) {
    .solution-card:hover {
        border-color: var(--color-gray);
    }
    
    .solution-card:hover .solution-card__link svg {
        transform: translateX(4px);
    }
}

/* Mobile tap animation */
@media (hover: none) and (pointer: coarse) {
    .solution-card:active {
        transform: scale(0.98);
        border-color: var(--color-gray);
    }
}

.solution-card--large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Card grande - destaque visual no desktop */
.solution-card--large .solution-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.solution-card--large .solution-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-sm);
}

.solution-card--large .solution-card__features {
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.solution-card--large .solution-card__features li {
    margin-bottom: var(--space-2xs);
    padding-left: var(--space-md);
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.solution-card--large .solution-card__features li::before {
    color: var(--color-gray);
    font-size: var(--text-base);
}

.solution-card--large .solution-card__link {
    font-size: var(--text-sm);
}

.solution-card--medium {
    grid-column: span 2;
    grid-row: span 1;
}

.solution-card--wide {
    grid-column: span 2;
}

.solution-card__icon {
    width: 28px;
    height: 28px;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.solution-card__icon svg {
    width: 100%;
    height: 100%;
}

.solution-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.solution-card__features {
    color: var(--color-gray);
    font-size: var(--text-xs);
    margin-bottom: var(--space-sm);
}

.solution-card__features li {
    margin-bottom: var(--space-2xs);
    padding-left: var(--space-md);
    position: relative;
}

.solution-card__features li::before {
    content: '•';
    position: absolute;
    left: 0;
    opacity: 0.5;
}

.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

.solution-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-base);
}

@media (max-width: 1024px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
        max-height: none;
    }
    
    .solution-card--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .solution-card--medium {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    /* Visibility: hide desktop-only content, show mobile-only */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: list-item !important;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    .solutions__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-md);
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .solution-card--large,
    .solution-card--medium,
    .solution-card--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .solution-card {
        padding: var(--space-sm);
    }
    
    .solution-card__icon {
        width: 24px;
        height: 24px;
        margin-bottom: var(--space-xs);
    }
    
    .solution-card__title {
        font-size: var(--text-sm);
        margin-bottom: 2px;
    }
    
    .solution-card__features {
        font-size: 0.7rem;
        margin-bottom: var(--space-xs);
    }
    
    /* Reset card grande no mobile - voltar ao padrão */
    .solution-card--large {
        display: block;
    }
    
    .solution-card--large .solution-card__features {
        font-size: var(--text-xs);
        flex: none;
        display: block;
        justify-content: initial;
    }
    
    .solution-card--large .solution-card__features li {
        margin-bottom: 2px;
        padding-left: var(--space-sm);
    }

    .solution-card__link {
        font-size: var(--text-xs);
    }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects {
    background-color: var(--color-black);
    padding: var(--space-4xl) 0;
}

.projects__carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-3xl);
    /* Expande para compensar padding do container */
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.projects__track {
    display: flex;
    gap: var(--space-md);
    will-change: transform;
}

.project-card {
    flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
    min-width: 260px;
    height: 380px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-black-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
    contain: layout style paint;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        border-color: var(--color-white);
        box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    }
    
    .project-card:hover .project-card__cta {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-card:focus {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.project-card:focus:not(:focus-visible) {
    outline: none;
}

/* Project Card Icon */
.project-card__icon {
    flex-shrink: 0;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black-light) 0%, var(--color-black) 100%);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.project-card__icon svg {
    width: 56px;
    height: 56px;
    color: var(--color-gray);
    transition: all 0.3s ease;
}

.project-card:hover .project-card__icon svg {
    color: var(--color-white);
    transform: scale(1.08);
}

.project-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
}

.project-card__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.project-card__description {
    font-size: var(--text-sm);
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

/* CTA - Indicador de modal */
.project-card__cta {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    font-size: var(--text-xs);
    color: var(--color-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    margin-top: auto;
}

.project-card:hover .project-card__cta {
    color: var(--color-white);
}

.project-card__cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card__cta svg {
    transform: translateX(4px);
}

/* Métricas dos projetos */
.project-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.project-card__metrics .metric {
    font-size: var(--text-xs);
    color: var(--color-gray);
}

.project-card__metrics .metric strong {
    color: var(--color-primary);
    font-weight: 600;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--color-gray-light);
    font-weight: 400;
    white-space: nowrap;
}

/* Desktop: Only first 3 project cards animate */
.project-card.animate-on-scroll:nth-child(n+4):not(.clone) {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Project Card Slide Enter Animation */
@keyframes cardSlideEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card.card-slide-enter {
    animation: cardSlideEnter 0.35s ease-out forwards;
}

/* Projects Navigation */
.projects__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding: 0 var(--space-md);
}

.projects__arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: var(--color-black-lighter);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    flex-shrink: 0;
}

.projects__arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .projects__arrow:hover {
        background-color: var(--color-white);
        color: var(--color-black);
        border-color: var(--color-white);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .projects__arrow:active {
        background-color: var(--color-white);
        color: var(--color-black);
        border-color: var(--color-white);
        transform: scale(0.95);
    }
}

.projects__arrow svg {
    width: 20px;
    height: 20px;
}

.projects__dots {
    display: flex;
    gap: var(--space-sm);
    min-width: 80px;
    justify-content: center;
    flex-wrap: nowrap;
}

.projects__dot {
    width: 8px;
    min-width: 8px;
    height: 8px;
    min-height: 8px;
    aspect-ratio: 1;
    background-color: var(--color-border);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.3s ease, min-width 0.3s ease, background-color 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.projects__dot.active {
    width: 24px;
    min-width: 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
}

/* Projects Responsive */
@media (max-width: 1024px) {
    .projects__carousel {
        touch-action: pan-y pinch-zoom;
    }
    
    .project-card {
        flex: 0 0 calc(50% - var(--space-md) / 2);
        min-width: 260px;
        height: 360px;
        /* Disable hover effects on touch devices */
        transition: none;
    }
    
    .project-card:hover {
        border-color: var(--color-border);
        box-shadow: none;
        transform: none;
    }
    
    .projects__arrow {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .projects__arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile: 1 card visible, only first card animates */
@media (max-width: 640px) {
    .project-card {
        flex: 0 0 calc(100% - var(--space-md));
        min-width: 260px;
        height: 340px;
    }
    
    .project-card__icon {
        height: 120px;
    }
    
    .project-card.animate-on-scroll:not(:first-child) {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .project-card__cta {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .project-card__content {
        padding: var(--space-sm);
    }
    
    .projects__nav {
        gap: var(--space-lg);
        padding: 0 var(--space-sm);
    }
    
    .projects__arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .projects__dots {
        min-width: 60px;
    }
}

/* ========================================
   METHOD SECTION
   ======================================== */

/* Banner/Faixa */
.marquee {
    background-color: var(--color-black-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-4xl);
    overflow: hidden;
}

.marquee__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    white-space: nowrap;
}

.marquee__content span {
    font-family: 'Times New Roman', Georgia, 'Palatino Linotype', serif;
    font-size: var(--text-sm);
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gray);
}

.marquee__content span.desktop-only {
    display: inline;
}

@media (max-width: 640px) {
    .marquee__content span.desktop-only {
        display: none;
    }
}

/* Method Cards */
.method__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.method-card {
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.method-card__number {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.method-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.method-card__text {
    color: var(--color-gray);
    font-size: var(--text-sm);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .method__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .method-card {
        padding: var(--space-lg);
    }
    
    .method-card__title {
        font-size: var(--text-xl);
    }
    
    .method-card__text {
        font-size: var(--text-xs);
    }
}

/* Modal */
.modal-open {
    overflow: hidden !important;
}

html.modal-open,
html.modal-open body {
    overflow: hidden !important;
    touch-action: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal__container {
    position: relative;
    background-color: var(--color-black);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.modal.is-open .modal__container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Custom scrollbar for modal */
.modal__container::-webkit-scrollbar {
    width: 6px;
}

.modal__container::-webkit-scrollbar-track {
    background: var(--color-black-lighter);
}

.modal__container::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.modal__close {
    position: sticky;
    top: var(--space-lg);
    float: right;
    margin-right: var(--space-lg);
    margin-top: var(--space-lg);
    margin-bottom: calc(-36px - var(--space-lg));
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black-lighter);
    border: none;
    border-radius: 50%;
    color: var(--color-gray);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 10;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .modal__close:hover {
        background: var(--color-black-light);
        color: var(--color-white);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .modal__close:active {
        background: var(--color-black-light);
        color: var(--color-white);
        transform: scale(0.95);
    }
}

.modal__close svg {
    width: 18px;
    height: 18px;
}

.modal__content {
    padding: var(--space-2xl) var(--space-2xl) var(--space-3xl);
}

.modal__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-black);
    background-color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

.modal__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    padding-right: var(--space-2xl);
    line-height: 1.3;
}

.modal__body {
    color: var(--color-gray);
    font-size: var(--text-sm);
    line-height: 1.75;
}

.modal__body p {
    margin-bottom: var(--space-md);
}

.modal__body strong {
    color: var(--color-white);
    font-weight: 600;
}

.modal__body ul {
    margin-bottom: var(--space-lg);
    padding-left: 0;
    list-style: none;
}

.modal__body li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-gray-light);
}

.modal__body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-gray);
    border-radius: 50%;
}

.modal__highlight {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--color-black-lighter);
    border-radius: var(--radius-md);
    margin-top: var(--space-xl);
    font-size: var(--text-sm);
    color: var(--color-white);
    position: relative;
}

.modal__highlight::before {
    content: '→';
    margin-right: var(--space-sm);
    color: var(--color-gray);
}

/* Modal Headings */
.modal__body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-white);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.modal__body h3:first-child {
    margin-top: 0;
}

.modal__body h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-light);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

/* Modal Ordered Lists */
.modal__body ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
    counter-reset: item;
    list-style: none;
}

.modal__body ol > li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
    position: relative;
    counter-increment: item;
    color: var(--color-gray-light);
}

.modal__body ol > li::before {
    content: counter(item) ".";
    position: absolute;
    left: calc(-1 * var(--space-md));
    top: 0;
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    color: var(--color-gray);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* Nested lists */
.modal__body li ul,
.modal__body li ol {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
}

/* Modal Tables */
.modal__table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: var(--text-sm);
}

.modal__table thead {
    background-color: var(--color-black-lighter);
}

.modal__table th {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-weight: 600;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.modal__table td {
    padding: var(--space-sm) var(--space-md);
    color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-border);
}

.modal__table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Modal code */
.modal__body code {
    background-color: var(--color-black-lighter);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--color-gray-light);
}

/* Project Modal Image */
.modal__project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    background-color: var(--color-black);
}

.modal__project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal__project-image .project-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black-light) 0%, var(--color-black) 100%);
}

.modal__project-image .project-card__placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--color-gray);
    opacity: 0.5;
}

@media (max-width: 640px) {
    .modal {
        padding: var(--space-md);
    }
    
    .modal__container {
        max-height: 90vh;
        overflow-x: hidden;
    }
    
    .modal__content {
        padding: var(--space-xl);
        overflow-x: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .modal__title {
        font-size: var(--text-xl);
        padding-right: var(--space-2xl);
    }
    
    .modal__close {
        top: var(--space-md);
        right: var(--space-md);
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .marquee__content span {
        font-size: var(--text-2xl);
    }
    
    .marquee {
        margin-bottom: var(--space-xl);
    }
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process__timeline {
    position: relative;
    padding-top: var(--space-2xl);
}

.process__line {
    position: absolute;
    top: calc(var(--space-2xl) + 24px);
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), var(--color-white), var(--color-border));
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.process-step {
    text-align: center;
}

.process-step__number {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-xl);
    background-color: var(--color-black);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.process-step__content {
    padding: 0 var(--space-md);
}

.process-step__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.process-step__text {
    color: var(--color-gray);
    font-size: var(--text-sm);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .process__line {
        top: 0;
        left: 19px;
        width: 2px;
        height: 100%;
        right: auto;
        background: linear-gradient(180deg, var(--color-border), var(--color-white), var(--color-border));
    }
    
    .process__steps {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding-left: var(--space-3xl);
    }
    
    .process-step {
        text-align: left;
        position: relative;
    }
    
    .process-step__number {
        position: absolute;
        left: calc(-1 * var(--space-3xl));
        top: 0;
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: var(--text-xs);
    }
    
    .process-step__content {
        padding: 0;
    }
    
    .process-step__title {
        font-size: var(--text-base);
    }
    
    .process-step__text {
        font-size: var(--text-xs);
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials__carousel {
    position: relative;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    gap: var(--space-lg);
    transition: transform var(--transition-slower);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-lg));
    min-width: 280px;
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-card__quote {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--color-border);
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
}

.testimonial-card__text {
    color: var(--color-gray-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    padding-top: var(--space-xl);
    position: relative;
    z-index: 1;
    font-size: var(--text-sm);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 50%;
       display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xs);
}

.testimonial-card__info {
    display: flex;
    flex-direction: column;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-sm);
}

.testimonial-card__role {
    font-size: var(--text-xs);
    color: var(--color-gray);
}

/* Navigation */
.testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonials__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .testimonials__arrow:hover {
        background-color: var(--color-white);
        color: var(--color-black);
        border-color: var(--color-white);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .testimonials__arrow:active {
        background-color: var(--color-white);
        color: var(--color-black);
        border-color: var(--color-white);
        transform: scale(0.95);
    }
}

.testimonials__arrow svg {
    width: 20px;
    height: 20px;
}

.testimonials__dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-border);
    border-radius: 50%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.testimonials__dot.active {
    width: 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
    .testimonials__carousel {
        overflow: hidden;
        touch-action: pan-y pinch-zoom;
        cursor: grab;
    }
    
    .testimonials__carousel:active {
        cursor: grabbing;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
        min-width: 280px;
    }
    
    .testimonials__arrow {
        width: 40px;
        height: 40px;
    }
    
    .testimonials__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 32px);
        min-width: 0;
        padding: var(--space-lg);
    }
    
    .testimonial-card__quote {
        font-size: 3rem;
        top: var(--space-sm);
        left: var(--space-md);
    }
    
    .testimonial-card__text {
        font-size: var(--text-sm);
        padding-top: var(--space-lg);
        margin-bottom: var(--space-md);
    }
    
    .testimonial-card__avatar {
        width: 40px;
        height: 40px;
        font-size: var(--text-xs);
    }
    
    .testimonial-card__name {
        font-size: var(--text-sm);
    }
    
    .testimonial-card__role {
        font-size: var(--text-xs);
    }
    
    .testimonials__nav {
        margin-top: var(--space-lg);
        gap: var(--space-md);
    }
    
    .testimonials__arrow {
        width: 36px;
        height: 36px;
    }
    
    .testimonials__arrow svg {
        width: 14px;
        height: 14px;
    }
    
    .testimonials__dot {
        width: 6px;
        height: 6px;
    }
    
    .testimonials__dot.active {
        width: 18px;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

/* FAQ Tabs */
.faq__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.faq__tab {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .faq__tab:hover {
        color: var(--color-white);
        border-color: var(--color-gray);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .faq__tab:active {
        color: var(--color-white);
        border-color: var(--color-gray);
        transform: scale(0.97);
    }
}

.faq__tab.active {
    color: var(--color-black);
    background-color: var(--color-white);
    border-color: var(--color-white);
}

/* FAQ Categories */
.faq__category {
    display: none;
}

.faq__category.active {
    display: block;
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item__header {
    width: calc(100% + var(--space-md) * 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    margin-left: calc(-1 * var(--space-md));
    text-align: left;
    color: var(--color-white);
    border-radius: var(--radius-md);
    transition: background-color 0.15s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .faq-item__header:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
    
    .faq-item__header:hover .faq-item__icon {
        color: var(--color-white);
    }
}

.faq-item__question {
    font-size: var(--text-lg);
    font-weight: 600;
    padding-right: var(--space-lg);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-gray);
    transition: transform 0.2s ease, color 0.15s ease;
}

.faq-item__icon svg {
    width: 100%;
    height: 100%;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-item.active .faq-item__content {
    grid-template-rows: 1fr;
}

.faq-item__content > p {
    overflow: hidden;
    color: var(--color-gray);
    line-height: 1.8;
    padding-bottom: 0;
    transition: padding-bottom 0.25s ease;
}

.faq-item.active .faq-item__content > p {
    padding-bottom: var(--space-lg);
}

/* Mobile: tap feedback instead of hover */
@media (max-width: 1024px) {
    .faq-item__header {
        transition: background-color 0.1s ease, transform 0.1s ease;
    }
    
    .faq-item__header:hover {
        background-color: transparent;
    }
    
    .faq-item__header:active {
        background-color: rgba(255, 255, 255, 0.05);
        transform: scale(0.99);
    }
}

@media (max-width: 640px) {
    .faq__tabs {
        gap: var(--space-xs);
        margin-bottom: var(--space-xl);
    }
    
    .faq__tab {
        padding: var(--space-xs) var(--space-md);
        font-size: var(--text-xs);
    }
    
    .faq-item__header {
        padding: var(--space-md) var(--space-lg);
    }
    
    .faq-item__question {
        font-size: var(--text-base);
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    border-top: 1px solid var(--color-border);
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.contact__title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.contact__text {
    font-size: var(--text-lg);
    color: var(--color-gray);
    line-height: 1.7;
    max-width: 400px;
}

.contact__cta {
    display: flex;
    justify-content: flex-end;
}

/* Chat-style card */
.contact__card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-black-lighter);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    width: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .contact__card:hover {
        border-color: #25D366;
        transform: none;
    }
}

.contact__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.contact__card-icon {
    width: 36px;
    height: 36px;
    background-color: #25D366;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.contact__card-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--color-gray);
    cursor: help;
}

.contact__status-wrapper {
    position: relative;
}

.contact__status-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--color-black-light);
    border:  1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    pointer-events: none;
}

.contact__status-wrapper:hover .contact__status-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact__tooltip-title {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.contact__tooltip-hours {
    display: block;
    font-size: var(--text-xs);
    color: #25D366;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.contact__tooltip-note {
    display: block;
    font-size: 11px;
    color: var(--color-gray);
    line-height: 1.4;
}

.contact__card-dot {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.contact__card-dot.offline {
    background-color: var(--color-gray);
    box-shadow: none;
}

.contact__card-body {
    margin-bottom: var(--space-xl);
}

.contact__card-title {
    display: block;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.contact__card-subtitle {
    font-size: var(--text-sm);
    color: var(--color-gray);
}

.contact__card-footer {
    margin-top: auto;
}

.contact__card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact__card-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .contact__card:hover .contact__card-cta {
        border-color: #25D366;
        color: #25D366;
    }
    
    .contact__card:hover .contact__card-cta svg {
        transform: translateX(4px);
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .contact__card:active .contact__card-cta {
        border-color: #25D366;
        color: #25D366;
    }
}

@media (max-width: 1024px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .contact__text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact__cta {
        justify-content: center;
    }
    
    .contact__title {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 640px) {
    .contact__title {
        font-size: var(--text-2xl);
    }
    
    .contact__text {
        font-size: var(--text-base);
    }
    
    .contact__card {
        max-width: 100%;
        padding: var(--space-lg);
    }
    
    .contact__status-tooltip {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        min-width: 220px;
    }
    
    .contact__status-wrapper:hover .contact__status-tooltip,
    .contact__status-wrapper.show-tooltip .contact__status-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

/* Touch feedback for contact card */
@media (max-width: 1024px) {
    .contact__card:hover {
        transform: none;
    }
    
    .contact__card:active {
        transform: scale(0.98);
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--color-black-light);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0;
}

.footer .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .footer__logo:hover {
        opacity: 0.8;
    }
}

/* Mobile tap */
@media (hover: none) and (pointer: coarse) {
    .footer__logo:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

.footer__logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.footer__divider {
    width: 1px;
    height: 20px;
    background-color: var(--color-border);
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--color-gray);
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    transition: var(--transition-base);
}

.footer__social svg {
    width: 22px;
    height: 22px;
}

@media (hover: hover) {
    .footer__social:hover {
        color: #E1306C;
        filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5));
        transform: scale(1.1);
    }
}

@media (hover: none) {
    .footer__social:active {
        color: #E1306C;
        transform: scale(0.95);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: var(--space-lg) 0;
    }
    
    .footer .container {
        gap: var(--space-sm);
    }
    
    .footer__logo-img {
        height: 24px;
    }
    
    .footer__divider {
        height: 16px;
    }
    
    .footer__copyright {
        font-size: var(--text-xs);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade In Up Animation - GPU Optimized */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    contain: layout style paint;
    backface-visibility: hidden;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* Stagger delays for groups */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }

/* Mobile: Faster, simpler animations */
@media (max-width: 1024px) {
    .animate-on-scroll {
        transition-duration: 0.3s;
        will-change: auto;
        contain: layout style;
    }
    
    /* Remove stagger delays on mobile for faster perceived load */
    .animate-on-scroll:nth-child(n) { transition-delay: 0s; }
}

/* Touch Feedback */
@media (max-width: 1024px) {
    .btn:active,
    .solution-card:active,
    .method-card:active,
    .faq-item__header:active,
    .faq__tab:active {
        transform: scale(0.97);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .header__wrapper {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    
    .hero__phrase,
    .hero__description,
    .hero__cta-container {
        opacity: 1;
        transform: none;
        animation: none;
        width: auto;
        white-space: normal;
        border-right: none;
    }
}

/* ========================================
   HERO ANIMATIONS
   ======================================== */

/* Header animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes dropInBounce {
    0% {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    70% {
        transform: translate3d(0, 5px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Fade in with upward movement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}