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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button.primary {
    background: #1e40af;
    color: white;
}

.cta-button.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-subtext {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e40af;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-cta {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-cta:hover {
    color: #1d4ed8;
}

/* Local Area Section */
.local-area {
    padding: 80px 0;
}

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

.local-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

.local-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #1e293b;
}

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

.city-column ul {
    list-style: none;
}

.city-column li {
    padding: 0.5rem 0;
    color: #475569;
    padding-left: 1.5rem;
    position: relative;
}

.city-column li::before {
    content: "📍";
    position: absolute;
    left: 0;
}

/* About Agent Section */
.about-agent {
    padding: 80px 0;
    background: #f8fafc;
}

.agent-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.agent-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #475569;
}

.agent-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.highlight p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: #3b82f6;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-cta {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.footer-cta:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Why Goosehead Section */
.why-goosehead {
    background: #f8f9fa;
    padding: 80px 0;
}

.value-props {
    margin-bottom: 4rem;
}

.value-prop {
    margin-bottom: 2.5rem;
}

.value-prop h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partners {
    text-align: center;
    margin-top: 4rem;
}

.partners h3 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
}

.partner small {
    font-weight: 400;
    font-size: 0.8rem;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.testimonial cite {
    font-weight: 600;
    color: #1e3a8a;
}

/* Enhanced Service Cards */
.service-card.featured {
    border: 3px solid #3b82f6;
    position: relative;
    transform: scale(1.02);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price-highlight {
    background: #3b82f6;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Urgent CTA Section */
.urgent-cta-section {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.urgent-cta-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.phone-cta {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

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

/* Hero Enhancements */
.urgency-text {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 1rem;
    font-weight: bold;
}

/* Local Stats */
.local-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Local CTA */
.local-cta {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.local-cta h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

/* Final CTA Enhancements */
.final-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.final-stat {
    text-align: center;
}

.big-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #3b82f6;
    line-height: 1;
}

.stat-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.cta-button.mega {
    font-size: 1.3rem;
    padding: 20px 40px;
    margin: 2rem 0;
}

.final-contact {
    margin-top: 2rem;
}

.phone-highlight {
    font-size: 1.3rem;
    color: #1e3a8a;
    font-weight: bold;
    margin-bottom: 1rem;
}

.guarantee {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Updated About Agent Section */
.agent-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.agent-info h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-info strong {
    color: #1e3a8a;
    width: 80px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-highlights {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Performance Optimizations */
.service-card,
.highlight {
    will-change: transform;
}

/* Accessibility */
.cta-button:focus,
.service-cta:focus,
.footer-cta:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
