/* Leads Page Specific Stylesheet - Unique Funnel & ROI Theme */

/* --- Hero Section with Radial Funnel Gradient --- */
.ld-hero {
    padding-top: 180px;
    padding-bottom: 90px;
    position: relative;
    background-image: url(../images/leads/hero-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ld-hero::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 85, 0, 0.12) 0%, rgba(255, 255, 255, 0.95) 70%, #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}

.ld-hero .container {
    position: relative;
    z-index: 2;
}

.ld-hero-kicker {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(255, 85, 0, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(255, 85, 0, 0.15);
}

.ld-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.25rem);
    line-height: 1.08;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.ld-hero .lead-p {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-grey);
    max-width: 780px;
    margin-inline: auto;
    line-height: 1.6;
}

.ld-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.ld-hero-image-wrap {
    margin-top: 56px;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(17, 20, 81, 0.12);
    border: 1px solid rgba(17, 20, 81, 0.08);
    background: #ffffff;
    padding: 10px;
    overflow: hidden;
}

.ld-hero-image-wrap img {
    border-radius: 16px;
    display: block;
    width: 100%;
}

/* --- Section Labels and Headers --- */
.ld-section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ld-section-title {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.ld-section-subtitle {
    color: var(--text-grey);
    font-size: 1.08rem;
    line-height: 1.65;
}

/* --- Overview & Comparison Boards --- */
.ld-overview-section {
    background: #ffffff;
}

.ld-graphic-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(17, 20, 81, 0.08);
    box-shadow: 0 20px 45px rgba(17, 20, 81, 0.05);
    padding: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ld-graphic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(255, 85, 0, 0.08);
}

.ld-graphic-card img {
    border-radius: 14px;
    width: 100%;
}

/* Before vs. After Comparison Board */
.ld-comparison-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.ld-comp-card {
    border-radius: 24px;
    padding: 36px;
    position: relative;
    border: 1.5px solid transparent;
}

.ld-comp-card.before {
    background: rgba(239, 71, 111, 0.02);
    border-color: rgba(239, 71, 111, 0.08);
}

.ld-comp-card.after {
    background: rgba(255, 85, 0, 0.02);
    border-color: rgba(255, 85, 0, 0.12);
    box-shadow: 0 16px 36px rgba(255, 85, 0, 0.04);
}

.ld-comp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.ld-comp-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.ld-comp-card.before .ld-comp-header h3 {
    color: #ef476f;
}

.ld-comp-card.after .ld-comp-header h3 {
    color: var(--primary-color);
}

.ld-comp-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 30px;
}

.ld-comp-card.before .ld-comp-badge {
    background: rgba(239, 71, 111, 0.1);
    color: #ef476f;
}

.ld-comp-card.after .ld-comp-badge {
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary-color);
}

.ld-comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ld-comp-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.ld-comp-list li span {
    display: block;
    font-weight: 400;
    font-size: 0.88rem;
    color: var(--text-grey);
    margin-top: 2px;
}

.ld-comp-card.before .ld-comp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 71, 111, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef476f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") center / 10px no-repeat;
}

.ld-comp-card.after .ld-comp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 10px no-repeat;
}

/* --- Features Section --- */
.ld-features-section {
    background: var(--page-fade);
}

.ld-feature-card {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.06);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(17, 20, 81, 0.02);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.ld-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.ld-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(17, 20, 81, 0.08);
    border-color: rgba(255, 85, 0, 0.2);
}

.ld-feature-card:hover::after {
    transform: scaleX(1);
}

.ld-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.ld-feature-card:hover .ld-feature-icon {
    transform: scale(1.1) rotate(-4deg);
    background: var(--primary-color);
    color: #ffffff;
}

.ld-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.ld-feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.ld-feature-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* --- Use Cases / Workflow Section --- */
.ld-workflow-section {
    background: #ffffff;
}

.ld-usecase-badge-pill {
    background: #f8f9fa;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.ld-usecase-badge-pill i, 
.ld-usecase-badge-pill svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.ld-usecase-badge-pill:hover {
    background: var(--page-fade);
    border-color: rgba(255, 85, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 85, 0, 0.06);
}

/* --- AI Intelligence Section (Dark, Cyberpunk Neon Theme) --- */
.ld-ai-section {
    background: #080711;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ld-ai-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ld-ai-section .ld-section-title {
    color: #ffffff;
}

.ld-ai-section .ld-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ld-ai-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.ld-ai-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 85, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 85, 0, 0.15);
}

.ld-ai-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ld-ai-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.ld-ai-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Team Collaboration Section --- */
.ld-collab-section {
    background: var(--page-fade);
}

.ld-collab-graphic {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(17, 20, 81, 0.08);
}

.ld-collab-graphic img {
    width: 100%;
    display: block;
}

.ld-collab-bullet {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.ld-collab-bullet-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(17, 20, 81, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
}

.ld-collab-bullet h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.ld-collab-bullet p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Interactive Conversion Calculator Section --- */
.ld-pipe-section {
    background: #ffffff;
}

.ld-calc-panel {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(17, 20, 81, 0.08);
    box-shadow: 0 20px 50px rgba(17, 20, 81, 0.05);
    padding: 56px;
}

.ld-calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    margin-top: 40px;
    text-align: left;
}

.ld-calc-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ld-slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ld-slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.98rem;
}

.ld-slider-label span:last-of-type {
    color: var(--primary-color);
    font-weight: 800;
}

.ld-range-input {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 10px;
    background: #e9ecef;
    outline: none;
}

.ld-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.4);
    transition: transform 0.1s ease;
}

.ld-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.ld-calc-presets {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ld-preset-btn {
    background: #f8f9fa;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ld-preset-btn.active,
.ld-preset-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.ld-calc-outputs {
    background: #0e0d1d;
    border-radius: 20px;
    padding: 36px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 85, 0, 0.1);
    box-shadow: inset 0 0 20px rgba(255, 85, 0, 0.05);
}

.ld-calc-output-item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ld-calc-output-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.ld-calc-output-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.ld-calc-result-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.ld-calc-result-num.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.35);
}

/* --- Benefits Section --- */
.ld-benefits-section {
    background: #ffffff;
}

.ld-benefit-row {
    border-bottom: 1px solid rgba(17, 20, 81, 0.08);
    padding-block: 28px;
    transition: all 0.3s ease;
}

.ld-benefit-row:first-of-type {
    border-top: 1px solid rgba(17, 20, 81, 0.08);
}

.ld-benefit-row:hover {
    background: var(--page-fade);
    padding-inline: 16px;
    border-radius: 12px;
    border-bottom-color: transparent;
}

.ld-benefit-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.ld-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.ld-benefit-desc {
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- FAQ Section --- */
.ld-faq-section {
    background: #ffffff;
}

.ld-faq-accordion {
    max-width: 860px;
    margin-inline: auto;
}

.ld-faq-item {
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ld-faq-item.is-open {
    border-color: rgba(255, 85, 0, 0.25);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.06);
}

.ld-faq-header {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 16px;
    cursor: pointer;
}

.ld-faq-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.ld-faq-item.is-open .ld-faq-header h3 {
    color: var(--primary-color);
}

.ld-faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.ld-faq-item.is-open .ld-faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.ld-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ld-faq-content {
    padding: 0 28px 24px;
    color: var(--text-grey);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* --- Final CTA Section --- */
.ld-cta-section {
    background: #ffffff;
}

.ld-cta-panel {
    background: radial-gradient(circle at 10% 20%, rgba(255, 85, 0, 0.15) 0%, rgba(17, 20, 81, 0.03) 90%), #080711;
    border-radius: 28px;
    padding: 60px 48px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ld-cta-panel h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 18px;
}

.ld-cta-panel p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 32px;
}

.ld-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ld-cta-buttons .button-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.ld-cta-buttons .button-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive Adaptations --- */
@media (max-width: 991.98px) {
    .ld-hero {
        padding-top: 140px;
        padding-bottom: 64px;
    }

    .ld-cta-panel {
        padding: 48px 24px;
    }

    .ld-comparison-board {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ld-calc-panel {
        padding: 32px;
    }

    .ld-calc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 767.98px) {
    .ld-hero-buttons,
    .ld-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .ld-hero-buttons .button,
    .ld-cta-buttons .button {
        width: 100%;
    }

    .ld-faq-header {
        padding: 18px 20px;
    }

    .ld-faq-content {
        padding: 0 20px 18px;
    }
}
