/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: var(--gray-100);
}

/* Color Variables */
:root {
    --primary-blue: #0057A8;
    --primary-blue-dark: #0284c7;
    --secondary-blue: #075985;
    --accent-orange: #f97316;
    --accent-orange-light: #fed7aa;
    --navy: #1e293b;
    --navy-light: #334155;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #595E66;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.ai-accent {
    color: var(--accent-orange);
}

/* AI accent override for Benefits section */
.benefits .ai-accent {
    color: var(--accent-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #3B5998 0%, #4A6FA5 30%, #5A7FB5 60%, #6A8FC5 100%);
    padding: 120px 0 80px;
    color: white;
    overflow: hidden;
}

.hero-tagline-cta,
.download-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #fbbf24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    margin: 20px 0 8px 0;
    font-style: italic;
}

.download-tagline {
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

/* Desktop: Simple two-column layout */
@media (min-width: 769px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        grid-template-areas: none;
    }
    
    .hero-content {
        grid-column: 1;
        max-width: 600px;
    }
    
    .hero-image {
        grid-column: 2;
        grid-row: 1 / span 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-bottom-content {
        grid-column: 1;
        text-align: left;
        margin-top: 24px;
        max-width: 600px;
    }
    
    .hero-tagline-cta {
        text-align: left;
    }
    
    .hero-buttons {
        text-align: left;
    }
    
    .hero-stats {
        justify-content: flex-start;
        text-align: left;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #fbbf24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-buttons {
    margin-bottom: 48px;
    text-align: left;
}

.btn {
    display: inline-block;
    text-decoration: none;
}

.app-store-badge {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #fbbf24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}


.phone-mockup {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 649px;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.weather-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.weather-card:first-child {
    top: 20px;
    right: -40px;
}

.weather-card:nth-child(2) {
    bottom: 120px;
    left: -60px;
}

.ai-badge {
    position: absolute;
    top: 50%;
    right: -80px;
    background: var(--accent-orange);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatDelayed 3s ease-in-out infinite 1.5s;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Waves */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-path {
    fill: var(--gray-100);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--gray-50);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-reverse {
    grid-template-columns: 80px 1fr 1fr;
}

.step-reverse .step-content {
    grid-order: 3;
}

.step-reverse .step-image {
    grid-order: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    grid-order: 1;
}

.step-content {
    grid-order: 2;
}

.step-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.step-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-image {
    grid-order: 3;
}

.step-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, #808080 100%);
    color: white;
    text-align: center;
}

.download-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    margin-bottom: 48px;
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.checkmark {
    color: var(--success);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Support Section */
.support {
    padding: 120px 0;
    background: var(--gray-100);
}

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

.support-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.support-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.support-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.support-icon {
    font-size: 1.5rem;
}

.support-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Footer */
.footer {
    background: #595E66;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-areas: 
            "content image"
            "bottom bottom";
        gap: 20px;
        align-items: flex-start;
    }
    
    /* Mobile layout areas */
    .hero-content {
        grid-area: content;
        max-width: 100%;
    }
    
    .hero-image {
        grid-area: image;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .hero-bottom-content {
        grid-area: bottom;
        text-align: center;
        margin-top: 20px;
    }
    
    /* Override desktop left-alignment for mobile */
    .hero-tagline-cta {
        text-align: center;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image .screenshot {
        max-width: 180px;
        height: auto;
    }
    
    .hero-tagline-cta {
        text-align: center;
        margin: 12px 0;
    }
    
    .hero-buttons {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .hero-stats {
        gap: 16px;
        justify-content: center;
        text-align: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .step-reverse {
        grid-template-columns: 1fr;
    }
    
    .step-reverse .step-content,
    .step-reverse .step-image {
        grid-order: unset;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .download-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .floating-elements .weather-card:first-child {
        top: 5px;
        right: -10px;
        font-size: 0.75rem;
        padding: 8px 10px;
    }
    
    .floating-elements .weather-card:nth-child(2) {
        bottom: 60px;
        left: -15px;
        font-size: 0.75rem;
        padding: 8px 10px;
    }
    
    .ai-badge {
        right: -20px;
        font-size: 0.625rem;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features,
    .how-it-works,
    .download,
    .support {
        padding: 80px 0;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 32px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    min-height: 140px;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-orange);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.benefit-description {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments for Benefits */
@media (max-width: 768px) {
    .benefits {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 24px;
        max-width: 100%;
    }
    
    .benefit-item {
        padding: 28px 24px;
        gap: 20px;
        min-height: auto;
    }
    
    .benefit-title {
        font-size: 1.125rem;
    }
    
    .benefit-icon {
        width: 44px;
        height: 44px;
    }
    
    .benefit-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Language Selector */
.language-selector {
    margin-right: 16px;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-orange);
}

.language-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3);
}

.language-select option {
    background: var(--navy);
    color: white;
}

/* Mobile Language Selector */
.mobile-language-selector {
    display: none;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mobile-language-label {
    font-size: 14px;
    color: white;
    margin-bottom: 0;
    font-weight: 500;
}

.mobile-language-selector-dropdown select {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-800);
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.mobile-language-selector-dropdown select:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-language-selector-dropdown select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.mobile-language-selector-dropdown select option {
    background: var(--white);
    color: var(--gray-800);
    padding: 8px;
}

/* Show mobile language selector on mobile devices */
@media (max-width: 768px) {
    .mobile-language-selector {
        display: flex;
    }
    
    /* Hide the main nav language selector on mobile */
    .language-selector {
        display: none;
    }
}

/* Weather Radar Animation */
.radar-container {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.radar-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.radar-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radar-ring:nth-child(1) { 
    width: 25%; 
    height: 25%; 
}
.radar-ring:nth-child(2) { 
    width: 50%; 
    height: 50%; 
}
.radar-ring:nth-child(3) { 
    width: 75%; 
    height: 75%; 
}
.radar-ring:nth-child(4) { 
    width: 100%; 
    height: 100%; 
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 50%;
    background: linear-gradient(to top, 
        var(--accent-orange) 0%, 
        rgba(249, 115, 22, 0.8) 30%, 
        rgba(249, 115, 22, 0.3) 70%, 
        transparent 100%);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    animation: radar-sweep 3s linear infinite;
    box-shadow: 
        inset 0 0 3px rgba(249, 115, 22, 0.8),
        0 0 8px rgba(249, 115, 22, 0.6);
    border-radius: 3px;
}

.radar-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 100px;
    height: 100%;
    background: conic-gradient(from 0deg, 
        transparent 0deg, 
        rgba(249, 115, 22, 0.15) 20deg, 
        rgba(249, 115, 22, 0.05) 40deg, 
        transparent 45deg);
    transform-origin: 50px 100%;
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--accent-orange);
    z-index: 3;
}

.radar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 4px solid rgba(249, 115, 22, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radar-pulse 3s ease-out infinite;
}

.radar-pulse:nth-child(2) { animation-delay: 0.3s; }
.radar-pulse:nth-child(3) { animation-delay: 0.6s; }
.radar-pulse:nth-child(4) { animation-delay: 0.9s; }
.radar-pulse:nth-child(5) { animation-delay: 1.2s; }
.radar-pulse:nth-child(6) { animation-delay: 1.5s; }
.radar-pulse:nth-child(7) { animation-delay: 1.8s; }
.radar-pulse:nth-child(8) { animation-delay: 2.1s; }
.radar-pulse:nth-child(9) { animation-delay: 2.4s; }
.radar-pulse:nth-child(10) { animation-delay: 2.7s; }

.radar-blip {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color, #10b981) 0%, rgba(16, 185, 129, 0.3) 100%);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: radar-blip-highlight 3s linear infinite;
}

.radar-blip:nth-child(1) {
    --color: var(--accent-orange);
    top: 37.5%;
    left: 62.5%;
    width: 8px;
    height: 8px;
    animation-delay: 0.3s;
}

.radar-blip:nth-child(2) {
    --color: var(--accent-orange);
    top: 25%;
    left: 50%;
    width: 6px;
    height: 6px;
    animation-delay: 1.2s;
}

.radar-blip:nth-child(3) {
    --color: var(--accent-orange);
    top: 50%;
    left: 75%;
    width: 7px;
    height: 7px;
    animation-delay: 2.1s;
}

.radar-blip:nth-child(4) {
    --color: var(--accent-orange);
    top: 62.5%;
    left: 37.5%;
    width: 8px;
    height: 8px;
    animation-delay: 0.8s;
}

.radar-blip:nth-child(5) {
    --color: var(--accent-orange);
    top: 87.5%;
    left: 56.25%;
    width: 6px;
    height: 6px;
    animation-delay: 1.8s;
}

.radar-contact {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-orange);
    animation: radar-contact-pulse 2s ease-in-out infinite;
    z-index: 4;
}

.radar-contact:nth-child(1) {
    /* On 25% ring - top */
    top: 37.5%;
    left: 50%;
    animation-delay: 0s;
}

.radar-contact:nth-child(2) {
    /* On 50% ring - right */
    top: 50%;
    left: 62.5%;
    animation-delay: 0.8s;
}

.radar-contact:nth-child(3) {
    /* On 75% ring - bottom left */
    top: 59.375%;
    left: 40.625%;
    animation-delay: 1.2s;
}

.radar-contact:nth-child(4) {
    /* On 100% ring - top right */
    top: 32.5%;
    left: 67.5%;
    animation-delay: 1.8s;
}

.radar-contact:nth-child(5) {
    /* On 87.5% ring - left center */
    top: 50%;
    left: 25%;
    animation-delay: 2.4s;
}

@keyframes radar-contact-pulse {
    0% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px var(--accent-orange);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 20px var(--accent-orange);
    }
    100% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px var(--accent-orange);
    }
}

@keyframes radar-sweep {
    0% { transform: translate(-50%, -100%) rotate(0deg); }
    100% { transform: translate(-50%, -100%) rotate(360deg); }
}

@keyframes radar-pulse {
    0% { 
        width: 0; 
        height: 0; 
        opacity: 1; 
    }
    100% { 
        width: 400px; 
        height: 400px; 
        opacity: 0; 
    }
}

@keyframes radar-blip-highlight {
    0% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1); 
    }
    8.33% { /* 30deg / 360deg = 8.33% */
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.5); 
    }
    16.66% { /* 60deg / 360deg = 16.66% */
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1); 
    }
    100% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1); 
    }
}

@keyframes radar-ring-pulse {
    0% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(0.95); 
    }
    50% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1.05); 
    }
    100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(0.95); 
    }
}


/* Radar positioning classes */
.radar-center-large {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    filter: blur(0.5px);
}

/* Responsive radar sizing */
@media (max-width: 768px) {
    .radar-container {
        width: 300px;
        height: 300px;
    }
    
    .radar-center-large {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .radar-container {
        width: 250px;
        height: 250px;
    }
    
    .radar-center-large {
        opacity: 0.25;
    }
}