/* TalentPool Landing Page - Premium Design */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-darker: #4338ca;
    --accent: #818cf8;
    --bg: #ffffff;
    --bg-subtle: #fafafa;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --border: #e4e4e7;
    --border-light: #d4d4d8;
    --text: #09090b;
    --text-muted: #52525b;
    --text-dim: #71717a;
    --gradient-start: #6366f1;
    --gradient-end: #a78bfa;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.logo-accent {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-login-nav:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 11rem 0 7rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-inner {
    position: relative;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 0 0 0 0 rgba(99,102,241,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 30px 0 rgba(99,102,241,0.3);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    border: 2px solid var(--bg);
    margin-left: -8px;
}

.trust-avatar:first-child { margin-left: 0; }

.trust-text {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.social-proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.proof-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.proof-tag {
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 7rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-bullets li {
    font-size: 0.82rem;
    color: var(--text-dim);
    padding-left: 1.25rem;
    position: relative;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

/* ============================================
   FEATURE HERO (Clay-like table)
   ============================================ */
.feature-hero {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.04) 0%, rgba(167,139,250,0.03) 100%);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.feature-hero-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feature-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.feature-hero-text .feature-number {
    margin-bottom: 1rem;
}

.feature-hero-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-hero-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Table Preview */
.table-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.78rem;
}

.table-header-row {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 0.9fr 40px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.table-row {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 0.9fr 40px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.table-row:last-child { border-bottom: none; }
.table-row:hover { background: rgba(0,0,0,0.02); }

.table-cell {
    padding: 0.65rem 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
}

.table-header-row .table-cell {
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
}

.table-cell-name {
    color: var(--text);
    font-weight: 600;
}

.table-cell-ai {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ai-badge {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    background: rgba(99,102,241,0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
}

.table-cell-add {
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.5;
}

.table-header-row .table-cell-add {
    font-size: 0.9rem;
    opacity: 0.7;
    border-left: 1px dashed var(--border);
}

.cell-check {
    color: #34d399;
    font-weight: 700;
}

.cell-dash {
    color: var(--text-dim);
}

.cell-tag {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: #f4f4f5;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-right: 0.2rem;
}

.cell-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 32px;
}

.cell-score.high {
    background: rgba(52,211,153,0.12);
    color: #34d399;
}

.cell-score.mid {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
}

.cell-score.low {
    background: rgba(248,113,113,0.1);
    color: #f87171;
}

@media (max-width: 900px) {
    .feature-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-hero {
        padding: 2rem;
    }

    .table-preview {
        font-size: 0.72rem;
    }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 7rem 0;
    background: var(--bg-subtle);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.step {
    text-align: center;
    padding: 2rem 2rem 0;
    position: relative;
}

.step-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.step-line {
    position: absolute;
    top: calc(2rem + 6px);
    left: 0; right: 0;
    height: 2px;
    background: var(--border);
}

.step:first-child .step-line { left: 50%; }
.step:last-child .step-line { right: 50%; }

.step-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    display: block;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.number-card {
    text-align: center;
    padding: 2rem 1rem;
}

.number-value {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--text), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.number-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline;
    margin-left: 2px;
}

.number-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
}

.cta-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-line { display: none; }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 9rem 0 5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link { display: none; }

    .numbers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .number-value {
        font-size: 2.5rem;
    }

    .footer-links { display: none; }
}
