/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0891B2;
    --primary-dark: #0E7490;
    --primary-light: #06B6D4;
    --accent: #14B8A6;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-light: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-lighter: #F1F5F9;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-white);
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8, 145, 178, 0.15), transparent);
    pointer-events: none;
    z-index: -1;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(8, 145, 178, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 145, 178, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo svg {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .nav-cta {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links .nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(20, 184, 166, 0.1));
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}

.cta-button.secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 40px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* Estimate Form Section */
.estimate {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.form-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.form-sidebar h2 {
    font-size: 40px;
    text-align: left;
    margin-bottom: 16px;
}

.form-sidebar p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.form-wrapper {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
}

.hidden {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}

.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.faq-item {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Service Areas */
.service-areas {
    padding: 120px 0;
    background: var(--bg-light);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
}

.areas-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.areas-list,
.zip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.areas-list span,
.zip-list span {
    padding: 10px 18px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.areas-list span:hover,
.zip-list span:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(8, 145, 178, 0.05);
}

/* Footer */
footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-brand svg {
    color: var(--primary);
}

.footer-main p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .areas-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }

    .lead {
        font-size: 18px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
    }

    .benefits,
    .estimate,
    .service-areas {
        padding: 80px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 20px;
    }

    .section-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    .nav-content {
        padding: 16px 0;
    }

    .logo {
        font-size: 15px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-links .nav-cta {
        padding: 6px 16px;
    }

    .benefit-card {
        padding: 32px 24px;
    }
}
