/* CSS Variables - Color Palette */
:root {
    --bg-white: #ffffff;
    --primary-navy: #2b325a;
    --primary-teal: #2b325a; /* Changed from teal to navy for backwards compatibility */
    --secondary-amber: #eec155;
    --neutral-navy: #2b325a;
    --divider-gray: #e8e8e8;
    --muted-gray: #959595;
    --bg-light: #f8f9fa;
    --bg-gradient-start: #f5f7fa;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--neutral-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .highlight {
    color: var(--primary-teal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: white;
}

.btn-primary:hover {
    background-color: #439991;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 172, 161, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-amber);
    color: var(--neutral-navy);
}

.btn-secondary:hover {
    background-color: #e5b544;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 193, 85, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.btn-outline:hover {
    background-color: var(--primary-teal);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--divider-gray);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    outline: none;
}

.logo:focus {
    outline: none;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-navy);
}

.logo-dot {
    color: var(--primary-teal);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--neutral-navy);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-teal);
}

.bias-report-link {
    color: var(--secondary-amber) !important;
}

.header-ctas {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--neutral-navy);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--divider-gray);
    z-index: 999;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--neutral-navy);
    font-weight: 500;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 60px;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(81, 172, 161, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(238, 193, 85, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8e8e8' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title {
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    padding-bottom: 30px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.hero-image:hover img {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.hero-image-caption {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-image-caption span {
    font-weight: 600;
    color: var(--primary-teal);
    font-size: 1rem;
    white-space: nowrap;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neutral-navy) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--muted-gray);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--neutral-navy);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-ctas .btn {
    width: auto;
}

/* Value Proposition Section */
.value-prop {
    padding: 80px 0;
    background: var(--bg-white);
}

.value-audience-section {
    margin-bottom: 60px;
}

.value-audience-section:last-child {
    margin-bottom: 0;
}

.audience-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--divider-gray);
}

.audience-icon {
    font-size: 2rem;
}

.candidate-title {
    border-bottom-color: var(--primary-teal);
    color: var(--primary-teal);
}

.recruiter-title {
    border-bottom-color: var(--secondary-amber);
    color: var(--secondary-amber);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: #fafafa;
    border: 1px solid var(--divider-gray);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(81, 172, 161, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-teal);
}

.value-card h3,
.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--muted-gray);
    font-size: 0.95rem;
}

.value-card.testimonial-card {
    background: linear-gradient(135deg, var(--primary-teal), #3d9589);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card.testimonial-card blockquote {
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Journey Container - Two Column Layout */
.journey-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.journey-track {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.journey-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--divider-gray);
}

.journey-icon {
    font-size: 1.5rem;
}

.journey-header h3 {
    font-size: 1.3rem;
    color: var(--neutral-navy);
}

.candidate-journey .journey-header {
    border-bottom-color: var(--primary-teal);
}

.recruiter-journey .journey-header {
    border-bottom-color: var(--secondary-amber);
}

/* Staircase Design */
.staircase {
    position: relative;
    padding-left: 20px;
}

.stair {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 40px;
    min-height: 90px;
}

.stair-block {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: var(--divider-gray);
    border-radius: 4px 4px 0 0;
}

.candidate-journey .stair-block {
    background: linear-gradient(180deg, rgba(81, 172, 161, 0.2) 0%, rgba(81, 172, 161, 0.4) 100%);
}

.recruiter-journey .stair-block {
    background: linear-gradient(180deg, rgba(238, 193, 85, 0.2) 0%, rgba(238, 193, 85, 0.4) 100%);
}

/* Progressive stair heights */
.stair[data-step="1"] .stair-block { height: 70px; }
.stair[data-step="2"] .stair-block { height: 75px; }
.stair[data-step="3"] .stair-block { height: 80px; }
.stair[data-step="4"] .stair-block { height: 85px; }

.stair-content {
    padding: 10px 0 10px 20px;
    border-left: 3px solid var(--divider-gray);
    margin-left: 15px;
}

.candidate-journey .stair-content {
    border-left-color: var(--primary-teal);
}

.recruiter-journey .stair-content {
    border-left-color: var(--secondary-amber);
}

.stair-number {
    position: absolute;
    left: 5px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--neutral-navy);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(0) !important;
    transition: none !important;
}

.stair-content h4 {
    font-size: 1rem;
    color: var(--neutral-navy);
    margin-bottom: 4px;
}

.stair-content p {
    font-size: 0.85rem;
    color: var(--muted-gray);
    line-height: 1.4;
}

/* Goal/Star at the top */
.stair.goal {
    padding-left: 0;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.stair.goal .stair-block {
    display: none;
}

.goal-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.goal-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.goal-content {
    border-left: none;
    text-align: center;
    margin-left: 0;
    padding-left: 15px;
}

.goal-content h4 {
    font-size: 1.1rem;
    color: var(--primary-teal);
}

.recruiter-journey .goal-content h4 {
    color: var(--secondary-amber);
}

/* Climber figure */
.climber {
    position: absolute;
    left: -10px;
    bottom: 20px;
    transform: rotate(-15deg);
    opacity: 0.9;
}

.climber svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hover effects removed to prevent step number animation issues */

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--neutral-navy);
}

.feature-card p {
    color: var(--muted-gray);
    font-size: 0.95rem;
}

/* For the 5th card in 3-column grid */
.features-grid .feature-card:last-child {
    grid-column: 2;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

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

.testimonial-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--neutral-navy);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--primary-teal);
}

.author-info span {
    color: var(--muted-gray);
    font-size: 0.9rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--divider-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-white) 100%);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.cta-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--divider-gray);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.cta-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--neutral-navy);
}

.cta-benefits svg {
    color: var(--primary-teal);
    flex-shrink: 0;
}

.cta-card .btn {
    width: 100%;
}

.cta-card.recruiter h3 {
    color: var(--primary-teal);
}

.cta-card.candidate h3 {
    color: var(--secondary-amber);
}

/* Footer */
.footer {
    background: var(--neutral-navy);
    color: var(--divider-gray);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-logo span {
    color: var(--primary-teal);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: var(--muted-gray);
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: var(--muted-gray);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-teal);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--muted-gray);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--muted-gray);
    font-size: 0.875rem;
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 12px;
}

.sticky-cta .btn {
    flex: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .features-grid .feature-card:last-child {
        grid-column: auto;
    }

    .journey-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .journey-track {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav,
    .header-ctas {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-ctas .btn {
        font-size: 0.95rem;
        padding: 14px 20px;
    }

    .value-grid,
    .features-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

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

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

    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-ctas .btn {
        font-size: 0.85rem;
    }

    .cta-card {
        padding: 24px;
    }

    .testimonial-content {
        padding: 24px;
    }

    .testimonial-content blockquote {
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* High contrast text */
.hero-headline,
.section-title,
h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-navy);
}
