/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red: #C0392B;
    --red-dark: #A93226;
    --red-light: #F9EBEA;
    --brown: #7B6B5A;
    --brown-dark: #5D4E3C;
    --brown-light: #F5F0EB;
    --text: #2C2C2C;
    --text-light: #6B6B6B;
    --bg: #FFFFFF;
    --bg-alt: #FAFAF8;
    --bg-dark: #1A1A1A;
    --border: #E8E4DF;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(192,57,43,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--brown);
    background: var(--brown-light);
}
.btn-nav {
    background: var(--red);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.875rem;
}
.btn-nav:hover { background: var(--red-dark); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brown-light);
    color: var(--brown);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.highlight { color: var(--red); }
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}
.dot {
    width: 4px; height: 4px;
    background: var(--border);
    border-radius: 50%;
}

/* === Sections === */
.section {
    padding: 100px 0;
}
.section-employer { background: var(--bg); }
.section-jobseeker { background: var(--bg-alt); }
.section-all { background: var(--bg); }

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--red-light);
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.label-alt {
    background: #EBF0F5;
    color: #2C5F8A;
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* === Product Cards === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.product-card:hover {
    border-color: var(--brown);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.product-card.featured {
    border-color: var(--red);
    background: linear-gradient(135deg, #FFF 0%, var(--red-light) 100%);
}
.product-card.featured:hover {
    box-shadow: 0 4px 16px rgba(192,57,43,0.15), 0 8px 24px rgba(0,0,0,0.06);
}
.product-icon {
    width: 48px; height: 48px;
    color: var(--brown);
    margin-bottom: 20px;
}
.product-card.featured .product-icon { color: var(--red); }
.product-logo {
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.product-logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.product-logo-dark {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 8px 16px;
    height: 56px;
    width: fit-content;
}
.product-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    width: fit-content;
}
.badge-alt { background: #2C5F8A; }
.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
    flex-grow: 1;
}
.product-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
    transition: gap var(--transition);
}
.product-card:hover .product-link { letter-spacing: 0.01em; }

/* === Ecosystem Grid === */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.eco-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}
.eco-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.eco-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    margin: 0 auto 14px;
    color: #fff;
}
.eco-red { background: var(--red); }
.eco-brown { background: var(--brown); }
.eco-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.eco-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.eco-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 100px;
    color: var(--text-light);
}

.ecosystem-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--brown-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--brown);
}
.ecosystem-note svg {
    flex-shrink: 0;
    color: var(--brown);
    margin-top: 2px;
}
.ecosystem-note p {
    font-size: 0.92rem;
    color: var(--brown-dark);
    line-height: 1.65;
}

/* === CTA Section === */
.section-cta {
    background: var(--bg-dark);
    color: #fff;
}
.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-box h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}
.cta-box p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}
.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}
.cta-feature svg { color: var(--red); flex-shrink: 0; }

/* === Footer === */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.6);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255,255,255,0.5);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }

    .hero { padding: 120px 0 72px; }
    .section { padding: 72px 0; }

    .product-grid { grid-template-columns: 1fr; }
    .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-features { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .ecosystem-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-trust { flex-wrap: wrap; }
}
