/* ============================================================
   NetNIX Website Stylesheet
   Theme: Dark terminal aesthetic with green/cyan/amber accents
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #0d1117;
    --bg-card: #131920;
    --bg-card-hover: #1a2230;
    --bg-terminal: #0c1016;
    --border-color: #1e2a38;
    --border-glow: #00cc6640;

    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --text-muted: #484f58;

    --green-bright: #00ff66;
    --green-mid: #00cc52;
    --green-dim: #00993d;
    --cyan: #00d4ff;
    --cyan-dim: #0099bb;
    --amber: #ffaa00;
    --amber-dim: #cc8800;
    --magenta: #cc66ff;
    --red: #ff4444;

    --font-mono: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
    --glow-green: 0 0 20px rgba(0, 255, 102, 0.15);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    background-image: url('BG1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--green-bright);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

::selection {
    background: var(--green-bright);
    color: var(--bg-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--green-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-mid);
}

/* --- Layout --- */
.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-bright);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-brand:hover {
    color: var(--green-bright);
    text-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
}

.nav-brand .prompt {
    color: var(--magenta);
    font-weight: 400;
}

.nav-brand .path {
    color: var(--cyan);
    font-weight: 400;
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    transition: all var(--transition);
}

.nav-links a .nav-icon {
    color: var(--green-dim);
    font-size: 0.8rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-bright);
    background: rgba(0, 255, 102, 0.06);
}

.nav-links a.active .nav-icon {
    color: var(--green-bright);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-bright);
    transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero-logo {
    max-width: 420px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px rgba(0, 140, 255, 0.25));
    transition: filter var(--transition);
}

.hero-logo:hover {
    filter: drop-shadow(0 0 40px rgba(0, 140, 255, 0.4));
}

.ascii-banner {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    line-height: 1.2;
    color: var(--green-bright);
    white-space: pre;
    margin-bottom: 32px;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
    overflow-x: auto;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-bright);
    letter-spacing: 6px;
    text-shadow: 0 0 30px rgba(0, 255, 102, 0.3), 0 0 60px rgba(0, 255, 102, 0.1);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 400;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-green {
    background: rgba(0, 255, 102, 0.1);
    color: var(--green-bright);
    border: 1px solid rgba(0, 255, 102, 0.2);
}

.badge-cyan {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-amber {
    background: rgba(255, 170, 0, 0.1);
    color: var(--amber);
    border: 1px solid rgba(255, 170, 0, 0.2);
}

.badge-magenta {
    background: rgba(204, 102, 255, 0.1);
    color: var(--magenta);
    border: 1px solid rgba(204, 102, 255, 0.2);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--green-bright);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.btn-primary:hover {
    background: #33ff88;
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.4);
    text-shadow: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    text-shadow: none;
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--green-bright);
    border-color: var(--green-dim);
    background: rgba(0, 255, 102, 0.05);
    text-shadow: none;
}

/* --- Terminal Block --- */
.terminal {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.terminal-body {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    overflow-x: auto;
}

.terminal-body .prompt {
    color: var(--magenta);
}

.terminal-body .path {
    color: var(--cyan);
}

.terminal-body .cmd {
    color: var(--text-primary);
}

.terminal-body .output {
    color: var(--text-secondary);
}

.terminal-body .highlight {
    color: var(--green-bright);
}

.terminal-body .comment {
    color: var(--text-muted);
    font-style: italic;
}

.terminal-body .warning {
    color: var(--amber);
}

/* --- Section Styles --- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green-bright);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-bright), var(--cyan), var(--magenta));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--glow-green);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--green-bright);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon .bracket {
    color: var(--text-muted);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Highlight Grid (for smaller items) --- */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.highlight-item:hover {
    border-color: var(--green-dim);
    background: rgba(0, 255, 102, 0.03);
}

.highlight-bullet {
    font-family: var(--font-mono);
    color: var(--green-bright);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlight-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Audience / Who is it for --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.audience-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--glow-cyan);
}

.audience-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.audience-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.audience-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* --- Documentation / Docs styles --- */
.docs-toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.toc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all var(--transition);
}

.toc-card:hover {
    border-color: var(--green-dim);
    background: var(--bg-card-hover);
}

.toc-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    margin-bottom: 6px;
}

.toc-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.toc-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.doc-section {
    margin-bottom: 56px;
    scroll-margin-top: 80px;
}

.doc-section h3 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--green-bright);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.doc-section h4 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--cyan);
    margin: 24px 0 12px;
}

.doc-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.doc-section ul {
    list-style: none;
    margin-bottom: 16px;
}

.doc-section ul li {
    padding: 4px 0 4px 20px;
    color: var(--text-secondary);
    position: relative;
}

.doc-section ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-weight: 700;
}

.doc-section code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
    color: var(--amber);
}

.doc-section pre {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    overflow-x: auto;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* --- Command Table --- */
.cmd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
}

.cmd-table th {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    padding: 10px 16px;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cmd-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.cmd-table td:first-child {
    font-family: var(--font-mono);
    color: var(--green-bright);
    white-space: nowrap;
}

.cmd-table td:last-child {
    color: var(--text-secondary);
}

.cmd-table tr:hover td {
    background: rgba(0, 255, 102, 0.03);
}

/* --- Download Section --- */
.download-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-bright), var(--cyan));
}

.download-version {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--amber);
    margin-bottom: 8px;
}

.download-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.download-subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.download-info-item {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-info-item strong {
    color: var(--text-secondary);
}

.download-alt {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.download-alt h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--cyan);
    margin-bottom: 16px;
}

/* --- Requirements List --- */
.req-list {
    list-style: none;
}

.req-list li {
    padding: 8px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.req-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-weight: 700;
}

/* --- About Page --- */
.about-header {
    text-align: center;
    padding: 60px 0 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.about-card h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--green-bright);
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-card a {
    color: var(--cyan);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.contact-label {
    color: var(--text-muted);
    min-width: 80px;
}

/* --- Work in Progress Banner --- */
.wip-banner {
    background: rgba(255, 170, 0, 0.08);
    border: 1px solid rgba(255, 170, 0, 0.2);
    border-radius: var(--radius);
    padding: 14px 24px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--amber);
    margin: 24px auto;
    max-width: 600px;
}

.wip-banner .wip-icon {
    margin-right: 8px;
}

/* --- Footer --- */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(8px);
}

.footer-inner {
    padding: 40px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-bright);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--green-bright);
    text-shadow: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--green-bright);
}

/* --- Dividers --- */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes terminalBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.fade-in {
    animation: fadeInUp 0.6s ease both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

.cursor-blink::after {
    content: '█';
    animation: terminalBlink 1s step-end infinite;
    color: var(--green-bright);
    margin-left: 2px;
}

/* --- Page-level top margin --- */
.page-content {
    flex: 1;
}

/* --- Not-an-OS callout --- */
.callout {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
}

.callout-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 6px;
}

.callout p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.callout-amber {
    background: rgba(255, 170, 0, 0.06);
    border-color: rgba(255, 170, 0, 0.15);
    border-left-color: var(--amber);
}

.callout-amber .callout-title {
    color: var(--amber);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .ascii-banner {
        font-size: 0.35rem;
    }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 20, 0.98);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .ascii-banner {
        font-size: 0.28rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section {
        padding: 48px 0;
    }
}

@media (max-width: 480px) {
    .ascii-banner {
        display: none;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .container {
        padding: 0 16px;
    }
}