/* ================================================
   SEO DEEP INSIGHTS - LEAD GENERATION OPTIMIZED
   Premium Design for Global SEO Lead Capture
   ================================================ */

/* ------------------------------------------------
   CUSTOM FONTS - Distinctive & Professional
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Distinctive Color Palette - Not Generic AI Look */
    --primary-50: #ecfeff;
    --primary-100: #cffafe;
    --primary-200: #a5f3fc;
    --primary-300: #67e8f9;
    --primary-400: #22d3ee;
    --primary-500: #06b6d4;
    --primary-600: #0891b2;
    --primary-700: #0e7490;
    --primary-800: #155e75;
    --primary-900: #164e63;
    
    /* Accent - Warm Orange for CTAs */
    --accent-400: #fb923c;
    --accent-500: #f97316;
    --accent-600: #ea580c;
    --accent-700: #c2410c;
    
    /* Success Green */
    --success-500: #22c55e;
    --success-600: #16a34a;
    
    /* Dark Surfaces */
    --dark-900: #0c1222;
    --dark-800: #111827;
    --dark-700: #1f2937;
    --dark-600: #374151;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-card-hover: 0 20px 60px -15px rgba(0, 0, 0, 0.25);
}

/* ------------------------------------------------
   BASE TYPOGRAPHY
   ------------------------------------------------ */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-800);
}

/* ------------------------------------------------
   HERO SLIDER FIX - CRITICAL
   ------------------------------------------------ */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

/* Ensure only one slide is visible at a time */
.hero-slider .slide:not(.active) {
    display: none !important;
}

/* ------------------------------------------------
   MOBILE NAVIGATION
   ------------------------------------------------ */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-800);
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn .hamburger::before,
.mobile-menu-btn .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark-800);
    transition: all 0.3s ease;
}

.mobile-menu-btn .hamburger::before {
    top: -7px;
}

.mobile-menu-btn .hamburger::after {
    top: 7px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu Panel */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-top: 80px;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu .mobile-nav-item {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-800);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

#mobile-menu .mobile-nav-item:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    padding-left: 2rem;
}

#mobile-menu .mobile-cta {
    margin: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    display: block;
}

@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .desktop-nav {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
    }
}

/* ------------------------------------------------
   LEAD CAPTURE HERO - OPTIMIZED FOR CONVERSIONS
   ------------------------------------------------ */
.lead-hero {
    background: linear-gradient(135deg, #0c1222 0%, #0f172a 50%, #111827 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.lead-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated grid pattern */
.lead-hero .grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Hero Headline */
.lead-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lead-hero h1 .highlight {
    background: linear-gradient(135deg, #22d3ee, #fb923c) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-hero .subtitle {
    font-size: 1.25rem;
    color: #d1d5db !important;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* ------------------------------------------------
   LEAD CAPTURE FORM - HIGH CONVERSION
   ------------------------------------------------ */
.lead-form-card {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2) !important;
}

.lead-form-card .form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.lead-form-card .form-subtitle {
    color: #9ca3af !important;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.lead-form-card input,
.lead-form-card select,
.lead-form-card textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(100, 116, 139, 0.5) !important;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.lead-form-card input::placeholder,
.lead-form-card textarea::placeholder {
    color: #94a3b8 !important;
}

.lead-form-card select option {
    background: #1e293b !important;
    color: #ffffff !important;
}

.lead-form-card input:focus,
.lead-form-card select:focus,
.lead-form-card textarea:focus {
    outline: none;
    border-color: #22d3ee !important;
    background: rgba(30, 41, 59, 1) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3) !important;
}

.lead-form-card .submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    border: none;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lead-form-card .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5) !important;
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
}

.lead-form-card .trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-form-card .trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.lead-form-card .trust-badge i {
    color: var(--success-500);
}

/* ------------------------------------------------
   GLOBAL REACH / LOCATION TARGETING
   ------------------------------------------------ */
.global-reach-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.global-reach-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
}

.global-reach-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-300);
}

.location-card .flag {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.location-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Niche Tags */
.niche-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.niche-tag {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-700);
    transition: all 0.3s ease;
    cursor: pointer;
}

.niche-tag:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.niche-tag.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

/* ------------------------------------------------
   TRUST & SOCIAL PROOF
   ------------------------------------------------ */
.trust-bar {
    background: var(--dark-900);
    padding: 1rem 0;
    overflow: hidden;
}

.trust-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    animation: scrollTrust 20s linear infinite;
}

@keyframes scrollTrust {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.trust-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-400);
}

.trust-item .text {
    color: white;
    font-weight: 600;
}

.trust-item .number {
    color: var(--primary-400);
    font-size: 1.25rem;
    font-weight: 800;
}

/* Client Logos */
.client-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ------------------------------------------------
   CTA BUTTONS - CONVERSION OPTIMIZED
   ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* Pulse Animation for CTAs */
.btn-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }
}

/* ------------------------------------------------
   RESULTS / STATISTICS
   ------------------------------------------------ */
.stats-section {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    padding: 5rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-card .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* ------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------ */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    color: var(--dark-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.testimonial-card .author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-card .author-info span {
    font-size: 0.875rem;
    color: #64748b;
}

/* ------------------------------------------------
   RESPONSIVE DESIGN
   ------------------------------------------------ */
@media (max-width: 1023px) {
    .lead-hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .lead-hero h1 {
        font-size: 2.5rem;
    }
    
    .lead-form-card {
        margin-top: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lead-hero h1 {
        font-size: 2rem;
    }
    
    .lead-hero .subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .number {
        font-size: 2.5rem;
    }
    
    .niche-tags {
        gap: 0.5rem;
    }
    
    .niche-tag {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .trust-bar-content {
        gap: 2rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ------------------------------------------------
   HEADER ENHANCEMENTS
   ------------------------------------------------ */
header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------
   URGENCY ELEMENTS
   ------------------------------------------------ */
.urgency-banner {
    background: linear-gradient(90deg, var(--accent-500), var(--accent-600));
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.urgency-banner .countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}

/* ------------------------------------------------
   FLOATING ELEMENTS
   ------------------------------------------------ */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: floatBounce 3s ease-in-out infinite;
}

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

/* ------------------------------------------------
   SMOOTH SCROLLING & ANIMATIONS
   ------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------------
   PRINT STYLES
   ------------------------------------------------ */
@media print {
    .no-print, .floating-cta, #mobile-menu {
        display: none !important;
    }
}
