:root {
    --bg: #000000;
    --card: #0a0a0a;
    --border: #1a1a1a;
    --text: #ffffff;
    --accent: #00ff5f; /* Cyber Green */
    --muted: #666666;
}

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

body {
    background-color: var(--bg);
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    color: var(--text);
    font-family: 'Inter', -apple-system, monospace;
    line-height: 1.5;
    overflow-x: hidden;
}

.hero, .scouter-section, .simulator-section {
    background-color: rgba(0, 0, 0, 0.9);
}

/* NAV */
.nav-bar {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo { font-weight: 900; letter-spacing: -1px; font-size: 1.2rem; }
.version { color: var(--accent); font-size: 0.7rem; vertical-align: top; }

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a.cta-mini {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 7px 18px;
    border-radius: 3px;
    margin-left: 40px;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }

/* BENTO LAYOUT */
.bento-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-item {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 4px; /* Brutalist sharp edges */
}

/* HERO */
.hero { padding-top: 140px; padding-bottom: 60px; }
.hero-main { grid-column: span 8; }
.hero-stats { grid-column: span 4; display: flex; flex-direction: column; justify-content: center; }

h1 { font-size: 4rem; line-height: 0.9; font-weight: 900; margin-bottom: 20px; }
.highlight { color: var(--accent); }
.status-tag { color: var(--muted); font-family: monospace; font-size: 0.8rem; display: block; margin-bottom: 10px; }

.btn-primary {
    background: var(--text);
    color: var(--bg);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    display: inline-block;
    margin-right: 15px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}
.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 3px;
    transition: border 0.2s, color 0.2s;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.stat-row {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
}
.stat-row .label { color: var(--muted); font-size: 0.7rem; font-weight: 800; }
.stat-row .value { color: var(--accent); font-weight: 900; }

/* SIMULATOR */
.sim-input { grid-column: span 6; }
.sim-output { grid-column: span 6; background: #fff; color: #000; border: none; }

.panel-header { font-size: 0.7rem; font-weight: 900; margin-bottom: 20px; color: var(--muted); }
.code-editor { background: #000; padding: 20px; border-radius: 4px; font-family: monospace; color: #888; margin-bottom: 20px; }
.line-num { color: #333; margin-right: 10px; }

.mode-selector button {
    background: none; border: 1px solid var(--border); color: var(--muted); padding: 10px 20px; cursor: pointer; font-weight: 900; font-size: 0.7rem; margin-right: 5px;
    border-radius: 3px;
    transition: border 0.2s, color 0.2s;
}
.mode-selector button.active { color: var(--accent); border-color: var(--accent); }
.mode-selector button:hover { color: var(--accent); border-color: var(--accent); }

.rewrite-box { margin-top: 40px; border-top: 1px solid #ddd; padding-top: 20px; }
.rewrite-box .label { font-size: 0.7rem; font-weight: 900; color: #999; }
.rewrite-content { font-family: monospace; font-weight: 800; color: #008f3a; margin-top: 10px; }

@media (max-width: 900px) {
    .bento-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-main, .hero-stats, .sim-input, .sim-output {
        grid-column: span 12;
    }
    .scouter-hero, .scouter-stats {
        grid-column: span 12;
    }
    .radar-container {
        height: 180px;
    }
    .job-node {
        font-size: 0.6rem;
        padding: 6px 10px;
    }
    .stat-value {
        font-size: 2rem;
    }
    .nav-content { padding: 0 10px; }
    h1 { font-size: 2.5rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        margin: 10px 0;
        margin-left: 0;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .feature-card {
        grid-column: span 12;
    }
    .testimonial-card {
        grid-column: span 12;
    }
}

/* SKIP LINK (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--bg);
    padding: 8px 16px;
    z-index: 1000;
    font-weight: 900;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.2s;
}

/* TRUST BADGE */
.trust-badge {
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.trust-badge span:first-child {
    color: var(--accent);
}

/* SCOUTER SECTION (Features) */
.scouter-section {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 10px auto 0 auto;
}

/* RADAR COMPONENT */
.scouter-hero {
    grid-column: span 8;
    padding: 0;
    overflow: hidden;
}

.radar-container {
    height: 200px;
    background: #050505;
    background-image: 
        radial-gradient(circle at center, transparent 0%, #050505 70%),
        repeating-radial-gradient(circle at center, var(--border) 0px, var(--border) 1px, transparent 1px, transparent 40px);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.radar-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    position: absolute;
    left: 0;
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { top: 0; opacity: 0.3; }
    50% { top: 100%; opacity: 0.8; }
}

.job-node {
    position: absolute;
    font-size: 0.7rem;
    font-family: monospace;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--muted);
    transition: all 0.3s;
}

.job-node:hover {
    border-color: var(--accent);
    color: var(--text);
}

.job-node.active {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 255, 95, 0.3);
    animation: pulse 2s infinite;
}

.target-lock {
    color: #fff;
    background: var(--accent);
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 0.6rem;
    margin-left: 5px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 95, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 95, 0.6); }
}

.scouter-cta {
    padding: 30px 40px;
    text-align: center;
}

.scouter-cta p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.scouter-cta .btn-primary {
    font-size: 1.1rem;
    padding: 18px 40px;
    background: var(--accent);
    color: var(--bg);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent); }
    50% { box-shadow: 0 0 20px var(--accent), 0 0 30px var(--accent); }
}

.scouter-stats {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.stat-block {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.stat-block:last-child {
    border-bottom: none;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 800;
    margin-top: 5px;
}

.feature-row {
    margin-top: 40px;
}

.feature-card {
    grid-column: span 3;
    text-align: center;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature-card h3 {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

/* SCORECARD PREVIEW */
.scorecard-preview {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}
.scorecard-code {
    background: #111;
    color: var(--accent);
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.7rem;
    overflow-x: auto;
    white-space: pre;
    margin-top: 10px;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 10px;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 80px 0;
    background: var(--card);
    border-top: 1px solid var(--border);
}
.testimonial-card {
    grid-column: span 4;
}
.testimonial-card .quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-card .author {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 800;
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent);
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* FINAL CTA */
.final-cta-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg) 0%, #050505 100%);
    text-align: center;
    border-top: 1px solid var(--border);
}
.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}
.cta-box p {
    color: var(--muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.btn-large {
    padding: 20px 50px;
    font-size: 1.1rem;
}

/* FOOTER */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 40px 20px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-brand {
    font-weight: 900;
    font-size: 1rem;
}
.footer-links {
    display: flex;
    gap: 25px;
}
.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-note {
    font-size: 0.75rem;
    color: var(--muted);
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Focus states for accessibility */
a:focus, button:focus, summary:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Simulator section padding fix */
.simulator-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

/* PRICING SECTION */
.pricing-section {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.pricing-grid {
    justify-content: center;
    max-width: 800px;
}

.pricing-card {
    grid-column: span 6;
    text-align: center;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 95, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 5px 15px;
    font-size: 0.65rem;
    font-weight: 900;
    border-radius: 3px;
}

.pricing-tier {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 25px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text);
}

.pricing-features li.disabled {
    color: var(--muted);
}

.pricing-features li.highlight {
    color: var(--accent);
    font-weight: 700;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .pricing-card {
        grid-column: span 12;
    }
}

