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

/* Sticky Navigation Bar Override */
.navbar1_component {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

/* Add shadow when scrolled */
.navbar1_component.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Updated body styles with padding for fixed navbar */
body {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 4.5rem !important;
    font-weight: 400;
}

/* Use Comfortaa for headings and brand elements */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-style-h1,
.heading-style-h2,
.heading-style-h3,
.heading-style-h4,
.heading-style-h5,
.heading-style-h6,
.navbar1_logo,
.footer4_logo {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* Improve font rendering and smooth scrolling */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Remove slow native smooth scroll - using faster JS implementation */
/* html { scroll-behavior: smooth; } */

/* Offset for fixed navbar when scrolling to sections */
section[id] {
    scroll-margin-top: 80px;
}

/* Font weight utilities */
.text-weight-semibold {
    font-weight: 500 !important;
}

.text-weight-bold {
    font-weight: 600 !important;
}

/* Ensure buttons use Assistant font */
.button,
.w-button,
.nav-cta,
.cta-button {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* Navigation links use Assistant */
.nav-link,
.navbar1_link,
.w-nav-link {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 44px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #f59e0b;
}

.nav-cta {
    background: #f59e0b;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.nav-cta:hover {
    background: #d97706;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.2s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5fa 0%, #e8e8f0 100%);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.highlight-text {
    background: #f59e0b;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn img {
    height: 60px;
    transition: transform 0.2s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.hero-video {
    position: relative;
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Testimonial Section */
.testimonial {
    background: #fff0e8;
    padding: 4rem 0;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.stars {
    margin-bottom: 2rem;
}

.star {
    color: #f59e0b;
    font-size: 2rem;
    margin: 0 0.25rem;
}

.testimonial-content blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

.author-title {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    background: white;
    padding: 6rem 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* App Showcase Section */
.app-showcase {
    background: #f5f5fa;
    padding: 6rem 0;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.app-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-features {
    margin-bottom: 2rem;
}

.app-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-feature-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.app-feature-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.app-feature-text p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.cta-button {
    background: #f59e0b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: background 0.15s ease;
}

.cta-button:hover {
    background: #d97706;
}

.app-mockup img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Money Section */
.money-section {
    background: white;
    padding: 6rem 0;
}

.money-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.money-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.money-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.money-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.money-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.money-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.money-feature {
    display: flex;
    gap: 1rem;
}

.money-feature-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.money-feature-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.money-feature-text p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Process Section */
.process {
    background: #f5f5fa;
    padding: 6rem 0;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4rem;
}

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

.process-step {
    text-align: center;
}

.step-image {
    margin-bottom: 2rem;
}

.step-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 12px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.process-step p {
    color: #6b7280;
    line-height: 1.6;
}

/* Download CTA Section */
.download-cta {
    background: white;
    padding: 6rem 0;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.download-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* FAQ Section */
.faq {
    background: #f59e0b;
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-logo {
    height: 60px;
    margin-bottom: 2rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
    transition: background 0.15s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    font-size: 1.5rem;
    color: #f59e0b;
    transition: transform 0.2s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Legal Pages - Enhanced Spacing */
.w-richtext h2 {
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
}

.w-richtext h3 {
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
}

.w-richtext h4 {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.w-richtext p {
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
}

.w-richtext ul {
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
}

.w-richtext li {
    margin-bottom: 0.75rem !important;
    line-height: 1.6 !important;
}

/* Add extra spacing for major sections */
.w-richtext h2:first-of-type {
    margin-top: 2rem !important;
}

/* Improve readability with better line spacing */
.w-richtext {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.footer-logo img {
    height: 44px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.15s ease;
}

.social-link:hover {
    background: #f59e0b;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.2s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .app-content,
    .money-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .features h2,
    .app-text h2,
    .money-text h2,
    .process h2,
    .download-text h2,
    .faq-header h2 {
        font-size: 2rem;
    }

    .download-buttons {
        justify-content: center;
    }

    .download-btn img {
        height: 50px;
    }
}