* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(248, 249, 250, 0.92) 0%,
        rgba(248, 249, 250, 0.95) 50%,
        rgba(10, 27, 45, 0.98) 100%
    );
}

/* Header */
.header {
    background-color: #0a1b2d;
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    color: white;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.headline {
    text-align: center;
    margin-bottom: 10px;
}

.headline h1 {
    font-size: 2.5rem;
    color: #0a1b2d;
    margin-bottom: 10px;
}

.headline .location {
    color: #fbbd00;
    font-weight: bold;
}

.subheadline {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Live indicator */
.live-indicator {
    text-align: center;
    margin-bottom: 30px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Quote Cards Container */
.quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Quote Card */
.quote-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.best-value-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.contractor-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.contractor-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0a1b2d;
    margin-bottom: 8px;
}

.contractor-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #fbbd00;
}

.reviews {
    color: #666;
    font-size: 14px;
}

.distance {
    color: #666;
    font-size: 14px;
}

.certifications {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Professional badges */
.cert-badge {
    background-color: rgba(240, 240, 240, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    backdrop-filter: blur(5px);
}

/* Add HVAC icon to contractor cards */
.contractor-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a1b2d'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

/* Pricing Section */
.pricing-section {
    padding: 25px;
    background-color: #f8f9fa;
}

.price-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.price-label {
    font-size: 1rem;
    color: #666;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #0a1b2d;
}

.price-details {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #28a745;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    margin-bottom: 20px;
}

.features li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
}

/* Blur overlay */
.blur-overlay {
    position: relative;
}

.blur-content {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.unlock-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    backdrop-filter: blur(10px);
}

.unlock-message h3 {
    font-size: 1.5rem;
    color: #0a1b2d;
    margin-bottom: 15px;
}

.unlock-message p {
    color: #666;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background-color: #0a1b2d;
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: #fbbd00;
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #fbbd00;
    color: #0a1b2d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #e5ac00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 189, 0, 0.3);
}

.tcpa-text {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
    line-height: 1.4;
    text-align: left;
}

/* Weather-based styling (no longer used, but keeping for reference) */
.weather-alert.extreme-hot {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

.weather-alert.extreme-cold {
    background: linear-gradient(135deg, #4444ff 0%, #667eea 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(68, 68, 255, 0.3);
}

/* Service Selection Styling - REVERTED TO SHARPER VERSION */
.service-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.service-option {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-option:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.service-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fbbd00;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-option.selected {
    background: linear-gradient(145deg, #fbbd00 0%, #ffc933 100%);
    border-color: #fbbd00;
    color: #0a1b2d;
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.service-option.selected .service-emoji {
    filter: grayscale(100%);
}

.service-emoji {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
}

.service-name {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.service-detail {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    color: inherit;
}

.email-capture {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.email-input-group input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.email-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input-group input:focus {
    outline: none;
    border-color: #fbbd00;
    background-color: rgba(255, 255, 255, 0.15);
}

.email-input-group .submit-btn {
    padding: 15px 30px;
    white-space: nowrap;
}

.privacy-note {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 768px) {
    .service-selection {
        grid-template-columns: 1fr;
    }

    .email-input-group {
        flex-direction: column;
    }

    .email-input-group .submit-btn {
        width: 100%;
    }
}
