/* ══════════════════════════════════════
   SimpleEdit — Site Theme (Idea Architect)
   ══════════════════════════════════════ */
:root {
    --bg: #111110; --bg-raised: #1a1918; --bg-card: #201f1d;
    --bg-card-hover: #282725; --bg-input: #252422;
    --text: #e8e4dc; --text-muted: #9e9890; --text-dim: #706b63;
    --accent: #d4643a; --accent-hover: #e07548;
    --accent-soft: rgba(212, 100, 58, 0.15);
    --border: #2e2c29; --border-hover: #3d3a36;
    --green: #5ecc89; --green-bg: rgba(94, 204, 137, 0.12);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; background: rgba(17,17,16,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: all 0.3s; }
.site-nav.scrolled { padding: 0.7rem 2rem; box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.nav-logo { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 2rem 4rem; max-width: 1100px; margin: 0 auto; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.6s ease forwards 0.2s; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.12; font-weight: 400; max-width: 820px; margin-bottom: 1.8rem; opacity: 0; animation: fadeUp 0.6s ease forwards 0.4s; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.18rem; color: var(--text-muted); max-width: 580px; line-height: 1.7; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.6s ease forwards 0.6s; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.6s ease forwards 0.8s; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #fff; padding: 0.9rem 1.8rem; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,100,58,0.3); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--text); padding: 0.9rem 1.8rem; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: 1.5px solid var(--border-hover); transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--text-muted); background: var(--bg-raised); }
.hero-proof { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; gap: 3rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.6s ease forwards 1s; }
.proof-item { display: flex; flex-direction: column; }
.proof-number { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.proof-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.3rem; }

/* ── SECTIONS ── */
.site-section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--border); }
.section-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); max-width: 560px; margin-bottom: 3rem; font-size: 1.05rem; }

/* ── CARDS ── */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mountain-card { background: var(--bg-card); border-radius: 8px; padding: 2.2rem; transition: all 0.3s; border: 1px solid var(--border); position: relative; overflow: hidden; }
.mountain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.mountain-card:hover::before { transform: scaleX(1); }
.mountain-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-2px); }
.card-icon { width: 40px; height: 40px; background: var(--accent-soft); border: 1px solid rgba(212,100,58,0.25); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; }
.card-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem; }
.card-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.card-stat { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }
.card-stat strong { color: var(--text-muted); font-size: 0.8rem; }

.exp-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: all 0.3s; }
.exp-card:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.exp-status { display: inline-block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 3px; margin-bottom: 1.2rem; }
.status-live { background: var(--green-bg); color: var(--green); }
.status-dev { background: var(--accent-soft); color: var(--accent-hover); }
.exp-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.7rem; }
.exp-desc { font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); margin-bottom: 1.5rem; }
.exp-link { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); text-decoration: none; transition: color 0.2s; }

.note-card { padding: 1.8rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-raised); transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.note-card:hover { border-color: var(--accent); background: var(--bg-card); }
.note-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); margin-bottom: 0.8rem; display: flex; gap: 1rem; }
.note-tag { color: var(--accent); }
.note-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; line-height: 1.3; }
.note-excerpt { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── ASSESSMENT ── */
.assess-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.assess-header { padding: 3rem 3.5rem 2rem; position: relative; }
.assess-header::after { content: ''; position: absolute; top: -30%; right: -10%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(212,100,58,0.06) 0%, transparent 70%); pointer-events: none; }
.assess-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.assess-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 1rem; max-width: 600px; }
.assess-text { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 600px; margin-bottom: 1.5rem; }
.assess-features { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.assess-feat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.assess-form { padding: 0 3.5rem 3rem; }
.assess-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.assess-field label { display: block; font-size: 0.88rem; margin-bottom: 0.4rem; }
.assess-field .label-hint { display: block; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.4rem; font-style: italic; }
.assess-field select, .assess-field input, .assess-field textarea { width: 100%; padding: 0.7rem 0.9rem; background: var(--bg-input); border: 1px solid var(--border); border-radius: 5px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.2s; appearance: none; }
.assess-field textarea { resize: vertical; min-height: 70px; }
.assess-field select:focus, .assess-field input:focus, .assess-field textarea:focus { outline: none; border-color: var(--accent); }
.assess-field input::placeholder, .assess-field textarea::placeholder { color: var(--text-dim); }
.assess-field.full-width { grid-column: 1 / -1; }
.assess-divider { grid-column: 1 / -1; border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.assess-section-label { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); padding-top: 0.3rem; }
.assess-submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2rem; margin-top: 0.5rem; }
.assess-submit { padding: 0.85rem 2rem; background: var(--accent); color: #fff; border: none; border-radius: 5px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.25s; }
.assess-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.assess-privacy { font-size: 0.78rem; color: var(--text-dim); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-left { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ── LOGIN ── */
.login-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { background: #1a1918; border: 1px solid #2e2c29; border-radius: 12px; padding: 48px 36px; width: 100%; max-width: 380px; text-align: center; }
.login-card h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.login-card p { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.login-card input[type="password"] { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; background: var(--bg-input); color: var(--text); outline: none; }
.login-card input:focus { border-color: var(--accent); }
.login-card button { width: 100%; padding: 14px; background: var(--accent); color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; margin-top: 12px; }
.login-card .cancel-link { display: inline-block; margin-top: 16px; color: var(--text-muted); text-decoration: none; font-size: 14px; }
.login-error { color: #ef4444; font-size: 14px; margin-top: 12px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
    .assess-form-grid { grid-template-columns: 1fr; }
    .assess-header { padding: 2.5rem 2rem 1.5rem; }
    .assess-form { padding: 0 2rem 2.5rem; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(17,17,16,0.97); backdrop-filter: blur(14px); flex-direction: column; padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 7rem 1.5rem 3rem; }
    .site-section { padding: 3.5rem 1.5rem; }
    .hero-proof { gap: 2rem; }
    .assess-header { padding: 2rem 1.5rem 1.5rem; }
    .assess-form { padding: 0 1.5rem 2rem; }
}
