/* Landing Page Specific Styles */

body.landing-body {
    background-color: #ffffff !important; /* Override default site background */
    font-family: "Figtree", sans-serif;
    color: #1f2937; /* gray-800 */
}

.landing-header {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 119, 216, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827; /* gray-900 */
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }
}

.hero-subheading {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4b5563; /* gray-600 */
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Map & Carousel Section */
.map-container-3d {
    perspective: 1000px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.map-plane {
    width: 90%;
    transform-style: preserve-3d;
    transform: rotateX(30deg) scale(1.1); /* Gentler tilt */
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.map-svg-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    /* Lock aspect ratio using padding-bottom technique */
    padding-bottom: 61.84%; /* (593 / 959) * 100 = 61.84% */
}

.us-map-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.map-dots-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let dots handle their own pointer events */
}

.map-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #0077D8;
    border-radius: 50%;
    /* Position using left/top percentages that match SVG coordinate space */
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(0, 119, 216, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.map-dot.passive {
    width: 10px;
    height: 10px;
    background-color: #9ca3af; /* gray-400 */
    box-shadow: none;
    opacity: 0.5;
    z-index: 5;
    cursor: default;
    pointer-events: none;
}

.map-dot.active {
    background-color: #E39943; /* Warning color */
    box-shadow: 0 0 0 8px rgba(227, 153, 67, 0.3);
    z-index: 100; /* Ensure active dot is on top */
    transform: translate(-50%, -50%) scale(1.5);
}

/* Map Pin Callout */
.map-pin {
    position: absolute;
    bottom: 24px; /* Position above the dot */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 60px; /* Fixed width for logo container */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Show pin on active state */
.map-dot.active .map-pin {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.map-pin img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.map-pin.generic {
    width: 32px;
    height: 32px;
    color: #0077D8;
}

/* Review Carousel styling overlaying the map */
.reviews-overlay {
    position: relative;
    margin-top: -80px;
    margin-left: auto;
    margin-right: auto;
    z-index: 50;
    width: 90%;
    max-width: 500px;
}

.reviews-overlay {
    margin-top: -120px;
}



.review-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Pricing Section */
.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #0077D8;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
}

.pricing-period {
    font-size: 1rem;
    color: #6b7280;
}

/* Animation Utilities */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Filled Star Icons for Reviews */
.review-star {
    fill: gold;
    stroke: none;
}

/* Features Carousel */
.feature-slide-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
}

.feature-video-wrapper {
    width: 100%;
    max-width: 800px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    aspect-ratio: 16/9;
    background: #000;
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-overlay {
    width: 90%;
    max-width: 700px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: -4rem; /* Overlap video */
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #eff6ff; /* blue-50 */
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0077D8;
}

.feature-icon-wrapper i {
    width: 1.75rem;
    height: 1.75rem;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-text p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-card-overlay {
        margin-top: -2rem;
        padding: 1.5rem;
    }
}

/* Utility for height measurement */
.carousel-item.temp-measure-height {
    display: block !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1000;
}
