/* ===== BARNICOM Theme – One-Pager ===== */
/* CI: Navy #1f3548, Rot #e20e20, Stahlblau #3d6181 */

/* --- Local Font: Inter --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-900.woff2') format('woff2');
}

/* --- CSS Variables --- */
:root {
    --bc-navy: #1f3548;
    --bc-navy-dark: #162638;
    --bc-navy-light: #2a4a64;
    --bc-red: #e20e20;
    --bc-red-hover: #c50c1b;
    --bc-red-light: rgba(226,14,32,0.08);
    --bc-steel: #3d6181;
    --bc-steel-light: #4d7a9e;
    --bc-bg-white: #ffffff;
    --bc-bg-light: #f5f7fa;
    --bc-bg-dark: #1f3548;
    --bc-bg-dark-alt: #162638;
    --bc-text: #333d47;
    --bc-text-light: #6b7685;
    --bc-text-heading: #1f3548;
    --bc-text-on-dark: #e8ecf0;
    --bc-text-heading-on-dark: #ffffff;
    --bc-border: rgba(31,53,72,0.1);
    --bc-border-dark: rgba(255,255,255,0.1);
    --bc-shadow: 0 4px 24px rgba(31,53,72,0.08);
    --bc-shadow-lg: 0 12px 48px rgba(31,53,72,0.12);
    --bc-radius: 16px;
    --bc-radius-sm: 8px;
    --bc-radius-lg: 24px;
    --bc-transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --bc-max-width: 1200px;
    --bc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--bc-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bc-text);
    background: var(--bc-bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bc-red); text-decoration: none; transition: color var(--bc-transition); }
a:hover { color: var(--bc-red-hover); }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--bc-text-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1em; }

/* --- Layout --- */
.container { max-width: var(--bc-max-width); margin: 0 auto; padding: 0 24px; }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bc-border);
    transition: all var(--bc-transition);
}
.site-header.scrolled { box-shadow: var(--bc-shadow); }
.header-inner {
    max-width: var(--bc-max-width); margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0; text-decoration: none; color: var(--bc-navy); }
.logo img { height: 38px; width: auto; filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(1200%) hue-rotate(170deg) brightness(95%) contrast(90%); }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px; color: var(--bc-text); font-size: 0.9rem; font-weight: 500;
    border-radius: var(--bc-radius-sm); transition: all var(--bc-transition); text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--bc-red); background: var(--bc-red-light); }
.nav-phone { font-weight: 600; color: var(--bc-navy); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--bc-navy); border-radius: 2px; transition: all var(--bc-transition); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--bc-radius-sm);
    font-family: var(--bc-font); font-size: 0.95rem; font-weight: 600;
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--bc-transition); text-decoration: none;
}
.btn-primary { background: var(--bc-red); color: #fff; border-color: var(--bc-red); }
.btn-primary:hover { background: var(--bc-red-hover); border-color: var(--bc-red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(226,14,32,0.3); }
.btn-secondary { background: transparent; color: var(--bc-navy); border-color: var(--bc-navy); }
.btn-secondary:hover { background: var(--bc-navy); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--bc-navy); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--bc-navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: #fff; color: var(--bc-navy); transform: translateY(-2px); }
.btn-nav { margin-left: 8px; padding: 10px 22px; font-size: 0.85rem; }

/* --- Overline --- */
.overline {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--bc-red); margin-bottom: 12px;
}

/* --- Hero --- */
.hero {
    padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 120px);
    background: var(--bc-bg-dark); color: #fff;
    position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

/* Grid with perspective shimmer */
.hero-bg::before {
    content: ''; position: absolute; inset: -50%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(15deg);
    animation: gridMove 20s linear infinite;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%,
                rgba(226,14,32,0.05) 50%, transparent 60%, transparent 100%);
    background-size: 100% 200%;
    animation: scanline 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gridMove { 0% { transform: perspective(500px) rotateX(15deg) translate(0,0); } 100% { transform: perspective(500px) rotateX(15deg) translate(60px,60px); } }
@keyframes scanline { 0% { background-position: 0 -100%; } 100% { background-position: 0 200%; } }

/* Orbs with more depth and movement */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb--red {
    width: 600px; height: 600px; top: -20%; right: -10%;
    background: radial-gradient(circle, rgba(226,14,32,0.22) 0%, rgba(226,14,32,0.08) 40%, transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb--blue {
    width: 500px; height: 500px; bottom: -25%; left: -8%;
    background: radial-gradient(circle, rgba(61,97,129,0.25) 0%, rgba(61,97,129,0.08) 40%, transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite;
}
.hero-orb--small {
    width: 300px; height: 300px; top: 35%; left: 45%;
    background: radial-gradient(circle, rgba(226,14,32,0.12) 0%, transparent 60%);
    animation: orbFloat3 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-50px, 40px) scale(1.15); }
    66%  { transform: translate(30px, -20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbFloat2 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -35px) scale(1.1); }
    66%  { transform: translate(-30px, 25px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbFloat3 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50%  { transform: translate(-40px, 30px) scale(1.3); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
}

/* Logo Grid Blocks */
.hero-logo-grid {
    position: absolute; pointer-events: none;
    display: grid; grid-template-columns: repeat(3, 32px); gap: 8px;
    opacity: 0.6;
}
.hero-logo-grid--left { top: 20%; left: 5%; animation: gridFloat 20s ease-in-out infinite; }
.hero-logo-grid--right { bottom: 15%; right: 5%; animation: gridFloat 20s ease-in-out infinite 10s; }
.hero-logo-grid--top { top: 8%; right: 20%; grid-template-columns: repeat(2, 32px); animation: gridFloat 18s ease-in-out infinite 5s; opacity: 0.4; }

.logo-block {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    animation: blockPulse 4s ease-in-out infinite;
}

/* Staggered block animations */
.logo-block:nth-child(1) { animation-delay: 0s; }
.logo-block:nth-child(2) { animation-delay: 0.3s; }
.logo-block:nth-child(3) { animation-delay: 0.6s; }
.logo-block:nth-child(4) { animation-delay: 0.2s; }
.logo-block:nth-child(5) { animation-delay: 0.5s; background: rgba(226,14,32,0.12); border-color: rgba(226,14,32,0.2); }
.logo-block:nth-child(6) { animation-delay: 0.8s; }
.logo-block:nth-child(7) { animation-delay: 0.4s; }
.logo-block:nth-child(8) { animation-delay: 0.7s; background: rgba(61,97,129,0.12); border-color: rgba(61,97,129,0.2); }
.logo-block:nth-child(9) { animation-delay: 1s; }

/* Some blocks hidden to create logo-like pattern */
.hero-logo-grid--left .logo-block:nth-child(3) { opacity: 0; }
.hero-logo-grid--left .logo-block:nth-child(7) { opacity: 0; }
.hero-logo-grid--right .logo-block:nth-child(1) { opacity: 0; }
.hero-logo-grid--right .logo-block:nth-child(9) { opacity: 0; }

@keyframes gridFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -15px); }
    50% { transform: translate(-5px, -25px); }
    75% { transform: translate(8px, -10px); }
}

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

/* Horizon glow */
.hero-glow {
    position: absolute; bottom: -2px; left: 0; right: 0; height: 150px;
    background: linear-gradient(0deg, rgba(226,14,32,0.08) 0%, transparent 100%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Hero content animations */
.hero .container { position: relative; z-index: 2; }
.hero .overline { animation: fadeSlideUp 0.8s ease-out both; }
.hero h1 { color: #fff; margin-bottom: 24px; animation: fadeSlideUp 0.8s 0.15s ease-out both; }
.hero .highlight {
    color: var(--bc-red);
    text-shadow: 0 0 30px rgba(226,14,32,0.4), 0 0 60px rgba(226,14,32,0.2);
    animation: highlightGlow 3s ease-in-out infinite;
}
@keyframes highlightGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(226,14,32,0.4), 0 0 60px rgba(226,14,32,0.2); }
    50% { text-shadow: 0 0 40px rgba(226,14,32,0.6), 0 0 80px rgba(226,14,32,0.3); }
}
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.75); max-width: 620px; margin-bottom: 40px; line-height: 1.8; animation: fadeSlideUp 0.8s 0.3s ease-out both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeSlideUp 0.8s 0.45s ease-out both; }
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Sections --- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-dark { background: var(--bc-bg-dark); color: var(--bc-text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--bc-text-heading-on-dark); }
.section-alt { background: var(--bc-bg-light); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header p { color: var(--bc-text-light); font-size: 1.125rem; margin-top: 16px; }

/* --- Stats Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; padding: 48px 0; }
.stat-item { position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: -16px; top: 15%; height: 70%; width: 1px; background: var(--bc-border-dark); }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900;
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.1; margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* Matrix digit scramble */
.stat-matrix {
    font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
    display: inline-flex; min-height: 1.2em;
}
.matrix-digit {
    display: inline-block;
    color: rgba(0,255,65,0.7);
    -webkit-text-fill-color: rgba(0,255,65,0.7);
    text-shadow: 0 0 8px rgba(0,255,65,0.3);
    transition: all 0.3s ease;
}
.matrix-digit--resolved {
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-shadow: none;
}
.matrix-suffix {
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.4s ease;
}

/* Infinity effect */
.stat-infinity {
    display: inline-block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, var(--bc-red), #ff6b6b, var(--bc-steel), #d2a8ff, var(--bc-red));
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: infinityColor 8s ease-in-out infinite, infinityPulse 4s ease-in-out infinite, infinityWobble 10s ease-in-out infinite;
}
@keyframes infinityColor {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes infinityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes infinityWobble {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

/* --- Service Blocks --- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-visual {
    border-radius: var(--bc-radius-lg); min-height: 380px;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}

/* Software Section – Full Impact */
.software-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(135deg, #0a1628 0%, #162236 50%, #0d1a2d 100%);
    overflow: hidden;
}
.software-bg { position: absolute; inset: 0; pointer-events: none; }
.software-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(61,97,129,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61,97,129,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.software-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.software-glow--1 {
    width: 500px; height: 500px; top: -15%; right: -10%;
    background: radial-gradient(circle, rgba(61,97,129,0.25) 0%, transparent 70%);
    animation: softwareGlow 8s ease-in-out infinite;
}
.software-glow--2 {
    width: 400px; height: 400px; bottom: -15%; left: 10%;
    background: radial-gradient(circle, rgba(226,14,32,0.12) 0%, transparent 70%);
    animation: softwareGlow 10s ease-in-out infinite 2s;
}
.software-glow--3 {
    width: 300px; height: 300px; top: 40%; left: 40%;
    background: radial-gradient(circle, rgba(210,168,255,0.08) 0%, transparent 70%);
    animation: softwareGlow 12s ease-in-out infinite 4s;
}
@keyframes softwareGlow {
    0%, 100% { opacity: 0.4; transform: scale(1) translate(0, 0); }
    33% { opacity: 1; transform: scale(1.2) translate(10px, -10px); }
    66% { opacity: 0.7; transform: scale(1.1) translate(-5px, 5px); }
}

/* Floating code icons */
.floating-icons { position: absolute; inset: 0; overflow: hidden; }
.float-icon {
    position: absolute; font-size: 2rem; font-weight: 700;
    color: rgba(255,255,255,0.04); font-family: monospace;
    animation: floatIcon 15s ease-in-out infinite;
}
.float-icon:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 60%; left: 5%; animation-delay: 2s; font-size: 2.5rem; }
.float-icon:nth-child(3) { top: 30%; right: 12%; animation-delay: 1s; }
.float-icon:nth-child(4) { top: 75%; right: 8%; animation-delay: 3s; font-size: 1.8rem; }
.float-icon:nth-child(5) { top: 20%; left: 30%; animation-delay: 1.5s; color: rgba(226,14,32,0.06); }
.float-icon:nth-child(6) { bottom: 20%; right: 25%; animation-delay: 4s; font-size: 2.2rem; color: rgba(61,97,129,0.06); }
.float-icon:nth-child(7) { top: 45%; left: 15%; animation-delay: 2.5s; font-size: 1.6rem; color: rgba(210,168,255,0.05); }
.float-icon:nth-child(8) { bottom: 30%; left: 35%; animation-delay: 5s; font-size: 2rem; color: rgba(61,97,129,0.05); }
@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
    25% { transform: translateY(-20px) rotate(5deg) scale(1.1); opacity: 0.8; }
    50% { transform: translateY(-35px) rotate(-3deg) scale(1); opacity: 1; }
    75% { transform: translateY(-15px) rotate(8deg) scale(1.05); opacity: 0.6; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
}

/* Particle system */
.software-particles { position: absolute; inset: 0; overflow: hidden; }
.software-particles span {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: rgba(61,97,129,0.5);
    animation: particleDrift linear infinite;
    opacity: 0;
}
.software-particles span:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s; }
.software-particles span:nth-child(2)  { left: 12%; animation-duration: 10s; animation-delay: 1s; background: rgba(226,14,32,0.4); }
.software-particles span:nth-child(3)  { left: 20%; animation-duration: 14s; animation-delay: 2s; }
.software-particles span:nth-child(4)  { left: 28%; animation-duration: 11s; animation-delay: 0.5s; }
.software-particles span:nth-child(5)  { left: 35%; animation-duration: 13s; animation-delay: 3s; background: rgba(210,168,255,0.4); }
.software-particles span:nth-child(6)  { left: 42%; animation-duration: 9s;  animation-delay: 1.5s; }
.software-particles span:nth-child(7)  { left: 50%; animation-duration: 15s; animation-delay: 0.8s; }
.software-particles span:nth-child(8)  { left: 58%; animation-duration: 10s; animation-delay: 2.5s; background: rgba(226,14,32,0.3); }
.software-particles span:nth-child(9)  { left: 65%; animation-duration: 12s; animation-delay: 1.2s; }
.software-particles span:nth-child(10) { left: 72%; animation-duration: 14s; animation-delay: 3.5s; }
.software-particles span:nth-child(11) { left: 78%; animation-duration: 11s; animation-delay: 0.3s; background: rgba(210,168,255,0.3); }
.software-particles span:nth-child(12) { left: 85%; animation-duration: 13s; animation-delay: 2.8s; }
.software-particles span:nth-child(13) { left: 92%; animation-duration: 10s; animation-delay: 1.8s; }
.software-particles span:nth-child(14) { left: 8%;  animation-duration: 16s; animation-delay: 4s; }
.software-particles span:nth-child(15) { left: 38%; animation-duration: 11s; animation-delay: 0.6s; width: 2px; height: 2px; }
.software-particles span:nth-child(16) { left: 55%; animation-duration: 13s; animation-delay: 2.2s; width: 4px; height: 4px; background: rgba(61,97,129,0.3); }
.software-particles span:nth-child(17) { left: 18%; animation-duration: 15s; animation-delay: 3.2s; width: 2px; height: 2px; }
.software-particles span:nth-child(18) { left: 68%; animation-duration: 9s;  animation-delay: 1.1s; }
.software-particles span:nth-child(19) { left: 82%; animation-duration: 12s; animation-delay: 4.5s; width: 4px; height: 4px; }
.software-particles span:nth-child(20) { left: 48%; animation-duration: 14s; animation-delay: 0.9s; }
@keyframes particleDrift {
    0% { top: 110%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.8; }
    50% { transform: translateX(30px); }
    95% { opacity: 0.8; }
    100% { top: -5%; opacity: 0; transform: translateX(-20px); }
}

/* Connection network SVG */
.software-connections {
    position: absolute; inset: 0; z-index: 0;
}
.conn-line {
    stroke: rgba(61,97,129,0.1); stroke-width: 1;
    stroke-dasharray: 8 4;
    animation: connDash 20s linear infinite;
}
.conn-node {
    fill: rgba(61,97,129,0.2);
    animation: connPulse 3s ease-in-out infinite;
}
.conn-node:nth-child(odd) { animation-delay: 1s; }
@keyframes connDash { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes connPulse { 0%, 100% { r: 3; opacity: 0.3; } 50% { r: 5; opacity: 0.8; } }

/* Content layout */
.software-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
}
.software-text { color: #fff; }
.software-text h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.software-text p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; }

.software-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.software-tag {
    padding: 8px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
    background: rgba(61,97,129,0.2); color: #fff; border: 1px solid rgba(61,97,129,0.3);
    transition: all 0.3s ease;
}
.software-tag:hover {
    background: rgba(61,97,129,0.4); border-color: var(--bc-steel);
    box-shadow: 0 0 20px rgba(61,97,129,0.2);
    transform: translateY(-2px);
}

/* Code visual area */
.software-visual { position: relative; }
.code-stack { position: relative; height: 400px; }

.code-window {
    position: absolute; background: #0d1117; border-radius: 12px;
    overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.4s ease;
}
.code-window:hover {
    box-shadow: 0 30px 100px rgba(0,0,0,0.6), 0 0 30px rgba(61,97,129,0.1);
}
.code-window--main {
    width: 100%; max-width: 440px; right: 0; top: 10px; z-index: 2;
    animation: codeFloat 6s ease-in-out infinite;
}
.code-window--back {
    width: 280px; left: 0; top: 0; z-index: 1; opacity: 0.5;
    transform: scale(0.9);
    animation: codeFloatBack 6s ease-in-out infinite 1s;
}
@keyframes codeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes codeFloatBack {
    0%, 100% { transform: scale(0.9) translateY(0); }
    50% { transform: scale(0.9) translateY(-8px); }
}

/* Titlebar with tabs */
.code-titlebar {
    background: #161b22; padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 12px; height: 12px; border-radius: 50%; transition: transform 0.2s; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-dots:hover span { transform: scale(1.2); }
.code-titlebar > span { margin-left: auto; color: rgba(255,255,255,0.4); font-size: 0.75rem; font-family: 'SF Mono', monospace; display: none; }
.code-tab-active, .code-tab {
    font-size: 0.7rem; font-family: 'SF Mono', monospace; padding: 4px 12px;
    border-radius: 6px; margin-left: auto;
}
.code-tab-active { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.code-tab { color: rgba(255,255,255,0.25); margin-left: 4px; }

/* Code body with line numbers */
.code-body { padding: 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.75rem; line-height: 1.9; }
.code-line { white-space: nowrap; color: #e6edf3; }
.code-line-numbered {
    white-space: nowrap; color: #e6edf3; display: flex; gap: 16px;
    padding: 0 8px; margin: 0 -8px; border-radius: 4px;
    transition: background 0.2s;
}
.code-line-numbered.active-line { background: rgba(61,97,129,0.1); }
.code-linenum {
    color: rgba(255,255,255,0.15); min-width: 20px; text-align: right;
    user-select: none; font-size: 0.7rem;
}
.code-keyword { color: #ff7b72; }
.code-func { color: #d2a8ff; }
.code-string { color: #a5d6ff; }
.code-comment { color: #8b949e; font-style: italic; }
.code-type { color: #79c0ff; }
.code-var { color: #ffa657; }
.code-bracket { color: #8b949e; }
.code-cursor {
    display: inline-block; width: 8px; height: 16px;
    background: var(--bc-red); animation: blink 1s step-end infinite;
    vertical-align: text-bottom; border-radius: 1px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Type-in animation for code lines */
.sw-typein {
    opacity: 0;
    animation: swTypein 0.4s ease-out forwards;
    animation-delay: calc(0.8s + var(--line-i) * 0.15s);
}
@keyframes swTypein {
    0% { opacity: 0; transform: translateX(-10px); filter: blur(2px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

/* Terminal */
.terminal-window {
    position: absolute; bottom: -10px; left: 10px; width: 280px;
    background: #1a1a2e; border-radius: 10px; overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06);
    z-index: 3; animation: terminalFloat 6s ease-in-out infinite 0.5s;
}
@keyframes terminalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.terminal-bar {
    background: #252540; padding: 8px 12px; font-size: 0.7rem;
    color: rgba(255,255,255,0.5); font-family: monospace;
    display: flex; align-items: center; gap: 10px;
}
.terminal-bar-dots { display: flex; gap: 5px; }
.terminal-bar-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.terminal-body { padding: 12px; font-family: 'SF Mono', monospace; font-size: 0.7rem; }
.terminal-line { color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.terminal-prompt { color: #28c840; margin-right: 8px; }
.terminal-success { color: #28c840; }
.terminal-typing::after {
    content: ''; display: inline-block; width: 6px; height: 12px;
    background: #28c840; margin-left: 2px; animation: blink 0.8s step-end infinite;
}

/* Terminal lines type-in */
.sw-term-line {
    opacity: 0;
    animation: swTermLine 0.3s ease-out forwards;
    animation-delay: calc(2.5s + var(--term-i) * 0.6s);
}
@keyframes swTermLine {
    0% { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Tech badges */
.tech-badges {
    display: flex; gap: 8px; z-index: 4; flex-wrap: wrap;
    justify-content: flex-end; margin-top: 20px;
}
.tech-badge {
    padding: 6px 14px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 6px;
    font-size: 0.75rem; font-weight: 600; color: #fff;
    backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.tech-badge--orbit {
    opacity: 0;
    animation: badgeAppear 0.4s ease-out forwards, badgePulse 4s ease-in-out infinite;
    animation-delay: calc(3.5s + var(--orbit-i) * 0.2s), calc(4s + var(--orbit-i) * 0.7s);
}
.tech-badge:hover {
    background: rgba(61,97,129,0.3); border-color: rgba(61,97,129,0.5);
    transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
@keyframes badgeAppear {
    0% { opacity: 0; transform: scale(0.5) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(61,97,129,0); }
    50% { box-shadow: 0 0 12px rgba(61,97,129,0.15); }
}

/* CI/CD Pipeline */
.sw-pipeline {
    display: flex; align-items: stretch; gap: 0;
    margin-top: 20px; padding: 20px 24px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; position: relative; z-index: 4;
}
.sw-pipe-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    min-width: 60px; position: relative;
}
.sw-pipe-step span {
    font-size: 0.65rem; color: rgba(255,255,255,0.35); text-transform: uppercase;
    letter-spacing: 0.05em; font-weight: 600; white-space: nowrap;
}
.sw-pipe-icon {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.3);
    transition: all 0.3s ease; flex-shrink: 0;
}
.sw-pipe-done .sw-pipe-icon {
    border-color: #28c840; color: #28c840;
    background: rgba(40,200,64,0.1);
    box-shadow: 0 0 10px rgba(40,200,64,0.15);
}
.sw-pipe-done span { color: #28c840; }
.sw-pipe-running .sw-pipe-icon {
    border-color: var(--bc-steel); color: var(--bc-steel);
    background: rgba(61,97,129,0.1);
    animation: pipeRunning 1.5s ease-in-out infinite;
}
.sw-pipe-running span { color: var(--bc-steel); }
.sw-pipe-spinner {
    width: 14px; height: 14px; border: 2px solid rgba(61,97,129,0.3);
    border-top-color: var(--bc-steel); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pipeRunning {
    0%, 100% { box-shadow: 0 0 10px rgba(61,97,129,0.15); }
    50% { box-shadow: 0 0 20px rgba(61,97,129,0.3); }
}
.sw-pipe-connector {
    flex: 1; height: 2px; min-width: 24px;
    background: rgba(255,255,255,0.06);
    position: relative; overflow: hidden;
    align-self: center;
    margin-top: -14px;
}
.sw-pipe-connector.sw-pipe-active { background: rgba(40,200,64,0.3); }
.sw-pipe-connector.sw-pipe-active::after {
    content: ''; position: absolute; top: 0; left: -40px;
    width: 40px; height: 100%;
    background: linear-gradient(90deg, transparent, #28c840, transparent);
    animation: pipeFlow 2s linear infinite;
}
@keyframes pipeFlow { 0% { left: -40px; } 100% { left: 100%; } }

@media (max-width: 1024px) {
    .software-content { grid-template-columns: 1fr; gap: 48px; }
    .software-visual { order: -1; }
    .code-stack { height: 360px; }
    .code-window--main { max-width: 100%; right: auto; left: 50%; transform: translateX(-50%); }
    .code-window--back { display: none; }
    .terminal-window { left: 50%; transform: translateX(-50%); }
    .tech-badges { justify-content: center; }
    .sw-pipeline { margin-top: 20px; }
    .software-connections { display: none; }
}
@media (max-width: 768px) {
    .software-text { text-align: center; }
    .software-tags { justify-content: center; }
    .software-text .btn { margin: 0 auto; }
    .sw-pipeline { padding: 12px 10px; }
    .sw-pipe-step { min-width: 44px; }
    .sw-pipe-step span { font-size: 0.6rem; }
}

/* KI Section – Full Impact */
.ki-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 50%, #0f0f1a 100%);
    overflow: hidden;
}
.ki-bg { position: absolute; inset: 0; pointer-events: none; }
.ki-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,14,32,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,14,32,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: kiGridMove 30s linear infinite;
}
@keyframes kiGridMove { 0% { transform: translate(0,0); } 100% { transform: translate(50px,50px); } }

.ki-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.ki-glow--1 {
    width: 600px; height: 600px; top: -20%; left: -10%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
    animation: kiGlow1 8s ease-in-out infinite;
}
.ki-glow--2 {
    width: 500px; height: 500px; bottom: -20%; right: -10%;
    background: radial-gradient(circle, rgba(61,97,129,0.2) 0%, transparent 70%);
    animation: kiGlow2 10s ease-in-out infinite;
}
@keyframes kiGlow1 { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes kiGlow2 { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } }

.ki-data-stream {
    position: absolute; inset: 0;
}
.ki-data-stream span {
    position: absolute; width: 2px; height: 20px;
    background: linear-gradient(to bottom, transparent, var(--bc-red), transparent);
    animation: dataStream 3s linear infinite;
}
.ki-data-stream span:nth-child(1) { left: 10%; animation-delay: 0s; }
.ki-data-stream span:nth-child(2) { left: 20%; animation-delay: 0.5s; height: 30px; }
.ki-data-stream span:nth-child(3) { left: 35%; animation-delay: 1s; }
.ki-data-stream span:nth-child(4) { left: 50%; animation-delay: 0.3s; height: 25px; }
.ki-data-stream span:nth-child(5) { left: 65%; animation-delay: 0.8s; }
.ki-data-stream span:nth-child(6) { left: 75%; animation-delay: 1.5s; height: 35px; }
.ki-data-stream span:nth-child(7) { left: 85%; animation-delay: 0.2s; }
.ki-data-stream span:nth-child(8) { left: 92%; animation-delay: 1.2s; height: 28px; }
.ki-data-stream span:nth-child(9) { left: 5%; animation-delay: 2s; }
.ki-data-stream span:nth-child(10) { left: 45%; animation-delay: 2.5s; height: 22px; }
@keyframes dataStream {
    0% { top: -30px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.ki-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.ki-visual { display: flex; flex-direction: column; align-items: center; gap: 40px; }

.ki-brain {
    position: relative; width: 280px; height: 280px;
    display: flex; align-items: center; justify-content: center;
}
.brain-core {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    box-shadow: 0 0 60px rgba(226,14,32,0.5), 0 0 100px rgba(226,14,32,0.3), inset 0 0 30px rgba(255,255,255,0.2);
    animation: brainPulse 2s ease-in-out infinite;
}
@keyframes brainPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(226,14,32,0.5), 0 0 100px rgba(226,14,32,0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(226,14,32,0.6), 0 0 120px rgba(226,14,32,0.4); }
}

.brain-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid transparent; border-top-color: var(--bc-red); border-right-color: var(--bc-red);
    opacity: 0.6;
}
.brain-ring--1 { width: 140px; height: 140px; animation: brainRing 3s linear infinite; }
.brain-ring--2 { width: 200px; height: 200px; animation: brainRing 5s linear infinite reverse; border-top-color: var(--bc-steel); border-right-color: var(--bc-steel); }
.brain-ring--3 { width: 260px; height: 260px; animation: brainRing 7s linear infinite; opacity: 0.3; }
@keyframes brainRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.brain-particles span {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--bc-red); box-shadow: 0 0 10px var(--bc-red);
}
.brain-particles span:nth-child(1) { top: 10%; left: 50%; animation: brainParticle 4s ease-in-out infinite; }
.brain-particles span:nth-child(2) { top: 50%; right: 5%; animation: brainParticle 4s ease-in-out infinite 0.5s; background: var(--bc-steel); box-shadow: 0 0 10px var(--bc-steel); }
.brain-particles span:nth-child(3) { bottom: 10%; left: 50%; animation: brainParticle 4s ease-in-out infinite 1s; }
.brain-particles span:nth-child(4) { top: 50%; left: 5%; animation: brainParticle 4s ease-in-out infinite 1.5s; background: var(--bc-steel); box-shadow: 0 0 10px var(--bc-steel); }
.brain-particles span:nth-child(5) { top: 20%; left: 20%; animation: brainParticle 4s ease-in-out infinite 2s; width: 4px; height: 4px; }
.brain-particles span:nth-child(6) { top: 20%; right: 20%; animation: brainParticle 4s ease-in-out infinite 2.5s; width: 4px; height: 4px; background: var(--bc-steel); box-shadow: 0 0 10px var(--bc-steel); }
.brain-particles span:nth-child(7) { bottom: 20%; right: 20%; animation: brainParticle 4s ease-in-out infinite 3s; width: 4px; height: 4px; }
.brain-particles span:nth-child(8) { bottom: 20%; left: 20%; animation: brainParticle 4s ease-in-out infinite 3.5s; width: 4px; height: 4px; background: var(--bc-steel); box-shadow: 0 0 10px var(--bc-steel); }
@keyframes brainParticle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.ki-metrics {
    display: flex; gap: 32px;
}
.ki-metric {
    text-align: center; padding: 16px 24px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; backdrop-filter: blur(10px);
}
.metric-value {
    display: block; font-size: 1.8rem; font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--bc-red));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metric-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.1em; }

.ki-text { color: #fff; }
.ki-text h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.ki-text p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; }
.overline--light { color: rgba(255,255,255,0.5); }

.ki-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.ki-tag {
    padding: 8px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
    background: rgba(226,14,32,0.15); color: #fff; border: 1px solid rgba(226,14,32,0.3);
    transition: all var(--bc-transition);
}
.ki-tag:hover { background: rgba(226,14,32,0.3); border-color: var(--bc-red); }

@media (max-width: 968px) {
    .ki-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .ki-visual { order: -1; }
    .ki-tags { justify-content: center; }
    .ki-text .btn { margin: 0 auto; }
}

/* --- Service Content --- */
.service-content h2 { margin-bottom: 16px; }
.service-content p { color: var(--bc-text-light); margin-bottom: 24px; font-size: 1.05rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag { display: inline-block; padding: 6px 14px; background: var(--bc-red-light); color: var(--bc-red); font-size: 0.8rem; font-weight: 600; border-radius: 100px; }

/* --- Feature Cards (Enhanced) --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.feature-card {
    background: var(--bc-bg-white); padding: 40px 28px 36px;
    border-radius: var(--bc-radius); border: 1px solid var(--bc-border);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--bc-red), var(--bc-steel));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.feature-card::after {
    content: ''; position: absolute; bottom: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(226,14,32,0.04) 0%, transparent 70%);
    transition: all 0.5s ease; pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31,53,72,0.15);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { bottom: -30px; right: -30px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(226,14,32,0.06) 0%, transparent 70%); }
.feature-card:hover .feature-icon {
    background: var(--bc-red);
    color: #fff;
    box-shadow: 0 8px 24px rgba(226,14,32,0.3);
    transform: scale(1.1) rotate(-3deg);
}
.feature-icon {
    width: 56px; height: 56px; background: var(--bc-red-light);
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 22px; color: var(--bc-red);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative; z-index: 1;
}
.feature-card h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.feature-card p { color: var(--bc-text-light); margin: 0; font-size: 0.95rem; position: relative; z-index: 1; }

/* --- Projects Grid --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.project-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: var(--bc-bg-white); border-radius: var(--bc-radius);
    overflow: hidden; border: 1px solid var(--bc-border);
    transition: all var(--bc-transition); cursor: pointer;
}
a.project-card:hover { color: inherit; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--bc-shadow-lg); border-color: transparent; }
.project-thumb { height: 200px; position: relative; overflow: hidden; }
.project-thumb--1 { background: linear-gradient(135deg, #1a2d40, #2d5f8a); }
.project-thumb--2 { background: linear-gradient(135deg, #1f3548, #e20e20); }
.project-thumb--3 { background: linear-gradient(135deg, #0f1923, #3d6181); }
.project-thumb--4 { background: linear-gradient(135deg, #2a1a3e, #e20e20); }
.project-thumb-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border-radius: 50%; backdrop-filter: blur(8px);
}
.project-thumb-icon svg { width: 36px; height: 36px; color: #fff; }
.project-tag {
    position: absolute; top: 16px; left: 16px;
    background: rgba(0,0,0,0.5); color: #fff;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 4px 12px; border-radius: 100px;
    backdrop-filter: blur(8px);
}
.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.project-body p { color: var(--bc-text-light); font-size: 0.9rem; margin: 0 0 16px; }
.project-link { font-size: 0.85rem; font-weight: 600; color: var(--bc-red); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.project-link:hover { gap: 8px; }
.project-card.hidden { display: none; }
.project-card.load-hidden { display: none; }

.load-more-wrapper {
    text-align: center; margin-top: 40px;
}
.btn-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; border-radius: var(--bc-radius-sm);
    font-family: var(--bc-font); font-size: 0.95rem; font-weight: 600;
    background: transparent; color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; transition: all 0.3s ease;
}
.btn-outline-light:hover {
    color: #fff; border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* --- Project Filters (Multi-Select Chips) --- */
.project-filters {
    display: flex; flex-direction: column; gap: 16px;
    margin-bottom: 24px; padding: 24px;
    background: var(--bc-bg-white); border-radius: var(--bc-radius);
    border: 1px solid var(--bc-border);
}
.filter-chips-group {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.filter-chips-group--search { margin-top: 4px; }
.filter-chips-label {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--bc-text-light);
    min-width: 70px; flex-shrink: 0;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
    padding: 7px 16px; border-radius: 100px;
    font-family: var(--bc-font); font-size: 0.82rem; font-weight: 500;
    background: transparent; color: var(--bc-text);
    border: 1px solid var(--bc-border);
    cursor: pointer; transition: all 0.25s ease;
    user-select: none;
}
.filter-chip:hover {
    border-color: var(--bc-steel); background: rgba(61,97,129,0.05);
}
.filter-chip.active {
    background: var(--bc-navy); color: #fff;
    border-color: var(--bc-navy);
    box-shadow: 0 2px 8px rgba(31,53,72,0.25);
}
.filter-chip.active:hover {
    background: var(--bc-steel); border-color: var(--bc-steel);
}
.filter-input {
    width: 100%; padding: 10px 16px;
    font-family: var(--bc-font); font-size: 0.9rem;
    border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm);
    background: var(--bc-bg-light); color: var(--bc-text);
    transition: all var(--bc-transition); cursor: text;
}
.filter-input:hover { border-color: var(--bc-steel); }
.filter-input:focus {
    outline: none; border-color: var(--bc-red);
    box-shadow: 0 0 0 3px var(--bc-red-light);
}
.filter-input::placeholder { color: var(--bc-text-light); }

/* --- Project Detail --- */
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 24px; text-decoration: none; transition: all var(--bc-transition);
}
.back-link:hover { color: #fff; gap: 12px; }

.project-detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }

/* Content Area */
.project-detail-content {
    font-size: 1.05rem; line-height: 1.9; color: var(--bc-text);
    background: #fff; padding: 48px; border-radius: var(--bc-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04);
}
.project-detail-content h2 {
    margin-top: 56px; margin-bottom: 24px; padding-top: 56px;
    font-size: 1.5rem; color: var(--bc-navy); font-weight: 700;
    border-top: 1px solid var(--bc-border);
}
.project-detail-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.project-detail-content h3 {
    margin-top: 40px; margin-bottom: 16px;
    font-size: 1.15rem; color: var(--bc-navy); font-weight: 600;
}
.project-detail-content p { margin-bottom: 20px; color: var(--bc-text-light); }
.project-detail-content ul, .project-detail-content ol {
    margin: 24px 0; padding: 0; list-style: none;
}
.project-detail-content li {
    margin-bottom: 12px; padding-left: 32px; position: relative;
    color: var(--bc-text-light); line-height: 1.7;
}
.project-detail-content li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 8px; height: 8px; background: var(--bc-red);
    border-radius: 2px; transform: rotate(45deg);
}
.project-detail-content strong { color: var(--bc-navy); font-weight: 600; }

/* Sidebar (right) */
.project-detail-sidebar {
    position: sticky; top: 100px; align-self: start;
}

.sidebar-block {
    background: #fff; padding: 28px 28px 32px; border-radius: var(--bc-radius);
    margin-bottom: 24px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.sidebar-block h4 {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--bc-text-light); margin-bottom: 20px; font-weight: 600;
}

.highlight-list { list-style: none; margin: 0; padding: 0; }
.highlight-list li {
    padding: 14px 0 14px 36px; position: relative;
    color: var(--bc-text); font-size: 0.9rem; font-weight: 500;
    border-bottom: 1px solid var(--bc-bg-light);
}
.highlight-list li:last-child { border-bottom: none; padding-bottom: 0; }
.highlight-list li::before {
    content: ''; position: absolute; left: 0; top: 16px;
    width: 24px; height: 24px; background: var(--bc-red-light); border-radius: 50%;
}
.highlight-list li::after {
    content: '✓'; position: absolute; left: 7px; top: 18px;
    color: var(--bc-red); font-weight: 700; font-size: 0.75rem;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.sidebar-block .tag {
    display: inline-block; background: #fff;
    padding: 12px 18px; border-radius: 10px;
    font-size: 0.8rem; font-weight: 500; color: var(--bc-text);
    transition: all var(--bc-transition);
    border: 1px solid var(--bc-border);
}
.sidebar-block .tag:hover { background: var(--bc-red-light); color: var(--bc-red); border-color: transparent; }

.sidebar-block--highlights {
    background: linear-gradient(135deg, #fff 0%, var(--bc-bg-light) 100%);
    border-left: 3px solid var(--bc-red);
    margin-top: 8px;
}
.sidebar-block--meta { background: var(--bc-bg-light); padding: 32px 28px; }
.sidebar-block--meta .meta-group { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.sidebar-block--meta .meta-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-block--meta .meta-group h4 { margin-bottom: 16px; }
.sidebar-block .tag--branche { background: var(--bc-navy); color: #fff; border-color: var(--bc-navy); }
.sidebar-block .tag--branche:hover { background: var(--bc-steel); color: #fff; border-color: var(--bc-steel); }

.sidebar-cta { margin-top: 8px; }
.sidebar-cta .btn { padding: 16px 32px; font-size: 0.95rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.project-section { background: var(--bc-bg-light); padding: clamp(60px, 8vw, 100px) 0; }

/* Highlights (below main content) */
.project-highlights {
    margin-top: 48px; padding-top: 48px;
    border-top: 1px solid var(--bc-border);
}
.project-highlights h3 {
    font-size: 1.1rem; color: var(--bc-navy); margin-bottom: 24px; font-weight: 700;
}
.project-highlights-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.project-highlight-item {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; background: #fff; border-radius: var(--bc-radius-sm);
    border: 1px solid rgba(0,0,0,0.04); font-size: 0.92rem; font-weight: 500;
    color: var(--bc-text); transition: all 0.3s ease;
}
.project-highlight-item:hover {
    border-color: var(--bc-red-light); transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.project-highlight-check {
    width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
    background: var(--bc-red-light); color: var(--bc-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}

/* Project CTA */
.project-cta {
    margin-top: 40px; text-align: center;
}

/* Related projects */
.project-related {
    margin-top: 60px; padding-top: 60px;
    border-top: 1px solid var(--bc-border);
}
.project-related h3 {
    font-size: 1.1rem; color: var(--bc-navy); margin-bottom: 24px; font-weight: 700;
}
.project-related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.project-related-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px; background: #fff; border-radius: var(--bc-radius-sm);
    border: 1px solid rgba(0,0,0,0.04); text-decoration: none;
    transition: all 0.3s ease;
}
.project-related-card:hover {
    border-color: var(--bc-steel); transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.project-related-title {
    font-size: 0.95rem; font-weight: 700; color: var(--bc-navy);
}
.project-related-desc {
    font-size: 0.82rem; color: var(--bc-text-light); line-height: 1.5;
}
.project-related-arrow {
    font-size: 0.85rem; color: var(--bc-red); font-weight: 600;
    margin-top: auto; transition: transform 0.2s;
}
.project-related-card:hover .project-related-arrow { transform: translateX(4px); }

.hero-subtitle { font-size: 1.35rem; color: rgba(255,255,255,0.65); margin-top: 20px; font-weight: 400; max-width: 600px; }

@media (max-width: 968px) {
    .project-detail { grid-template-columns: 1fr; }
    .project-detail-content { padding: 32px; }
    .project-detail-sidebar { position: static; }
    .sidebar-block { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .project-filters { flex-direction: column; }
    .filter-chips-label { min-width: 100%; }
    .filter-chips-group { gap: 8px; }
    .project-detail-content { padding: 24px; }
    .project-highlights-grid { grid-template-columns: 1fr; }
    .project-related-grid { grid-template-columns: 1fr; }
}

/* --- Support Page --- */
.support-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.support-card {
    background: var(--bc-bg-white); padding: 32px;
    border-radius: var(--bc-radius); border: 1px solid var(--bc-border);
    display: flex; gap: 24px; align-items: flex-start;
    transition: all var(--bc-transition);
}
.support-card:hover { box-shadow: var(--bc-shadow-lg); border-color: transparent; transform: translateY(-4px); }
.support-card--wide { grid-column: span 2; }
.support-card--status { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.support-card--remote { background: linear-gradient(135deg, var(--bc-bg-light), #fff); }

.support-card-icon {
    width: 56px; height: 56px; min-width: 56px;
    background: var(--bc-bg-light); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--bc-navy);
}
.support-card-icon--green { background: #dcfce7; color: #16a34a; }
.support-card-icon--red { background: #fef2f2; color: var(--bc-red); }

.support-card-content h3 { margin-bottom: 12px; font-size: 1.2rem; }
.support-card-content p { color: var(--bc-text-light); margin-bottom: 16px; font-size: 0.95rem; }
.support-card-content .btn { margin-top: 8px; }

.status-ok { color: #16a34a; font-weight: 500; margin-bottom: 12px; }
.status-badge { display: inline-block; padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.status-badge--ok { background: #dcfce7; color: #16a34a; }

.support-link {
    display: block; font-size: 1.1rem; font-weight: 600;
    color: var(--bc-red); margin-bottom: 8px;
}
.support-link:hover { color: var(--bc-red-hover); }

.support-note { font-size: 0.85rem; color: var(--bc-text-light); margin-top: 16px; margin-bottom: 0; }

.support-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.support-info-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bc-text-light); margin-bottom: 8px; }
.support-info-grid p { color: var(--bc-text); margin: 0; }

@media (max-width: 768px) {
    .support-grid { grid-template-columns: 1fr; }
    .support-card--wide { grid-column: span 1; }
    .support-card { flex-direction: column; }
    .support-info-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(160deg, var(--bc-bg-dark) 0%, var(--bc-navy-light) 100%);
    color: #fff; padding: clamp(80px, 10vw, 120px) 0;
    text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(226,14,32,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(61,97,129,0.15) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Contact Cards --- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card {
    background: var(--bc-bg-light); padding: 40px 28px; border-radius: var(--bc-radius);
    text-align: center; border: 1px solid var(--bc-border);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.contact-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--bc-red), var(--bc-steel));
    transform: scaleX(0); transition: transform 0.5s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--bc-shadow-lg); border-color: transparent; background: var(--bc-bg-white); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card:hover .contact-card-icon { background: var(--bc-red); color: #fff; box-shadow: 0 8px 24px rgba(226,14,32,0.25); }
.contact-card-icon {
    width: 64px; height: 64px; background: var(--bc-red-light); color: var(--bc-red);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.contact-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.contact-card p { color: var(--bc-text-light); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.contact-card a { color: var(--bc-red); font-weight: 500; }

/* --- Footer --- */
.site-footer { background: var(--bc-bg-dark); color: var(--bc-text-on-dark); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--bc-border-dark); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.88rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); padding: 3px 0; font-size: 0.88rem; transition: color var(--bc-transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.82rem; color: rgba(255,255,255,0.35); gap: 16px; flex-wrap: wrap; }
.no-cookies {
    display: flex; align-items: center; gap: 12px;
}
.no-cookies-badge {
    padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
    background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3);
    letter-spacing: 0.02em; white-space: nowrap;
}
.no-cookies-text {
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,0.35); transition: color var(--bc-transition); }
.footer-social a:hover { color: #fff; }

/* --- Animations --- */
.animate-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* --- Default Page Styles (Impressum, Datenschutz etc.) --- */
.page-hero {
    padding: clamp(140px, 18vw, 180px) 0 clamp(60px, 8vw, 80px);
    background: linear-gradient(135deg, var(--bc-bg-dark) 0%, #1a2a3a 50%, var(--bc-navy) 100%);
    color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(226,14,32,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(61,97,129,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .overline { opacity: 0.6; }
.page-hero h1 { color: #fff; margin-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 968px) {
    .service-block { grid-template-columns: 1fr; gap: 32px; }
    .service-block.reverse { direction: ltr; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item + .stat-item::before { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: var(--bc-bg-white); flex-direction: column;
        padding: 24px; border-bottom: 1px solid var(--bc-border);
        box-shadow: var(--bc-shadow-lg); gap: 4px;
    }
    .main-nav.open { display: flex; }
    .nav-link { padding: 12px 16px; font-size: 1rem; }
    .btn-nav { margin-left: 0; margin-top: 8px; justify-content: center; }
    .hero { padding: 120px 0 70px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ===== MODERN SERVICE HERO ===== */
.service-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #0a1628 0%, #162236 50%, #1a2a3a 100%);
    color: #fff; position: relative; overflow: hidden;
}
.service-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.service-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,14,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,14,32,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: serviceGridMove 25s linear infinite;
}
@keyframes serviceGridMove { 0% { transform: translate(0,0); } 100% { transform: translate(60px,60px); } }

.service-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.service-hero-glow--1 {
    width: 600px; height: 600px; top: -30%; right: -10%;
    background: radial-gradient(circle, rgba(226,14,32,0.2) 0%, transparent 70%);
    animation: serviceGlow 8s ease-in-out infinite;
}
.service-hero-glow--2 {
    width: 500px; height: 500px; bottom: -40%; left: -10%;
    background: radial-gradient(circle, rgba(61,97,129,0.25) 0%, transparent 70%);
    animation: serviceGlow 10s ease-in-out infinite 2s;
}
@keyframes serviceGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.service-hero-particles {
    position: absolute; inset: 0;
}
.service-hero-particles span {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: var(--bc-red); box-shadow: 0 0 10px var(--bc-red);
    animation: serviceParticle 15s linear infinite;
}
.service-hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.service-hero-particles span:nth-child(2) { left: 20%; animation-delay: 1.5s; }
.service-hero-particles span:nth-child(3) { left: 35%; animation-delay: 3s; }
.service-hero-particles span:nth-child(4) { left: 50%; animation-delay: 2s; }
.service-hero-particles span:nth-child(5) { left: 65%; animation-delay: 4s; }
.service-hero-particles span:nth-child(6) { left: 75%; animation-delay: 0.5s; }
.service-hero-particles span:nth-child(7) { left: 85%; animation-delay: 2.5s; }
.service-hero-particles span:nth-child(8) { left: 92%; animation-delay: 5s; }
.service-hero-particles span:nth-child(9) { left: 5%; animation-delay: 6s; }
.service-hero-particles span:nth-child(10) { left: 45%; animation-delay: 7s; }
@keyframes serviceParticle {
    0% { top: 100%; opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: -10%; opacity: 0; transform: scale(1); }
}

.service-hero .container { position: relative; z-index: 2; }
.service-hero h1 { color: #fff; max-width: 800px; animation: fadeSlideUp 0.8s ease-out both; }
.service-hero .hero-subtitle { animation: fadeSlideUp 0.8s 0.2s ease-out both; }
.service-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }

.service-page-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
}

/* Enhanced Service Detail Cards */
.service-detail-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px;
}
.service-detail-card {
    background: #fff; padding: 36px 32px;
    border-radius: var(--bc-radius); border: 1px solid var(--bc-border);
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-detail-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--bc-red), var(--bc-steel));
    transform: scaleY(0); transform-origin: top; transition: transform 0.5s ease;
}
.service-detail-card::after {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(226,14,32,0.04) 0%, transparent 70%);
    transition: all 0.5s ease;
}
.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31,53,72,0.12);
    border-color: transparent;
}
.service-detail-card:hover::before { transform: scaleY(1); }
.service-detail-card:hover::after { top: -50px; right: -50px; width: 250px; height: 250px; }
.service-detail-card .overline { font-size: 0.7rem; margin-bottom: 8px; }
.service-detail-card h3 { margin-bottom: 12px; position: relative; z-index: 1; }
.service-detail-card p { color: var(--bc-text-light); margin: 0; font-size: 0.95rem; line-height: 1.7; position: relative; z-index: 1; }

/* ===== MODERN DEFAULT PAGE HERO ===== */
.modern-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; position: relative; overflow: hidden;
}
.modern-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.modern-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: modernGridMove 30s linear infinite;
}
@keyframes modernGridMove { 0% { transform: translate(0,0); } 100% { transform: translate(50px,50px); } }

.modern-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.modern-hero-glow--1 {
    width: 500px; height: 500px; top: -20%; left: 10%;
    background: radial-gradient(circle, rgba(61,97,129,0.3) 0%, transparent 70%);
    animation: modernGlow 12s ease-in-out infinite;
}
.modern-hero-glow--2 {
    width: 400px; height: 400px; bottom: -30%; right: 5%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
    animation: modernGlow 10s ease-in-out infinite 3s;
}
@keyframes modernGlow {
    0%, 100% { opacity: 0.4; transform: scale(1) translate(0, 0); }
    50% { opacity: 0.8; transform: scale(1.1) translate(10px, -10px); }
}

.modern-hero-lines {
    position: absolute; inset: 0;
}
.modern-hero-lines span {
    position: absolute; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: heroLine 8s ease-in-out infinite;
}
.modern-hero-lines span:nth-child(1) { left: 15%; height: 30%; top: 20%; animation-delay: 0s; }
.modern-hero-lines span:nth-child(2) { left: 35%; height: 50%; top: 10%; animation-delay: 1s; }
.modern-hero-lines span:nth-child(3) { left: 55%; height: 40%; top: 30%; animation-delay: 2s; }
.modern-hero-lines span:nth-child(4) { left: 75%; height: 35%; top: 15%; animation-delay: 1.5s; }
.modern-hero-lines span:nth-child(5) { left: 90%; height: 45%; top: 25%; animation-delay: 0.5s; }
@keyframes heroLine {
    0%, 100% { opacity: 0; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

.modern-hero .container { position: relative; z-index: 2; }
.modern-hero h1 { color: #fff !important; animation: fadeSlideUp 0.8s ease-out both; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.modern-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #fff 100%);
}
.modern-content .page-content {
    background: #fff; padding: 48px; border-radius: var(--bc-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04);
    max-width: 900px; margin: 0 auto;
}
.modern-content h2 {
    margin-top: 40px; margin-bottom: 16px; padding-top: 40px;
    font-size: 1.5rem; color: var(--bc-navy);
    border-top: 1px solid var(--bc-border);
}
.modern-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.modern-content h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.15rem; color: var(--bc-navy); }
.modern-content p { color: var(--bc-text-light); line-height: 1.8; }

/* ===== MODERN CONTACT HERO ===== */
.contact-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    color: #fff; position: relative; overflow: hidden;
}
.contact-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,14,32,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,14,32,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.contact-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.contact-hero-glow--1 {
    width: 500px; height: 500px; top: -20%; right: 20%;
    background: radial-gradient(circle, rgba(226,14,32,0.2) 0%, transparent 70%);
    animation: contactGlow 8s ease-in-out infinite;
}
.contact-hero-glow--2 {
    width: 400px; height: 400px; bottom: -30%; left: -10%;
    background: radial-gradient(circle, rgba(61,97,129,0.2) 0%, transparent 70%);
    animation: contactGlow 10s ease-in-out infinite 2s;
}
@keyframes contactGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.contact-hero-shapes {
    position: absolute; inset: 0;
}
.contact-shape {
    position: absolute; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: contactShapeFloat 20s ease-in-out infinite;
}
.contact-shape--1 {
    width: 120px; height: 120px; top: 15%; right: 10%;
    transform: rotate(15deg); animation-delay: 0s;
}
.contact-shape--2 {
    width: 80px; height: 80px; bottom: 20%; left: 8%;
    transform: rotate(-10deg); animation-delay: 5s;
    background: rgba(226,14,32,0.05);
}
.contact-shape--3 {
    width: 60px; height: 60px; top: 40%; left: 15%;
    transform: rotate(25deg); animation-delay: 10s;
}
@keyframes contactShapeFloat {
    0%, 100% { transform: rotate(15deg) translate(0, 0); }
    25% { transform: rotate(20deg) translate(10px, -15px); }
    50% { transform: rotate(10deg) translate(-5px, -25px); }
    75% { transform: rotate(18deg) translate(8px, -10px); }
}

.contact-hero .container { position: relative; z-index: 2; }
.contact-hero h1 { color: #fff; animation: fadeSlideUp 0.8s ease-out both; }
.contact-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }
.contact-hero .hero-subtitle { animation: fadeSlideUp 0.8s 0.2s ease-out both; }

.contact-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* Enhanced Contact Grid */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-grid--centered {
    grid-template-columns: 1fr; max-width: 600px; margin: 0 auto;
}
.contact-info {
    background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-dark) 100%);
    padding: 48px; border-radius: var(--bc-radius-lg); color: #fff;
    position: relative; overflow: hidden;
}
.contact-info::before {
    content: ''; position: absolute; top: -50%; right: -30%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
}
.contact-info h3 { color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.contact-info > p { color: rgba(255,255,255,0.7); margin-bottom: 32px; position: relative; z-index: 1; }
.contact-detail {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 20px; padding: 16px;
    background: rgba(255,255,255,0.05); border-radius: var(--bc-radius-sm);
    position: relative; z-index: 1;
    transition: all var(--bc-transition);
}
.contact-detail:hover { background: rgba(255,255,255,0.1); transform: translateX(8px); }
.contact-detail svg { color: var(--bc-red); flex-shrink: 0; margin-top: 2px; }
.contact-detail div { color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.6; }
.contact-detail strong { color: #fff; }

.contact-form {
    background: #fff; padding: 48px; border-radius: var(--bc-radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.04);
}
.contact-form label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--bc-navy); margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 14px 18px; margin-bottom: 20px;
    font-family: var(--bc-font); font-size: 1rem;
    border: 2px solid var(--bc-border); border-radius: var(--bc-radius-sm);
    background: var(--bc-bg-light); color: var(--bc-text);
    transition: all var(--bc-transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--bc-red);
    background: #fff; box-shadow: 0 0 0 4px var(--bc-red-light);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--bc-text-light); }

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-info { padding: 36px; }
    .contact-form { padding: 36px; }
}

/* ===== ABOUT PAGE ENHANCED ===== */
.about-intro {
    font-size: 1.15rem; line-height: 1.9; color: var(--bc-text);
    max-width: 800px; margin: 0 auto 48px;
    position: relative; padding-left: 24px;
    border-left: 3px solid var(--bc-red);
}

/* ===== REFERENCES PAGE ENHANCED ===== */
.reference-card {
    background: #fff; padding: 0;
    border-radius: var(--bc-radius); overflow: hidden;
    border: 1px solid var(--bc-border);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.reference-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--bc-red), var(--bc-steel));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31,53,72,0.15);
}
.reference-card:hover::before { transform: scaleX(1); }
.reference-card-header {
    padding: 28px 28px 0; border-bottom: none;
}
.reference-card-body {
    padding: 0 28px 28px;
}
.reference-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.reference-card p { color: var(--bc-text-light); font-size: 0.95rem; margin: 0; line-height: 1.7; }

/* ===== MODERN SUPPORT HERO ===== */
.support-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff; position: relative; overflow: hidden;
}
.support-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.support-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(16,185,129,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,185,129,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
.support-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.support-hero-glow--1 {
    width: 500px; height: 500px; top: -20%; right: 10%;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
    animation: supportGlow 10s ease-in-out infinite;
}
.support-hero-glow--2 {
    width: 400px; height: 400px; bottom: -30%; left: 5%;
    background: radial-gradient(circle, rgba(61,97,129,0.2) 0%, transparent 70%);
    animation: supportGlow 12s ease-in-out infinite 3s;
}
@keyframes supportGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.support-hero-pulse {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.support-hero-pulse span {
    position: absolute; width: 200px; height: 200px;
    border: 2px solid rgba(16,185,129,0.2); border-radius: 50%;
    animation: supportPulse 4s ease-out infinite;
}
.support-hero-pulse span:nth-child(1) { animation-delay: 0s; }
.support-hero-pulse span:nth-child(2) { animation-delay: 1.3s; }
.support-hero-pulse span:nth-child(3) { animation-delay: 2.6s; }
@keyframes supportPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.support-hero .container { position: relative; z-index: 2; }
.support-hero h1 { color: #fff; animation: fadeSlideUp 0.8s ease-out both; }
.support-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }
.support-hero .hero-subtitle { animation: fadeSlideUp 0.8s 0.2s ease-out both; }

.support-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
}

/* Enhanced Support Cards */
.support-card {
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.support-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--bc-steel), var(--bc-navy));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.support-card:hover::before { transform: scaleX(1); }
.support-card--status::before { background: linear-gradient(90deg, #16a34a, #22c55e); }
.support-card--remote::before { background: linear-gradient(90deg, var(--bc-red), #ff6b6b); }

/* ===== MODERN REFERENCES HERO ===== */
.references-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; position: relative; overflow: hidden;
}
.references-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.references-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,14,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,14,32,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.references-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.references-hero-glow--1 {
    width: 600px; height: 600px; top: -30%; left: 20%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
    animation: refGlow 10s ease-in-out infinite;
}
.references-hero-glow--2 {
    width: 500px; height: 500px; bottom: -40%; right: 10%;
    background: radial-gradient(circle, rgba(61,97,129,0.2) 0%, transparent 70%);
    animation: refGlow 12s ease-in-out infinite 3s;
}
@keyframes refGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.references-hero-cards {
    position: absolute; inset: 0;
}
.hero-card {
    position: absolute; border-radius: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(5px);
}
.hero-card--1 {
    width: 200px; height: 140px; top: 15%; right: 10%;
    transform: rotate(5deg); animation: heroCardFloat 15s ease-in-out infinite;
}
.hero-card--2 {
    width: 160px; height: 120px; bottom: 20%; left: 8%;
    transform: rotate(-8deg); animation: heroCardFloat 18s ease-in-out infinite 3s;
}
.hero-card--3 {
    width: 120px; height: 90px; top: 35%; left: 15%;
    transform: rotate(3deg); animation: heroCardFloat 12s ease-in-out infinite 6s;
}
@keyframes heroCardFloat {
    0%, 100% { transform: rotate(5deg) translate(0, 0); }
    25% { transform: rotate(8deg) translate(10px, -15px); }
    50% { transform: rotate(3deg) translate(-5px, -25px); }
    75% { transform: rotate(6deg) translate(8px, -10px); }
}

.references-hero .container { position: relative; z-index: 2; }
.references-hero h1 { color: #fff; animation: fadeSlideUp 0.8s ease-out both; }
.references-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }

.references-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
}

/* ===== MODERN PROJECT HERO ===== */
.project-hero {
    padding: clamp(180px, 22vw, 260px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    color: #fff; position: relative; overflow: hidden;
}
.project-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.project-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(61,97,129,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61,97,129,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
.project-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.project-hero-glow--1 {
    width: 500px; height: 500px; top: -20%; right: 15%;
    background: radial-gradient(circle, rgba(61,97,129,0.25) 0%, transparent 70%);
    animation: projectGlow 10s ease-in-out infinite;
}
.project-hero-glow--2 {
    width: 400px; height: 400px; bottom: -30%; left: 5%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
    animation: projectGlow 12s ease-in-out infinite 2s;
}
@keyframes projectGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.project-hero .container { position: relative; z-index: 2; }
.project-hero h1 { color: #fff; animation: fadeSlideUp 0.8s ease-out both; }
.project-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }
.project-hero .hero-subtitle { animation: fadeSlideUp 0.8s 0.2s ease-out both; }
.project-hero .back-link {
    display: flex; width: fit-content; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500;
    margin-bottom: 40px; transition: all var(--bc-transition);
}
.project-hero .back-link:hover { color: #fff; gap: 12px; }

/* ===== MODERN ABOUT HERO ===== */
.about-hero {
    padding: clamp(160px, 20vw, 220px) 0 clamp(80px, 10vw, 120px);
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
    color: #fff; position: relative; overflow: hidden;
}
.about-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.about-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.about-hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.about-hero-glow--1 {
    width: 600px; height: 600px; top: -30%; left: 30%;
    background: radial-gradient(circle, rgba(61,97,129,0.25) 0%, transparent 70%);
    animation: aboutGlow 12s ease-in-out infinite;
}
.about-hero-glow--2 {
    width: 500px; height: 500px; bottom: -40%; right: 20%;
    background: radial-gradient(circle, rgba(226,14,32,0.12) 0%, transparent 70%);
    animation: aboutGlow 15s ease-in-out infinite 3s;
}
@keyframes aboutGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.about-hero-orbit {
    position: absolute; top: 50%; right: 10%; transform: translateY(-50%);
    width: 300px; height: 300px;
}
.orbit-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
}
.orbit-ring--1 { width: 150px; height: 150px; animation: orbitSpin 20s linear infinite; }
.orbit-ring--2 { width: 220px; height: 220px; animation: orbitSpin 30s linear infinite reverse; }
.orbit-ring--3 { width: 290px; height: 290px; animation: orbitSpin 40s linear infinite; }
@keyframes orbitSpin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-steel), var(--bc-navy));
    box-shadow: 0 0 40px rgba(61,97,129,0.4);
}
.orbit-ring--1::after, .orbit-ring--2::after, .orbit-ring--3::after {
    content: ''; position: absolute; top: 0; left: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--bc-red); transform: translateX(-50%);
    box-shadow: 0 0 10px var(--bc-red);
}
.orbit-ring--2::after { background: var(--bc-steel); box-shadow: 0 0 10px var(--bc-steel); }
.orbit-ring--3::after { width: 6px; height: 6px; }

.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { color: #fff; animation: fadeSlideUp 0.8s ease-out both; }
.about-hero .overline { animation: fadeSlideUp 0.8s ease-out both; }

.about-content {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
}

@media (max-width: 768px) {
    .about-hero-orbit { display: none; }
}

/* ===== LEGAL PAGES (Impressum, Datenschutz) ===== */
.legal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-bottom: 48px;
}
.legal-grid--single { grid-template-columns: 1fr; max-width: 700px; }
.legal-grid--2 { grid-template-columns: repeat(2, 1fr); }

.legal-card {
    background: #fff; padding: 28px;
    border-radius: var(--bc-radius); border: 1px solid var(--bc-border);
    position: relative; overflow: hidden;
    transition: all 0.3s ease;
}
.legal-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--bc-steel), var(--bc-navy));
    opacity: 0; transition: opacity 0.3s ease;
}
.legal-card:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow-lg); }
.legal-card:hover::before { opacity: 1; }

.legal-card--primary {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-dark) 100%);
    color: #fff; border: none;
}
.legal-card--primary::before { display: none; }
.legal-card--primary .legal-card-icon { background: rgba(255,255,255,0.1); color: #fff; }

.legal-card--light { background: var(--bc-bg-light); }
.legal-card--nocookies {
    background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.03) 100%);
    border-color: rgba(34,197,94,0.2);
}
.legal-card--nocookies::before { background: linear-gradient(180deg, #22c55e, #16a34a); }
.legal-card--nocookies h3 { color: #16a34a; }
.legal-card-icon--green { background: rgba(34,197,94,0.15); color: #22c55e; }

.legal-card-icon {
    width: 48px; height: 48px;
    background: var(--bc-red-light); color: var(--bc-red);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.legal-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--bc-navy); }
.legal-card p { color: var(--bc-text-light); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* Primary card overrides (must come after generic .legal-card styles) */
.legal-card--primary h3 { color: #fff; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; opacity: 0.85; }
.legal-card--primary p { color: rgba(255,255,255,0.85); margin: 0; }
.legal-card--primary .legal-company { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.legal-note { font-size: 0.8rem; color: var(--bc-red); margin-top: 12px !important; font-style: italic; }

.legal-section { margin: 48px 0 24px; }
.legal-section h2 { font-size: 1.5rem; color: var(--bc-navy); margin-bottom: 0; }

@media (max-width: 968px) {
    .legal-grid { grid-template-columns: repeat(2, 1fr); }
    .legal-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .legal-grid { grid-template-columns: 1fr; }
}

/* ===== WHY SECTION (Homepage) ===== */
.why-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}
.why-bg { position: absolute; inset: 0; pointer-events: none; }
.why-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: 60px 60px;
}
.why-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.why-glow--1 {
    width: 500px; height: 500px; top: -20%; left: 20%;
    background: radial-gradient(circle, rgba(61,97,129,0.2) 0%, transparent 70%);
    animation: whyGlow 12s ease-in-out infinite;
}
.why-glow--2 {
    width: 400px; height: 400px; bottom: -20%; right: 10%;
    background: radial-gradient(circle, rgba(226,14,32,0.12) 0%, transparent 70%);
    animation: whyGlow 15s ease-in-out infinite 3s;
}
@keyframes whyGlow { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.why-hexagons { position: absolute; inset: 0; }
.hexagon {
    position: absolute; width: 100px; height: 115px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hexagon--1 { top: 10%; left: 5%; animation: hexFloat 20s ease-in-out infinite; }
.hexagon--2 { bottom: 15%; right: 8%; animation: hexFloat 25s ease-in-out infinite 5s; width: 80px; height: 92px; }
.hexagon--3 { top: 40%; right: 15%; animation: hexFloat 18s ease-in-out infinite 10s; width: 60px; height: 69px; }
@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.section-header--dark { color: #fff; }
.section-header--dark h2 { color: #fff; }
.section-header--dark p { color: rgba(255,255,255,0.6); }

.why-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    position: relative; z-index: 2;
}
.why-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--bc-radius); padding: 40px 32px;
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--bc-red), var(--bc-steel));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.why-card:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15);
    transform: translateY(-8px);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(226,14,32,0.3);
}
.why-card-number {
    position: absolute; top: 24px; right: 24px;
    font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.03);
    line-height: 1;
}
.why-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.why-card p { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 968px) { .why-cards { grid-template-columns: 1fr; } }

/* ===== PROJECTS SECTION (Homepage) ===== */
.projects-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(160deg, #0a0a1a 0%, #0d1528 30%, #111d35 60%, #0a1225 100%);
    overflow: hidden;
}
.projects-bg { position: absolute; inset: 0; pointer-events: none; }
.projects-grid-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 60px 60px;
}

/* Glows – deep space nebula colors */
.projects-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.projects-glow--1 {
    width: 700px; height: 700px; top: -25%; right: 5%;
    background: radial-gradient(circle, rgba(226,14,32,0.1) 0%, rgba(180,40,80,0.05) 40%, transparent 70%);
    animation: projectsGlow 12s ease-in-out infinite;
}
.projects-glow--2 {
    width: 600px; height: 600px; bottom: -25%; left: 0%;
    background: radial-gradient(circle, rgba(61,97,129,0.12) 0%, rgba(30,60,120,0.06) 40%, transparent 70%);
    animation: projectsGlow 15s ease-in-out infinite 4s;
}
.projects-glow--3 {
    width: 400px; height: 400px; top: 40%; left: 35%;
    background: radial-gradient(circle, rgba(150,80,220,0.06) 0%, transparent 70%);
    animation: projectsGlow 18s ease-in-out infinite 8s;
}
@keyframes projectsGlow {
    0%, 100% { opacity: 0.4; transform: scale(1) translate(0, 0); }
    33% { opacity: 0.9; transform: scale(1.15) translate(15px, -10px); }
    66% { opacity: 0.6; transform: scale(1.05) translate(-10px, 8px); }
}

/* Floating geometric shapes */
.projects-shapes { position: absolute; inset: 0; }
.project-shape {
    position: absolute; border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.01);
}
.project-shape--1 {
    width: 150px; height: 150px; top: 8%; left: 4%; border-radius: 24px;
    animation: shapeOrbit 25s ease-in-out infinite;
}
.project-shape--2 {
    width: 100px; height: 100px; bottom: 15%; right: 6%; border-radius: 50%;
    animation: shapeOrbit 30s ease-in-out infinite 5s;
}
.project-shape--3 {
    width: 70px; height: 70px; top: 45%; right: 18%; border-radius: 16px;
    transform: rotate(45deg);
    animation: shapeSpin 20s linear infinite;
}
.project-shape--4 {
    width: 120px; height: 120px; bottom: 30%; left: 15%; border-radius: 50%;
    border: 1px solid rgba(226,14,32,0.04);
    animation: shapeOrbit 35s ease-in-out infinite 10s;
}
.project-shape--5 {
    width: 50px; height: 50px; top: 20%; right: 35%; border-radius: 12px;
    border: 1px solid rgba(150,80,220,0.05);
    animation: shapeSpin 15s linear infinite reverse;
}
@keyframes shapeOrbit {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, -15px) rotate(5deg); opacity: 0.7; }
    50% { transform: translate(-10px, -25px) rotate(-3deg); opacity: 0.5; }
    75% { transform: translate(-15px, 10px) rotate(8deg); opacity: 0.8; }
    100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
}
@keyframes shapeSpin {
    0% { transform: rotate(45deg); opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { transform: rotate(405deg); opacity: 0.4; }
}

/* Star field */
.projects-stars { position: absolute; inset: 0; }
.projects-stars span {
    position: absolute; width: 2px; height: 2px; border-radius: 50%;
    background: #fff;
    animation: starTwinkle ease-in-out infinite;
}
.projects-stars span:nth-child(1)  { top: 5%;  left: 12%; animation-duration: 3s; }
.projects-stars span:nth-child(2)  { top: 12%; left: 45%; animation-duration: 4s; animation-delay: 0.5s; }
.projects-stars span:nth-child(3)  { top: 8%;  left: 78%; animation-duration: 3.5s; animation-delay: 1s; width: 3px; height: 3px; }
.projects-stars span:nth-child(4)  { top: 22%; left: 25%; animation-duration: 5s; animation-delay: 0.3s; }
.projects-stars span:nth-child(5)  { top: 18%; left: 62%; animation-duration: 3.2s; animation-delay: 2s; }
.projects-stars span:nth-child(6)  { top: 35%; left: 8%;  animation-duration: 4.5s; animation-delay: 1.5s; }
.projects-stars span:nth-child(7)  { top: 42%; left: 38%; animation-duration: 3.8s; animation-delay: 0.8s; width: 3px; height: 3px; }
.projects-stars span:nth-child(8)  { top: 30%; left: 85%; animation-duration: 4.2s; animation-delay: 2.5s; }
.projects-stars span:nth-child(9)  { top: 55%; left: 15%; animation-duration: 3.6s; animation-delay: 1.2s; }
.projects-stars span:nth-child(10) { top: 48%; left: 52%; animation-duration: 5.5s; animation-delay: 0.1s; }
.projects-stars span:nth-child(11) { top: 60%; left: 72%; animation-duration: 3.3s; animation-delay: 3s; width: 3px; height: 3px; }
.projects-stars span:nth-child(12) { top: 68%; left: 28%; animation-duration: 4.8s; animation-delay: 0.6s; }
.projects-stars span:nth-child(13) { top: 72%; left: 58%; animation-duration: 3.1s; animation-delay: 1.8s; }
.projects-stars span:nth-child(14) { top: 78%; left: 90%; animation-duration: 4.4s; animation-delay: 0.4s; }
.projects-stars span:nth-child(15) { top: 82%; left: 5%;  animation-duration: 5.2s; animation-delay: 2.2s; }
.projects-stars span:nth-child(16) { top: 88%; left: 42%; animation-duration: 3.7s; animation-delay: 1.1s; width: 3px; height: 3px; }
.projects-stars span:nth-child(17) { top: 15%; left: 92%; animation-duration: 4.1s; animation-delay: 0.9s; }
.projects-stars span:nth-child(18) { top: 38%; left: 68%; animation-duration: 3.4s; animation-delay: 2.8s; }
.projects-stars span:nth-child(19) { top: 92%; left: 75%; animation-duration: 5s;   animation-delay: 0.2s; }
.projects-stars span:nth-child(20) { top: 50%; left: 95%; animation-duration: 3.9s; animation-delay: 1.6s; }
.projects-stars span:nth-child(21) { top: 25%; left: 3%;  animation-duration: 4.6s; animation-delay: 3.2s; width: 3px; height: 3px; }
.projects-stars span:nth-child(22) { top: 65%; left: 48%; animation-duration: 3.5s; animation-delay: 0.7s; }
.projects-stars span:nth-child(23) { top: 85%; left: 18%; animation-duration: 4.3s; animation-delay: 2.1s; }
.projects-stars span:nth-child(24) { top: 3%;  left: 55%; animation-duration: 5.3s; animation-delay: 1.4s; width: 3px; height: 3px; }
.projects-stars span:nth-child(25) { top: 95%; left: 62%; animation-duration: 3.2s; animation-delay: 0.5s; }
@keyframes starTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.5); }
}

/* Nebula clouds */
.projects-nebula {
    position: absolute; border-radius: 50%; filter: blur(80px);
    opacity: 0; animation: nebulaFloat 20s ease-in-out infinite;
}
.projects-nebula--1 {
    width: 300px; height: 200px; top: 20%; left: 10%;
    background: linear-gradient(135deg, rgba(226,14,32,0.04), rgba(150,80,220,0.03));
    animation-delay: 0s;
}
.projects-nebula--2 {
    width: 250px; height: 180px; bottom: 25%; right: 15%;
    background: linear-gradient(135deg, rgba(61,97,129,0.05), rgba(100,200,255,0.03));
    animation-delay: 10s;
}
@keyframes nebulaFloat {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.8); }
    20% { opacity: 0.6; }
    50% { opacity: 0.8; transform: translate(30px, -20px) scale(1.2); }
    80% { opacity: 0.5; }
}

/* Floating energy orbs */
.projects-orbs { position: absolute; inset: 0; }
.projects-orb {
    position: absolute; border-radius: 50%;
    box-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
}
.projects-orb--1 {
    width: 8px; height: 8px; top: 20%; left: 15%;
    color: rgba(226,14,32,0.3); background: rgba(226,14,32,0.5);
    animation: orbWander1 25s ease-in-out infinite;
}
.projects-orb--2 {
    width: 6px; height: 6px; top: 60%; right: 20%;
    color: rgba(100,180,255,0.3); background: rgba(100,180,255,0.5);
    animation: orbWander2 30s ease-in-out infinite 5s;
}
.projects-orb--3 {
    width: 5px; height: 5px; top: 80%; left: 40%;
    color: rgba(180,120,255,0.3); background: rgba(180,120,255,0.5);
    animation: orbWander3 22s ease-in-out infinite 10s;
}
@keyframes orbWander1 {
    0%   { transform: translate(0, 0); opacity: 0.3; }
    20%  { transform: translate(80px, -40px); opacity: 0.8; }
    40%  { transform: translate(30px, -90px); opacity: 0.5; }
    60%  { transform: translate(120px, -20px); opacity: 0.9; }
    80%  { transform: translate(60px, 30px); opacity: 0.4; }
    100% { transform: translate(0, 0); opacity: 0.3; }
}
@keyframes orbWander2 {
    0%   { transform: translate(0, 0); opacity: 0.2; }
    25%  { transform: translate(-60px, -50px); opacity: 0.7; }
    50%  { transform: translate(-100px, 20px); opacity: 0.4; }
    75%  { transform: translate(-30px, -80px); opacity: 0.8; }
    100% { transform: translate(0, 0); opacity: 0.2; }
}
@keyframes orbWander3 {
    0%   { transform: translate(0, 0); opacity: 0.3; }
    30%  { transform: translate(50px, -60px); opacity: 0.6; }
    60%  { transform: translate(-40px, -30px); opacity: 0.9; }
    100% { transform: translate(0, 0); opacity: 0.3; }
}

/* Constellation lines */
.projects-constellation {
    position: absolute; inset: 0; z-index: 0;
}
.projects-constellation line {
    stroke: rgba(255,255,255,0.04); stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: constellationPulse 6s ease-in-out infinite;
}
.projects-constellation line:nth-child(odd) { animation-delay: 3s; }
.projects-constellation circle {
    fill: rgba(255,255,255,0.08);
    animation: starTwinkle 4s ease-in-out infinite;
}
.projects-constellation circle:nth-child(odd) { animation-delay: 2s; }
@keyframes constellationPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.project-filters--dark {
    background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08);
}
.project-filters--dark .filter-chips-label { color: rgba(255,255,255,0.4); }
.project-filters--dark .filter-chip {
    background: transparent; color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.12);
}
.project-filters--dark .filter-chip:hover {
    border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05);
    color: #fff;
}
.project-filters--dark .filter-chip.active {
    background: var(--bc-steel); color: #fff;
    border-color: var(--bc-steel);
    box-shadow: 0 2px 12px rgba(61,97,129,0.3);
}
.project-filters--dark .filter-chip.active:hover {
    background: #4a7a9e; border-color: #4a7a9e;
}
.project-filters--dark .filter-input {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1);
    color: #fff;
}
.project-filters--dark .filter-input::placeholder { color: rgba(255,255,255,0.4); }

/* Row clear button (X per filter row) */
.filter-row-clear {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
    background: transparent; border: 1px solid transparent;
    color: rgba(255,255,255,0.3); cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0; pointer-events: none; transform: scale(0.7);
    flex-shrink: 0;
}
.filter-row-clear.visible {
    opacity: 1; pointer-events: auto; transform: scale(1);
}
.filter-row-clear:hover {
    background: rgba(226,14,32,0.15); border-color: rgba(226,14,32,0.3);
    color: var(--bc-red); transform: scale(1.1);
}

.projects-section .project-card {
    background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08);
}
.projects-section .project-card:hover {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15);
}
.projects-section .project-body { background: transparent; }
.projects-section .project-body h3 { color: #fff; }
.projects-section .project-body p { color: rgba(255,255,255,0.6); }
.projects-section .no-results { color: rgba(255,255,255,0.5) !important; }

/* ===== ABOUT SECTION (Homepage) ===== */
/* ===== CYBERSECURITY SECTION ===== */
.security-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(135deg, #0a0e13 0%, #0d1117 40%, #111820 100%);
    overflow: hidden;
}
.security-bg { position: absolute; inset: 0; pointer-events: none; }
.security-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,255,65,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,65,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}
.security-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.security-glow--1 {
    width: 600px; height: 600px; top: -30%; left: 20%;
    background: radial-gradient(circle, rgba(0,255,65,0.08) 0%, transparent 70%);
    animation: secGlow 8s ease-in-out infinite;
}
.security-glow--2 {
    width: 400px; height: 400px; bottom: -20%; right: 10%;
    background: radial-gradient(circle, rgba(226,14,32,0.12) 0%, transparent 70%);
    animation: secGlow 10s ease-in-out infinite 2s;
}
@keyframes secGlow { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.security-scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,65,0.008) 2px,
        rgba(0,255,65,0.008) 4px
    );
    animation: scanlineMove 8s linear infinite;
}
@keyframes scanlineMove { 0% { transform: translateY(0); } 100% { transform: translateY(4px); } }

.security-matrix {
    position: absolute; inset: 0; overflow: hidden;
}
.security-matrix span {
    position: absolute; display: block; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0,255,65,0.3), transparent);
    animation: matrixFall linear infinite;
    opacity: 0;
}
.security-matrix span:nth-child(1) { left: 5%; height: 80px; animation-duration: 4s; animation-delay: 0s; }
.security-matrix span:nth-child(2) { left: 15%; height: 120px; animation-duration: 5s; animation-delay: 1s; }
.security-matrix span:nth-child(3) { left: 25%; height: 60px; animation-duration: 3.5s; animation-delay: 0.5s; }
.security-matrix span:nth-child(4) { left: 35%; height: 100px; animation-duration: 4.5s; animation-delay: 2s; }
.security-matrix span:nth-child(5) { left: 45%; height: 90px; animation-duration: 3.8s; animation-delay: 0.8s; }
.security-matrix span:nth-child(6) { left: 55%; height: 70px; animation-duration: 4.2s; animation-delay: 1.5s; }
.security-matrix span:nth-child(7) { left: 65%; height: 110px; animation-duration: 5.2s; animation-delay: 0.3s; }
.security-matrix span:nth-child(8) { left: 75%; height: 85px; animation-duration: 3.6s; animation-delay: 2.5s; }
.security-matrix span:nth-child(9) { left: 85%; height: 95px; animation-duration: 4.8s; animation-delay: 1.2s; }
.security-matrix span:nth-child(10) { left: 92%; height: 75px; animation-duration: 4s; animation-delay: 0.7s; }
.security-matrix span:nth-child(11) { left: 10%; height: 65px; animation-duration: 3.3s; animation-delay: 3s; }
.security-matrix span:nth-child(12) { left: 30%; height: 105px; animation-duration: 4.7s; animation-delay: 1.8s; }
.security-matrix span:nth-child(13) { left: 50%; height: 55px; animation-duration: 3.2s; animation-delay: 2.2s; }
.security-matrix span:nth-child(14) { left: 70%; height: 130px; animation-duration: 5.5s; animation-delay: 0.4s; }
.security-matrix span:nth-child(15) { left: 88%; height: 70px; animation-duration: 3.9s; animation-delay: 1.6s; }
@keyframes matrixFall {
    0% { top: -15%; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 105%; opacity: 0; }
}

.security-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 2; margin-bottom: 80px;
}
.security-text { color: #fff; }
.security-text h2 {
    color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px;
}
.security-text > p {
    color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px;
}

.security-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.security-tag {
    padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    background: rgba(0,255,65,0.08); color: rgba(0,255,65,0.9);
    border: 1px solid rgba(0,255,65,0.2);
    transition: all 0.3s ease;
}
.security-tag:hover {
    background: rgba(0,255,65,0.15); border-color: rgba(0,255,65,0.4);
    box-shadow: 0 0 20px rgba(0,255,65,0.1);
}

/* Security terminal */
.security-visual { position: relative; }
.security-terminal {
    background: #0d1117; border: 1px solid rgba(0,255,65,0.15);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 40px rgba(0,255,65,0.05), 0 20px 60px rgba(0,0,0,0.4);
}
.security-terminal .terminal-bar {
    background: rgba(0,255,65,0.05); padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid rgba(0,255,65,0.1);
    font-size: 0.8rem; color: rgba(0,255,65,0.6);
}
.security-terminal .terminal-body { padding: 20px; font-family: 'JetBrains Mono', monospace; }
.security-terminal .terminal-line {
    font-size: 0.82rem; line-height: 1.9; color: rgba(255,255,255,0.6);
}
.security-terminal .terminal-prompt { color: rgba(0,255,65,0.9); margin-right: 8px; }
.sec-dim { color: rgba(255,255,255,0.3) !important; }
.sec-warn { color: #f0a500 !important; }
.sec-crit { color: #e20e20 !important; font-weight: 600; }
.sec-ok { color: rgba(0,255,65,0.9) !important; }

/* Shield visual */
.security-shield {
    position: absolute; top: -30px; right: -20px;
    width: 120px; height: 120px;
}
.shield-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: rgba(0,255,65,0.7); z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0,255,65,0.3));
}
.shield-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    border: 1px solid rgba(0,255,65,0.1); border-radius: 50%;
}
.shield-ring--1 { width: 80px; height: 80px; animation: shieldPulse 3s ease-in-out infinite; }
.shield-ring--2 { width: 100px; height: 100px; animation: shieldPulse 3s ease-in-out infinite 0.5s; }
.shield-ring--3 { width: 120px; height: 120px; animation: shieldPulse 3s ease-in-out infinite 1s; }
@keyframes shieldPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}
.shield-pulse {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,65,0.15) 0%, transparent 70%);
    animation: shieldGlow 2s ease-in-out infinite;
}
@keyframes shieldGlow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* Service cards */
.security-services {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative; z-index: 2;
}
.security-service-card {
    padding: 32px 28px;
    background: rgba(0,255,65,0.02);
    border: 1px solid rgba(0,255,65,0.08);
    border-radius: var(--bc-radius);
    transition: all 0.4s ease;
}
.security-service-card:hover {
    background: rgba(0,255,65,0.05);
    border-color: rgba(0,255,65,0.2);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,255,65,0.05);
}
.security-service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,255,65,0.15), rgba(0,255,65,0.05));
    border: 1px solid rgba(0,255,65,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(0,255,65,0.9); margin-bottom: 20px;
}
.security-service-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.security-service-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin: 0; line-height: 1.7; }

@media (max-width: 968px) {
    .security-content { grid-template-columns: 1fr; gap: 48px; }
    .security-services { grid-template-columns: 1fr 1fr; }
    .security-shield { display: none; }
}
@media (max-width: 600px) {
    .security-services { grid-template-columns: 1fr; }
}

/* ===== CONTACT SECTION (Homepage) ===== */
.contact-section {
    position: relative; padding: clamp(80px, 12vw, 140px) 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
    overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,14,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,14,32,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.contact-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.contact-glow--1 {
    width: 500px; height: 500px; top: -20%; left: 20%;
    background: radial-gradient(circle, rgba(226,14,32,0.15) 0%, transparent 70%);
    animation: contactSectionGlow 10s ease-in-out infinite;
}
.contact-glow--2 {
    width: 400px; height: 400px; bottom: -20%; right: 10%;
    background: radial-gradient(circle, rgba(61,97,129,0.15) 0%, transparent 70%);
    animation: contactSectionGlow 12s ease-in-out infinite 3s;
}
@keyframes contactSectionGlow { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.contact-lines { position: absolute; inset: 0; }
.contact-lines span {
    position: absolute; width: 1px; height: 100px;
    background: linear-gradient(180deg, transparent, rgba(226,14,32,0.3), transparent);
    animation: contactLine 8s ease-in-out infinite;
}
.contact-lines span:nth-child(1) { left: 10%; animation-delay: 0s; }
.contact-lines span:nth-child(2) { left: 30%; animation-delay: 1.5s; height: 150px; }
.contact-lines span:nth-child(3) { left: 50%; animation-delay: 3s; }
.contact-lines span:nth-child(4) { left: 70%; animation-delay: 2s; height: 120px; }
.contact-lines span:nth-child(5) { left: 90%; animation-delay: 4s; }
@keyframes contactLine {
    0%, 100% { top: -150px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.contact-content-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 2;
}
.contact-text { color: #fff; }
.contact-text h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.contact-text > p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; }

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    display: flex; gap: 20px; align-items: center;
    padding: 20px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--bc-radius);
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15);
    transform: translateX(8px);
}
.contact-info-icon {
    width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--bc-red), #ff6b6b);
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 8px 24px rgba(226,14,32,0.3);
}
.contact-info-card h3 { color: #fff; font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.contact-info-card a { color: #fff; transition: color 0.3s ease; }
.contact-info-card a:hover { color: var(--bc-red); }

.copy-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 6px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4); cursor: pointer;
    transition: all 0.25s ease; vertical-align: middle; margin-left: 6px;
}
.copy-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.copy-btn.copied { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #22c55e; }
.copy-btn.copied svg { display: none; }
.copy-btn.copied::after { content: '✓'; font-size: 0.75rem; font-weight: 700; }

/* Office image */
.contact-image-wrapper {
    position: relative;
    animation: contactImgFloat 8s ease-in-out infinite;
}
@keyframes contactImgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.contact-image-glow {
    position: absolute; inset: -30px; border-radius: 24px;
    background: radial-gradient(ellipse at center, rgba(226,14,32,0.12) 0%, rgba(61,97,129,0.08) 40%, transparent 70%);
    filter: blur(30px);
    animation: contactGlowPulse 6s ease-in-out infinite;
    z-index: 0;
}
@keyframes contactGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.contact-image-frame {
    position: relative; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(226,14,32,0.08);
    z-index: 1;
}
.contact-image-frame img {
    display: block; width: 100%; height: auto;
    filter: brightness(0.85) saturate(1.1);
    transition: all 0.6s ease;
}
.contact-image-frame:hover img {
    filter: brightness(0.95) saturate(1.2);
    transform: scale(1.03);
}
.contact-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17,24,39,0.2) 0%,
        transparent 30%,
        transparent 60%,
        rgba(17,24,39,0.6) 100%
    );
    pointer-events: none;
}
.contact-image-scanline {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255,255,255,0.01) 3px,
        rgba(255,255,255,0.01) 4px
    );
    pointer-events: none;
}
.contact-image-badge {
    position: absolute; bottom: 16px; left: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.02em;
}
.contact-image-badge svg { color: var(--bc-red); flex-shrink: 0; }

@media (max-width: 968px) {
    .contact-content-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .contact-text .btn { margin: 0 auto; }
    .contact-image-wrapper { max-width: 500px; margin: 0 auto; }
}
