/* Lead Box Cards - Hero Section */
.hero-lead-box .lead-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}
.hero-lead-box .hidden {
    display: none !important;
}
.hero-lead-box {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 16px 12px !important;
    border-radius: 28px !important;
    flex: 1;
    width: 100%;
    height: 100%;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.04),
        0 12px 32px rgba(0,0,0,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    transform-origin: center bottom;
    position: relative;
    overflow: hidden;
}
.hero-lead-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    pointer-events: none;
}
.hero-lead-box:hover {
    transform: scale(1.03);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.06),
        0 20px 48px rgba(0,0,0,0.08);
}
.hero-lead-box:focus-within {
    box-shadow:
        0 0 0 2px var(--hero-accent, #3462ea),
        0 4px 8px rgba(0,0,0,0.05),
        0 12px 32px rgba(0,0,0,0.08),
        0 24px 56px rgba(0,0,0,0.1);
    z-index: 20;
}
.hi-wrap:has(.hero-lead-box:focus-within) .hi-circle {
    z-index: 30;
}
.hero-lead-box h3 {
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
    hyphens: auto;
}
.hero-lead-box .lead-step-0 {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.hero-lead-box .lead-step-0 > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.hero-lead-box input {
    font-size: 15px !important;
    height: 42px !important;
    padding: 0 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(0,0,0,0.06) !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-lead-box input:focus {
    border-color: var(--hero-accent, currentColor) !important;
    outline: none !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02), 0 0 0 3px color-mix(in srgb, var(--hero-accent, #3462ea) 10%, transparent) !important;
}
.hero-lead-box button {
    font-size: 14px !important;
    height: 40px !important;
    border-radius: 80px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}
.hero-lead-box button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
    border-radius: 80px 80px 0 0;
}
.hero-lead-box button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.08);
    filter: brightness(1.05);
}
.hero-lead-box button:active {
    transform: scale(0.97);
    filter: brightness(0.97);
}
.hero-lead-box .lead-step-0 .lead-cta-btn {
    margin-top: 0;
}
.hero-lead-box .lead-step-0 .relative.w-full {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 4px;
    padding-bottom: 4px;
}
.hero-lead-box .lead-step-0 > div > .flex.flex-col:last-child {
    margin-top: auto !important;
}
.hero-lead-box .lead-check-item {
    gap: 4px;
}
.hero-lead-box .lead-check-circle {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
}
.hero-lead-box .lead-check-circle svg {
    width: 8px;
    height: 8px;
}
.hero-lead-box .lead-progress-bar {
    transition: width 0.5s ease-out;
}

/* Card Color Variants */
.hb-1 {
    --hero-accent: #3462ea;
    background: linear-gradient(145deg, #f4f7ff 0%, #e6eefe 50%, #dde6fd 100%);
    border: 1px solid rgba(52, 98, 234, 0.1);
}
.hb-1:hover {
    border-color: rgba(52, 98, 234, 0.25);
    box-shadow: 0 0 0 1px rgba(52, 98, 234, 0.06), 0 8px 24px rgba(52, 98, 234, 0.15), 0 20px 48px rgba(52, 98, 234, 0.08);
}
.hb-2 {
    --hero-accent: #78590a;
    background: linear-gradient(145deg, #fffef5 0%, #fdf8e0 50%, #faf3d0 100%);
    border: 1.5px solid rgba(210, 180, 40, 0.2);
}
.hb-2:hover {
    border-color: rgba(210, 180, 40, 0.4);
    box-shadow: 0 0 0 1px rgba(210, 180, 40, 0.06), 0 8px 24px rgba(210, 180, 40, 0.15), 0 20px 48px rgba(210, 180, 40, 0.08);
}
.hb-3 {
    --hero-accent: #2e7d32;
    background: linear-gradient(145deg, #f2fbf2 0%, #e4f5e4 50%, #d8efd8 100%);
    border: 1px solid rgba(76, 175, 80, 0.1);
}
.hb-3:hover {
    border-color: rgba(76, 175, 80, 0.25);
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.06), 0 8px 24px rgba(76, 175, 80, 0.15), 0 20px 48px rgba(76, 175, 80, 0.08);
}
.hb-3 .lead-cta-btn {
    background: linear-gradient(135deg, #81c784, #4caf50) !important;
    color: #fff !important;
    opacity: 1 !important;
}
.hb-4 {
    --hero-accent: #f48638;
    background: linear-gradient(145deg, #fff7f0 0%, #fee8d6 50%, #fddcc4 100%);
    border: 1px solid rgba(244, 134, 56, 0.1);
}
.hb-4:hover {
    border-color: rgba(244, 134, 56, 0.25);
    box-shadow: 0 0 0 1px rgba(244, 134, 56, 0.06), 0 8px 24px rgba(244, 134, 56, 0.15), 0 20px 48px rgba(244, 134, 56, 0.08);
}

/* Icon Circle Badges */
.hi-wrap {
    position: relative;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.hi-circle {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hi-wrap:hover .hi-circle {
    transform: translate(-50%, -50%) scale(1.1);
}
.hi-circle svg {
    width: 24px;
    height: 24px;
}
@media (max-width: 640px) {
    .hi-wrap { padding-top: 24px; }
    .hi-circle { width: 44px; height: 44px; top: 24px; }
    .hi-circle svg { width: 20px; height: 20px; }
    .hero-lead-box { min-height: 0; padding: 28px 10px 10px !important; }
    .hero-lead-box input { height: 36px !important; }
    .hero-lead-box button { height: 36px !important; }
}
.hi-1 {
    background: linear-gradient(180deg, #6db3f8, #3462ea);
    border: 6px solid #d4e2fb;
    box-shadow: 0 8px 24px rgba(52, 98, 234, 0.18);
}
.hi-2 {
    background: linear-gradient(180deg, #fef192, #ffeb5b);
    border: 6px solid #fef9d4;
    box-shadow: 0 8px 24px rgba(255, 235, 91, 0.2);
}
.hi-3 {
    background: linear-gradient(180deg, #93cf96, #4caf50);
    border: 6px solid #d4ecd5;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.18);
}
.hi-4 {
    background: linear-gradient(180deg, #fdbc8e, #f48638);
    border: 6px solid #fde0c9;
    box-shadow: 0 8px 24px rgba(244, 134, 56, 0.18);
}

/* Mobile Slider Overrides */
.mobile-card-slider .splide__slide {
    width: 285px;
}
.mobile-card-slider .hi-wrap {
    padding-top: 26px;
}
.mobile-card-slider .hi-circle {
    width: 48px;
    height: 48px;
    top: 26px;
}
.mobile-card-slider .hi-circle svg {
    width: 24px;
    height: 24px;
}
.mobile-card-slider .hero-lead-box {
    padding: 28px 16px 12px !important;
    border-radius: 24px !important;
}
.mobile-card-slider .hero-lead-box h3 {
    font-size: 16px !important;
    line-height: 20px !important;
}
.mobile-card-slider .hero-lead-box input {
    font-size: 14px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
}
.mobile-card-slider .hero-lead-box button {
    font-size: 13px !important;
    height: 40px !important;
}
.mobile-card-slider .hero-proof-badge .proof-number {
    font-size: 11px;
}
.mobile-card-slider .hero-proof-badge .proof-label {
    font-size: 10px;
}
.mobile-card-slider .splide__slide:not(.is-active) {
    opacity: 0.4;
    transform: scale(0.82);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-card-slider .splide__slide.is-active {
    opacity: 1;
    transform: scale(1.08);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 5;
}
.mobile-card-slider .splide__slide .hero-lead-box:hover {
    transform: none !important;
}

/* Google Places Autocomplete */
.pac-container {
    z-index: 100000 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    margin-top: 6px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14) !important;
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji !important;
    font-size: 15px !important;
    line-height: 16px !important;
    max-height: 220px !important;
    overflow: auto !important;
}
.pac-item {
    padding: 8px 12px !important;
    font-size: 15px !important;
    line-height: 16px !important;
}
.pac-item-query {
    font-size: 15px !important;
}
.pac-icon {
    margin-right: 8px !important;
    transform: scale(0.9);
}

/* Google Badge */
.hero-lead-box .g-badge {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 2px;
    pointer-events: none;
}
.hero-lead-box .g-badge img {
    width: 18px;
}

/* Proof Badge */
.hero-proof-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 999px;
    padding: 6px 12px;
    margin-top: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-proof-badge .proof-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}
.hero-proof-badge .proof-number {
    color: #111;
    font-weight: 700;
    font-size: 12px;
}
.hero-proof-badge .proof-label {
    color: #666;
    font-size: 11px;
    font-weight: 500;
}
@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

/* Decorative Floating Shapes */
.hero-card-grid::before,
.hero-card-grid::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: floatIn 1s ease-out forwards;
}
.hero-card-grid::before {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(52, 98, 234, 0.06) 0%, transparent 70%);
    top: -40px;
    right: -30px;
    animation-delay: 1.2s;
}
.hero-card-grid::after {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
    bottom: -20px;
    left: -20px;
    animation-delay: 1.5s;
}
@keyframes floatIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile Slider Navigation Buttons */
.mobile-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    padding: 0;
}
.mobile-slider-nav svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mobile-slider-prev { left: 6px; }
.mobile-slider-next { right: 6px; }
#mobile-hero-slider.splide .splide__arrows {
    display: none !important;
}
