@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --green-accent: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #fafcff;
    background-image: 
        radial-gradient(at 15% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 85% 0%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
        linear-gradient(to right, rgba(14, 165, 233, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 4%;
    background: #ffffff;
    z-index: 100;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-center {
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
}

.header-center a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.header-center a:hover {
    color: var(--text-dark);
}



.menu-btn {
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Landing Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 1rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.main-content::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.4);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse-dot 2s infinite ease-in-out;
}

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

h1 {
    font-size: clamp(2rem, 9.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #111827;
    letter-spacing: -0.02em;
}

h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradient-shift 4s ease infinite;
    text-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 620px;
    margin: 0 auto 0.5rem auto;
    line-height: 1.7;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.cta-button-secondary {
    background: white;
    color: var(--text-dark);
    padding: 1rem 2.25rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
}

.cta-button-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1);
}

@media (max-width: 640px) {
    .badge {
        font-size: 0.78rem;
        line-height: 1.4;
        padding: 0.55rem 1.1rem;
        text-align: center;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.92rem;
    }
}

.trusted {
    margin-top: 2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Cards Section */
.cards-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 0;
    position: relative;
    padding: 1rem 0;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
    width: 100%;
    text-align: left;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.3);
    border-color: transparent;
}

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

.card-icon {
    width: 35px;
    height: 35px;
    border-radius: 0.5rem;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.card p.jobs {
    font-size: 0.75rem;
    color: var(--green-accent);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.card p.salary {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Multi-step Slider Form Styles */
.slide-container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 85px); /* Minus header height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at 50% 0%, #e0f4ff 0%, #f0f9ff 30%, #ffffff 70%);
}

.form-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
    opacity: 0;
    visibility: hidden;
    padding: 2rem;
}

.form-step.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.form-step.prev {
    transform: translateX(-100px) scale(0.95);
    opacity: 0;
    visibility: hidden;
}

.form-step.next {
    transform: translateX(100px) scale(0.95);
    opacity: 0;
    visibility: hidden;
}

.step-content {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px -10px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
    width: 100%;
    max-width: 650px;
    text-align: center;
    border: none;
    border-top: 6px solid var(--primary);
}

/* Progress bar styles */
.progress-container {
    position: absolute;
    top: 85px; /* Just below header */
    left: 0;
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    z-index: 50;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
    width: 0%;
    border-radius: 0 2px 2px 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.slide-input {
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    color: var(--text-dark);
    transition: all 0.3s;
    background: #f8fafc;
}

.slide-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.large-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    color: var(--text-gray);
}

.radio-card:hover {
    border-color: var(--primary-hover);
    background: #f4faff;
    color: var(--text-dark);
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 700;
}

.radio-card:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: #f0f8ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.1);
}

.btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.back-btn {
    display: none;
    background: transparent;
    color: #94a3b8;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    padding: 1rem 1.5rem;
    transition: color 0.3s;
}

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

.submit-btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Success Page */
.success-container {
    background: white;
    padding: 5rem 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.success-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.success-container p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Hiring Partners Marquee */
.hp-section {
    --hp-blue: #2563EB;
    --hp-ink: #0B1220;
    --hp-ink-secondary: #475569;
    --hp-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    overflow: hidden;
    background: #ffffff;
    padding: 56px 20px;
    font-family: var(--hp-font);
    box-sizing: border-box;
}
.hp-section *, .hp-section *::before, .hp-section *::after {
    box-sizing: border-box;
}

.hp-heading {
    max-width: 640px;
    margin: 0 auto 36px;
    padding: 0 5px;
    text-align: center;
}
.hp-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-blue);
}
.hp-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
    text-wrap: balance;
}
.hp-sub {
    margin: 14px 0 0;
    color: var(--hp-ink-secondary);
    font-size: 16px;
}

.hp-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.hp-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 16px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
}
.hp-track:hover {
    animation-play-state: paused;
}
.hp-track--left {
    animation: hp-scroll-left 60s linear infinite;
}
.hp-track--right {
    animation: hp-scroll-right 65s linear infinite;
}

@keyframes hp-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes hp-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hp-track--left, .hp-track--right {
        animation: none;
    }
}

.hp-card {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 140px;
    height: 70px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.25);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.hp-card:hover {
    opacity: 1;
}
@media (min-width: 768px) {
    .hp-card {
        width: 220px;
        height: 100px;
        gap: 12px;
        padding: 16px;
    }
}

.hp-corner {
    position: absolute;
    width: 9px;
    height: 9px;
    color: rgba(37, 99, 235, 0.5);
}
.hp-corner::before, .hp-corner::after {
    content: "";
    position: absolute;
    background: currentColor;
}
.hp-corner::before { top: 0; left: 4px; width: 1px; height: 9px; }
.hp-corner::after { top: 4px; left: 0; width: 9px; height: 1px; }
.hp-corner--tl { top: -4.5px; left: -4.5px; }
.hp-corner--tr { top: -4.5px; right: -4.5px; }
.hp-corner--bl { bottom: -4.5px; left: -4.5px; }
.hp-corner--br { bottom: -4.5px; right: -4.5px; }

.hp-card img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}
@media (min-width: 768px) {
    .hp-card img { height: 48px; width: 48px; }
}

.hp-initials {
    height: 32px;
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--hp-blue);
    font-weight: 700;
    font-size: 12px;
}
@media (min-width: 768px) {
    .hp-initials { height: 48px; width: 48px; font-size: 16px; }
}

.hp-card span {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
}
@media (min-width: 768px) {
    .hp-card span { font-size: 14px; }
}
