/* --- Global Reset & Variables --- */
:root {
    --bg-pure: #0a0a0c;
    --bg-dark: #111114;
    --bg-card: #16161a;
    --bg-glass: rgba(18, 18, 22, 0.7);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --accent-blue: #ebac25;
    --accent-blue-hover: #d89d1d;
    --accent-glow: rgba(235, 189, 37, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #acacac;
    --text-muted: #666666;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Syne', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-pure);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-pure);
}
::-webkit-scrollbar-thumb {
    background: #222227;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d2d35;
}

/* --- Typography & Layout --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

span {
    color: var(--accent-blue);
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.accent-line {
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
    margin: 20px auto 0 auto;
}

/* --- Loader Screen --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-pure);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #1f1f24;
    margin: 0 auto 15px auto;
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    animation: loadProgress 2s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

.loader-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: var(--bg-pure);
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-muted);
}

/* --- Sticky Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    padding: 15px 40px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.status-badge:hover {
    background: rgba(255, 255, 255, 0.07);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 4px 0;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.4) 0%, var(--bg-pure) 95%);
    z-index: 2;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1;
    margin-bottom: 25px;
    width: 1000px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    opacity: 0.7;
}

.scroll-indicator p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 10px;
}

.mouse {
    display: inline-block;
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
}

.wheel {
    display: block;
    width: 2px;
    height: 6px;
    background: var(--accent-blue);
    margin: 6px auto 0 auto;
    border-radius: 1px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(6px); opacity: 0; }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 1.75rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- Status Section --- */
.status-section {
    background: var(--bg-dark);
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.status-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.status-item .counter {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.status-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* --- Factions Section --- */
.factions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.faction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faction-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.faction-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    filter: grayscale(0%) brightness(80%);
    transition: var(--transition-smooth);
}

.faction-card:hover .faction-img {
    filter: grayscale(0%) brightness(100%);
}

.faction-content {
    padding: 25px;
}

.faction-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.faction-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
}

/* --- LEA Section --- */
.lea-dashboard {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.lea-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.lea-timeline {
    margin-bottom: 40px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.timeline-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dashboard Mockup Styl */
.dashboard-mockup {
    background: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.mockup-header {
    background: #141419;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.mockup-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-left: 10px;
}

.mockup-body {
    padding: 30px;
}

.mockup-widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.mockup-widget h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.mockup-bar-row {
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.mockup-bar-row span {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.m-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}

.m-progress {
    height: 100%;
    background: var(--text-muted);
    border-radius: 2px;
}

.mockup-alert {
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
    padding: 15px;
    border-radius: 6px;
}

.mockup-alert i {
    color: #ef4444;
}

.mockup-alert h6 {
    font-size: 0.85rem;
    color: #fca5a5;
}

.mockup-alert p {
    font-size: 0.75rem;
    color: rgba(252, 165, 165, 0.7);
}

/* --- Media Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    border: 1px solid var(--border-glass);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: #fff;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox UI */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent-blue);
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-bottom: 20px;
    font-weight: 300;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: #fff;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Scroll Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Layouts --- */
@media (max-width: 992px) {
    .container { padding: 0 24px; }
    .section { padding: 90px 0; }
    .lea-dashboard { grid-template-columns: 1fr; gap: 50px; }
    .nav-links { display: none; }
    
    .mobile-toggle { display: block; }
    
    /* Active responsive mobile menu */
    .navbar.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-pure);
        border-bottom: 1px solid var(--border-glass);
        padding: 30px;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
}

@media (max-width: 600px) {
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .nav-actions { display: none; }
}