/* ============================================
   Agency Okedigital - Main Stylesheet
   Modern Design System & Components
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --color-white: #FCF7F8;
    --color-red: #A31621;
    --color-red-dark: #8A1019;
    --color-red-light: #C42833;
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-text-muted: #888888;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(0, 0, 0, 0.05);
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    --gradient-red-hover: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-red) 100%);
    --gradient-bg: linear-gradient(135deg, var(--color-white) 0%, #F8F5F6 50%, var(--color-white) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.16);
    --shadow-red: 0 4px 20px rgba(163, 22, 33, 0.3);
    --shadow-red-lg: 0 8px 30px rgba(163, 22, 33, 0.4);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-primary);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;
    
    /* Container */
    --container-max: 1400px;
    --container-padding: 2rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 50px;
    
    /* Z-index scale */
    --z-base: 0;
    --z-above: 10;
    --z-nav: 100;
    --z-dropdown: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
    --z-tooltip: 600;
    --z-loader: 9999;
    --z-cursor: 10000;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Disable scroll during transition */
body.is-transitioning, body.is-menu-open {
    overflow: hidden;
}

/* Selection */
::selection {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 4px;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons */
button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Text utilities */
.text-red {
    color: var(--color-red);
}

.text-light {
    color: var(--color-text-light);
}

.text-muted {
    color: var(--color-text-muted);
}

/* Background utilities */
.bg-white {
    background-color: var(--color-white);
}

.bg-red {
    background-color: var(--color-red);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
}

.heading-xl {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.heading-lg {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.heading-md {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.heading-sm {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
}

.text-lg {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.text-md {
    font-size: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-red);
    background-image: var(--gradient-red);
    z-index: var(--z-loader);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader__text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.loader__progress-wrapper {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader__progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-white);
    transition: width 0.1s linear;
}

.loader__counter {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: var(--z-cursor);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.custom-cursor__inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-text);
    transition: transform 0.3s var(--ease-out-expo),
        width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo);
}

.custom-cursor.is-hovering .custom-cursor__inner {
    transform: scale(3);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-nav);
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
}

.nav.scrolled {
    background-color: rgba(252, 247, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    transition: color var(--transition-fast);
}

.nav__logo:hover {
    color: var(--color-red);
}

.nav__links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav__link {
    position: relative;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width var(--transition-fast) var(--ease-out-expo);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-red);
}

.nav__cta {
    background: var(--gradient-red);
    color: var(--color-white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-red);
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-lg);
}

/* Mobile Menu Button */
.nav__menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: var(--z-modal);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition-normal);
}

.nav__menu-btn span:nth-child(1) {
    top: 12px;
}

.nav__menu-btn span:nth-child(2) {
    top: 19px;
}

.nav__menu-btn span:nth-child(3) {
    top: 26px;
}

.nav__menu-btn.is-active span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.nav__menu-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.nav__menu-btn.is-active span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Navigation */
.nav__mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-white);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.nav__mobile.is-open {
    opacity: 1;
    visibility: visible;
}

.nav__mobile-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 800;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
    transition-delay: var(--delay, 0s);
}

.nav__mobile.is-open .nav__mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.nav__mobile-link:hover {
    color: var(--color-red);
}

/* ============================================
   MARQUEE TEXT
   ============================================ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 1.5rem 0;
    background-color: var(--color-red);
    border-top: 1px solid rgba(252, 247, 248, 0.1);
    border-bottom: 1px solid rgba(252, 247, 248, 0.1);
}

.marquee__inner {
    display: inline-flex;
}

.marquee__text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    color: rgba(252, 247, 248, 0.9);
    -webkit-text-stroke: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    padding-right: 0.5em;
    display: inline-block;
}

.marquee--filled .marquee__text {
    color: var(--color-red);
    -webkit-text-stroke: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(163, 22, 33, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 22, 33, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.hero__bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(163, 22, 33, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(163, 22, 33, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(163, 22, 33, 0.04) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero__bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 10s ease-in-out infinite;
}

.hero__bg-shape--1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, rgba(163, 22, 33, 0.08) 0%, rgba(163, 22, 33, 0.02) 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero__bg-shape--2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(163, 22, 33, 0.06) 0%, rgba(163, 22, 33, 0.02) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -3s;
}

.hero__bg-shape--3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(163, 22, 33, 0.05) 0%, rgba(163, 22, 33, 0.01) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(0, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

.hero__container {
    position: relative;
    z-index: var(--z-above);
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xxl) var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero__content {
    max-width: 700px;
}

/* Hero Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(163, 22, 33, 0.1) 0%, rgba(163, 22, 33, 0.05) 100%);
    border: 1px solid rgba(163, 22, 33, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.hero__badge:hover {
    background: linear-gradient(135deg, rgba(163, 22, 33, 0.15) 0%, rgba(163, 22, 33, 0.08) 100%);
    transform: translateY(-2px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero__badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-red);
}

/* Hero Title */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-word {
    display: inline-block;
}

/* Hero Description */
.hero__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    max-width: 550px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

/* Hero Actions */
.hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.hero__btn span, .hero__btn svg {
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
}

.hero__btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.hero__btn--primary {
    background: var(--gradient-red);
    color: var(--color-white);
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
}

.hero__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-red-hover);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: 0;
}

.hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red-lg);
}

.hero__btn--primary:hover::before {
    transform: translateX(0);
}

.hero__btn--primary:hover svg {
    transform: translateX(5px);
}

.hero__btn--secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.hero__btn--secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
    transform: translateY(-3px);
}

.hero__btn--secondary:hover svg {
    transform: translateY(-2px);
}

/* Hero Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(163, 22, 33, 0.1);
    max-width: 450px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.hero__stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__floating {
    position: absolute;
    animation: floatCard 6s ease-in-out infinite;
}

.hero__floating--1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.hero__floating--2 {
    bottom: 20%;
    left: 10%;
    animation-delay: -2s;
}

.hero__floating--3 {
    top: 30%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero__floating-card {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(163, 22, 33, 0.2);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.hero__floating-card:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-xl);
}

.hero__floating-card svg {
    width: 32px;
    height: 32px;
    color: var(--color-red);
}

.hero__center-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero__center-circle {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 50%;
    box-shadow: var(--shadow-xl), 0 0 100px rgba(163, 22, 33, 0.3);
    position: relative;
    animation: centerFloat 8s ease-in-out infinite;
}

.hero__center-circle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px solid rgba(163, 22, 33, 0.2);
    animation: centerRing 4s ease-in-out infinite;
}

.hero__center-circle::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    border-radius: 50%;
    border: 2px solid rgba(163, 22, 33, 0.1);
    animation: centerRing 4s ease-in-out infinite -2s;
}

@keyframes centerFloat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes centerRing {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero__center-text {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-light);
}

.hero__scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hero__scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s ease-in-out infinite;
}

@keyframes scrollMouse {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

.hero__scroll-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-xxl) 0;
    background-color: var(--color-red);
    background-image: var(--gradient-red);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: var(--z-above);
}

.about__label {
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.about__title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.about__text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.about__stat {
    text-align: center;
    padding: var(--space-md);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-normal);
}

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

.about__stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.about__stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.about__visual {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: var(--shadow-xl);
}

.about__visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-red) 100%);
}

.about__visual-text {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    color: var(--color-white);
    opacity: 0.2;
    line-height: 0.9;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-xxl) 0;
    background-color: var(--color-white);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.services__label {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.services__title {
    color: var(--color-text);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    position: relative;
    padding: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: var(--shadow-xl);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card__number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-red);
    opacity: 0.15;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-card__number {
    opacity: 0.3;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.service-card__title {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    position: relative;
}

.service-card__description {
    color: var(--color-text-light);
    line-height: 1.7;
    position: relative;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--space-xxl) 0;
    background-color: var(--color-white);
}

.portfolio__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
}

.portfolio__label {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.portfolio__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.portfolio__link:hover {
    color: var(--color-red);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.portfolio-item__image {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--color-text);
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-item__image {
    transform: scale(1.1);
}

.portfolio-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    transition: background var(--transition-normal);
}

.portfolio-item:hover .portfolio-item__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.portfolio-item__category {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-item__category {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item__title {
    color: var(--color-white);
    font-size: 1.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition-normal) 0.1s;
}

.portfolio-item:hover .portfolio-item__title {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item--large {
    grid-column: span 2;
}

.portfolio-item--large .portfolio-item__image {
    aspect-ratio: 21/9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-xxl) 0;
    background-color: var(--color-white);
}

.contact__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact__label {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.contact__title {
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.contact__description {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.contact__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.contact__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.contact__btn--primary {
    background: var(--gradient-red);
    color: var(--color-white);
    box-shadow: var(--shadow-red);
}

.contact__btn--primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-red-lg);
}

.contact__btn--secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.contact__btn--secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

.contact__info {
    padding: var(--space-lg);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact__info-item {
    margin-bottom: var(--space-md);
}

.contact__info-item:last-child {
    margin-bottom: 0;
}

.contact__info-label {
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact__info-value {
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 500;
}

.contact__info-value a:hover {
    color: var(--color-red);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-lg) 0;
    background-color: var(--color-red);
    background-image: var(--gradient-red);
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer__links {
    display: flex;
    gap: var(--space-md);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   TRANSITION OVERLAYS
   ============================================ */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-red);
    z-index: var(--z-overlay);
    transform: translateX(-100%);
    pointer-events: none;
}

.transition-overlay--slides {
    display: flex;
    transform: translateX(-100%);
    background-color: transparent;
}

.transition-slide {
    flex: 1;
    height: 100%;
    background-color: var(--color-red);
    transform: scaleY(0);
    transform-origin: bottom;
}

.transition-slide:nth-child(2) {
    background-color: var(--color-white);
}

.transition-slide:nth-child(3) {
    background-color: var(--color-text);
}

.transition-overlay-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-red);
    z-index: var(--z-overlay);
    clip-path: circle(0% at 50% 50%);
    pointer-events: none;
}

/* ============================================
   REVEAL OVERLAY
   ============================================ */
.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-red);
    z-index: 10;
    transform-origin: bottom;
}

/* ============================================
   LINK UNDERLINE
   ============================================ */
.link-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(60px);
}

[data-animate="fade-left"] {
    transform: translateX(-60px);
}

[data-animate="fade-right"] {
    transform: translateX(60px);
}

[data-animate="scale"] {
    transform: scale(0.9);
}

/* ============================================
   RESPONSIVE
   ============================================ */
 @media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .nav__links {
        display: none;
    }
    
    .nav__menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero Responsive */
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .hero__visual {
        display: none;
    }
    
    .hero__content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero__badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__stats {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__scroll {
        display: none;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about__visual {
        height: 400px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item--large {
        grid-column: span 1;
    }
    
    .portfolio-item--large .portfolio-item__image {
        aspect-ratio: 4/3;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    /* Hero Mobile Responsive */
    .hero__title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .hero__description {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__btn {
        justify-content: center;
        width: 100%;
    }
    
    .hero__stats {
        padding: var(--space-sm);
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .hero__stat-value {
        font-size: 1.5rem;
    }
    
    .hero__stat-divider {
        display: none;
    }
    
    .marquee__text {
        font-size: clamp(2rem, 12vw, 6rem);
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .contact__buttons {
        flex-direction: column;
    }
    
    .contact__btn {
        justify-content: center;
    }
    
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
