/* ===================================
   wazeka Corporate Site - crioco.com Inspired
   Black & White Design System
   =================================== */

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Pure Black & White */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-gray-lighter: #cccccc;
    --color-gray-lightest: #f5f5f5;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --spacing-unit: 8px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 96px;
    --spacing-2xl: 128px;
    
    /* Layout */
    --container-width: 1440px;
    --header-height: 90px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 50%, transparent 100%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-20px) translateY(-20px);
        opacity: 1;
    }
}

/* Floating Particles Background */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-black);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(2n) {
    animation-duration: 20s;
    animation-delay: -5s;
}

.particle:nth-child(3n) {
    animation-duration: 25s;
    animation-delay: -10s;
    width: 3px;
    height: 3px;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    50% {
        transform: translateY(-800px) translateX(200px) scale(1.5);
        opacity: 0.15;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-1600px) translateX(-200px) scale(0.5);
        opacity: 0;
    }
}

/* Tetris-Style Falling Letters Background - WAZEKA */
.tetris-letters-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.tetris-letter {
    position: absolute;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-black);
    opacity: 0.04;
    animation: tetrisFall linear forwards;
    will-change: transform, opacity;
}

/* Different sizes for variety */
.tetris-letter.size-small { font-size: 60px; }
.tetris-letter.size-medium { font-size: 80px; }
.tetris-letter.size-large { font-size: 100px; }
.tetris-letter.size-xlarge { font-size: 120px; }

/* Stacking effect - letters stay at bottom */
@keyframes tetrisFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.04;
    }
    80% {
        opacity: 0.04;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(10deg);
        opacity: 0.02;
    }
}

/* Slight rotation variations */
.tetris-letter.rotate-left {
    animation-name: tetrisFallRotateLeft;
}

.tetris-letter.rotate-right {
    animation-name: tetrisFallRotateRight;
}

@keyframes tetrisFallRotateLeft {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.04;
    }
    80% {
        opacity: 0.04;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(-15deg);
        opacity: 0.02;
    }
}

@keyframes tetrisFallRotateRight {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.04;
    }
    80% {
        opacity: 0.04;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(15deg);
        opacity: 0.02;
    }
}

/* Stacked letters at bottom - accumulated effect */
.tetris-stacked {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-wrap: wrap;
    opacity: 0.03;
}

.tetris-stacked-letter {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 80px;
    color: var(--color-black);
    animation: stackPulse 3s ease-in-out infinite;
}

.tetris-stacked-letter:nth-child(1) { animation-delay: 0s; }
.tetris-stacked-letter:nth-child(2) { animation-delay: 0.2s; }
.tetris-stacked-letter:nth-child(3) { animation-delay: 0.4s; }
.tetris-stacked-letter:nth-child(4) { animation-delay: 0.6s; }
.tetris-stacked-letter:nth-child(5) { animation-delay: 0.8s; }
.tetris-stacked-letter:nth-child(6) { animation-delay: 1s; }

@keyframes stackPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.03;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.05;
    }
}

body.loading {
    overflow: hidden;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-black);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { font-size: clamp(2rem, 4vw, 3.5rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h5 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

/* ===================================
   Advanced Text Effects - High Level
   =================================== */

/* 1. Glitch Effect - サイバーパンク風 */
.text-glitch {
    position: relative;
    font-weight: 700;
    animation: glitch 3s infinite;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--color-black);
    z-index: -1;
}

.text-glitch::after {
    animation: glitch-2 3s infinite;
    color: rgba(0, 0, 0, 0.5);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(10% 0 85% 0); }
    40% { clip-path: inset(60% 0 0 0); }
    60% { clip-path: inset(0 0 40% 0); }
    80% { clip-path: inset(30% 0 30% 0); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(4px, 2px); }
    66% { transform: translate(-4px, -2px); }
}

/* 2. Shine Effect - 光沢エフェクト */
.text-shine {
    position: relative;
    background: linear-gradient(90deg, 
        #000000 0%, 
        #000000 40%, 
        #666666 50%, 
        #000000 60%, 
        #000000 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 3. Split Text - 文字分割エフェクト */
.text-split {
    position: relative;
    display: inline-block;
}

.text-split .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    animation: splitReveal 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes splitReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* 4. Neon Glow - ネオン発光 */
.text-neon {
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(0, 0, 0, 0.05);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(0, 0, 0, 0.2),
            0 0 50px rgba(0, 0, 0, 0.1);
    }
}

/* 5. 3D Flip - 3D回転エフェクト */
.text-3d {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    animation: flip3d 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes flip3d {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0) scale(1);
    }
}

/* 6. Wave Animation - 波型アニメーション */
.text-wave .char {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 7. Gradient Animation - 動的グラデーション */
.text-gradient-animated {
    background: linear-gradient(
        90deg,
        #000000 0%,
        #333333 25%,
        #666666 50%,
        #333333 75%,
        #000000 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* 8. Typewriter Effect - タイプライター */
.text-typewriter {
    overflow: hidden;
    border-right: 3px solid var(--color-black);
    white-space: nowrap;
    animation: 
        typing 3s steps(40, end),
        blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* 9. Bounce In - バウンス登場 */
.text-bounce {
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 10. Shimmer - シマー効果 */
.text-shimmer {
    position: relative;
    overflow: hidden;
}

.text-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Text Shadow Elegant - 改善版 */
.text-shadow-elegant {
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        0 4px 8px rgba(0,0,0,0.08),
        0 8px 16px rgba(0,0,0,0.06),
        0 16px 32px rgba(0,0,0,0.04);
}

/* Text Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Simple Fade In Animation for Sections */
.section-header-unified {
    opacity: 0;
    transform: translateY(30px);
    animation: simpleFadeInUp 0.8s ease forwards;
}

@keyframes simpleFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(80px);
    animation: slideInBottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* ===================================
   Loading Screen - Artistic & Sophisticated
   =================================== */
/* ===================================
   IT-Style Digital Loading Screen
   =================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

/* Digital Grid Background */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.loading-screen.hidden {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Digital Loader Container */
.loader-digital {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Digital Grid Lines */
.digital-grid {
    position: absolute;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: rgba(255,255,255,0.1);
}

.grid-line:nth-child(1) {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    animation: gridPulse 2s ease-in-out infinite;
}

.grid-line:nth-child(2) {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    animation: gridPulse 2s 0.5s ease-in-out infinite;
}

.grid-line:nth-child(3) {
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,0.2);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: boxRotate 4s linear infinite;
}

.grid-line:nth-child(4) {
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    animation: boxPulse 2s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes boxRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes boxPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Digital Logo - Code Style */
.loader-logo-digital {
    position: relative;
    z-index: 10;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    animation: logoGlitch 3s ease-in-out infinite;
}

.logo-bracket {
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
    animation: bracketBlink 1.5s step-end infinite;
}

.logo-main {
    letter-spacing: 0.3em;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.5),
        0 0 20px rgba(255,255,255,0.3);
}

@keyframes logoGlitch {
    0%, 90%, 100% { transform: translate(0, 0); }
    91% { transform: translate(-2px, 1px); }
    93% { transform: translate(2px, -1px); }
    95% { transform: translate(-1px, 2px); }
}

@keyframes bracketBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

/* Circuit Dots */
.loader-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circuit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.circuit-dot:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.circuit-dot:nth-child(2) {
    top: 20%;
    right: 20%;
    animation: dotPulse 1.5s 0.3s ease-in-out infinite;
}

.circuit-dot:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation: dotPulse 1.5s 0.6s ease-in-out infinite;
}

.circuit-dot:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation: dotPulse 1.5s 0.9s ease-in-out infinite;
}

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

/* Code Line */
.loader-code {
    position: absolute;
    bottom: -50px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.code-line {
    animation: codeFade 2s ease-in-out infinite;
}

.code-cursor {
    animation: cursorBlink 0.8s step-end infinite;
}

@keyframes codeFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Orbiting Dots */
.loader-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
}

.loader-dot:nth-child(1) {
    animation: orbit1 4s linear infinite;
}

.loader-dot:nth-child(2) {
    animation: orbit2 4s linear infinite;
    animation-delay: -1s;
}

.loader-dot:nth-child(3) {
    animation: orbit3 4s linear infinite;
    animation-delay: -2s;
}

.loader-dot:nth-child(4) {
    animation: orbit4 4s linear infinite;
    animation-delay: -3s;
}

@keyframes orbit1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes orbit2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes orbit3 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes orbit4 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 1;
    }
}

.loader-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.15em;
    animation: textRevealStagger 2s ease-out forwards;
    display: flex;
    gap: 8px;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterReveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }

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

/* Digital Tagline */
.loading-tagline-digital {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.loading-status {
    position: relative;
    padding: 0 20px;
}

.loading-status::before {
    content: '[';
    position: absolute;
    left: 0;
    animation: bracketBlink 1s step-end infinite;
}

.loading-status::after {
    content: ']';
    position: absolute;
    right: 0;
    animation: bracketBlink 1s 0.5s step-end infinite;
}

/* Digital Progress Bar */
.loading-progress-digital {
    width: 300px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-white) 50%, 
        transparent 100%);
    animation: progressScan 2s ease-in-out infinite;
}

.progress-percent {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-align: right;
    margin-top: 8px;
    animation: percentCount 2s ease-in-out infinite;
}

@keyframes progressScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes percentCount {
    0% { content: '0%'; }
    100% { content: '100%'; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Progress Bar */
.loading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.loading-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    animation: progressSlide 1.5s ease-in-out infinite;
}

@keyframes progressSlide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

/* ===================================
   Header - crioco style
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}

.logo-w {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition-base);
}

.logo:hover .logo-w {
    transform: rotate(360deg);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-black);
    position: relative;
    padding: 8px 0;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    transform: translateX(0);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    background-color: var(--color-gray-lightest);
    border-radius: 24px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--color-gray);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

.lang-btn:hover:not(.active) {
    color: var(--color-black);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Content */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--color-white);
    z-index: 1000;
    padding: 100px 40px 40px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(50px);
}

.mobile-menu.active .mobile-menu-nav a {
    animation: slideInRight 0.5s ease forwards;
}

.mobile-menu-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-nav a:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-nav a:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-nav a:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-nav a:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-nav a:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--color-gray);
    padding-left: 10px;
}

.mobile-menu-actions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--color-black);
}

.mobile-menu-actions .language-switcher {
    display: flex;
    gap: 10px;
}

.mobile-menu-actions .lang-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: 2px solid var(--color-black);
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-actions .lang-btn.active {
    background: var(--color-black);
    color: var(--color-white);
}

/* ===================================
   Hero Section - crioco style
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-black);
    color: var(--color-white);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    letter-spacing: -0.04em;
    animation: heroTitleIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-lighter);
    margin-bottom: var(--spacing-lg);
    animation: heroSubtitleIn 1.2s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: heroCTAIn 1.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes heroCTAIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-lighter);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gray-lighter), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-gray-lightest);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.125rem;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.section-gray {
    background-color: var(--color-gray-lightest);
}

/* ===================================
   Unified Section Styles - Simple & Clean
   =================================== */
.section-unified {
    padding: 120px 0;
    position: relative;
}

.section-header-unified {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-label-simple {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 24px;
    position: relative;
    padding: 0 30px;
}

.section-label-simple::before,
.section-label-simple::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--color-gray);
}

.section-label-simple::before {
    left: 0;
}

.section-label-simple::after {
    right: 0;
}

.section-dark .section-label-simple {
    color: var(--color-gray-light);
}

.section-dark .section-label-simple::before,
.section-dark .section-label-simple::after {
    background: var(--color-gray-light);
}

.section-title-simple {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: var(--color-black);
}

.section-dark .section-title-simple {
    color: var(--color-white);
}

/* Formatted Title with Better Spacing */
.section-title-formatted {
    line-height: 1.6;
    word-spacing: 0.05em;
}

.section-title-formatted br {
    display: block;
    content: "";
    margin-top: 0.2em;
}

/* Highlighted Words in Title */
.title-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    padding: 0 4px;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-black);
    opacity: 0.15;
}

.section-dark .title-highlight::after {
    background: var(--color-white);
    opacity: 0.2;
}

.section-description-simple {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-description-simple {
    color: var(--color-gray-lighter);
}

.btn-simple {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 2px solid var(--color-black);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-simple:hover::before {
    left: 0;
}

.btn-simple:hover {
    color: var(--color-black);
}

.btn-simple span,
.btn-simple {
    position: relative;
    z-index: 1;
}

.section-dark .btn-simple {
    color: var(--color-black);
    background-color: var(--color-white);
    border-color: var(--color-white);
}

.section-dark .btn-simple::before {
    background: var(--color-black);
}

.section-dark .btn-simple:hover {
    color: var(--color-white);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.section-description {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
}

.section-dark .section-label {
    color: var(--color-gray-light);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-dark .section-description {
    color: var(--color-gray-lighter);
}

/* ===================================
   Page Hero
   =================================== */
.page-hero {
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray-lighter);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 8px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-white);
}

.page-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.04em;
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.2),
        0 8px 16px rgba(0,0,0,0.1);
}

.page-description {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    line-height: 1.7;
    color: var(--color-gray-lighter);
    white-space: pre-line;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Cards - crioco style
   =================================== */
.card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-lightest);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card:hover::before {
    transform: scaleX(1);
}

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

.service-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border: 2px solid var(--color-black);
    transition: var(--transition-base);
    position: relative;
}

.service-card:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: scale(1.02);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-base);
}

.service-card:hover .service-card-icon {
    background-color: var(--color-white);
    color: var(--color-black);
}

.service-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-base);
}

.service-card:hover .service-card-title {
    color: var(--color-white);
}

.service-card-description {
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-base);
}

.service-card:hover .service-card-description {
    color: var(--color-gray-lighter);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
}

.service-card:hover .service-card-link {
    color: var(--color-white);
}

/* ===================================
   Works Grid
   =================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.work-card {
    background-color: var(--color-white);
    overflow: hidden;
    border: 2px solid var(--color-black);
    transition: var(--transition-base);
}

.work-card:hover {
    transform: translateY(-10px);
}

.work-card-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-gray-lightest);
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card-image img {
    transform: scale(1.1);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: var(--transition-base);
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-view-btn {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-card-content {
    padding: var(--spacing-md);
}

.work-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.work-category {
    padding: 6px 12px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-date {
    color: var(--color-gray);
    font-weight: 500;
}

.work-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.work-card-description {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.work-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background-color: var(--color-gray-lightest);
    color: var(--color-black);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-value {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.cta-description {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    line-height: 1.7;
    color: var(--color-gray-lighter);
    margin-bottom: var(--spacing-lg);
    white-space: pre-line;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-w {
    background-color: var(--color-white);
    color: var(--color-black);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-lighter);
    white-space: pre-line;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--color-gray-lighter);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-white);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-lighter);
    font-size: 0.95rem;
}

.footer-contact i {
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-gray-lighter);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-4px);
}

/* ===================================
   Reveal Animations
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Service Detail Page
   =================================== */
.service-detail {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-gray-lightest);
}

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

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-detail-title-area {
    flex: 1;
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.service-detail-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    font-weight: 500;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.service-detail-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-features i {
    margin-top: 4px;
    font-size: 1.25rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--spacing-md);
}

.service-detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 2px solid var(--color-black);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Works Filter
   =================================== */
.works-filter-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-gray-lightest);
    border-top: 1px solid var(--color-gray-lighter);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.works-filter {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Works Large Card */
.work-card-large {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.work-card-large:hover {
    transform: translateX(10px);
    box-shadow: -10px 10px 0 var(--color-black);
}

.work-card-large .work-card-image {
    height: 100%;
    min-height: 500px;
}

.work-card-large .work-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-gray-lightest);
}

.work-result-item {
    text-align: center;
}

.work-result-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.work-result-value span {
    font-size: 1.5rem;
}

.work-result-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   About Page Styles
   =================================== */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--color-gray-lightest);
}

.company-table th {
    text-align: left;
    padding: var(--spacing-md) var(--spacing-sm);
    font-weight: 700;
    width: 140px;
    vertical-align: top;
}

.company-table td {
    padding: var(--spacing-md) var(--spacing-sm);
    line-height: 1.8;
}

.mission-section {
    background-color: var(--color-gray-lightest);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mission-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border: 2px solid var(--color-black);
    transition: var(--transition-base);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.mission-description {
    line-height: 1.8;
    color: var(--color-gray);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-black);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--spacing-lg) - 6px);
    top: 0;
    width: 14px;
    height: 14px;
    background-color: var(--color-black);
    border-radius: 50%;
}

.timeline-date {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-description {
    color: var(--color-gray);
    line-height: 1.7;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    overflow: hidden;
    transition: var(--transition-base);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--color-gray-lightest);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

.team-member:hover .team-member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-member-info {
    padding: var(--spacing-md);
}

.team-member-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member-position {
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.team-member-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray);
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-container .section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border: 2px solid var(--color-black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #ff0000;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-gray-lightest);
    background-color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contact-info-card {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--color-white);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    color: var(--color-gray-lighter);
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--color-white);
    white-space: pre-line;
}

.contact-info-note {
    font-size: 0.875rem;
    color: var(--color-gray-lighter);
    margin-top: 4px;
}

.contact-map {
    height: 300px;
    overflow: hidden;
    border: 2px solid var(--color-black);
    margin-bottom: var(--spacing-md);
}

.contact-faq {
    background-color: var(--color-gray-lightest);
    padding: var(--spacing-lg);
}

.faq-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-lighter);
}

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

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

.form-message {
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    border: 2px solid;
    font-weight: 600;
}

.form-message.success {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.form-message.error {
    background-color: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

/* ===================================
   News Page Styles
   =================================== */
.news-filter-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-gray-lightest);
    border-top: 1px solid var(--color-gray-lighter);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.news-filter {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.news-featured {
    display: flex;
    gap: var(--spacing-lg);
    background-color: var(--color-black);
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    border: 2px solid var(--color-black);
}

.news-featured-image {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.news-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 8px 16px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-featured-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.news-date {
    font-weight: 600;
    color: var(--color-gray-lighter);
}

.news-category {
    padding: 6px 12px;
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-featured-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.news-featured-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray-lighter);
    margin-bottom: var(--spacing-md);
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
}

.news-read-more:hover {
    gap: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    overflow: hidden;
    transition: var(--transition-base);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--color-gray-lightest);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: var(--spacing-md);
}

.news-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.news-card-excerpt {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination-btn {
    padding: 12px 20px;
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.pagination-btn:hover:not(:disabled),
.pagination-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.newsletter-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-description {
    color: var(--color-gray-lighter);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    min-width: 450px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--color-white);
    background-color: transparent;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: var(--color-gray-lighter);
}

.newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===================================
   Section Header (Common)
   =================================== */
.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .work-card-large {
        grid-template-columns: 1fr;
    }
    
    .work-card-large .work-card-image {
        min-height: 400px;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 70px;
        --spacing-2xl: 96px;
        --spacing-xl: 72px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content,
    .company-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 48px;
        --spacing-xl: 64px;
        --spacing-2xl: 80px;
    }
    
    .services-grid,
    .works-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .work-results {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .news-featured {
        flex-direction: column;
    }
    
    .news-featured-image {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}