/* ============================================
   ALMIGHTY LINUX — GLOBAL STYLESHEET
   Dark/Red OSINT Theme
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-tertiary: #141422;
    --bg-card: #12121e;
    --bg-card-hover: #1a1a2e;

    --red-primary: #dc2626;
    --red-glow: #ef4444;
    --red-dark: #991b1b;
    --red-muted: #7f1d1d;
    --red-accent: #f87171;

    --text-primary: #e8e6e3;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-dim: #4b5563;

    --border-color: rgba(220, 38, 38, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);

    --glow-red: 0 0 30px rgba(220, 38, 38, 0.3);
    --glow-red-strong: 0 0 60px rgba(220, 38, 38, 0.4);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --navbar-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--red-primary) var(--bg-primary);
}

/* Webkit scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--red-primary);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-glow);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

a:hover {
    color: var(--red-glow);
}

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

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 4px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(220, 38, 38, 0.05);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-red {
    color: var(--red-primary);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--red-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(220, 38, 38, 0.1);
}

.nav-links a.active {
    color: var(--red-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background:
        url('Assets/bg.png') center/cover no-repeat,
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
        var(--bg-primary);
    opacity: 0.15;
    z-index: 0;
}

.hero-bg-color {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(127, 29, 29, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

/* Hero Title — Solid Red */
.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    color: var(--red-primary);
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.glitch-text::before,
.glitch-text::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
    color: #fff;
    background: linear-gradient(135deg, var(--red-glow), var(--red-primary));
}

.btn-secondary {
    background: rgba(220, 38, 38, 0.1);
    color: var(--red-accent);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
    color: var(--red-accent);
    border-color: var(--red-primary);
}

/* Hero Screenshot */
.hero-screenshot {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
}

.screenshot-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow-red);
}

.screenshot-frame img {
    width: 100%;
    display: block;
}

.screenshot-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), transparent, rgba(220, 38, 38, 0.1));
    z-index: -1;
    filter: blur(20px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-dim);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--red-primary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Single stat centered */
.about-stats {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 28px 48px;
    border-radius: var(--radius-md);
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--glow-red);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red-primary);
    font-family: var(--font-mono);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-slow);
}

.visual-card:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-red-strong), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.visual-card img {
    width: 100%;
    display: block;
}

.visual-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
}

.visual-card-overlay span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Assets/bg.png') center/cover no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--glow-red), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(220, 38, 38, 0.1);
    color: var(--red-primary);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: rgba(220, 38, 38, 0.2);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tags span {
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--red-accent);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-slow);
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--border-color);
    box-shadow: var(--glow-red), 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CTA SECTION
   ============================================ */
/* CTA Teaser Video Section */
.cta-teaser-section {
    padding: 80px 0;
    position: relative;
    width: 100%;
}

.cta-teaser-box {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cta-teaser-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-teaser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.cta-teaser-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-teaser-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.cta-teaser-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-size: 1.15rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-name {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--red-primary);
}

.footer-slogan {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.footer-slogan span {
    color: var(--red-primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

.footer-links a:hover {
    color: var(--red-accent);
}

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

.footer-bottom a {
    color: var(--red-accent);
}

/* ============================================
   TOOLS PAGE
   ============================================ */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220, 38, 38, 0.06) 0%, transparent 60%),
        var(--bg-primary);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Controls */
.tools-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
}

.search-box input::placeholder {
    color: var(--text-dim);
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--red-primary);
    color: var(--red-accent);
    background: rgba(220, 38, 38, 0.1);
}

/* Category filter pills */
.category-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cat-btn {
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-btn:hover,
.cat-btn.active {
    border-color: var(--red-primary);
    color: var(--red-accent);
    background: rgba(220, 38, 38, 0.08);
}

.tools-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.tools-count strong {
    color: var(--red-accent);
}

/* Tool legend */
.tool-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.tool-legend img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Tool Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.tool-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-card:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-card-header .tool-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    flex-shrink: 0;
}

.tool-name {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--red-accent);
    flex: 1;
}

.tool-source {
    padding: 2px 10px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    flex-shrink: 0;
}

.tool-source.almighty {
    background: rgba(220, 38, 38, 0.15);
    color: var(--red-accent);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.tool-source.kali {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tool-category {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

/* ============================================
   DOCS PAGE
   ============================================ */
.docs-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
}

.docs-nav {
    list-style: none;
}

.docs-nav li {
    margin-bottom: 2px;
}

.docs-nav a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: all var(--transition-fast);
}

.docs-nav a:hover,
.docs-nav a.active {
    color: var(--red-accent);
    background: rgba(220, 38, 38, 0.05);
    border-left-color: var(--red-primary);
}

.docs-content {
    min-width: 0;
}

.docs-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: -0.02em;
}

.docs-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--red-accent);
}

.docs-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 8px;
}

.docs-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.docs-content ul, .docs-content ol {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
    font-size: 0.92rem;
}

.docs-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.docs-content code {
    font-family: var(--font-mono);
    background: rgba(220, 38, 38, 0.08);
    color: var(--red-accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
}

.docs-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.docs-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.8;
}

.docs-section {
    margin-bottom: 56px;
    scroll-margin-top: calc(var(--navbar-height) + 24px);
}

/* Info / Warning boxes */
.info-box {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.88rem;
    line-height: 1.7;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-box svg { flex-shrink: 0; margin-top: 2px; }

.info-box.warning {
    background: rgba(234, 179, 8, 0.06);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.info-box.danger {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--red-accent);
}

.info-box.info {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.docs-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.06);
    border-bottom: 1px solid var(--border-color);
    color: var(--red-accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.docs-table tr:hover td {
    background: rgba(220, 38, 38, 0.03);
}

/* ============================================
   DOWNLOAD PAGE
   ============================================ */
.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.warning-card {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.warning-card.legal { background: rgba(234, 179, 8, 0.04); border-color: rgba(234, 179, 8, 0.2); }
.warning-card.disclaimer { background: rgba(249, 115, 22, 0.04); border-color: rgba(249, 115, 22, 0.2); }
.warning-card.hybrid { background: rgba(220, 38, 38, 0.04); border-color: rgba(220, 38, 38, 0.2); }
.warning-card.experimental { background: rgba(168, 85, 247, 0.04); border-color: rgba(168, 85, 247, 0.2); }

.warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-card.legal .warning-icon { background: rgba(234, 179, 8, 0.1); color: #fbbf24; }
.warning-card.disclaimer .warning-icon { background: rgba(249, 115, 22, 0.1); color: #fb923c; }
.warning-card.hybrid .warning-icon { background: rgba(220, 38, 38, 0.1); color: var(--red-accent); }
.warning-card.experimental .warning-icon { background: rgba(168, 85, 247, 0.1); color: #c084fc; }

.warning-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.warning-card.legal h3 { color: #fbbf24; }
.warning-card.disclaimer h3 { color: #fb923c; }
.warning-card.hybrid h3 { color: var(--red-accent); }
.warning-card.experimental h3 { color: #c084fc; }
.warning-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

.download-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.06), transparent 60%);
}

.download-box > * { position: relative; z-index: 1; }
.download-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }

.download-version {
    font-family: var(--font-mono);
    color: var(--red-accent);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.download-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.3);
    margin-bottom: 32px;
}

.download-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.5);
    color: #fff;
}

.verify-section {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.verify-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* ============================================
   RELEASES & NEWS
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--red-primary), var(--border-subtle));
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red-primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--red-accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.timeline-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.timeline-card ul { color: var(--text-secondary); font-size: 0.9rem; padding-left: 20px; margin-top: 8px; }
.timeline-card li { margin-bottom: 6px; }

/* ============================================
   OSINT SOURCES
   ============================================ */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.source-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.source-card:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.source-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--red-accent); }
.source-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; }

.source-card a.source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--red-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.source-card a.source-link:hover { color: var(--red-glow); }

.source-category-tag {
    display: inline-block;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: rgba(220, 38, 38, 0.08);
    color: var(--red-accent);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ============================================
   NEWSLETTER PAGE
   ============================================ */
.newsletter-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feed-item:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
}

.feed-item-source {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.feed-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feed-item h3 a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.feed-item h3 a:hover { color: var(--red-accent); }

.feed-item-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

.feed-item-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 8px;
}

.feed-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    position: relative;
}

.error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Assets/bg.png') center/cover no-repeat;
    opacity: 0.06;
}

.error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: var(--red-primary);
    font-family: var(--font-mono);
    line-height: 1;
    position: relative;
    text-shadow: 0 0 60px rgba(220, 38, 38, 0.3);
}

.error-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 16px 0 12px;
    position: relative;
}

.error-page p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-red);
    border: 1px solid var(--border-color);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--red-primary);
    opacity: 0.15;
    animation: float-particle linear infinite;
    pointer-events: none;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .docs-layout { grid-template-columns: 1fr; }

    .docs-sidebar {
        position: static;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .docs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .docs-nav a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .docs-nav a:hover,
    .docs-nav a.active {
        border-left-color: transparent;
        border-bottom-color: var(--red-primary);
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-110%);
        transition: transform var(--transition-base);
    }

    .nav-links.open { transform: translateY(0); }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .warning-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .download-box { padding: 32px 20px; }
    .tools-grid { grid-template-columns: 1fr; }
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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