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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #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;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 50px;
    width: auto;
    margin-bottom: 0.2rem;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.2rem;
}

.mobile-break {
    display: none;
}

.desktop-break {
    display: inline;
}

.contact-info .location {
    color: #2c5282;
    font-weight: 600;
    background: #e6f3ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.features-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e6f3ff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.features-row:last-child {
    margin-bottom: 0;
}

.feature {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.social-proof {
    text-align: center;
}

.social-proof .canadian-flag {
    height: 48px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.social-proof .stars {
    font-size: 1.5rem;
    color: #fbbf24;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.social-proof p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

/* Smooth scrolling for all links */
html {
    scroll-behavior: smooth;
}

.btn-primary {
    background: #f56565;
    color: white;
}

.btn-primary:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,101,101,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5282;
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* How it Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.step-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #3182ce;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: #f56565;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-item h3 {
    color: #2c5282;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

.step-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-item ul {
    list-style: none;
    padding-left: 0;
}

.step-item ul li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-item ul li:before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.service-item {
    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-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-item h3 {
    color: #2c5282;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 3rem;
}

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

.advantage-item {
    padding: 2rem;
    border-left: 4px solid #f56565;
    background: #fafafa;
    border-radius: 8px;
}

.advantage-item h3 {
    color: #2c5282;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 1rem;
}

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

.testimonial-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #f56565;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #2d3748;
    line-height: 1.7;
    font-style: italic;
    font-size: 1.05rem;
    margin: 0;
}

.testimonial-content p:before {
    content: '"';
    font-size: 1.5rem;
    color: #f56565;
    font-weight: bold;
}

.testimonial-content p:after {
    content: '"';
    font-size: 1.5rem;
    color: #f56565;
    font-weight: bold;
}

.testimonial-author strong {
    color: #2c5282;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 3rem;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #2c5282;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Payment Section */
.payment {
    padding: 5rem 0;
    background: #f8fafc;
    padding-top: 8rem; /* Extra space for fixed header */
    padding-bottom: 8rem; /* Extra space after the payment section */
}

.payment h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5282;
    margin-bottom: 1rem;
}

.payment-options {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.payment-method {
    background: white;
    padding: 3rem 3rem 1.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 500px;
    text-align: center;
}

.payment-method h3 {
    color: #2c5282;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-method p {
    color: #666;
    margin-bottom: 1.5rem;
}

.payment-method ul {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none;
}

.payment-method ul li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.payment-method ul li:before {
    content: "";
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.paypal-button {
    margin: 2rem 0;
}

.paypal-button input[type="image"] {
    width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.paypal-button input[type="image"]:hover {
    transform: translateY(-2px);
}

.paypal-btn {
    background: #0070ba;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-width: 200px;
}

.paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,112,186,0.3);
}

.payment-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* New Payment Styles */

.payment-benefits {
    margin-bottom: 2.5rem;
}

.payment-benefits p {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: left;
}

.benefit-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
    color: #2d3748;
    font-weight: 500;
}

.square-button {
    margin: 2rem 0;
}

.payment-btn {
    background: linear-gradient(135deg, #006aff, #0056cc);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 106, 255, 0.3);
    border: none;
    cursor: pointer;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #0056cc, #004299);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 106, 255, 0.4);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-width: 100px;
}

.security-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #48bb78;
}

.security-text {
    font-size: 0.75rem;
    color: #4a5568;
    font-weight: 600;
    text-align: center;
}

/* Mobile Email Button */
.mobile-email-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(72, 187, 120, 0.4);
    z-index: 1000;
    transition: all 0.3s ease, opacity 0.3s ease;
}

.mobile-email-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(72, 187, 120, 0.6);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
    text-align: center;
}

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

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

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.price-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    color: #f56565;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.price-detail {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.guarantee {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3, .footer-section h4 {
    color: #f56565;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

.footer a {
    color: #48bb78;
    text-decoration: none;
}

.footer a:hover {
    color: #38a169;
    text-decoration: underline;
}

.terms-link {
    color: #48bb78 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.terms-link:hover {
    color: #38a169 !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
    margin: 0;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.close:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.terms-text {
    padding: 2rem;
    line-height: 1.6;
    color: #333;
}

.terms-text h3 {
    color: #2c5282;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.terms-text h4 {
    color: #f56565;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-text p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.terms-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-text li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.terms-text strong {
    color: #2c5282;
    font-weight: 600;
}

.terms-text em {
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        padding: 1rem 1.5rem;
        font-size: 1.3rem;
    }
    
    .close {
        top: 1.2rem;
        right: 1.5rem;
    }
    
    .terms-text {
        padding: 1.5rem;
    }
    
    .terms-text h3 {
        font-size: 1.2rem;
    }
    
    .terms-text h4 {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    /* Show mobile email button */
    .mobile-email-btn {
        display: block;
    }
    
    /* Hide location text on mobile */
    .contact-info {
        display: none;
    }
    
    /* Center logo and tagline on mobile */
    .nav {
        justify-content: center;
    }
    
    .logo {
        align-items: center;
        text-align: center;
    }
    
    .mobile-break {
        display: inline;
    }
    
    /* Keep form labels on same line in consent form modal */
    #consent-example-modal .mobile-break {
        display: none;
    }
    
    /* Fix underline width in consent form on mobile */
    #consent-example-modal u {
        display: inline;
        max-width: 60%;
        overflow: hidden;
    }
    
    .desktop-break {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-features {
        margin-bottom: 2rem;
    }
    
    .features-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        justify-content: center;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-grid,
    .advantages-grid,
    .faq-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .services h2,
    .advantages h2,
    .faq h2,
    .cta h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .services,
    .advantages,
    .faq,
    .cta,
    .how-it-works,
    .testimonials {
        padding: 3rem 0;
    }
    
    .service-item,
    .advantage-item,
    .faq-item,
    .step-item,
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .payment {
        padding-top: 8.6rem; /* Extra 10px for mobile */
    }
}