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

:root {
    /* Color Palette */
    --primary-color: #2563eb; /* Professional blue */
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 20px;

    /* Transitions */
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header
   =========================== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 24px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all var(--transition-speed);
}

.nav-link:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.logo-icon {
    font-size: 28px;
}

.canada-flag {
    font-size: 18px;
    margin-left: 4px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.lang-divider {
    color: var(--text-light);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 100px 20px;
    text-align: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group-inline {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group-inline input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    transition: all var(--transition-speed);
}

.form-group-inline input:focus {
    outline: none;
    border-color: var(--bg-white);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.form-note {
    font-size: 14px;
    opacity: 0.9;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    width: 100%;
    margin-top: 8px;
}

/* ===========================
   Section Titles
   =========================== */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 22px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    margin-top: -40px;
}

/* ===========================
   Problems Section
   =========================== */
.problems {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial-callout {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 30px 40px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--success-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.feature span {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===========================
   Pricing Teaser Section
   =========================== */
.pricing-teaser {
    padding: var(--section-padding);
    background: var(--bg-white);
}

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

.pricing-content .section-title {
    margin-bottom: 20px;
}

.pricing-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pricing-offer {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-offer strong {
    font-weight: 700;
    color: var(--primary-dark);
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: left;
    transition: color var(--transition-speed);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height var(--transition-speed) ease-in;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Final CTA Section
   =========================== */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
}

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

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.waitlist-form {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: block;
}

.form-group input,
.form-group select {
    /* width: 100%; */
    padding: 16px 18px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-family);
    transition: all var(--transition-speed);
    background: var(--bg-white);
    color: var(--text-primary);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: var(--bg-white);
}

/* .checkbox-group { */
/*     display: grid; */
/*     grid-template-columns: repeat(2, 1fr); */
/*     gap: 14px; */
/*     margin-top: 12px; */
/* } */

/* .checkbox-label { */
/*     display: flex; */
/*     align-items: center; */
/*     gap: 10px; */
/*     cursor: pointer; */
/*     color: var(--text-primary); */
/*     font-size: 15px; */
/*     padding: 12px 16px; */
/*     border: 2px solid var(--border-color); */
/*     border-radius: 10px; */
/*     background: var(--bg-white); */
/*     transition: all var(--transition-speed); */
/* } */

/* .checkbox-label:hover { */
/*     border-color: var(--primary-color); */
/*     background: rgba(37, 99, 235, 0.02); */
/* } */
/**/
/* .checkbox-label input[type="checkbox"]:checked ~ span { */
/*     color: var(--primary-color); */
/*     font-weight: 600; */
/* } */
/**/
/* .checkbox-label input[type="checkbox"] { */
/*     width: 20px; */
/*     height: 20px; */
/*     cursor: pointer; */
/*     accent-color: var(--primary-color); */
/*     flex-shrink: 0; */
/* } */

.waitlist-form .form-note {
    text-align: center;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 50px 20px;
}

.footer-simple {
    text-align: center;
}

.footer-simple .logo {
    margin-bottom: 20px;
    color: var(--bg-white);
    justify-content: center;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Animations
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .header-content {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .form-group-inline {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-callout {
        padding: 24px 20px;
        margin-top: 40px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .footer-tagline {
        font-size: 13px;
    }

    .waitlist-form {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .waitlist-form {
        padding: 32px 24px;
    }
}

/* ===========================
   Form Success Message
   =========================== */
.form-success {
    display: none;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    border-radius: 8px;
    color: var(--success-color);
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
}

.form-success.show {
    display: block;
}

/* ===========================
   Pricing Page Styles
   =========================== */
.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 80px 20px 60px;
    text-align: center;
}

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

.pricing-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.pricing-hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

.pricing-cards-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-tier-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.pricing-tier-description {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-primary);
}

.pricing-feature .feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta stripe-buy-button {
    width: 100%;
}

.pricing-faq {
    padding: 80px 20px;
    background: var(--bg-white);
}

.pricing-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-cta-section {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.pricing-cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.pricing-cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Pricing Responsive */
@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 32px;
    }

    .pricing-hero-subtitle {
        font-size: 18px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}
