/* ============================
   ORUS Candidature — Style
   Clean, professional, opinionated
   ============================ */

:root {
    --bg: #fafafa;
    --bg-alt: #f0f0f0;
    --text: #1a1a1a;
    --text-secondary: #666;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --green: #16a34a;
    --green-light: #dcfce7;
    --orange: #ea580c;
    --orange-light: #fff7ed;
    --red: #dc2626;
    --red-light: #fef2f2;
    --border: #e5e5e5;
    --card-bg: #fff;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --max-width: 1100px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Hero ---- */
.hero {
    padding: 80px 0 48px;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 1.1rem;
    color: #94a3b8;
}

.hero-sub strong {
    color: #e2e8f0;
}

.hero-link {
    color: #e2e8f0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}

.hero-link:hover {
    color: #fff;
}

/* ---- Sticky Nav ---- */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    gap: 0;
    height: 52px;
    align-items: stretch;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---- Sections ---- */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 100%;
}

/* ---- Audit ---- */
.audit-block {
    margin-bottom: 48px;
}

.audit-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.audit-strong h3 {
    border-bottom-color: var(--green);
    color: var(--green);
}

.audit-friction h3 {
    border-bottom-color: var(--orange);
    color: var(--orange);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--green);
}

.card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-friction {
    border-left: 3px solid var(--orange);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--orange-light);
    color: var(--orange);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    margin-bottom: 10px;
}

.card-evidence {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.evidence-tag {
    display: inline-block;
    background: var(--bg-alt);
    padding: 1px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

/* ---- Growth Timeline ---- */
.growth-timeline {
    margin-bottom: 48px;
}

.growth-timeline h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.growth-track {
    display: flex;
    gap: 0;
    position: relative;
    padding: 0 12px;
}

.growth-track::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--border);
}

.growth-year {
    flex: 1;
    position: relative;
    padding-top: 24px;
    text-align: center;
}

.growth-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    z-index: 1;
}

.growth-year-future .growth-dot {
    background: var(--orange);
    border-style: dashed;
    border-color: var(--orange-light);
}

.growth-label {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text);
}

.growth-detail {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .growth-track {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .growth-track::before {
        top: 0;
        bottom: 0;
        left: 8px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .growth-year {
        padding-top: 0;
        padding-left: 32px;
        text-align: left;
    }

    .growth-dot {
        top: 2px;
        left: 0;
        transform: none;
    }
}

/* ---- CEO Profile ---- */
.ceo-profile {
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.ceo-profile h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
}

.ceo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.ceo-trait {
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.ceo-trait strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.ceo-trait p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---- Benchmark ---- */
.benchmark-landscape {
    margin-bottom: 48px;
}

.benchmark-landscape h3,
.benchmark-table-wrap h3,
.benchmark-takeaways h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.landscape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.landscape-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landscape-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 6px;
}

.landscape-label-direct {
    background: var(--red-light);
    color: var(--red);
}

.landscape-label-adjacent {
    background: var(--orange-light);
    color: var(--orange);
}

.landscape-label-infra {
    background: var(--accent-light);
    color: var(--accent);
}

.competitor-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.competitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.competitor-header strong {
    font-size: 0.95rem;
}

.competitor-flag {
    font-size: 0.85rem;
}

.competitor-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.competitor-metrics {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.metric {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 10px;
    background: var(--bg-alt);
    border-radius: 20px;
    color: var(--text-secondary);
}

.metric small {
    opacity: 0.7;
}

/* ---- Table ---- */
.benchmark-table-wrap {
    margin-bottom: 48px;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 640px;
}

.benchmark-table th,
.benchmark-table td {
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.benchmark-table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--card-bg);
    position: sticky;
    top: 52px;
}

.benchmark-table .col-orus {
    background: var(--accent-light);
    font-weight: 600;
}

.benchmark-table th.col-orus {
    color: var(--accent);
}

.row-label {
    text-align: left !important;
    font-weight: 500;
    color: var(--text);
}

.cell-yes { color: var(--green); font-weight: 600; }
.cell-no { color: #ccc; }
.cell-partial { color: var(--orange); font-weight: 500; }

/* ---- Takeaways ---- */
.takeaway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 16px;
}

.takeaway {
    display: flex;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.takeaway-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
}

.takeaway strong {
    display: block;
    margin-bottom: 4px;
}

.takeaway div {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---- Playbook / Timeline ---- */
.timeline {
    position: relative;
    margin-bottom: 56px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-phase {
    position: relative;
    padding-left: 56px;
    margin-bottom: 48px;
}

.timeline-phase:last-child {
    margin-bottom: 0;
}

.timeline-header {
    margin-bottom: 20px;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    z-index: 1;
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.initiative {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.initiative h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.initiative p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.initiative-list {
    list-style: none;
    margin-top: 8px;
    padding: 0;
}

.initiative-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.initiative-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.initiative-list li strong {
    color: var(--text);
}

.initiative-tags {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag-org { background: #ede9fe; color: #7c3aed; }
.tag-strat { background: var(--accent-light); color: var(--accent); }
.tag-knowledge { background: var(--green-light); color: var(--green); }
.tag-ia { background: #fef3c7; color: #d97706; }

/* ---- OKR ---- */
.okr-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.okr-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.okr-intro {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.okr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.okr-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.okr-objective {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
}

.okr-krs {
    list-style: none;
    padding: 0;
}

.okr-krs li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    line-height: 1.4;
}

.kr-tag {
    display: inline-block;
    background: var(--bg-alt);
    padding: 1px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    margin-right: 6px;
    color: var(--text);
}

/* ---- Footer ---- */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #e2e8f0;
}

.footer-note {
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ---- Scorecard ---- */
.scorecard {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.scorecard h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.score-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.score-bar-wrap {
    grid-column: 1 / -1;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.score-bar {
    height: 100%;
    width: var(--score);
    background: var(--accent);
    border-radius: 3px;
    transition: width 1s ease;
}

.score-bar-green { background: var(--green); }
.score-bar-orange { background: var(--orange); }
.score-bar-red { background: var(--red); }

.score-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.score-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: right;
}

/* ---- Animations ---- */
.fade-target {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero {
        padding: 56px 0 36px;
    }

    .section {
        padding: 48px 0;
    }

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

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

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

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

    .nav-link {
        padding: 0 16px;
        font-size: 13px;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-phase {
        padding-left: 48px;
    }

    .timeline-badge {
        width: 34px;
        height: 34px;
        font-size: 0.5rem;
    }
}
