/* Brand Guidelines Global CSS */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ksc-blue: #436db4; 
    --ksc-blue-d: #2f4f87;
    --ksc-orange: #ef7d00; 
    --ksc-orange-d: #b85e00;
    
    --glass-bg: rgba(255,255,255,0.04); 
    --glass-border: rgba(255,255,255,0.09); 
    --glass-border-h: rgba(255,255,255,0.18);
    
    --bg-deep: #05080f; 
    --text-primary: #eef2ff; 
    --text-secondary: rgba(200,215,255,0.55); 
    --text-muted: rgba(150,170,210,0.38);
    
    --font-Syne: 'Syne', sans-serif; 
    --font-Outfit: 'Outfit', sans-serif; 
    --font-Mono: 'JetBrains Mono', monospace;
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--font-Outfit); 
    background: var(--bg-deep); 
    color: var(--text-primary); 
    font-size: 15px; 
    line-height: 1.65; 
    overflow-x: hidden; 
}

/* Background Animations */
.bg-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 800px; height: 800px; background: #436db4; top: -300px; left: -300px; opacity: 0.16; animation-duration: 24s; }
.o2 { width: 600px; height: 600px; background: #ef7d00; top: 20%; right: -200px; opacity: 0.13; animation-duration: 19s; animation-delay: -8s; }
.o3 { width: 500px; height: 500px; background: #1a3563; bottom: -150px; left: 25%; opacity: 0.20; animation-duration: 28s; animation-delay: -5s; }
.o4 { width: 350px; height: 350px; background: #ef7d00; bottom: 15%; left: -100px; opacity: 0.08; animation-duration: 32s; animation-delay: -14s; }

@keyframes drift { 
    0%{transform:translate(0,0) scale(1)} 
    33%{transform:translate(45px,-35px) scale(1.04)} 
    66%{transform:translate(-25px,55px) scale(0.97)} 
    100%{transform:translate(35px,25px) scale(1.03)} 
}

.bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(67,109,180,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(67,109,180,0.035) 1px, transparent 1px);
    background-size: 56px 56px; 
}

/* Navigation */
nav { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 90px; display: flex; align-items: center; padding: 0 40px; 
    background: rgba(5,8,15,0.72); backdrop-filter: blur(28px) saturate(180%); border-bottom: 1px solid var(--glass-border); 
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 40px; }
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 10px; flex: 1; justify-content: flex-end; align-items: center;}
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 8px 16px; border-radius: 7px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text-primary); background: var(--glass-bg); }
.nav-links a.active { color: var(--ksc-orange); }

.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; margin-left: auto; }

/* Main Wrapper */
main { position: relative; z-index: 1; padding-top: 90px; min-height: 100vh; }

/* Sections */
section { padding: 100px 40px; max-width: 1240px; margin: 0 auto; }
section:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.04); }

/* Typography */
h1, h2, h3, .heading-d { font-family: var(--font-Syne); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; color: var(--text-primary); word-break: break-word; hyphens: auto; }
h1 { font-size: clamp(38px, 5.5vw, 68px); line-height: 1.06; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
p, .text-b { font-family: var(--font-Outfit); color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; font-size: 16px;}
.mono-label { font-family: var(--font-Mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ksc-orange); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mono-label::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--ksc-orange); }

.text-gradient { background: linear-gradient(135deg, var(--ksc-blue) 20%, var(--ksc-orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Utilities */
.glass { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 22px; transition: border-color .3s, background .3s; }
.glass:hover { border-color: var(--glass-border-h); background: rgba(255,255,255,0.06); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-Outfit); font-size: 15px; font-weight: 600; padding: 12px 28px; border-radius: 10px; border: none; cursor: pointer; transition: all .3s ease; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, rgba(67,109,180,0.85), rgba(47,79,135,0.92)); color: white; border: 1px solid rgba(67,109,180,0.45); backdrop-filter: blur(10px); box-shadow: 0 0 22px rgba(67,109,180,0.18), inset 0 1px 0 rgba(255,255,255,0.1); }
.btn-primary:hover { box-shadow: 0 0 32px rgba(67,109,180,0.4); transform: translateY(-2px); color: white;}
.btn-cta { background: linear-gradient(135deg, rgba(239,125,0,0.92), rgba(184,94,0,0.96)); color: white; border: 1px solid rgba(239,125,0,0.38); backdrop-filter: blur(10px); box-shadow: 0 0 22px rgba(239,125,0,0.22), inset 0 1px 0 rgba(255,255,255,0.14); }
.btn-cta:hover { box-shadow: 0 0 38px rgba(239,125,0,0.5); transform: translateY(-2px); color: white;}
.btn-glass { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }

/* Hero Section */
.hero { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px; position: relative; overflow: hidden; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-Mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ksc-orange); padding: 8px 24px; border: 1px solid rgba(239,125,0,0.28); border-radius: 100px; background: rgba(239,125,0,0.05); margin-bottom: 30px; backdrop-filter: blur(10px); }
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ksc-orange); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.75)} }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; animation: floatY 2.2s ease-in-out infinite; text-decoration: none;}
@keyframes floatY { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }
.scroll-indicator .arrow { width: 14px; height: 14px; border-right: 2px solid rgba(255,255,255,0.4); border-bottom: 2px solid rgba(255,255,255,0.4); transform: rotate(45deg); display: block; margin: 0 auto;}

/* Layout Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* Service Cards */
.service-card { padding: 30px; background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; transition: all .3s ease; display: flex; flex-direction: column; height: 100%;}
.service-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(67,109,180,0.3); box-shadow: 0 0 30px rgba(67,109,180,0.1); transform: translateY(-5px); }
.service-icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(67,109,180,0.14); border: 1px solid rgba(67,109,180,0.24); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #7eb3ff; font-size: 24px;}
.service-title { font-family: var(--font-Syne); font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.service-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; flex-grow: 1; margin-bottom: 0;}

/* Lists & Bullets */
.custom-list { list-style: none; display: flex; flex-direction: column; gap: 16px;}
.custom-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text-secondary); line-height: 1.6;}
.custom-list li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(239,125,0,0.1); border: 1px solid rgba(239,125,0,0.3); color: var(--ksc-orange); font-size: 12px; font-weight: bold; flex-shrink: 0; margin-top: 2px;}
.custom-list strong { color: var(--text-primary); font-weight: 600; display: inline-block; margin-right: 5px;}

/* Images */
.img-fluid { max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 40px rgba(0,0,0,0.4); border: 1px solid var(--glass-border); }
.content-image { width: 100%; object-fit: cover; border-radius: 24px; filter: drop-shadow(0 0 30px rgba(67,109,180,0.1)); }

/* Footer */
footer { position: relative; z-index: 1; text-align: center; padding: 60px 40px 40px; border-top: 1px solid var(--glass-border); background: rgba(5,8,15,0.65); backdrop-filter: blur(20px); }
footer img { height: 90px; width: auto; margin-bottom: 24px; filter: drop-shadow(0 0 20px rgba(239,125,0,0.28)); }
.footer-text { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; margin-bottom: 24px;}
.footer-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ksc-orange); }

.social-icon { color: var(--ksc-blue); transition: color 0.2s; display: inline-flex; align-items: center; }
.social-icon:hover { color: var(--ksc-orange); }

/* EU Cookie Banner */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); width: calc(100% - 40px); max-width: 600px;
    background: rgba(10, 15, 25, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border-h); border-radius: 16px;
    padding: 24px; z-index: 9999; box-shadow: 0 10px 40px rgba(0,0,0,0.6); display: flex; flex-direction: column; gap: 16px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.cookie-text strong { color: var(--text-primary); }
.cookie-buttons { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-buttons .btn { padding: 8px 20px; font-size: 13px; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2 .content-image { order: -1; margin-bottom: 30px; }
}
@media (max-width: 768px) {
    nav { padding: 0 20px; height: 80px;}
    .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; background: rgba(5,8,15,0.95); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--glass-border); }
    .nav-links.show { display: flex; }
    .mobile-menu-btn { display: block; }
    section { padding: 80px 20px; }
    .hero { min-height: 80vh; padding: 100px 20px 60px; }
    h1 { font-size: 38px; }
    .footer-links { gap: 16px; }
}

/* Legal Pages format */
.legal-container { max-width: 900px; margin: 0 auto; background: var(--glass-bg); padding: 50px; border-radius: 20px; border: 1px solid var(--glass-border); }
.legal-container h2 { margin-top: 40px; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; margin-bottom: 20px;}
.legal-container h3 { margin-top: 30px; margin-bottom: 15px; font-size: 22px;}
.legal-container p, .legal-container li { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7;}
.legal-container a { color: var(--ksc-blue); text-decoration: none; }
.legal-container a:hover { text-decoration: underline; color: var(--text-primary); }
