/* ============================================
   WASPP Website - Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #615FFF;
    --color-primary-dark: #FFB900;
    --color-dark: #333333;
    --color-text: #4a4a4a;
    --color-text-light: #6b7280;
    --color-light: #ffffff;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-border: #e5e7eb;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--color-dark);
    border-color: white;
}

.btn-white:hover {
    background-color: var(--color-bg-alt);
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-disabled .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-disabled .btn-text small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background-color: rgba(255, 185, 0, 0.15);
    border-radius: var(--radius-full);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary-dark);
}

.nav-links .btn-primary {
    color: white;
}

.nav-links .btn-primary:hover {
    background-color: white; 
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 140px 0 180px;
    background: linear-gradient(135deg, #f0efff 0%, #e8e7ff 30%, #fff9e6 70%, #fffbf0 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-subtitle {
    margin-top: 20px;
    font-size: 1.25rem;
    color: var(--color-text-light);
}

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

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 20px 24px;
    min-width: 120px;
    flex: 1;
    transition: var(--transition);
}

.stat:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-top: 4px;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.hero-logo {
    width: 320px;
    height: 320px;
    filter: drop-shadow(0 20px 40px rgba(97, 95, 255, 0.25));
    animation: float 6s ease-in-out infinite;
}

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

/* Hero Download Card */
.hero-download-card {
    margin-top: 28px;
    background: white;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 30px rgba(97, 95, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 340px;
    border: 1px solid rgba(97, 95, 255, 0.08);
}

.hero-download-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), #4845CC);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.hero-download-card-icon svg {
    width: 22px;
    height: 22px;
}

.hero-download-card-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.hero-download-card-text strong {
    font-size: 0.875rem;
    color: var(--color-dark);
    line-height: 1.3;
}

.hero-download-card-text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.hero-download-card-buttons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hero-download-card-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-alt);
    border-radius: 10px;
    color: var(--color-dark);
    transition: var(--transition);
}

.hero-download-card-buttons a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.08);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header p {
    margin-top: 12px;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(255, 185, 0, 0.15);
    border-radius: var(--radius);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    position: relative;
    text-align: center;
}

.step::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-border));
}

.step:last-child::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-light);
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ============================================
   Pro Section
   ============================================ */
.pro-section {
    padding: 100px 0;
}

.pro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pro-text .badge {
    margin-bottom: 16px;
}

.pro-text h2 {
    margin-bottom: 20px;
}

.pro-text > p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.pro-benefits {
    margin-bottom: 32px;
}

.pro-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text);
}

.pro-benefits svg {
    color: var(--color-primary-dark);
    flex-shrink: 0;
}

.pro-image {
    display: flex;
    justify-content: center;
}

.pro-card {
    width: 100%;
    max-width: 380px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.pro-card-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--color-dark), #1a1a1a);
}

.pro-card-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-dark);
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
}

.pro-card-body {
    padding: 24px;
}

.pro-card-body h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.pro-card-location {
    font-size: 0.875rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.pro-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.pro-card-actions {
    display: flex;
    gap: 12px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--color-primary);
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
}

.contact-content {
    max-width: 50%;
    margin: 0 auto;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(97, 95, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Form messages */
.form-message {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Honeypot field (hidden from humans) */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* reCAPTCHA container */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.recaptcha-notice {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 0;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 185, 0, 0.15);
    border-radius: var(--radius);
    color: var(--color-primary-dark);
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--color-text-light);
}

.contact-social h4 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: white;
    border-radius: 50%;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 24px;
    background-color: var(--color-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 80px;
    justify-content: flex-end;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary-dark);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-content,
    .pro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        max-width: 70%;
    }
    
    .hero-image {
        order: -1;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .hero-download-card {
        max-width: 320px;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 12px;
    }

    .stat {
        min-width: 0;
        padding: 14px 16px;
    }

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

    .hero-download-card {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .contact-content {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.legal-updated {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-dark);
    padding-top: 8px;
}

.legal-content h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
    color: var(--color-dark);
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style-type: disc;
}

.legal-content a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
    padding: 3px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-light);
    border-radius: calc(var(--radius) - 2px);
    transition: var(--transition);
}

.lang-option:hover {
    color: var(--color-dark);
    background-color: var(--color-light);
}

.lang-option.active {
    color: var(--color-light);
    background-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.lang-code {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .lang-switcher {
        position: fixed;
        top: 16px;
        right: 70px;
        margin: 0;
        z-index: 1001;
    }
}

/* ============================================
   Coverage Page
   ============================================ */
.coverage-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f0efff 0%, #e8e7ff 30%, #fff9e6 70%, #fffbf0 100%);
    text-align: center;
}

.coverage-hero .badge {
    margin-bottom: 16px;
}

.coverage-hero h1 {
    margin-bottom: 16px;
}

.coverage-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* Map Section */
.coverage-map-section {
    padding: 60px 0 80px;
}

.coverage-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.coverage-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.coverage-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    background-color: #615FFF;
}

/* Desktop: map left, sidebar right */
.coverage-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.coverage-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.coverage-map {
    width: 100%;
    height: 550px;
    background-color: var(--color-bg-alt);
    position: relative;
}

.coverage-map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 500;
    background: var(--color-bg-alt);
}

.coverage-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.coverage-map-loading p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Sidebar */
.coverage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Strategic message */
.coverage-strategic {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9e6, #fffbf0);
    border: 1px solid rgba(255, 185, 0, 0.3);
    border-radius: var(--radius-lg);
}

.coverage-strategic svg {
    flex-shrink: 0;
    color: var(--color-primary-dark);
    margin-top: 2px;
}

.coverage-strategic p {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.5;
}

/* Search card */
.coverage-search-card {
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.coverage-search-card h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.coverage-search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.coverage-search-input-wrapper {
    flex: 1;
    position: relative;
}

.coverage-search-input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
}

.coverage-search-input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.coverage-search-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(97, 95, 255, 0.2);
}

/* Autocomplete suggestions */
.coverage-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
}

.coverage-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: var(--transition);
    text-align: left;
}

.coverage-suggestion-item:hover {
    background-color: rgba(97, 95, 255, 0.08);
    color: var(--color-primary);
}

/* Search result */
.coverage-result {
    margin-top: 24px;
}

.coverage-result-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: left;
}

.coverage-result-card {
    background: linear-gradient(135deg, #f0efff, #e8e7ff);
    border: 1px solid rgba(97, 95, 255, 0.2);
}

.coverage-result-error {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    text-align: center;
}

.coverage-result-header {
    margin-bottom: 12px;
}

.coverage-result-header strong {
    font-size: 1.125rem;
    color: var(--color-dark);
}

.coverage-result-card p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.coverage-result-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.coverage-result-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-text-light);
    margin: 0 8px;
}

/* Leaflet popup overrides */
.coverage-popup {
    font-family: var(--font-family);
    font-size: 0.875rem;
    line-height: 1.6;
}

.coverage-popup strong {
    font-size: 1rem;
    color: var(--color-dark);
}

/* Coverage teaser card (index page) */
.coverage-teaser {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(97, 95, 255, 0.1);
    border: 1px solid rgba(97, 95, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
}

.coverage-teaser:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(97, 95, 255, 0.15);
}

.coverage-teaser-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #615FFF, #4845CC);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(97, 95, 255, 0.3);
}

.coverage-teaser-text {
    flex: 1;
}

.coverage-teaser-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.coverage-teaser-text p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.coverage-teaser-arrow {
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.coverage-teaser:hover .coverage-teaser-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .coverage-layout {
        grid-template-columns: 1fr;
    }

    .coverage-map {
        height: 450px;
    }

    .coverage-search-form {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .coverage-hero {
        padding: 100px 0 40px;
    }

    .coverage-map {
        height: 350px;
    }

    .coverage-search-form {
        flex-direction: column;
    }

    .coverage-teaser {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

