/* Import High-Converting Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1F2A2E;
    --accent-color: #F26B21;
    --brand-teal: #0E7C83;
    --light-bg: #F5F5F5;
    --text-gray: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1F2A2E 0%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #F26B21 0%, #e55a1a 100%);
    --gradient-teal: linear-gradient(135deg, #0E7C83 0%, #0a6b72 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1F2A2E;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #1F2A2E;
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #F26B21, #0E7C83);
    border-radius: 2px;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(31, 42, 46, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 43px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(242, 107, 33, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(14, 124, 131, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1F2A2E;
    line-height: 1.1;
    background: linear-gradient(135deg, #1F2A2E 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(135deg, #F26B21 0%, #e55a1a 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 30px rgba(242, 107, 33, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55a1a 0%, #d14d0f 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(242, 107, 33, 0.4);
}

/* Guarantee Section */
.guarantee {
    background: linear-gradient(135deg, #0E7C83 0%, #0a6b72 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.guarantee-content {
    position: relative;
    z-index: 1;
}

.guarantee-quote {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    font-style: normal;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

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

.service-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F26B21, #0E7C83);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(242, 107, 33, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F2A2E;
    line-height: 1.3;
}

.service-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #F26B21 0%, #e55a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.3'%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.benefits-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.checkmark {
    background: linear-gradient(135deg, #F26B21 0%, #e55a1a 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(242, 107, 33, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    background: linear-gradient(135deg, #0E7C83 0%, #0a6b72 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 20px rgba(14, 124, 131, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0E7C83, #F26B21);
    z-index: -1;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F2A2E;
    line-height: 1.3;
}

.step p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Service Area Section */
.service-area {
    background: #F5F5F5;
    padding: 4rem 0;
    text-align: center;
}

.service-area-text {
    font-size: 1.125rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Quote Form Section */
.quote-form {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(242, 107, 33, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 124, 131, 0.05) 0%, transparent 50%);
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.quote-form .section-title {
    color: #1F2A2E;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
    padding: 2rem;
}

/* Version B Specific Styles */

/* Secondary Link in Hero */
.secondary-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.secondary-link:hover {
    color: #e55a1a;
    transform: translateY(-1px);
}

/* Offer Stack Section */
.offer-stack {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.offer-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.offer-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    background: white;
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.offer-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-item.highlight {
    background: linear-gradient(135deg, rgba(242, 107, 33, 0.1) 0%, rgba(14, 124, 131, 0.1) 100%);
    border: 2px solid var(--accent-color);
}

.offer-item .checkmark {
    background: var(--gradient-accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(242, 107, 33, 0.3);
}

.pricing-blurb {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-blurb p {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.pricing-blurb strong {
    color: var(--accent-color);
    font-size: 1.4rem;
}

/* CTA Button Variations */
.cta-button.secondary {
    background: var(--gradient-teal);
    box-shadow: 0 8px 30px rgba(14, 124, 131, 0.3);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #0a6b72 0%, #085c62 100%);
    box-shadow: 0 15px 40px rgba(14, 124, 131, 0.4);
}

/* Urgency Section */
.urgency {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fef7f7 100%);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

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

.urgency-headline {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.urgency-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.spots-remaining {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(242, 107, 33, 0.3);
}

.spots-count {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

/* Social Proof Section */
.social-proof {
    padding: 5rem 0;
    background: var(--light-bg);
}

.testimonial-placeholder {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Service Card Modifications for Version B */
.service-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cta-button.mobile-sticky {
    width: 100%;
    margin: 0;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer Updates for Version B */
.footer-links {
    margin-top: 1rem;
    text-align: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Footer */
.footer {
    background: #1F2A2E;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .guarantee-quote {
        font-size: 2rem;
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .benefits-list {
        padding: 0;
    }
    
    .benefit-item {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .checkmark {
        width: 28px;
        height: 28px;
        margin-right: 1.2rem;
    }
    
    .services,
    .why-choose,
    .how-it-works,
    .quote-form {
        padding: 4rem 0;
    }
    
    .guarantee,
    .service-area {
        padding: 4rem 0;
    }
    
    .quote-form .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.9rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .guarantee-quote {
        font-size: 1.8rem;
        padding: 1.2rem;
    }
    
    .service-card {
        padding: 1.8rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .benefit-item {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    
    .step {
        padding: 1.2rem;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .quote-form .section-title {
        font-size: 1.8rem;
    }
    
    /* Version B Mobile Styles */
    .offer-item {
        font-size: 1rem;
        padding: 1rem 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .offer-item .checkmark {
        width: 26px;
        height: 26px;
        margin-right: 1rem;
    }
    
    .urgency-headline {
        font-size: 1.5rem;
    }
    
    .urgency-text {
        font-size: 1rem;
    }
    
    .testimonial {
        font-size: 1.1rem;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 80px; /* Account for sticky CTA */
    }
}

/* Fade-in animation for modern reveal effect */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect for service cards and steps */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .step:hover {
        transform: none;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    @keyframes move {
        0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    }
}

/* Focus styles for accessibility */
.cta-button:focus {
    outline: 3px solid #F26B21;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .quote-form,
    .footer {
        display: none;
    }
    
    .hero,
    .guarantee,
    .services,
    .why-choose,
    .how-it-works,
    .service-area {
        page-break-inside: avoid;
    }
}
