/* ═══════════════════════════════════════════════════════════════════════════
   PentestGPT - Modern Hacker Design with Animations
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Fira+Code:wght@300;400;500;600&family=VT323&display=swap');

:root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #0d0d0d;
    --fg: #fafafa;
    --fg-muted: #a3a3a3;
    --fg-dim: #525252;
    --accent: #22c55e;
    --accent-dim: rgba(34, 197, 94, 0.15);
    --accent-glow: rgba(34, 197, 94, 0.4);
    --border: #262626;
    --border-light: #333333;
    --font-sans: 'Space Mono', 'Courier New', monospace;
    --font-mono: 'Fira Code', 'SF Mono', Consolas, monospace;
    --font-display: 'VT323', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Animated Background with Floating Blocks
   ═══════════════════════════════════════════════════════════════════════════ */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

/* Floating 3D Blocks */
.floating-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.block {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 20px;
    color: rgba(82, 82, 82, 0.4);
    animation: blockFloat 20s ease-in-out infinite;
    user-select: none;
}

.block-1 { top: 8%; left: 5%; animation-delay: 0s; font-size: 24px; }
.block-2 { top: 15%; right: 8%; animation-delay: -3s; font-size: 18px; }
.block-3 { top: 25%; left: 12%; animation-delay: -6s; font-size: 16px; }
.block-4 { top: 35%; right: 15%; animation-delay: -9s; font-size: 22px; }
.block-5 { top: 45%; left: 8%; animation-delay: -12s; font-size: 14px; }
.block-6 { top: 55%; right: 5%; animation-delay: -15s; font-size: 20px; }
.block-7 { top: 65%; left: 15%; animation-delay: -18s; font-size: 16px; }
.block-8 { top: 75%; right: 12%; animation-delay: -2s; font-size: 18px; }
.block-9 { top: 12%; left: 85%; animation-delay: -5s; font-size: 14px; }
.block-10 { top: 80%; left: 5%; animation-delay: -8s; font-size: 20px; }

@keyframes blockFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(8deg);
        opacity: 0.6;
    }
}

/* Noise Texture Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════════════════
   Scroll Animations
   ═══════════════════════════════════════════════════════════════════════════ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    color: var(--fg);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--accent);
}

.logo-bracket {
    color: var(--fg-dim);
    transition: color 0.3s;
}

.logo:hover .logo-bracket {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--fg-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Main Content
   ═══════════════════════════════════════════════════════════════════════════ */

main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    padding-top: 72px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(8px);
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.ascii-art {
    font-family: var(--font-mono);
    font-size: clamp(8px, 1.5vw, 14px);
    line-height: 1.15;
    color: var(--accent);
    margin-bottom: 48px;
    overflow-x: auto;
    white-space: pre;
    text-shadow: 0 0 30px var(--accent-glow);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 30px var(--accent-glow); }
    50% { text-shadow: 0 0 50px var(--accent-glow), 0 0 80px rgba(34, 197, 94, 0.2); }
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 20px;
    color: var(--fg-muted);
    margin-bottom: 48px;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--fg-muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--fg);
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

/* GitHub Star Button */
.btn-github {
    background: var(--bg-secondary);
    color: var(--fg);
    border: 1px solid var(--border);
    gap: 12px;
}

.btn-github svg {
    flex-shrink: 0;
}

.btn-github:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.github-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 4px;
    font-size: 13px;
    margin-left: 4px;
}

.github-stars .star-icon {
    color: var(--accent);
    font-size: 12px;
}

.github-stars .star-count {
    color: var(--accent);
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.github-stars .star-count.loaded {
    animation: countPop 0.3s ease-out;
}

@keyframes countPop {
    0% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.arrow {
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(6px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Divider
   ═══════════════════════════════════════════════════════════════════════════ */

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Stats Section
   ═══════════════════════════════════════════════════════════════════════════ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    background: var(--bg);
    padding: 56px 32px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat:hover::before {
    opacity: 1;
}

.stat:hover {
    background: var(--bg-secondary);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    color: var(--fg);
    margin-bottom: 12px;
    position: relative;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Styles
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
    padding: 120px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 64px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    opacity: 0.6;
}

.section h2 {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Content Grid
   ═══════════════════════════════════════════════════════════════════════════ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.content-main .large-text {
    font-family: var(--font-sans);
    font-size: 28px;
    line-height: 1.5;
    color: var(--fg);
    margin-bottom: 32px;
    font-weight: 400;
}

.content-main p {
    font-family: var(--font-sans);
    color: var(--fg-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Code Block
   ═══════════════════════════════════════════════════════════════════════════ */

.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.code-block:hover {
    border-color: var(--border-light);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27ca40; }

.code-title {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-muted);
    margin-left: 12px;
}

.code-content {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    padding: 24px;
    color: var(--fg-muted);
    overflow-x: auto;
}

.kw { color: #c084fc; }
.fn { color: #60a5fa; }
.str { color: var(--accent); }
.fg-dim { color: var(--fg-dim); }

/* ═══════════════════════════════════════════════════════════════════════════
   Demo Section (Asciinema)
   ═══════════════════════════════════════════════════════════════════════════ */

.demo-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.demo-box:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
}

.demo-title {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-muted);
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-youtube {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-muted);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-youtube:hover {
    color: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.demo-youtube svg {
    transition: color 0.2s ease;
}

.demo-youtube:hover svg {
    color: #ff0000;
}

.demo-player {
    width: 100%;
    background: #0a0a0a;
    position: relative;
    padding: 16px;
}

.demo-caption {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-muted);
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Asciinema player styling */
.demo-player .ap-wrapper {
    background: #0a0a0a !important;
}

@media (max-width: 768px) {
    .demo-container {
        gap: 24px;
    }
    .demo-player {
        padding: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Capabilities Grid
   ═══════════════════════════════════════════════════════════════════════════ */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.capability {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.capability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.capability:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-dim);
}

.capability:hover::before {
    opacity: 1;
}

.capability-icon {
    margin-bottom: 20px;
}

.capability-icon pre {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.3;
    color: var(--accent);
}

.capability h3 {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.capability p {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Results Table
   ═══════════════════════════════════════════════════════════════════════════ */

.results-table {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:not(.table-header):hover {
    background: var(--bg-secondary);
}

.table-row span {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.table-header {
    background: var(--bg-secondary);
}

.table-header span {
    color: var(--fg-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.table-row.highlight {
    background: var(--accent-dim);
}

.table-row.highlight span {
    color: var(--fg);
    font-weight: 500;
}

.dim { color: var(--fg-dim); }
.accent { color: var(--accent); }

.results-note {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--fg-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA Section
   ═══════════════════════════════════════════════════════════════════════════ */

.cta {
    text-align: center;
    padding: 140px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.cta-ascii {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg-dim);
    margin-bottom: 40px;
    position: relative;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 16px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta p {
    font-family: var(--font-sans);
    color: var(--fg-muted);
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    border-top: 1px solid var(--border);
    padding: 80px 32px;
    background: var(--bg-secondary);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.footer-col a {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-dim);
}

.sep { color: var(--fg-dim); }

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    main {
        padding: 0 20px;
        padding-top: 72px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .ascii-art {
        font-size: 6px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .stat {
        padding: 40px 24px;
    }

    .stat-value {
        font-size: 36px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .content-main .large-text {
        font-size: 22px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .floating-blocks {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat {
        padding: 32px 16px;
    }

    .stat-value {
        font-size: 28px;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }
}
