:root {
    --primary: #0b0f1a;
    --primary-light: #111827;
    --accent: #7a8a9e;
    --accent-light: #a0b0c4;
    --steel: #b0bec5;
    --steel-light: #cfd8dc;
    --metallic: linear-gradient(135deg, #8e9eaf 0%, #b8c6d4 40%, #8e9eaf 60%, #d0dae3 100%);
    --text: #e0e4e8;
    --text-muted: #8899aa;
    --white: #ffffff;
    --blue-dark: #0d1b2a;
    --blue-mid: #1b2838;
    --border: rgba(160, 176, 196, 0.15);
    --border-hover: rgba(160, 176, 196, 0.35);
    --gradient-dark: linear-gradient(160deg, #0b0f1a 0%, #0d1b2a 50%, #112240 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed; top: 0; width: 100%;
    z-index: 1000; padding: 0 5%;
    transition: all 0.4s ease;
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
    background: rgba(11, 15, 26, 0.97);
    box-shadow: 0 1px 30px rgba(0,0,0,0.4);
}
.navbar-inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 80px; transition: height 0.4s;
}
.navbar.scrolled .navbar-inner { height: 65px; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 50px; width: auto; transition: height 0.4s; }
.navbar.scrolled .logo img { height: 38px; }

.nav-links { display: flex; list-style: none; gap: 3px; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.82rem; font-weight: 500;
    padding: 9px 16px; border-radius: 5px;
    transition: all 0.3s; letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--steel-light);
    background: rgba(160, 176, 196, 0.08);
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 10px; z-index: 1001;
}
.hamburger span { width: 28px; height: 2px; background: var(--white); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ BUTTONS ============ */
.btn {
    padding: 15px 34px; border-radius: 4px;
    font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; border: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #78909c, #90a4ae);
    color: var(--primary);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #90a4ae, #b0bec5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(120, 144, 156, 0.25);
}
.btn-outline {
    border: 1px solid var(--border); color: var(--text); background: transparent;
}
.btn-outline:hover {
    border-color: var(--steel); color: var(--steel-light);
    background: rgba(160, 176, 196, 0.05);
}

/* ============ SECTIONS ============ */
section { padding: 120px 5%; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
    display: inline-block; font-size: 0.7rem; color: var(--steel);
    letter-spacing: 5px; text-transform: uppercase; font-weight: 600;
    margin-bottom: 18px; padding: 8px 20px;
    border: 1px solid var(--border); border-radius: 3px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.section-desc {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ============ PAGE HERO (for subpages) ============ */
.page-hero {
    padding: 160px 5% 80px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(160, 176, 196, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 176, 196, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900; margin-bottom: 16px;
}
.page-hero h1 span {
    background: var(--metallic);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 550px; margin: 0 auto; line-height: 1.8; }
.breadcrumb {
    margin-bottom: 25px; font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--steel-light); }

/* ============ FOOTER ============ */
footer {
    background: #060a12; padding: 50px 5% 25px;
    border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 35px; border-bottom: 1px solid rgba(160,176,196,0.06);
    flex-wrap: wrap; gap: 40px;
}
.footer-brand .footer-logo { height: 40px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.7; max-width: 320px; }
.footer-links { display: flex; gap: 50px; }
.footer-links h4 {
    font-size: 0.7rem; color: var(--steel);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 14px; font-weight: 600;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--steel-light); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 25px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.75rem; }

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.95); z-index: 2000;
    align-items: center; justify-content: center; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 6px; }
.lightbox-close {
    position: absolute; top: 25px; right: 25px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%; color: white; font-size: 1.4rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-up {
    opacity: 0; transform: translateY(35px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--primary);
        flex-direction: column; padding: 100px 30px 30px;
        transition: right 0.4s; border-left: 1px solid var(--border);
    }
    .nav-links.active { right: 0; }
    section { padding: 80px 5%; }
    .footer-top { flex-direction: column; }
    .footer-links { gap: 30px; }
    .page-hero { padding: 130px 5% 60px; }
}
