/* ── Home Page: override centered body layout ───────────── */
body.home-page {
    display: block;
    align-items: unset;
    justify-content: unset;
    min-height: unset;
    padding: 0;

    /* Dark-section tokens (inherit to all children) */
    --dark-bg:          #0D0B12;
    --dark-surface:     #16131F;
    --dark-border:      rgba(255, 255, 255, 0.08);
    --dark-text:        #EDE8F4;
    --dark-muted:       #9990A8;
    --accent-on-dark:   #D4A8F0;
}

/* ── Navigation ─────────────────────────────────────────── */
.home-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13, 11, 18, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dark-border);
    transition: background 0.3s;
}

.home-nav.scrolled {
    background: rgba(13, 11, 18, 0.97);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}

.nav-links a {
    font-size: 0.88rem;
    color: #C5BDD4;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--dark-text); }

.btn-nav-cta {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
    padding: 7px 18px;
    border: 1px solid var(--dark-border);
    border-radius: 6px;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-nav-cta:hover {
    border-color: var(--accent-on-dark);
    color: var(--accent-on-dark);
    background: rgba(212, 168, 240, 0.07);
}

.btn-nav-feedback {
    font-size: 0.88rem;
    font-weight: 400;
    color: #B8B0C6;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.btn-nav-feedback:hover {
    color: var(--dark-text);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    background: var(--dark-bg);
    padding: 148px 32px 96px;
    position: relative;
    overflow: hidden;
}

/* Subtle mauve glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(212, 168, 240, 0.11) 0%, transparent 68%);
    pointer-events: none;
}

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    animation: heroFadeIn 0.65s ease both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(212, 168, 240, 0.28);
    border-radius: 99px;
    font-size: 0.78rem;
    color: var(--accent-on-dark);
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--dark-muted);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-btn {
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
}

.hero-visual {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
    padding: 40px 32px;
    text-align: center;
}

.trust-label {
    font-size: 0.75rem;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* ── Shared section helpers ──────────────────────────────── */
.section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-text);
    margin-bottom: 10px;
}

.section-heading {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin: 0 auto;
}

/* ── Features Section ────────────────────────────────────── */
.features-section {
    padding: 96px 0;
    background: var(--surface);
}

.features-section .section-inner {
    text-align: center;
}

.feature-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    margin: 36px 0;
}

.tab-btn {
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.tab-panel { text-align: left; }

.tab-panel-hidden { display: none; }

/* ── Bento Grid ──────────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Job Seeker: Progress Stats spans full width at the end */
#tab-jobseeker .bento-grid .bento-card:nth-child(7) { grid-column: 1 / -1; }

.bento-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.bento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.bento-card.bento-accent {
    background: var(--accent-subtle);
    border-color: rgba(224, 175, 255, 0.22);
}

.bento-icon {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bento-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-text);
}

.bento-text h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.bento-text p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── How It Works ────────────────────────────────────────── */
.how-section {
    padding: 96px 0;
    background: var(--bg);
}

.how-section .section-inner { text-align: center; }

.steps-row {
    display: flex;
    align-items: flex-start;
    margin-top: 56px;
    text-align: left;
}

.step {
    flex: 1;
    padding: 0 32px;
}

.step-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-divider {
    width: 1px;
    height: 72px;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 6px;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-section {
    background: var(--dark-bg);
    padding: 56px 32px;
}

.stats-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-on-dark);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-muted);
    line-height: 1.4;
}

.stat-sep {
    width: 1px;
    height: 44px;
    background: var(--dark-border);
    flex-shrink: 0;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section {
    padding: 96px 0;
    background: var(--surface);
}

.testimonials-section .section-inner { text-align: center; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
    text-align: left;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-quote {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.75;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-section {
    padding: 96px 0;
    background: var(--bg);
}

.pricing-section .section-inner { text-align: center; }

.pricing-promo {
    margin-top: 10px;
    color: var(--accent-text);
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
    text-align: left;
    align-items: stretch;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.pricing-card.pricing-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-text);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 99px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.pricing-tier {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.pricing-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    font-size: 0.86rem;
    color: var(--text-body);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-text);
    font-weight: 700;
}

.pricing-detail {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.pricing-coming-soon {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2, #f1f5f9);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-btn {
    text-align: center;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ── Enterprise CTA ──────────────────────────────────────── */
.enterprise-cta-section {
    background: var(--dark-bg);
    padding: 100px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enterprise-cta-section::before {
    content: '';
    position: absolute;
    bottom: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(212, 168, 240, 0.09) 0%, transparent 68%);
    pointer-events: none;
}

.enterprise-cta-inner {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.enterprise-eyebrow { color: var(--accent-on-dark); }

.enterprise-cta-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.8px;
    line-height: 1.18;
    margin: 12px 0 20px;
}

.enterprise-cta-sub {
    font-size: 1rem;
    color: var(--dark-muted);
    line-height: 1.75;
    margin-bottom: 40px;
}

.btn-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 36px;
    background: var(--accent-on-dark);
    color: var(--accent-text);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-enterprise:hover {
    background: #e0c2f8;
    box-shadow: 0 4px 22px rgba(212, 168, 240, 0.38);
}

/* ── Asset Placeholders ──────────────────────────────────── */
.asset-placeholder {
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 10px;
}

.hero-screenshot-placeholder {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: var(--dark-surface);
    border-color: var(--dark-border);
    color: var(--dark-muted);
}

.logo-placeholder {
    width: 110px;
    height: 30px;
    border-radius: 4px;
    flex-shrink: 0;
}

.bento-screenshot {
    flex: 1;
    min-height: 130px;
    border-radius: 8px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.6rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    #tab-jobseeker .bento-grid .bento-card:nth-child(7) {
        grid-column: unset;
    }

    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps-row {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .step { padding: 0; }

    .step-divider {
        width: 60px;
        height: 1px;
        margin: 0;
    }

    .stats-inner {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-sep { display: none; }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .nav-links { display: none; }

    .nav-inner { padding: 0 20px; }

    .hero {
        padding: 120px 20px 72px;
    }

    .hero-headline {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .section-inner { padding: 0 20px; }

    .trust-logos { gap: 18px; }

    .how-section,
    .features-section,
    .testimonials-section,
    .pricing-section {
        padding: 72px 0;
    }

    .stats-section { padding: 48px 20px; }

    .enterprise-cta-section { padding: 72px 20px; }
}
