/* ============================================
   DI PLATZER ZIVILTECHNIKER GMBH
   Premium Website Stylesheet
   ============================================ */

/* ─── CSS Variables ─── */
:root {
    --color-bg: #050505;
    --color-bg-alt: #0a0a0a;
    --color-surface: #111111;
    --color-surface-light: #1a1a1a;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --color-accent: #00d4ff;
    --color-accent-glow: rgba(0, 212, 255, 0.3);
    --color-accent-dim: rgba(0, 212, 255, 0.1);
    
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.65);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    --nav-height: 80px;
    --container-padding: clamp(1.5rem, 5vw, 4rem);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

@media (pointer: coarse) {
    body { cursor: auto; }
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ─── Loading Screen ─── */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    color: var(--color-text);
    margin-bottom: 2rem;
    opacity: 0;
}

.loading-logo svg {
    width: 200px;
    height: auto;
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background: var(--color-surface-light);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 2px;
}

.loading-counter {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* ─── Noise Overlay ─── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ─── Custom Cursor ─── */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: difference;
    will-change: transform;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -3px;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: width 0.3s var(--ease-out-expo), 
                height 0.3s var(--ease-out-expo),
                top 0.3s var(--ease-out-expo),
                left 0.3s var(--ease-out-expo),
                border-color 0.3s;
}

.custom-cursor.hover .cursor-circle {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: var(--color-accent);
}

.custom-cursor.click .cursor-circle {
    width: 30px;
    height: 30px;
    top: -15px;
    left: -15px;
}

.cursor-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-cursor.label-visible .cursor-label {
    opacity: 1;
}

.custom-cursor.label-visible .cursor-circle {
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-accent);
}

@media (pointer: coarse) {
    .custom-cursor { display: none; }
}

/* ─── Scroll Progress ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--color-accent);
    z-index: 9997;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* ─── Dynamic Light ─── */
.dynamic-light {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

/* ─── Navigation ─── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: var(--nav-height);
    transition: background 0.4s, backdrop-filter 0.4s;
}

.main-nav.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text);
    transition: all 0.3s;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--color-accent);
}

.mobile-cta {
    margin-top: 1rem;
    padding: 0.875rem 2rem;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    color: var(--color-accent);
    display: inline-block;
}

/* ─── Section Labels & Titles ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 100, 200, 0.06) 0%, transparent 50%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 85%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
    padding-top: var(--nav-height);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.label-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

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

/* SplitType characters initial state */
.char {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 var(--container-padding);
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: var(--color-border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    right: var(--container-padding);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--color-text-muted);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

.scroll-text {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    writing-mode: vertical-lr;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-accent-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    gap: 1rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-accent-glow);
}

.btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: 100px;
    background: var(--color-accent);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.btn-submit:hover .btn-glow {
    opacity: 0.5;
}

/* ─── Timeline Section ─── */
.timeline-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.timeline-bg {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.timeline-line {
    position: absolute;
    inset: 0;
    background: var(--color-border);
}

.timeline-glow {
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 0%;
    background: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow), 0 0 40px var(--color-accent-glow);
}

.timeline-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 var(--container-padding);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
}

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

.timeline-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ease-out-expo);
}

.timeline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-accent-dim) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.timeline-content-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.timeline-content-card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px var(--color-accent-glow);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -48px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -48px;
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
}

/* ─── About Section ─── */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-image-container {
    position: absolute;
    inset: 0;
}

.about-image {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
    transform: scale(1.1);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 40%, rgba(5, 5, 5, 0.7) 100%);
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.about-text-wrapper {
    max-width: 560px;
}

.about-label {
    margin-bottom: 1.5rem;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--color-accent);
    position: relative;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ─── Stats Section ─── */
.stats-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stats-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.stats-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    perspective: 1000px;
}

.stat-card-inner {
    position: relative;
    padding: 3rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    transform-style: preserve-3d;
}

.stat-card:hover .stat-card-inner {
    border-color: var(--color-accent);
    box-shadow: 0 0 40px var(--color-accent-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px) rotateX(5deg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.count-suffix {
    color: var(--color-accent);
    -webkit-text-fill-color: var(--color-accent);
}

.stat-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ─── Services Section ─── */
.services-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 var(--container-padding);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    transition: color 0.3s;
}

.service-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover .service-arrow {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: rotate(-45deg);
}

.service-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 0;
}

.service-card:hover .service-image {
    opacity: 0.15;
}

/* ─── References Section ─── */
.references-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.references-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 var(--container-padding);
}

.references-wrapper {
    position: relative;
    overflow: hidden;
}

.references-track {
    display: flex;
    gap: 2rem;
    padding: 0 var(--container-padding);
    will-change: transform;
}

.reference-slide {
    flex: 0 0 80vw;
    max-width: 1000px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.reference-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out-expo);
}

.reference-slide:hover .reference-image {
    transform: scale(1.05);
}

.reference-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent 0%, var(--color-bg) 100%);
}

.reference-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.reference-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.reference-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    max-width: 400px;
}

.references-progress {
    max-width: 200px;
    margin: 3rem auto 0;
    height: 2px;
    background: var(--color-surface-light);
    border-radius: 2px;
    overflow: hidden;
}

.references-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: transform 0.3s linear;
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* ─── Contact Section ─── */
.contact-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-map {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.map-pattern {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--color-bg) 80%);
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-panel {
    position: relative;
    padding: 3rem;
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    backdrop-filter: blur(30px);
    overflow: hidden;
}

.contact-panel-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
}

.contact-panel-content {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-value {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--color-accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out-expo);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

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

/* ─── Footer ─── */
.main-footer {
    position: relative;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        display: none;
    }
    
    .hero-stats {
        display: none;
    }
    
    .timeline-bg {
        left: 20px;
        transform: none;
    }
    
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin: 0 0 0 40px;
        max-width: 100%;
    }
    
    .timeline-dot {
        left: -38px !important;
        right: auto !important;
        display: block;
    }
    
    .references-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .references-track::-webkit-scrollbar {
        display: none;
    }
    
    .reference-slide {
        flex: 0 0 85vw;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .reference-slide {
        flex: 0 0 90vw;
    }
    
    .contact-panel {
        padding: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-image {
        transform: none;
    }
}
