/* SimeonGarratt.com Next.js Routes CSS - v1.3.0-FINAL */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Inter:wght@300;400;500;600&family=Bebas+Neue&family=JetBrains+Mono&display=swap');

:root {
    --black: #050505;
    --white: #ffffff;
    --red: #ff0000;
    --grey: #6b6b6b;
    --grey-light: #999999;
    --font-bebas: 'Bebas Neue', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-inter);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation - ROBUST REBUILD */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none !important;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.nav-links a:hover { color: white !important; }

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.light-toggle, .nav-cta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}

.light-toggle { background: white; color: black; border: none; }
.nav-cta { border: 1px solid var(--red); color: white !important; background: transparent; }
.nav-cta:hover { background: var(--red); }

/* Grader Layout */
.grader-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 30px 100px;
}

.h1-bebas {
    font-family: var(--font-bebas);
    font-size: clamp(4rem, 12vw, 8.5rem);
    line-height: 0.85;
    color: white;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.grader-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px;
    margin-bottom: 80px;
}

.grader-input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    padding: 22px 30px;
    font-size: 1.2rem;
    outline: none;
    font-weight: 300;
}

.grader-input:focus { border-color: var(--red); }

.btn-red {
    background: var(--red);
    color: white;
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    padding: 18px 40px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: transform 0.2s;
}

.btn-red:hover { transform: translateY(-2px); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Sidebar Signals */
.signal-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}

.status-label { font-mono; font-size: 9px; uppercase; color: #888; }
.status-val { font-bebas; font-size: 1.25rem; }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 120px 60px; background: #020202; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; max-width: 1400px; margin: 0 auto; }

/* Utilities */
.text-red { color: var(--red); }
.text-grey { color: var(--grey); }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.animate-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.reveal { opacity: 1 !important; transform: none !important; visibility: visible !important; }

/* Grader Report UI Enhancements */
.grader-wrap {
    max-width: 1000px;
    margin: 120px auto 100px;
    padding: 0 40px;
    color: var(--black);
}

.grader-wrap .meta-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #999;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 20px;
    margin-bottom: 60px;
    font-weight: 700;
}

.grader-wrap .hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 80px;
}

.grader-wrap .score-box {
    background: var(--ink);
    color: white;
    padding: 40px;
    text-align: center;
    min-width: 200px;
    flex-shrink: 0;
}

.grader-wrap .score-val {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 10px;
}

.grader-wrap .score-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--red);
    font-weight: 700;
}

.grader-wrap .slider-wrap {
    margin-bottom: 80px;
    padding: 40px;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.grader-wrap .slider-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #999;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.grader-wrap .slider {
    height: 4px;
    background: #eee;
    position: relative;
    border-radius: 2px;
}

.grader-wrap .slider-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: var(--ink);
    border-radius: 2px;
}

.grader-wrap .slider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    background: white;
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.grader-wrap .signals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.grader-wrap .step {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.grader-wrap .step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #eee;
    line-height: 0.8;
}

.grader-wrap .step-title {
    font-family: var(--font-bebas);
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.grader-wrap .step-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.grader-wrap .suggestion-box {
    background: #fffafa;
    border-left: 3px solid var(--red);
    padding: 20px;
}

@media (max-width: 900px) {
    .grader-wrap .hero { flex-direction: column; }
    .grader-wrap .signals-grid { grid-template-columns: repeat(2, 1fr); }
    .grader-wrap .meta-header span:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
    .grader-wrap .signals-grid { grid-template-columns: 1fr; }
    .grader-wrap .step { flex-direction: column; gap: 15px; }
}
