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

:root {
    --battleship: #878787;
    --asparagus: #82A473;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --glass-bg: rgba(135, 135, 135, 0.08);
    --glass-border: rgba(130, 164, 115, 0.15);
    --glow-green: rgba(130, 164, 115, 0.6);
    --neon-green: #82A473;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Page transition optimization - reduces perceived flicker */
html {
    background: var(--dark-bg);
}

html, body {
    min-height: 100vh;
}

/* Scanline Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 3px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
}

/* Hex Grid Background */
.hex-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-image:
        linear-gradient(30deg, rgba(130, 164, 115, 0.04) 1px, transparent 1px),
        linear-gradient(150deg, rgba(130, 164, 115, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    background-color: transparent;
    pointer-events: none;
}

/* Circuit Pattern */
.circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    opacity: 0.08;
    background-image:
        linear-gradient(90deg, transparent 0%, transparent 49%, var(--asparagus) 49%, var(--asparagus) 51%, transparent 51%, transparent 100%),
        linear-gradient(0deg, transparent 0%, transparent 49%, var(--asparagus) 49%, var(--asparagus) 51%, transparent 51%, transparent 100%);
    background-size: 100px 100px;
    pointer-events: none;
}

/* Data Stream */
.data-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3;
    opacity: 0.15;
    overflow: hidden;
    pointer-events: none;
}

.data-column {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--neon-green);
    white-space: nowrap;
    animation: data-fall linear infinite;
    text-shadow: 0 0 8px var(--glow-green);
    letter-spacing: 0.5px;
    opacity: 0;
    will-change: transform, opacity;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

/* Midground layer - medium depth, medium size */
.data-column-midground {
    font-size: 8px;
    opacity: 0;
    text-shadow: 0 0 4px var(--glow-green);
    animation: data-fall-midground linear infinite;
    filter: blur(0.3px);
}

/* Distant layer - far away, tiny, faded, blurred */
.data-column-distant {
    font-size: 5px;
    opacity: 0;
    text-shadow: 0 0 2px var(--glow-green);
    animation: data-fall-distant linear infinite;
    filter: blur(0.6px);
    color: rgba(130, 164, 115, 0.6);
}

/* Foreground animation - bright and prominent */
@keyframes data-fall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    10% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(calc(100vh + 100%));
        opacity: 0;
    }
}

/* Midground animation - medium visibility */
@keyframes data-fall-midground {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    5% {
        opacity: 0.35;
    }
    10% {
        opacity: 0.5;
    }
    85% {
        opacity: 0.5;
    }
    95% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(calc(100vh + 100%));
        opacity: 0;
    }
}

/* Distant animation - barely visible, ethereal */
@keyframes data-fall-distant {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    8% {
        opacity: 0.15;
    }
    15% {
        opacity: 0.22;
    }
    80% {
        opacity: 0.22;
    }
    92% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(calc(100vh + 100%));
        opacity: 0;
    }
}

/* Aggressive Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orb-pulse 25s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.orb1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--neon-green), transparent);
    top: -350px;
    left: -200px;
    animation-delay: 0s;
}

.orb2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--battleship), transparent);
    bottom: -300px;
    right: -150px;
    animation-delay: 12s;
}

.orb3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-green), transparent);
    top: 50%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes orb-pulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(150px, -100px) scale(1.2); opacity: 0.4; }
    50% { transform: translate(-120px, 150px) scale(0.8); opacity: 0.25; }
    75% { transform: translate(100px, 80px) scale(1.15); opacity: 0.35; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.5;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-section:hover {
    /* Removed transform */
}

/* Sharper Hex Logo */
.hex-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--battleship) 0%, var(--neon-green) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    box-shadow: 
        0 0 20px rgba(130, 164, 115, 0.4),
        inset 0 0 20px rgba(130, 164, 115, 0.1);
}

.hex-logo::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0A0A0A;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.hex-logo span {
    position: relative;
    z-index: 1;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--glow-green);
}

.nav-links a:hover::before {
    opacity: 0.15;
}

.nav-cta {
    background: linear-gradient(135deg, var(--battleship), var(--neon-green)) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.4);
    border: 1px solid var(--neon-green);
}

.nav-cta:hover {
    box-shadow: 0 0 30px rgba(130, 164, 115, 0.6);
    background: linear-gradient(135deg, var(--battleship), var(--neon-green)) !important;
}

.nav-downloads {
    background: linear-gradient(135deg, rgba(130, 164, 115, 0.2), rgba(135, 135, 135, 0.3)) !important;
    border: 1px solid rgba(130, 164, 115, 0.5) !important;
    box-shadow: 0 0 15px rgba(130, 164, 115, 0.2) !important;
}

.nav-downloads:hover {
    background: linear-gradient(135deg, rgba(130, 164, 115, 0.3), rgba(135, 135, 135, 0.4)) !important;
    box-shadow: 0 0 25px rgba(130, 164, 115, 0.4) !important;
}

.support-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-left: 30px;
}

.support-container .nav-cta {
    font-size: 0.8rem;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.support-container svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.support-container span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 40px 80px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-green);
    border-radius: 2px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 0;
    box-shadow: 0 0 10px var(--glow-green);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

.main-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -2px;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--battleship) 50%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
    /* Letter glow effect - multiple shadows for depth */
    filter: 
        drop-shadow(0 0 3px rgba(130, 164, 115, 0.5))
        drop-shadow(0 0 8px rgba(130, 164, 115, 0.3))
        drop-shadow(0 0 15px rgba(130, 164, 115, 0.16))
        drop-shadow(0 0 25px rgba(130, 164, 115, 0.12));
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glitch Effect - Slowed to 1/3rd speed */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 6s infinite;
    color: var(--neon-green);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 6s infinite;
    color: var(--battleship);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); opacity: 0; }
    20% { transform: translate(-2px, 2px); opacity: 0.8; }
    40% { transform: translate(-2px, -2px); opacity: 0; }
    60% { transform: translate(2px, 2px); opacity: 0.8; }
    80% { transform: translate(2px, -2px); opacity: 0; }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); opacity: 0; }
    25% { transform: translate(2px, -2px); opacity: 0.7; }
    45% { transform: translate(2px, 2px); opacity: 0; }
    65% { transform: translate(-2px, -2px); opacity: 0.7; }
    85% { transform: translate(-2px, 2px); opacity: 0; }
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    font-weight: 400;
    line-height: 1.6;
}

.cta-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.btn {
    padding: 16px 40px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    color: white;
    box-shadow: 0 0 30px rgba(130, 164, 115, 0.4);
    border: 1px solid var(--neon-green);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-green), var(--battleship));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(130, 164, 115, 0.6);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--neon-green);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(130, 164, 115, 0.15);
    box-shadow: 0 0 30px rgba(130, 164, 115, 0.3);
    border-color: var(--neon-green);
}

/* Stats Grid - More Angular */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.stat-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--neon-green);
    padding: 30px 20px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--glow-green);
}

.stat-card:hover {
    box-shadow: 0 0 40px rgba(130, 164, 115, 0.4);
    background: rgba(130, 164, 115, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: 120px 40px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--neon-green);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.2);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #ffffff, var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* Tools Grid - More Angular */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.tool-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.tool-card::before {
    /* Removed shimmer animation */
}

.tool-card:hover::before {
    /* Removed shimmer animation trigger */
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
    box-shadow: 0 0 10px var(--glow-green);
}

.tool-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 50px rgba(130, 164, 115, 0.4);
    background: rgba(130, 164, 115, 0.05);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(130, 164, 115, 0.5));
}

/* Custom SVG Icon Styling */
.tool-svg-icon {
    width: 80px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 15px rgba(130, 164, 115, 0.4));
}

.tool-card:hover .tool-svg-icon {
    filter: drop-shadow(0 0 25px rgba(130, 164, 115, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05) translateY(-2px);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tool-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
}

.tool-version {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    border: 1px solid var(--neon-green);
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 10px rgba(130, 164, 115, 0.3);
}

.tool-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(130, 164, 115, 0.3);
    border-radius: 0;
    font-size: 0.75rem;
    color: var(--neon-green);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tested With Section */
.tested-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.tested-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.tested-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
    box-shadow: 0 0 10px var(--glow-green);
}

.tested-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 40px rgba(130, 164, 115, 0.4);
    background: rgba(130, 164, 115, 0.05);
}

.tool-tested-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.tool-icon-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-svg-icon-small {
    width: 50px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(130, 164, 115, 0.3));
}

.tested-card:hover .tool-svg-icon-small {
    filter: drop-shadow(0 0 20px rgba(130, 164, 115, 0.6));
    transform: scale(1.05);
}

.tested-tool-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
}

.tested-models {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.model-badge {
    background: rgba(130, 164, 115, 0.1);
    border: 1px solid rgba(130, 164, 115, 0.3);
    padding: 12px 16px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.model-badge:hover {
    background: rgba(130, 164, 115, 0.15);
    border-color: rgba(130, 164, 115, 0.5);
}

.model-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.model-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-green);
    background: rgba(130, 164, 115, 0.15);
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid rgba(130, 164, 115, 0.3);
}

.tested-note {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.8;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.tested-note strong {
    color: var(--neon-green);
}

/* Benchmark Placeholder */
.benchmark-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: rgba(10, 10, 10, 0.6);
    border: 2px dashed var(--glass-border);
    border-radius: 0;
    margin: 40px 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.placeholder-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(135, 135, 135, 0.2), rgba(130, 164, 115, 0.2));
    border: 2px solid var(--glass-border);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.placeholder-icon svg {
    color: rgba(130, 164, 115, 0.6);
    filter: drop-shadow(0 0 10px rgba(130, 164, 115, 0.3));
}

.placeholder-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.placeholder-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Code Preview - Terminal Style */
.code-section {
    background: #000000;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--neon-green);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(130, 164, 115, 0.3);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: rgba(130, 164, 115, 0.1);
    border-bottom: 1px solid var(--neon-green);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    border: 1px solid;
}

.dot-red { background: #ff5f56; border-color: #ff5f56; }
.dot-yellow { background: #ffbd2e; border-color: #ffbd2e; }
.dot-green { background: #27c93f; border-color: #27c93f; }

.code-title {
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-body {
    padding: 30px;
    background: #000000;
}

pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #00ff00;
    overflow-x: auto;
}

.code-line {
    display: block;
    opacity: 0;
    animation: slideInCode 0.4s forwards;
}

@keyframes slideInCode {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-comment { color: #6a9955; }
.code-keyword { color: var(--neon-green); font-weight: 700; }
.code-string { color: #ce9178; }
.code-function { color: #dcdcaa; }
.code-prompt { color: var(--neon-green); font-weight: 700; }

/* Phases Section */
.phases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.phase-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    box-shadow: 0 0 15px;
}

.phase-complete {
    border-color: var(--neon-green);
}

.phase-complete::before {
    background: var(--neon-green);
    box-shadow: 0 0 15px var(--glow-green);
}

.phase-current {
    border-color: rgba(130, 164, 115, 0.8);
    box-shadow: 0 0 40px rgba(130, 164, 115, 0.3);
}

.phase-current::before {
    background: linear-gradient(90deg, var(--neon-green), rgba(130, 164, 115, 0.5));
    box-shadow: 0 0 20px var(--glow-green);
}

.phase-upcoming {
    border-color: rgba(135, 135, 135, 0.3);
    opacity: 0.7;
}

.phase-upcoming::before {
    background: rgba(135, 135, 135, 0.5);
    box-shadow: 0 0 10px rgba(135, 135, 135, 0.3);
}

.phase-card:hover {
    /* Removed transform */
}

.phase-complete:hover {
    box-shadow: 0 0 50px rgba(130, 164, 115, 0.5);
    background: rgba(130, 164, 115, 0.05);
}

.phase-current:hover {
    box-shadow: 0 0 60px rgba(130, 164, 115, 0.5);
    background: rgba(130, 164, 115, 0.05);
}

.phase-upcoming:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(135, 135, 135, 0.3);
    background: rgba(135, 135, 135, 0.03);
}

.phase-status {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-radius: 0;
    border: 1px solid;
}

.phase-complete .phase-status {
    background: rgba(130, 164, 115, 0.2);
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(130, 164, 115, 0.3);
}

.phase-current .phase-status {
    background: rgba(130, 164, 115, 0.15);
    color: var(--neon-green);
    border-color: rgba(130, 164, 115, 0.6);
    box-shadow: 0 0 15px rgba(130, 164, 115, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(130, 164, 115, 0.4); }
    50% { box-shadow: 0 0 25px rgba(130, 164, 115, 0.6); }
}

.phase-upcoming .phase-status {
    background: rgba(135, 135, 135, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(135, 135, 135, 0.3);
}

.phase-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.phase-upcoming .phase-number {
    background: linear-gradient(135deg, rgba(135, 135, 135, 0.5), rgba(135, 135, 135, 0.3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phase-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.phase-upcoming .phase-title {
    color: rgba(255, 255, 255, 0.6);
}

.phase-duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--neon-green);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--battleship));
    box-shadow: 0 0 10px var(--glow-green);
    transition: width 1s ease;
}

.progress-label {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.phase-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.phase-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phase-feature {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    padding-left: 20px;
    position: relative;
}

.phase-complete .phase-feature {
    color: rgba(130, 164, 115, 0.8);
}

.phase-current .phase-feature {
    color: rgba(255, 255, 255, 0.7);
}

.phase-upcoming .phase-feature {
    color: rgba(255, 255, 255, 0.4);
}

.phase-note {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.8;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.phase-note strong {
    color: var(--neon-green);
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.download-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px 30px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--glow-green);
}

.download-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 50px rgba(130, 164, 115, 0.4);
    background: rgba(130, 164, 115, 0.05);
}

.download-placeholder {
    opacity: 0.85;
}

.download-placeholder .download-icon {
    background: linear-gradient(135deg, rgba(135, 135, 135, 0.6), rgba(130, 164, 115, 0.6));
}

.download-placeholder:hover {
    opacity: 1;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green));
    border: 2px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.download-icon svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.download-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    margin-bottom: 10px;
}

.download-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.btn-download {
    width: 100%;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--battleship), var(--neon-green)) !important;
    border: 1px solid var(--neon-green) !important;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.3);
}

.btn-download:hover {
    box-shadow: 0 0 40px rgba(130, 164, 115, 0.6);
}

.download-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.download-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.8;
}

.download-note strong {
    color: var(--neon-green);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.feature-item:hover {
    border-color: var(--neon-green);
    background: rgba(130, 164, 115, 0.08);
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.2);
}

.feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 0 10px var(--glow-green);
    font-family: 'JetBrains Mono', monospace;
}

.feature-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 80px 40px 40px;
    background: rgba(5, 5, 5, 0.95);
    border-top: 2px solid var(--neon-green);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 20px var(--glow-green);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--glow-green);
}

.footer-credits {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.footer-credits p {
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Animations */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes fadeInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 0;
    box-shadow: 0 0 10px var(--glow-green);
}

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

/* Documentation Styles */
.doc-content {
    padding: 120px 40px 80px;
    min-height: 100vh;
}

.doc-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    position: relative;
}

/* Sidebar */
.doc-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px 0;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.sidebar-section {
    padding: 0 25px;
    margin-bottom: 30px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 0;
    transition: all 0.3s;
    display: block;
    border-left: 2px solid transparent;
}

.sidebar-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(130, 164, 115, 0.1);
    border-left-color: var(--neon-green);
}

.sidebar-links a.active {
    color: var(--neon-green);
    background: rgba(130, 164, 115, 0.15);
    border-left-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(130, 164, 115, 0.2);
}

/* Main Content */
.doc-main {
    max-width: 900px;
}

.doc-header {
    margin-bottom: 60px;
}

.doc-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--neon-green);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 20px rgba(130, 164, 115, 0.2);
}

.doc-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #ffffff, var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.doc-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.doc-section {
    margin-bottom: 60px;
}

.doc-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--glass-border);
}

.doc-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'JetBrains Mono', monospace;
    margin: 30px 0 15px;
}

.doc-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    margin: 20px 0 10px;
}

.doc-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.doc-section ul {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-left: 30px;
    margin-bottom: 20px;
}

.doc-section li {
    margin-bottom: 8px;
}

.doc-section code {
    background: rgba(130, 164, 115, 0.15);
    padding: 2px 8px;
    border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: var(--neon-green);
    border: 1px solid rgba(130, 164, 115, 0.3);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 0;
    transition: all 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.feature-box:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(130, 164, 115, 0.3);
    background: rgba(130, 164, 115, 0.05);
}

.feature-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.feature-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Function Cards */
.function-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.function-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.function-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--neon-green);
}

.function-tag {
    padding: 4px 12px;
    background: rgba(130, 164, 115, 0.2);
    border: 1px solid var(--neon-green);
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.function-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Code Blocks */
.code-block {
    background: #000000;
    border: 2px solid var(--neon-green);
    border-radius: 0;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    background: none;
    border: none;
    padding: 0;
    color: var(--neon-green);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Parameter Tables */
.param-table {
    margin: 20px 0;
    overflow-x: auto;
}

.param-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--glass-border);
}

.param-table th {
    background: rgba(130, 164, 115, 0.15);
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--neon-green);
}

.param-table td {
    padding: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--glass-border);
}

.param-table tr:last-child td {
    border-bottom: none;
}

.param-table td:first-child {
    color: var(--neon-green);
    font-weight: 600;
}

/* Use Cases */
.use-case {
    background: rgba(10, 10, 10, 0.6);
    border-left: 3px solid var(--neon-green);
    padding: 20px 25px;
    margin: 20px 0;
}

.use-case h4 {
    margin-top: 0;
}

/* Responsive Documentation */
@media (max-width: 1024px) {
    .doc-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doc-sidebar {
        position: static;
        max-width: 100%;
    }
}

/* Responsive Design - Comprehensive */

/* Extra Large Screens (1920px+) */
@media (min-width: 1920px) {
    .nav-container {
        max-width: 1800px;
    }

    .hero-content {
        max-width: 1400px;
    }

    .tools-grid,
    .phases-container {
        max-width: 1800px;
    }
}

/* Large Desktop (1440px - 1919px) - Default, no changes needed */

/* Medium Desktop (1200px - 1439px) */
@media (max-width: 1439px) {
    .nav-container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .hero {
        padding: 120px 30px 80px;
    }

    section {
        padding: 100px 30px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .doc-container {
        max-width: 1400px;
        gap: 50px;
    }
}

/* Small Desktop / Large Tablet (1024px - 1199px) */
@media (max-width: 1199px) {
    .nav-container {
        padding: 0 25px;
    }

    .hero {
        padding: 100px 25px 70px;
    }

    section {
        padding: 80px 25px;
    }

    .main-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }

    .tool-card {
        padding: 30px;
    }

    .phases-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

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

    .doc-container {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

    .doc-content {
        padding: 110px 25px 70px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
    nav {
        padding: 18px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .nav-cta svg {
        width: 14px;
        height: 14px;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 20px 60px;
    }

    .main-title {
        font-size: clamp(2.5rem, 7vw, 4.5rem);
        margin-bottom: 25px;
    }

    .subtitle {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        margin-bottom: 35px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    section {
        padding: 70px 20px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tool-card {
        padding: 30px;
    }

    .phases-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .phase-card {
        padding: 30px 25px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Documentation adjustments */
    .doc-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .doc-sidebar {
        position: static;
        max-width: 100%;
        padding: 20px 0;
    }

    .doc-content {
        padding: 100px 20px 60px;
    }

    .doc-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .function-card {
        padding: 25px;
    }

    .param-table {
        font-size: 0.85rem;
    }

    .param-table th,
    .param-table td {
        padding: 10px;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
    .hex-logo {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Hide some nav items to save space */
    .nav-links li:nth-child(3), /* GitHub */
    .nav-links li:nth-child(5)  /* Support Us */
    {
        display: none;
    }

    .hero {
        min-height: 85vh;
        padding: 90px 20px 50px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
        margin-bottom: 25px;
    }

    .main-title {
        font-size: clamp(2.2rem, 6vw, 4rem);
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.2rem);
        margin-bottom: 30px;
    }

    .cta-container {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 50px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    section {
        padding: 60px 20px;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        margin-bottom: 15px;
    }

    .section-description {
        font-size: 1rem;
    }

    .tool-card {
        padding: 25px;
    }

    .tool-name {
        font-size: 1.5rem;
    }

    .tool-description {
        font-size: 0.95rem;
    }

    .phase-card {
        padding: 25px 20px;
    }

    .phase-number {
        font-size: 3rem;
    }

    .phase-title {
        font-size: 1.5rem;
    }

    .download-card {
        padding: 40px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    /* Documentation adjustments */
    .doc-content {
        padding: 90px 20px 50px;
    }

    .doc-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
    }

    .doc-title {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        margin-bottom: 15px;
    }

    .doc-subtitle {
        font-size: 1.1rem;
    }

    .doc-section h2 {
        font-size: 1.6rem;
    }

    .doc-section h3 {
        font-size: 1.2rem;
    }

    .function-card {
        padding: 20px;
    }

    .function-header h3 {
        font-size: 1.3rem;
    }

    .code-block {
        padding: 15px;
        font-size: 0.85rem;
    }

    .param-table {
        font-size: 0.8rem;
    }

    .param-table th,
    .param-table td {
        padding: 8px;
    }
}

/* Mobile Landscape (480px - 599px) */
@media (max-width: 599px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    /* Hide more nav items for mobile */
    .nav-links li:nth-child(1), /* Tools */
    .nav-links li:nth-child(3)  /* GitHub */
    {
        display: none;
    }

    .hero {
        padding: 80px 15px 40px;
    }

    .main-title {
        font-size: clamp(2rem, 5.5vw, 3.5rem);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    section {
        padding: 50px 15px;
    }

    .tool-card,
    .phase-card,
    .download-card,
    .function-card {
        padding: 20px 15px;
    }

    .doc-content {
        padding: 80px 15px 40px;
    }

    .code-block {
        padding: 12px;
        font-size: 0.8rem;
    }

    .param-table th,
    .param-table td {
        padding: 6px;
        font-size: 0.75rem;
    }
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
    nav {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-section {
        gap: 10px;
    }

    .hex-logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .nav-links {
        flex-basis: 100%;
        justify-content: center;
        gap: 5px;
    }

    /* Show only Docs and Downloads on smallest screens */
    .nav-links li:not(:nth-child(2)):not(:nth-child(4)) {
        display: none;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .hero {
        min-height: 80vh;
        padding: 70px 15px 40px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 20px;
    }

    .main-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
        letter-spacing: -1px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    section {
        padding: 40px 15px;
    }

    .section-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-svg-icon {
        width: 60px;
    }

    .tool-name {
        font-size: 1.3rem;
    }

    .tool-version {
        padding: 3px 10px;
        font-size: 0.65rem;
    }

    .tool-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .feature-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .phase-card {
        padding: 20px 15px;
    }

    .phase-status {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    .phase-number {
        font-size: 2.5rem;
    }

    .phase-title {
        font-size: 1.3rem;
    }

    .phase-description,
    .phase-feature {
        font-size: 0.85rem;
    }

    .download-card {
        padding: 30px 20px;
    }

    .download-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .download-icon svg {
        width: 40px;
        height: 40px;
    }

    .download-title {
        font-size: 1.4rem;
    }

    .download-desc,
    .download-info {
        font-size: 0.85rem;
    }

    footer {
        padding: 60px 15px 30px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    /* Documentation adjustments */
    .doc-content {
        padding: 70px 15px 40px;
    }

    .doc-header {
        margin-bottom: 40px;
    }

    .doc-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
    }

    .doc-subtitle {
        font-size: 1rem;
    }

    .doc-section {
        margin-bottom: 40px;
    }

    .doc-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .doc-section h3 {
        font-size: 1.1rem;
    }

    .doc-section h4 {
        font-size: 1rem;
    }

    .doc-section p,
    .doc-section ul {
        font-size: 0.9rem;
    }

    .function-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .function-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .function-header h3 {
        font-size: 1.2rem;
    }

    .function-tag {
        font-size: 0.65rem;
    }

    .code-block {
        padding: 10px;
        font-size: 0.75rem;
    }

    .param-table {
        font-size: 0.7rem;
    }

    .param-table th,
    .param-table td {
        padding: 5px;
    }

    /* Make tables scrollable horizontally on very small screens */
    .param-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .param-table table {
        min-width: 500px;
    }
}