/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    --color-bg: #070708;
    --color-bg-card: rgba(18, 18, 20, 0.75);
    --color-bg-navbar: rgba(10, 10, 12, 0.85);
    --color-primary: #ff2a3b;
    --color-primary-rgb: 255, 42, 59;
    --color-primary-dark: #cc1525;
    --color-primary-glow: rgba(255, 42, 59, 0.4);
    --color-text: #f0f0f5;
    --color-text-muted: #9fa2a6;
    --color-warning: #ffb703;
    --color-warning-rgb: 255, 183, 3;
    --color-border: rgba(255, 42, 59, 0.15);
    --color-border-hover: rgba(255, 42, 59, 0.45);
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0f;
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Selection Highlight */
::selection {
    background-color: rgba(255, 42, 59, 0.3);
    color: #fff;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* ==========================================================================
   AMBIENT RETRO EFFECTS
   ========================================================================== */
/* Ambient glow blobs behind layout */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.12;
}
.glow-red-1 {
    top: 15%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: var(--color-primary);
}
.glow-red-2 {
    bottom: 10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--color-primary-dark);
}

/* TV Scanline Overlay Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.35;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 42, 59, 0.35);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: 0.6s;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(255, 42, 59, 0.55);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 42, 59, 0.08);
    box-shadow: 0 4px 15px rgba(255, 42, 59, 0.15);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.logo-red {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 42, 59, 0.6);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: var(--color-bg-navbar);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .navbar {
    height: 65px;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(255, 42, 59, 0.2);
}

.nav-btn:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 5px 15px rgba(255, 42, 59, 0.4);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #040405;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(7, 7, 8, 0.2) 0%,
        rgba(7, 7, 8, 0.95) 90%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge-container {
    margin-bottom: 20px;
}

.confidential-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 183, 3, 0.1);
    border: 1px solid var(--color-warning);
    color: var(--color-warning);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.3);
}

/* Cinematic Glitch Branding Title */
.hero-title {
    font-size: clamp(2.2rem, 8.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: clamp(0.04em, 1.8vw, 0.15em);
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Glitch Effect on Title */
.hero-title::before, .hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040405;
}

.hero-title::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-primary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.hero-title::after {
    left: -2px;
    text-shadow: -2px 0 #00ffff;
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(255, 42, 59, 0.4);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: var(--transition-smooth);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.scroll-indicator:hover {
    opacity: 1;
    color: #ffffff;
}

.mouse-icon {
    width: 20px;
    height: 35px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

/* ==========================================================================
   SECTION HEADINGS & UNDERLINES
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin-top: 15px;
    box-shadow: 0 0 10px rgba(255, 42, 59, 0.6);
}

.title-underline.center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-image-wrapper {
    position: relative;
    justify-self: center;
}

.about-image-frame {
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
}

.about-image-frame:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: rgba(255, 42, 59, 0.3);
    box-shadow: 0 20px 45px rgba(255, 42, 59, 0.1);
}

.about-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border: 1px solid rgba(0, 0, 0, 0.5);
    filter: sepia(0.2) contrast(1.1) brightness(0.9);
}

.photo-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 46px; /* labels offset */
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
    pointer-events: none;
    z-index: 2;
}

.photo-label {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: bold;
    margin-top: 14px;
    letter-spacing: 0.1em;
}

.frame-tag {
    position: absolute;
    top: -15px;
    right: -10px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(5deg);
    box-shadow: 0 4px 10px rgba(255, 42, 59, 0.4);
    z-index: 5;
}

.about-text-content {
    padding-left: 20px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-para {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 42, 59, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* ==========================================================================
   INVESTIGATION BOARD (CASE TIMELINE)
   ========================================================================== */
.timeline-section {
    background-color: #09090b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.timeline-wrapper {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.timeline-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.timeline-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: rgba(255, 42, 59, 0.15);
    z-index: 1;
}

.time-node {
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    padding: 12px 16px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 5;
    width: 100%;
}

.time-node::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #121214;
    border: 3px solid rgba(255, 42, 59, 0.3);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    margin-left: 1px;
}

.time-node .node-year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.time-node .node-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time-node:hover::before {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.time-node:hover .node-year, .time-node:hover .node-title {
    color: #ffffff;
}

/* Active Node State */
.time-node.active::before {
    background-color: var(--color-primary);
    border-color: #ffffff;
    box-shadow: 0 0 12px var(--color-primary);
    transform: scale(1.2);
}

.time-node.active {
    background-color: rgba(255, 42, 59, 0.05);
}

.time-node.active .node-year {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 42, 59, 0.3);
}

.time-node.active .node-title {
    color: #ffffff;
    font-weight: 700;
}

/* Panel Card Display */
.timeline-content-panel {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.timeline-content-panel::after {
    content: 'CONFIDENTIAL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.2em;
}

.timeline-card {
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
    z-index: 2;
    position: relative;
}

.timeline-card.active-card {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.timeline-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.case-status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 12px;
}

.status-critical {
    background-color: rgba(255, 42, 59, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(255, 42, 59, 0.3);
}

.timeline-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.timeline-card-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.timeline-card-date i {
    color: var(--color-primary);
    margin-right: 6px;
}

.case-brief {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.case-clues {
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 30px;
}

.case-clues strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: #ffffff;
}

.case-clues ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-clues li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.red-dot {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.timeline-card-footer {
    display: flex;
    justify-content: flex-start;
}

/* ==========================================================================
   DOCUMENTARIES GRID SECTION
   ========================================================================== */
.documentaries-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.documentary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doc-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doc-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 42, 59, 0.12);
}

.doc-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #0b0b0d;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.doc-card:hover .thumbnail-placeholder {
    transform: scale(1.05);
    filter: brightness(0.65);
}

.doc-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.doc-card:hover .doc-thumb-img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.icon-placeholder {
    font-size: 3.5rem;
    color: rgba(255, 42, 59, 0.35);
    text-shadow: 0 0 20px rgba(255, 42, 59, 0.2);
    transition: var(--transition-smooth);
}

.doc-card:hover .icon-placeholder {
    color: var(--color-primary);
    text-shadow: 0 0 25px var(--color-primary);
}

.doc-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.05em;
    z-index: 5;
}

.doc-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    z-index: 4;
    transition: var(--transition-smooth);
}

.doc-card:hover .doc-overlay-play {
    opacity: 1;
}

.doc-overlay-play i {
    font-size: 2.8rem;
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-primary);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.doc-card:hover .doc-overlay-play i {
    transform: scale(1);
}

.doc-overlay-play span {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.doc-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.doc-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-meta i {
    color: var(--color-primary);
}

.doc-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 12px;
    /* Limit title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doc-snippet {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Limit snippet to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.btn-read-more:hover {
    color: #ffffff;
}

.btn-read-more i {
    font-size: 0.75rem;
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */
.newsletter-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(7,7,8,0) 0%, rgba(25,10,12,0.3) 50%, rgba(7,7,8,0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.newsletter-box {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 45px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.newsletter-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.newsletter-box p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 42, 59, 0.2);
    color: #fff;
    padding: 14px 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 42, 59, 0.15);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    position: relative;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 4px;
}

.method-icon {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: rgba(255, 42, 59, 0.08);
    border: 1px solid rgba(255, 42, 59, 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.method-details h4 {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 2px;
}

.method-details p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.disclaimer-box {
    background-color: rgba(255, 183, 3, 0.05);
    border-left: 3px solid var(--color-warning);
    padding: 16px 20px;
    border-radius: 0 4px 4px 0;
}

.disclaimer-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Form Panel with floating inputs */
.contact-form-panel {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.case-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.floating {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 42, 59, 0.15);
    color: #fff;
    padding: 16px 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 42, 59, 0.15);
}

/* Floating Label Logic */
.form-group.floating label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group.floating textarea + label {
    top: 24px;
    transform: none;
}

/* Trigger when focused or filled */
.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: 0;
    left: 15px;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: #0b0b0e;
    padding: 0 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Handle dropdown select label */
.select-label {
    top: 0 !important;
    left: 15px !important;
    transform: translateY(-50%) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--color-text-muted) !important;
    background-color: #0b0b0e !important;
    padding: 0 6px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.form-control:focus + .select-label {
    color: var(--color-primary) !important;
}

select.form-control option {
    background-color: #0b0b0e;
    color: #fff;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

/* Feedback message */
.form-feedback {
    display: none;
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.success-msg {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* ==========================================================================
   VIDEO MODAL PLAYER OVERLAY
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 4, 5, 0.92);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 960px;
    background-color: #0c0c0e;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-primary);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.3);
    padding-right: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-video-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-confidential-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-shadow: 0 0 8px var(--color-primary-glow);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #040405;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .brand-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-bio {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-links h4, .footer-socials h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    color: #ffffff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(255, 42, 59, 0.35);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px 0;
    background-color: #020203;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 0.75rem !important;
    opacity: 0.6;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 6px;
    }
    50% {
        opacity: 0.3;
        top: 18px;
    }
    100% {
        opacity: 1;
        top: 6px;
    }
}

/* Glitch keyframes */
@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }
    5% {
        clip: rect(85px, 9999px, 5px, 0);
    }
    10% {
        clip: rect(13px, 9999px, 110px, 0);
    }
    15% {
        clip: rect(50px, 9999px, 30px, 0);
    }
    20% {
        clip: rect(98px, 9999px, 80px, 0);
    }
    25% {
        clip: rect(5px, 9999px, 140px, 0);
    }
    30% {
        clip: rect(120px, 9999px, 40px, 0);
    }
    35% {
        clip: rect(85px, 9999px, 15px, 0);
    }
    40% {
        clip: rect(10px, 9999px, 95px, 0);
    }
    45% {
        clip: rect(65px, 9999px, 55px, 0);
    }
    50% {
        clip: rect(125px, 9999px, 20px, 0);
    }
    55% {
        clip: rect(30px, 9999px, 130px, 0);
    }
    60% {
        clip: rect(90px, 9999px, 70px, 0);
    }
    65% {
        clip: rect(15px, 9999px, 45px, 0);
    }
    70% {
        clip: rect(115px, 9999px, 85px, 0);
    }
    75% {
        clip: rect(55px, 9999px, 110px, 0);
    }
    80% {
        clip: rect(5px, 9999px, 15px, 0);
    }
    85% {
        clip: rect(80px, 9999px, 135px, 0);
    }
    90% {
        clip: rect(40px, 9999px, 60px, 0);
    }
    95% {
        clip: rect(100px, 9999px, 20px, 0);
    }
    100% {
        clip: rect(15px, 9999px, 120px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(76px, 9999px, 116px, 0);
    }
    5% {
        clip: rect(33px, 9999px, 4px, 0);
    }
    10% {
        clip: rect(121px, 9999px, 90px, 0);
    }
    15% {
        clip: rect(5px, 9999px, 60px, 0);
    }
    20% {
        clip: rect(110px, 9999px, 135px, 0);
    }
    25% {
        clip: rect(40px, 9999px, 10px, 0);
    }
    30% {
        clip: rect(85px, 9999px, 120px, 0);
    }
    35% {
        clip: rect(15px, 9999px, 5px, 0);
    }
    40% {
        clip: rect(65px, 9999px, 95px, 0);
    }
    45% {
        clip: rect(125px, 9999px, 30px, 0);
    }
    50% {
        clip: rect(50px, 9999px, 85px, 0);
    }
    55% {
        clip: rect(10px, 9999px, 130px, 0);
    }
    60% {
        clip: rect(100px, 9999px, 70px, 0);
    }
    65% {
        clip: rect(30px, 9999px, 15px, 0);
    }
    70% {
        clip: rect(85px, 9999px, 125px, 0);
    }
    75% {
        clip: rect(15px, 9999px, 45px, 0);
    }
    80% {
        clip: rect(120px, 9999px, 80px, 0);
    }
    85% {
        clip: rect(55px, 9999px, 110px, 0);
    }
    90% {
        clip: rect(5px, 9999px, 15px, 0);
    }
    95% {
        clip: rect(80px, 9999px, 135px, 0);
    }
    100% {
        clip: rect(40px, 9999px, 60px, 0);
    }
}

/* ==========================================================================
   RESPONSIVE STYLES (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-2 {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .timeline-wrapper {
        grid-template-columns: 240px 1fr;
    }
    
    .documentary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .about-text-content {
        padding-left: 0;
    }
    
    .title-underline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats-grid {
        margin-top: 30px;
    }
    
    .timeline-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .timeline-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .timeline-nav::before {
        display: none;
    }
    
    .time-node {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: auto;
        padding: 8px 12px;
    }
    
    .time-node::before {
        margin-bottom: 8px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-navbar);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 0;
        gap: 24px;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    /* Close toggle animation */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 0.08em;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bio {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }

    .documentary-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .documentary-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-box {
        padding: 30px 20px;
    }
    
    .timeline-content-panel {
        padding: 20px;
    }
    
    .timeline-card-title {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px 10px;
    }
    
    .contact-form-panel {
        padding: 24px 20px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}
