/* School Zone Finder Landing Page Styles */

:root {
    --primary: #4A90D9;
    --primary-dark: #3A7BC8;
    --primary-light: #E8F2FC;
    --accent: #E53E3E;
    --dark: #1A202C;
    --gray-900: #171923;
    --gray-800: #2D3748;
    --gray-700: #4A5568;
    --gray-600: #576375;
    /* Darkened for better contrast */
    --gray-500: #718096;
    /* Darkened for better contrast */
    --gray-400: #CBD5E0;
    --gray-300: #E2E8F0;
    --gray-200: #EDF2F7;
    --gray-100: #F7FAFC;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #4A90D9 0%, #3A7BC8 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 140px 24px 80px;
    background: var(--gradient);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.trust-badge,
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 16px;
    height: 16px;
    color: #FCD34D;
}

.rating-score {
    font-weight: 600;
    color: var(--white);
}

.rating-count {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Typography */
.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: #FCD34D;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-chrome {
    background: var(--white);
    color: var(--primary);
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-chrome:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-chrome .arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.btn-chrome:hover .arrow {
    transform: translateX(4px);
}

.chrome-icon {
    width: 24px;
    height: 24px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

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

.down-icon {
    width: 20px;
    height: 20px;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #FCD34D;
}

.hero-image {
    max-width: 1000px;
    margin: 60px auto 0;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.browser-header {
    background: var(--gray-100);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.browser-dots span:first-child {
    background: #FF5F56;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #27C93F;
}

.browser-url {
    flex: 1;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.browser-content {
    background: var(--gray-200);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
}

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

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--white);
}

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

.feature-card {
    background: var(--gray-100);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Showcase Section */
.showcase {
    padding: 100px 24px;
    background: var(--gray-100);
}

/* GIF Container - Centered and Large */
.showcase-gif-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.showcase-gif-container img,
.showcase-gif-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid - 2x2 Layout */
.showcase-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.showcase-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.showcase-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.showcase-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.showcase-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.showcase-text p {
    font-size: 14px;
    color: var(--gray-600);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 24px;
    background: var(--white);
}

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

.step-card {
    text-align: center;
    padding: 40px 32px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Data Section */
.data-section {
    padding: 80px 24px;
    background: var(--dark);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.data-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.data-label {
    font-size: 16px;
    color: var(--gray-400);
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 100px 24px;
    background: var(--gray-100);
}

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

.faq-item {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 24px;
    background: var(--gradient);
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

.cta .btn-primary:hover {
    background: var(--gray-100);
}

/* Footer */
.footer {
    padding: 40px 24px;
    background: var(--gray-900);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
}

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

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 14px;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 968px) {

    .features-grid,
    .steps-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .features-grid,
    .steps-grid,
    .data-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }

    .trust-badge,
    .rating-badge {
        font-size: 13px;
        padding: 6px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-chrome,
    .btn-glass {
        padding: 14px 24px;
        font-size: 16px;
    }

    .hero-features {
        font-size: 13px;
        gap: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .data-number {
        font-size: 40px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}