/* HR Knowledge Layer - Editorial Design (White & Clean) */
/* Inspired by pmvltalent.com */

:root {
    /* Editorial Palette */
    --bg-body: #FFFFFF;
    --text-heading: #151F37;
    /* Deep Navy */
    --text-body: #4A5568;
    /* Cool Grey */
    --accent-blue: #116DFF;
    --hero-bg: #151F37;
    --bg-light: #F7FAFC;
    /* Very subtle grey for alternating sections */

    /* Typography */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
    /* Editorial whitespace */

    /* Container */
    --container-width: 1200px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 18px;
    /* High readability */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 300;
    /* Light Elegant */
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-sm {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #FFFFFF !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-heading);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    background-color: var(--hero-bg);
    /* Image overlay handled inline or needing class */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 12rem 0 8rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: #FFFFFF;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 300;
}

.hero .btn-primary {
    background-color: #FFFFFF;
    color: var(--hero-bg);
}

.hero .btn-primary:hover {
    background-color: var(--accent-blue);
    color: #FFFFFF;
}

/* Problem Section (Split) */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.problem-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Verticals Grid */
/* Clean cards, no heavy borders */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
}

.vertical-card {
    padding: 2rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.vertical-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vertical-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--accent-blue);
}

/* Distribution Flow */
.flow-diagram {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-heading);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-col {
    padding: 4rem;
}

.comparison-bad {
    background: #F7FAFC;
    color: var(--text-body);
}

.comparison-good {
    background: #FFFFFF;
    position: relative;
}

.comparison-good::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-blue);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    padding: 6rem 0;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .problem-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }
}