/* ========================================
   LEAD SEARCH HERO SECTION
   ======================================== */
.lead-search-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1rem;
    padding-top: 80px; /* Account for fixed header */
}

.spacer {
    height: 4rem;
}

.hero-background {
    background: white;
}

/* Container */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-container::before {
    content: '';
    position: absolute;
    z-index: 0;
    bottom: -20vh;
    left: -20vw;
    width: 60vw;
    height: 60vh;
    background:
            radial-gradient(circle at 30% 70%, rgba(138, 180, 248, 0.3), transparent 50%),
            radial-gradient(circle at 70% 30%, rgba(209, 196, 233, 0.25), transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(174, 203, 250, 0.28), transparent 48%),
            radial-gradient(circle at 45% 55%, rgba(232, 222, 248, 0.22), transparent 52%);
    filter: blur(140px);
    transform: translateZ(0);
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: calc(100vh - 80px);
}

/* Left Content */
.hero-left {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.16;
    color: black;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: grey;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    padding-bottom: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: black;
}

.stat-label {
    font-size: 0.9rem;
    color: grey;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Image */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    animation: popIn 0.8s ease-out 0.5s forwards;
}

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

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    opacity: 0;
    animation: fadeInBounce 0.6s ease-out forwards;
}

.floating-badge i {
    font-size: 1.2rem;
    color: #3b82f6;
}

.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0.8s;
}

.badge-2 {
    top: 40%;
    right: -8%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 15%;
    left: -5%;
    animation-delay: 1.2s;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .lead-search-hero {
        padding-top: 80px;
    }

    .hero-content-wrapper {
        gap: 3rem;
        min-height: calc(100vh - 80px);
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
        text-align: left;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: left;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-image-container {
        max-width: 500px;
    }

    .floating-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .badge-1 {
        left: -5%;
    }

    .badge-2 {
        right: -5%;
    }

    .badge-3 {
        left: 0;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .lead-search-hero {
        min-height: auto;
        padding-top: 70px; /* Mobile header height */
        padding-bottom: 3rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 3rem;
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
        padding-top: 2rem; /* Extra padding to ensure content is visible */
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }


    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-right {
        width: 100%;
    }

    .hero-image-container {
        max-width: 100%;
    }

    .floating-badge {
        display: none;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
    .lead-search-hero {
        padding-top: 70px; /* Ensure consistent padding */
    }

    .hero-left {
        padding-top: 1.5rem; /* Additional safety padding */
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }


    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-image {
        border-radius: 12px;
    }
}

/* ========================================
   LEAD CARDS SECTION
   ======================================== */
.lead-cards-section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.lead-cards-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.lead-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lead-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.lead-cards-section.animate-in .lead-card:nth-child(1) {
    animation: slideInUp 0.6s ease 0.2s forwards;
}

.lead-cards-section.animate-in .lead-card:nth-child(2) {
    animation: slideInUp 0.6s ease 0.4s forwards;
}

.lead-cards-section.animate-in .lead-card:nth-child(3) {
    animation: slideInUp 0.6s ease 0.6s forwards;
}

.lead-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lead-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.lead-card-icon i {
    font-size: 1.8rem;
    color: white;
}

.lead-card-icon.purple-bg {
    background: linear-gradient(135deg, #d946ef, #f9a8d4); /* růžovo-fialová, výrazná a moderní */
}

.lead-card-icon.green-bg {
    background: linear-gradient(135deg, #34d399, #6ee7b7); /* světlejší zelená */
}

.lead-card-icon.blue-bg {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6); /* výraznější modrá */
}


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

.lead-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.lead-card-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

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

/* Lead Cards Section Heading */
.lead-cards-heading {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
}

.lead-cards-section.animate-in .lead-cards-heading {
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.gradient-highlight {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .lead-cards-section {
        padding: 5rem 0;
    }

    .lead-cards-grid {
        gap: 2rem;
        max-width: 900px;
    }

    .lead-card {
        padding: 2rem;
    }

    .lead-card-icon {
        width: 50px;
        height: 50px;
    }

    .lead-card-icon i {
        font-size: 1.5rem;
    }

    .lead-card-title {
        font-size: 1.3rem;
    }

    .lead-card-description {
        font-size: 0.95rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .lead-cards-section {
        padding: 4rem 0;
    }

    .lead-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .lead-card {
        padding: 2rem 1.5rem;
    }

    .lead-card-title {
        font-size: 1.25rem;
    }

    .lead-cards-heading {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
    .lead-cards-section {
        padding: 3rem 0;
    }

    .lead-cards-grid {
        gap: 1.2rem;
    }

    .lead-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }

    .lead-card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1.2rem;
    }

    .lead-card-icon i {
        font-size: 1.3rem;
    }

    .lead-card-title {
        font-size: 1.15rem;
        margin-bottom: 0.8rem;
    }

    .lead-card-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .lead-cards-heading {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
}

/* CTA Card Section */
.cta-card-section {
    padding: 6rem 0;
}

.cta-card {
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-image: url('/images/landing/search-lead-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.cta-campaigns-card {
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-image: url('/images/landing/campaigns-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-talentpool-card {
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-image: url('/images/landing/cta-talentpool.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-meetings-card {
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-image: url('/images/landing/cta-meetings.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
    text-align: center;
    position: relative; /* Ensure content is above background */
}

.cta-card-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-card-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}