/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.home-page {
    background:
        radial-gradient(circle at 12% 6%, rgba(88, 140, 255, 0.14), transparent 38%),
        radial-gradient(circle at 88% 20%, rgba(252, 185, 84, 0.18), transparent 30%),
        #f7f9ff;
}

.home-page .glass-panel {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.65), rgba(233, 239, 250, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 34px rgba(20, 33, 66, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-page .glass-panel-dark {
    background: linear-gradient(135deg, rgba(35, 60, 120, 0.55), rgba(20, 33, 66, 0.72));
    border-color: rgba(187, 195, 213, 0.38);
    box-shadow: 0 14px 34px rgba(5, 10, 28, 0.42);
}

.home-page .glass-panel-warm {
    background: linear-gradient(135deg, rgba(252, 185, 84, 0.86), rgba(250, 150, 0, 0.68));
    border-color: rgba(255, 239, 214, 0.75);
}

.home-page .hero-content.glass-panel {
    border-radius: 28px;
    padding: 14px 26px 10px;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(5, 10, 28, 0.28);
}

.home-page .hero-dashboard-image.glass-panel {
    border-radius: 20px;
}

.home-page .trusted-by-section.glass-panel {
    height: auto;
    width: min(423px, calc(100% - 40px));
    border-radius: 18px;
    padding: 12px 18px;
}

.home-page .trusted-by-section {
    left: 50%;
    transform: translateX(-50%);
    margin-left: auto;
    margin-right: auto;
}

.home-page .features-content.glass-panel,
.home-page .onboarding-right.glass-panel,
.home-page .e2e-left.glass-panel,
.home-page .unlock-right.glass-panel,
.home-page .collaboration-left.glass-panel,
.home-page .newsletter-subscribe-content.glass-panel {
    border-radius: 24px;
    padding: 28px 30px;
}

.home-page .features-content.glass-panel {
    background: linear-gradient(135deg, rgba(233, 239, 250, 0.82), rgba(255, 255, 255, 0.55));
}

.home-page .switch-banner-content.glass-panel {
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(233, 239, 250, 0.78), rgba(255, 255, 255, 0.52));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 14px 34px rgba(20, 33, 66, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.home-page .switch-banner-content.glass-panel::before {
    content: '';
    position: absolute;
    top: -45%;
    left: -12%;
    width: 54%;
    height: 190%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(12deg);
    pointer-events: none;
}

.home-page .switch-banner-title {
    color: #142142;
}

.home-page .switch-banner-description {
    color: #253C78;
}

.home-page .faq-item {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.84), rgba(233, 239, 250, 0.62));
    border: 1px solid rgba(187, 195, 213, 0.55);
    box-shadow: 0 10px 28px rgba(20, 33, 66, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Home page consistency pass: alignment + typography + smooth motion */
.home-page .onboarding-wrapper,
.home-page .e2e-wrapper,
.home-page .unlock-wrapper,
.home-page .collaboration-wrapper {
    gap: clamp(36px, 4.2vw, 60px);
}

.home-page .features-title,
.home-page .onboarding-title,
.home-page .e2e-title,
.home-page .unlock-title,
.home-page .collaboration-title {
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-page .features-tagline,
.home-page .onboarding-tagline,
.home-page .e2e-tagline,
.home-page .unlock-tagline,
.home-page .collaboration-tagline {
    font-size: 16px;
    line-height: 1.3;
}

.home-page .feature-title,
.home-page .e2e-feature-title,
.home-page .unlock-feature-title,
.home-page .collaboration-feature-title,
.home-page .stepper-title {
    font-size: 16px;
    line-height: 1.4;
}

.home-page .feature-description,
.home-page .e2e-feature-description,
.home-page .unlock-feature-description,
.home-page .collaboration-feature-description,
.home-page .onboarding-description {
    font-size: 16px;
    line-height: 1.6;
}

.home-page .onboarding-right.glass-panel,
.home-page .e2e-left.glass-panel,
.home-page .unlock-right.glass-panel,
.home-page .collaboration-left.glass-panel {
    justify-content: center;
    min-height: 430px;
}

.home-page .switch-banner-title,
.home-page .newsletter-subscribe-title,
.home-page .faqs .section-title {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.home-page .btn-demo,
.home-page .onboarding-button,
.home-page .e2e-button-primary,
.home-page .unlock-button-primary,
.home-page .collaboration-button-primary,
.home-page .switch-banner-button,
.home-page .newsletter-subscribe-button {
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, opacity 0.28s ease;
}

.home-page .glass-panel,
.home-page .dashboard-main-image,
.home-page .dashboard-image,
.home-page .onboarding-image,
.home-page .e2e-image,
.home-page .unlock-image,
.home-page .collaboration-image,
.home-page .tax-firm-features-image,
.home-page .faq-item {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.home-page .glass-panel:hover,
.home-page .faq-item:hover {
    transform: translateY(-3px);
}

.home-page .reveal-item {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.home-page .reveal-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.home-page .workflow-content.reveal-item.is-visible .workflow-title {
    animation: workflowTitleDrift 6.8s ease-in-out 300ms infinite;
}

@keyframes workflowTitleDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -3px, 0);
    }
}

@media (max-width: 768px) {
    .home-page .hero-content.glass-panel,
    .home-page .features-content.glass-panel,
    .home-page .onboarding-right.glass-panel,
    .home-page .e2e-left.glass-panel,
    .home-page .unlock-right.glass-panel,
    .home-page .collaboration-left.glass-panel,
    .home-page .newsletter-subscribe-content.glass-panel {
        padding: 20px;
        border-radius: 18px;
    }

    .home-page .hero-content.glass-panel {
        padding: 10px 14px 8px;
    }

    .home-page .onboarding-right.glass-panel,
    .home-page .e2e-left.glass-panel,
    .home-page .unlock-right.glass-panel,
    .home-page .collaboration-left.glass-panel {
        min-height: auto;
    }

    .home-page .body-content,
    .home-page .workflow-section,
    .home-page .onboarding-section,
    .home-page .e2e-section,
    .home-page .unlock-section,
    .home-page .collaboration-section,
    .home-page .tax-firm-features-section,
    .home-page .switch-banner-section,
    .home-page .faqs,
    .home-page .newsletter-subscribe-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-page .features-content,
    .home-page .onboarding-wrapper,
    .home-page .e2e-wrapper,
    .home-page .unlock-wrapper,
    .home-page .collaboration-wrapper,
    .home-page .tax-firm-features-wrapper,
    .home-page .newsletter-subscribe-content {
        gap: 28px;
    }

    .home-page .workflow-title {
        font-size: 34px;
        line-height: 1.2;
        padding: 0 10px;
    }

    .home-page .features-title,
    .home-page .onboarding-title,
    .home-page .e2e-title,
    .home-page .unlock-title,
    .home-page .collaboration-title,
    .home-page .switch-banner-title,
    .home-page .newsletter-subscribe-title,
    .home-page .faqs .section-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .home-page .hero-subtitle,
    .home-page .feature-description,
    .home-page .onboarding-description,
    .home-page .e2e-feature-description,
    .home-page .unlock-feature-description,
    .home-page .collaboration-feature-description,
    .home-page .switch-banner-description,
    .home-page .newsletter-subscribe-subtitle,
    .home-page .faq-answer p {
        font-size: 15px;
        line-height: 1.6;
    }

    .home-page .onboarding-button,
    .home-page .e2e-button-primary,
    .home-page .unlock-button-primary,
    .home-page .collaboration-button-primary,
    .home-page .switch-banner-button,
    .home-page .newsletter-subscribe-button {
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .home-page .body-content,
    .home-page .workflow-section,
    .home-page .onboarding-section,
    .home-page .e2e-section,
    .home-page .unlock-section,
    .home-page .collaboration-section,
    .home-page .tax-firm-features-section,
    .home-page .switch-banner-section,
    .home-page .faqs,
    .home-page .newsletter-subscribe-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home-page .features-content,
    .home-page .onboarding-wrapper,
    .home-page .e2e-wrapper,
    .home-page .unlock-wrapper,
    .home-page .collaboration-wrapper,
    .home-page .tax-firm-features-wrapper,
    .home-page .newsletter-subscribe-content {
        gap: 22px;
    }

    .home-page .workflow-title {
        font-size: 28px;
    }

    .home-page .features-title,
    .home-page .onboarding-title,
    .home-page .e2e-title,
    .home-page .unlock-title,
    .home-page .collaboration-title,
    .home-page .switch-banner-title,
    .home-page .newsletter-subscribe-title,
    .home-page .faqs .section-title {
        font-size: 23px;
    }

    .home-page .hero-subtitle,
    .home-page .feature-description,
    .home-page .onboarding-description,
    .home-page .e2e-feature-description,
    .home-page .unlock-feature-description,
    .home-page .collaboration-feature-description,
    .home-page .switch-banner-description,
    .home-page .newsletter-subscribe-subtitle,
    .home-page .faq-answer p {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-page .workflow-content.reveal-item.is-visible .workflow-title {
        animation: none;
    }
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 95px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header and Navigation */
.header {
    background: rgba(20, 33, 66, 0.7);
    position: fixed;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 36.5px;
}

.nav-container {
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 87px;
    width: 100%;
    position: relative;
}

.nav-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
    order: 1;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 143px;
    height: 32px;
}

.logo-img {
    width: 143px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    justify-content: flex-start;
}

.nav-menu a {
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #E9ECF2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Hide menu button and login items on desktop - they're in nav-buttons */
.nav-menu-button,
.nav-menu-login {
    display: none;
}

.nav-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: auto;
    height: 41px;
    flex: 0 0 auto;
    order: 2;
}

.btn-demo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-demo:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

.btn-get-started {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: linear-gradient(270deg, #1A56DB 0%, #2279C5 48.56%, #3D90DD 100%);
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-get-started:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-login {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #BBC3D5;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-login:hover {
    color: #9BA8C5;
}

/* Contact page specific styling */
.contact-page .hamburger span {
    background: #142142;
}

.hamburger {
    display: none !important;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: absolute;
    right: 30px;
    visibility: visible;
    width: 25px;
    height: 20px;
    overflow: visible;
    order: 3;
    flex: 0 0 auto;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #E9ECF2;
    transition: 0.3s;
    display: block;
}

/* Hero Section */
.hero {
    padding: 0;
    background: #142142;
    min-height: 1214px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 87px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 1763px;
    height: 469px;
    left: -138px;
    top: 377px;
    background: rgba(0, 111, 255, 0.31);
    filter: blur(50px);
    border-radius: 28px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 1324px;
    height: 452px;
    left: 83px;
    top: 413px;
    background: #142142;
    filter: blur(100px);
    z-index: 0;
}

@media (max-width: 768px) {
    .hero::before,
    .hero::after {
        display: none;
    }
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 1214px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 903px;
    margin: 58px auto 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    width: 689px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 115%;
    text-align: center;
    color: #E9ECF2;
    margin: 0 0 30px 0;
}

.hero-title .tax-compliance-text {
    color: #9BA5C1;
}

.hero-subtitle {
    width: 90%;
    max-width: 1000px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    color: #BBC3D5;
    margin: 0 0 30px 0;
    box-sizing: border-box;
}

.hero-subtitle .filepillar-text {
    color: #FA9600;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 52px;
    margin: 0 auto;
}

/* Hero Dashboard Image */
.hero-dashboard-wrapper {
    position: absolute;
    top: calc(58px + 74px + 30px + 30px + 30px + 60px + 120px + 311.87px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 877.14px;
    max-width: 90%;
    height: auto;
    aspect-ratio: 877.14 / 623.74;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: auto;
}

.hero-dashboard-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15.1054px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    filter: drop-shadow(0 2.32391px 3.48586px rgba(0, 0, 0, 0.15)) drop-shadow(0 1.16195px 1.16195px rgba(0, 0, 0, 0.3));
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dashboard-image.dashboard-pop {
    transform: scale(1.045);
}

.dashboard-main-image::before {
    content: '';
    position: absolute;
    top: -5.81px;
    left: -5.81px;
    right: -5.81px;
    bottom: -5.81px;
    border-radius: 20.9152px;
    border: 11.6195px solid rgba(136, 172, 229, 0.2);
    pointer-events: none;
}

/* Carousel Section */
.hero-carousel {
    position: absolute;
    top: calc(58px + 74px + 30px + 30px + 30px + 60px + 120px + 311.87px);
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 100vw;
    padding: 0;
    z-index: 1;
    overflow: hidden;
    height: calc(623.74px * 0.75);
}

.carousel-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 16px;
    width: max-content;
    height: calc(623.74px * 0.75);
    /* overflow: hidden; */
    animation: scrollCarousel 30s linear infinite;
    will-change: transform;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(calc(-50% - 8px));
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-card {
    flex: none;
    height: calc(623.74px * 0.75);
    width: auto;
    object-fit: contain;
}

.card-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 13.94px;
    gap: 6.97px;
    width: 100%;
    height: 15px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12.78px;
    line-height: 15px;
    color: #BBC3D5;
}

.card-divider {
    width: 100%;
    height: 0;
    border: 1.16px solid #516393;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5.81px 13.94px;
    gap: 11.62px;
    width: 100%;
    flex: 1;
}

.card-tabs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 32px;
    width: 100%;
    border-bottom: 0.58px solid #516393;
    padding-bottom: 0.58px;
}

.tab {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 8.13px;
    line-height: 150%;
    color: #516393;
    padding: 0;
    cursor: pointer;
}

.tab.active {
    color: #5A92FF;
    position: relative;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -0.58px;
    left: 0;
    right: 0;
    height: 0.58px;
    background: #5A92FF;
}

.card-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 11.62px;
    width: 100%;
}

.data-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4.65px;
    width: 100%;
}

.data-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 8.13px;
    line-height: 150%;
    color: #9BA5C1;
}

.data-value {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 8.13px;
    line-height: 125%;
    display: flex;
    align-items: center;
    color: #E9ECF2;
}

.progress-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 14px;
    gap: 11.62px;
    width: 100%;
}

.progress-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 8.13px;
    line-height: 150%;
    color: #9BA5C1;
}

.progress-label.active {
    color: #E9ECF2;
}

.progress-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 14px;
    gap: 11.62px;
    width: 100%;
}

.badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 10px;
    gap: 4px;
    height: 22px;
    border-radius: 3.52px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    text-align: center;
}

.badge-orange {
    background: #FFF5E6;
    color: #693F00;
}

.badge-indigo {
    background: #E5EDFF;
    color: #42389D;
}

.image-overlay {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.image-badge {
    position: absolute;
    width: 110px;
    height: 19px;
    left: 236.56px;
    top: 11.49px;
    background: #BBC3D5;
    border-radius: 999px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 10px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 150%;
    text-align: center;
    color: #253C78;
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 19px;
    width: 100%;
    padding: 0 14px;
}

.chart-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 2.32px 0;
    gap: 5.81px;
    width: 100%;
    position: relative;
}

.chart-label {
    width: 28px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 8.13px;
    line-height: 150%;
    color: #6D7CA5;
}

.chart-bar {
    height: 13.94px;
    background: linear-gradient(270deg, #1A56DB 0%, #76A9FA 100%);
    border-radius: 4.65px;
    position: relative;
    flex: 1;
}

.chart-value {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 8.13px;
    line-height: 150%;
    color: #6D7CA5;
}

.chart-x-axis {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.32px 0 0;
    gap: 5.23px;
    width: 100%;
    padding: 0 14px;
}

.chart-x-axis span {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 6.97px;
    line-height: 150%;
    color: #516393;
}

/* Trusted By Section */
.trusted-by-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 16px;
    width: 423px;
    height: 88px;
    margin: 0 auto;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-sizing: border-box;
}

.trusted-by-label {
    width: 100%;
    height: 22px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #9BA5C1;
    margin: 0;
}

.trusted-by-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    gap: 30px;
    width: 100%;
    height: 30px;
    box-sizing: border-box;
    margin: 0;
}

.client-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

/* Sections */
section {
    padding: 80px 0;
}

.body-content section,
.body-content .features-section {
    padding: 0;
}

/* Body Content Section */
.body-content {
    width: 100%;
    background: #ffffff;
    padding: 80px 0 30px 0;
    margin: 0;
}

.body-content .features-section {
    margin-top: 0;
    padding-top: 0;
}

.body-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .body-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .body-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .body-container {
        padding: 0 15px;
    }
}

.features-section {
    width: 100%;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #E9EFFA;
    border-radius: 20px;
    padding-top: 0px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 60px;
    height: 554px;
    overflow: hidden;
    box-sizing: border-box;
}

.features-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.features-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E89425;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.sparkle-icon {
    display: inline-block;
    vertical-align: top;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    margin-top: -2px;
}

.features-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1A2B55;
    margin-top: -28px;
    margin-bottom: 0;
    line-height: 1.2;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: -22px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon-img {
    width: 50px;
    height: 50px;
    display: block;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #516393;
    margin: 0;
}

.feature-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #516393;
    margin: 0;
    line-height: 1.5;
}

.features-dashboard {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    width: 100%;
    height: 100%;
    margin-right: 0;
    margin-bottom: 0;
}

.dashboard-image {
    width: 100%;
    max-width: 648px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    transform: translate(0, 0);
}

/* Workflow Section */
.workflow-section {
    width: 100%;
    background: #ffffff;
    padding: 30px 0 30px 0;
    margin: 0;
}

.workflow-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.workflow-title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    padding: 0;
}

.workflow-text-dark {
    color: #1A2B55;
}

.workflow-text-orange {
    color: #E89425;
}

/* Onboarding Section */
.onboarding-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
    margin: 0;
}

.onboarding-wrapper {
    display: grid;
    grid-template-columns: 434px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.onboarding-left {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* .onboarding-blue-box {
    width: 434px;
    height: 434px;
    background: #E9ECF2;
    position: absolute;
    z-index: 0;
} */

.onboarding-image-wrapper {
    width: 434px;
    height: 447px;
    overflow: visible;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.onboarding-image {
    width: 434px;
    height: 447px;
    object-fit: contain;
    display: block;
    position: relative;
}

.onboarding-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 447px;
}

.onboarding-description {
    margin-bottom: 0;
}

.onboarding-description + .onboarding-stepper {
    margin-top: 16px;
    margin-bottom: 0;
}


.onboarding-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E89425;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.onboarding-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #1A2B55;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
}

.onboarding-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #516393;
    margin: 0 0 4px 0;
    padding: 0;
    line-height: 1.5;
}

.onboarding-stepper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stepper-line {
    position: absolute;
    width: 2px;
    z-index: 0;
}

.stepper-line-solid {
    left: 12px;
    top: 12px;
    height: 54px;
    background: #FA9600;
}

.stepper-line-dashed {
    left: 12px;
    top: 66px;
    height: 57px;
    background: repeating-linear-gradient(
        to bottom,
        #FA9600 0px,
        #FA9600 4px,
        transparent 4px,
        transparent 8px
    );
}

.stepper-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    z-index: 1;
    min-height: 24px;
}

.stepper-step:nth-child(5) {
    min-height: 30px;
    margin-left: -3px;
}

.stepper-step:last-child {
    padding-bottom: 0;
}

.stepper-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FA9600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.stepper-circle-icon {
    background: transparent;
    border-radius: 0;
}

.stepper-step:nth-child(5) .stepper-circle {
    width: 30px;
    height: 30px;
    transform: translateY(-3px);
}

.stepper-number {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.stepper-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.stepper-step:nth-child(5) .stepper-icon {
    width: 30px;
    height: 30px;
}

.stepper-content {
    flex: 1;
    padding-top: 0;
    display: flex;
    align-items: center;
}

.stepper-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A2B55;
    margin: 0;
    line-height: 1.5;
}

.stepper-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A2B55;
    margin: 0;
    line-height: 1.5;
}

.onboarding-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(180deg, #263C72 0%, #1A2B55 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #FA9600;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.step-icon {
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1A2B55;
    margin: 0;
}

.step-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6D7CA5;
    margin: 0;
    line-height: 1.5;
}

.onboarding-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border: none;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.onboarding-button:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

/* E2E TR Prep & Analysis Section */
.e2e-section {
    width: 100%;
    background: #E9EFFA;
    padding: 80px 0 80px 0;
    margin: 0;
    height: auto;
}

.e2e-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.e2e-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.e2e-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.e2e-feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.e2e-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.e2e-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.e2e-feature-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #516393;
    margin: 0;
}

.e2e-feature-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #516393;
    margin: 0;
    margin-left: 36px;
    line-height: 1.5;
}

.e2e-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E89425;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.e2e-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #1A2B55;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
}

.e2e-buttons {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: left;
}

.e2e-button-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border: none;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.e2e-button-primary:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

.e2e-button-secondary {
    padding: 12px 24px;
    background: #2B3550;
    border: none;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #73A9EB;
    cursor: pointer;
    transition: background 0.3s ease;
}

.e2e-button-secondary:hover {
    background: #384363;
}

.e2e-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.e2e-image-container {
    width: 530px;
    height: 440px;
    overflow: visible;
    position: relative;
}

.e2e-image {
    width: 530px;
    height: 440px;
    object-fit: none;
    object-position: -184px -241px;
    display: block;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .e2e-image {
        display: none;
    }
}

/* Unlock Section */
.unlock-section {
    width: 100%;
    background: #ffffff;
    padding: 60px 0 80px 0;
    margin: 0;
}

.unlock-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.unlock-left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.unlock-image-container {
    width: 529.65px;
    height: 552.05px;
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.unlock-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unlock-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.unlock-feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.unlock-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.unlock-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.unlock-feature-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #516393;
    margin: 0;
}

.unlock-feature-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #516393;
    margin: 0;
    margin-left: 36px;
    line-height: 1.5;
}

.unlock-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E89425;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.unlock-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #1A2B55;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
}

.unlock-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.unlock-button-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border: none;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unlock-button-primary:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

.unlock-button-secondary {
    padding: 12px 24px;
    background: #2B3550;
    border: none;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #73A9EB;
    cursor: pointer;
    transition: background 0.3s ease;
}

.unlock-button-secondary:hover {
    background: #384363;
}


.unlock-image-container {
    width: 529.65px;
    height: 600.05px;
    position: relative;
}

.unlock-image-wrapper {
    width: 529.65px;
    height: 600.05px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.unlock-image {
    width: 529.65px;
    height: 603.25px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Collaboration Section */
.collaboration-section {
    width: 100%;
    background: #E9EFFA;
    padding: 60px 0 80px 0;
    margin: 0;
}

.collaboration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.collaboration-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collaboration-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.collaboration-image-container {
    width: 100%;
    position: relative;
}

.collaboration-image {
    width: 95%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.collaboration-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.collaboration-feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.collaboration-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.collaboration-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.collaboration-feature-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #516393;
    margin: 0;
}

.collaboration-feature-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #516393;
    margin: 0;
    margin-left: 36px;
    line-height: 1.5;
}

.collaboration-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E89425;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.collaboration-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #1A2B55;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
}

.collaboration-buttons {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: flex-end;
}

.collaboration-button-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border: none;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collaboration-button-primary:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

.collaboration-button-secondary {
    padding: 12px 24px;
    background: #2B3550;
    border: none;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #73A9EB;
    cursor: pointer;
    transition: background 0.3s ease;
}

.collaboration-button-secondary:hover {
    background: #384363;
}

.tax-firm-features-section {
    height: 736px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tax-firm-features-section .body-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Base styles - Mobile First */
.tax-firm-features-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.tax-firm-features-top-row,
.tax-firm-features-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tax-firm-features-image {
    width: 100%;
    max-width: 376px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Workflow SVG animations */
.workflow-asset {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition:
        opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity;
}

.workflow-asset.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.workflow-asset.float-left.animate-in {
    animation: workflowFloatLeft 7.2s ease-in-out 900ms infinite;
}

.workflow-asset.float-right.animate-in {
    animation: workflowFloatRight 7.8s ease-in-out 1050ms infinite;
}

@keyframes workflowFloatLeft {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-8px, -9px, 0);
    }
}

@keyframes workflowFloatRight {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(8px, -10px, 0);
    }
}

.workflow-icon-asset {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.98);
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity;
}

.workflow-icon-asset.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.workflow-icon-asset.float-left.animate-in {
    animation: workflowFloatIconLeft 7.2s ease-in-out 900ms infinite;
}

.workflow-icon-asset.float-right.animate-in {
    animation: workflowFloatIconRight 7.8s ease-in-out 1050ms infinite;
}

@keyframes workflowFloatIconLeft {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-4px, -4px, 0);
    }
}

@keyframes workflowFloatIconRight {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(4px, -4px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-asset,
    .workflow-icon-asset {
        opacity: 1;
        transform: translateY(0);
        transition: none;
        animation: none !important;
    }
}

.tax-firm-features-bottom-row .ai-insights-wrapper {
    width: 100%;
    max-width: 376px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop styles for tax-firm-features */
@media (min-width: 1025px) {
    .tax-firm-features-wrapper {
        width: 772px;
        height: 640px;
        max-width: 772px;
        padding: 0;
    }
    
    .tax-firm-features-top-row,
    .tax-firm-features-bottom-row {
        flex-direction: row;
        width: auto;
    }
    
    .tax-firm-features-top-row .tax-firm-features-image {
        width: 376px;
        height: 300px;
        max-width: 376px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
    
    .tax-firm-features-bottom-row .tax-firm-features-image:first-child {
        width: 317px;
        height: 300px;
        max-width: 317px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
    
    .tax-firm-features-bottom-row .tax-firm-features-image:last-child {
        width: 434px;
        height: 300px;
        max-width: 434px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
}

/* Tablet styles for tax-firm-features */
@media (min-width: 769px) and (max-width: 1024px) {
    .tax-firm-features-top-row,
    .tax-firm-features-bottom-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tax-firm-features-top-row .tax-firm-features-image,
    .tax-firm-features-bottom-row .tax-firm-features-image {
        width: calc(50% - 10px);
        max-width: 376px;
    }
}

/* Mobile styles for tax-firm-features */
@media (max-width: 768px) {
    .tax-firm-features-top-row .tax-firm-features-image,
    .tax-firm-features-bottom-row .tax-firm-features-image,
    .tax-firm-features-bottom-row .tax-firm-features-image:first-child,
    .tax-firm-features-bottom-row .tax-firm-features-image:last-child {
        width: 376px !important;
        max-width: 376px !important;
        height: auto !important;
    }
    
    .tax-firm-features-bottom-row .ai-insights-wrapper {
        width: 376px;
        max-width: 376px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .tax-firm-features-wrapper {
        padding: 0 10px;
    }
    
    .tax-firm-features-top-row,
    .tax-firm-features-bottom-row {
        gap: 15px;
    }
    
    .tax-firm-features-top-row .tax-firm-features-image,
    .tax-firm-features-bottom-row .tax-firm-features-image {
        max-width: 100%;
    }
}

.switch-banner-section {
    width: 100%;
    background: white;
    padding: 23px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-banner-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 43px;
}

@media (max-width: 768px) {
    .switch-banner-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .switch-banner-wrapper {
        padding: 0 15px;
    }
}

.switch-banner-content {
    background: #FCB954;
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 1354px;
    height: 189px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.switch-banner-title {
    font-family: 'Poppins', sans-serif;
    font-size: 27px;
    font-weight: 500;
    color: #693F00;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.switch-banner-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #693F00;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.switch-banner-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    background: #253C78;
    border: none;
    border-radius: 25px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #E9ECF2;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
}

.switch-banner-button:hover {
    background: #1e2f5f;
    transform: translateY(-1px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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


/* Features Section */
.features {
    background: #ffffff;
}

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

.stat-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.stat-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Onboarding Section */
.onboarding {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.onboarding-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.onboarding-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.onboarding-visual {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.flow-item {
    background: #1a1a1a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #666;
}

.profit-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.profit-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.profit-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.profit-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.profit-rate {
    font-size: 0.8rem;
    color: #666;
}

/* Tax Return Section */
.tax-return {
    background: white;
    padding: 80px 0;
}

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

.tax-return-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.tax-return-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #666;
}

.tax-return-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tax-return-visual {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tax-dashboard {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tax-header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.tax-content {
    padding: 1.5rem;
}

.tax-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.tax-item:last-child {
    border-bottom: none;
}

.tax-label {
    font-weight: 500;
    color: #1a1a1a;
}

.tax-status {
    color: #666;
    font-size: 0.9rem;
}

/* Financial Reporting Section */
.financial-reporting {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.financial-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.financial-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.chat-interface {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.chat-messages {
    padding: 1.5rem;
}

.message {
    margin-bottom: 1.5rem;
}

.message-sender {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.message-text {
    color: #666;
    line-height: 1.5;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.chat-chart {
    display: flex;
    padding: 1.5rem;
    gap: 0.5rem;
}

.chart-segment {
    flex: 1;
    height: 60px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chart-segment::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--percentage);
    background: #1a1a1a;
    transition: height 0.3s ease;
}

.segment-label {
    position: relative;
    z-index: 1;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

/* Audiences Section */
.audiences {
    background: white;
    padding: 80px 0;
}

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

.audience-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.audience-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.audience-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.audience-card strong {
    color: #1a1a1a;
}

/* Pricing Section */
.pricing {
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card.featured {
    border-color: #1a1a1a;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.price .currency {
    display: inline !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-right: 0.25rem;
    vertical-align: baseline;
    visibility: visible !important;
    opacity: 1 !important;
}

.price .price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.price span:not(.currency):not(.price-amount) {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pricing-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.75rem 0;
    color: #666;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.setup-fee {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, #E9EFFA 0%, #FAFCFF 100%);
    padding: 140px 0 80px 0;
    min-height: calc(100vh - 200px);
}

.contact-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(88, 140, 255, 0.15), transparent 36%),
        radial-gradient(circle at 86% 18%, rgba(252, 185, 84, 0.14), transparent 30%),
        #f7f9ff;
}

/* Contact page navbar: match page background with same gradient + backdrop blur */
.contact-page .header {
    background: rgba(247, 249, 255, 0.7);
    box-shadow: 0 2px 20px rgba(20, 33, 66, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.contact-page .header .nav-menu a {
    color: #142142;
}

@media (max-width: 768px) {
    .contact-page .header .nav-menu a {
        color: #E9ECF2;
    }
}

.contact-page .header .nav-menu a:hover {
    color: #1A2B55;
}

.contact-page .header .nav-login {
    color: #142142;
}

.contact-page .header .nav-login:hover {
    color: #516393;
}

.contact-page .contact-glass-card {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.72), rgba(233, 239, 250, 0.56));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(20, 33, 66, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 64px;
    color: #1A2B55 !important;
    text-align: center;
    margin-bottom: 0;
}

.contact .section-subtitle {
    text-align: center;
    color: #516393;
    font-size: 20px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    padding: 0 2rem;
}

.contact-page .contact-glass-layout {
    align-items: stretch;
}

.contact-info {
    background: transparent;
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-page .contact-info,
.contact-page .contact-form-wrapper,
.contact-page .newsletter-subscribe-content.contact-glass-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .contact-info:hover,
.contact-page .contact-form-wrapper:hover,
.contact-page .newsletter-subscribe-content.contact-glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(20, 33, 66, 0.16);
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1A2B55 !important;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-info h3 .ai-powered-text {
    color: #E89425;
}

.contact-info > p {
    color: #516393 !important;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #142142 !important;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.contact-detail-item h4.backed-by {
    font-size: 16px;
    font-weight: 400;
    color: #9BA5C1 !important;
    font-family: 'Instrument Sans', sans-serif;
}

.contact-detail-item .antler-logo {
    display: block;
    height: auto;
    max-width: 122px;
    margin: 0;
}

.contact-detail-item p {
    color: #142142;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-detail-item a {
    color: #516393;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: #516393;
    opacity: 0.8;
}

.contact-form-wrapper {
    position: relative;
    display: block;
    padding: 16px;
    border-radius: 28px;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/Border of contact form.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 0.5px #F9FAFB;
    border-radius: 28px;
    box-sizing: border-box;
    z-index: 0;
    pointer-events: none;
}

.contact-page .contact-form-wrapper::before {
    opacity: 0.5;
}

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 251, 255, 0.82));
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(20, 33, 66, 0.1);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 0;
    background: linear-gradient(135deg, rgba(37, 60, 120, 0.3) 0%, rgba(232, 148, 37, 0.2) 50%, rgba(37, 60, 120, 0.3) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.contact-form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #1A2B55;
    margin: 0 0 0.5rem 0;
}

.contact-form-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #516393;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 8px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E9ECF2;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #142142;
    background: rgba(255, 255, 255, 0.86);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9BA5C1;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #253C78;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37, 60, 120, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #BBC3D5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.875rem 2rem;
    background: #253C78;
    color: #E9ECF2;
    border: none;
    border-radius: 20.5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.contact-submit-btn:hover {
    background: #1a2d5a;
    color: #E9ECF2;
    transform: translateY(-1px);
}

.contact-page .newsletter-subscribe-content.contact-glass-card {
    border-radius: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .contact-page .contact-info,
    .contact-page .contact-form {
        padding: 2rem;
    }

    .contact-page .contact-form-wrapper {
        padding: 12px;
    }
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Form success animation */
.contact-form-wrapper.form-submitted,
.newsletter-subscribe-form.form-submitted {
    animation: formFadeOut 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes formFadeOut {
    to { opacity: 0; transform: translateY(-12px) scale(0.97); }
}

.form-success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    width: 100%;
    animation: successFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.form-success-checkmark {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.form-success-circle {
    stroke: #10b981;
    stroke-width: 2.5;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.1s forwards;
}

.form-success-check {
    stroke: #10b981;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: drawCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.65s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.form-success-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #142142;
    margin-bottom: 0.75rem;
}

.form-success-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    color: #5a6a8a;
    max-width: 280px;
}

.newsletter-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: successFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.newsletter-success .form-success-checkmark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.newsletter-success-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #10b981;
}

/* FAQ Section */
.faqs {
    background: white;
    padding: 80px 0;
}

.faqs .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #E89425;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-toggle-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    min-width: 150px;
    height: auto;
    min-height: 48px;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #516393;
    background: transparent;
    border: 1px solid #516393;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-toggle-btn:hover {
    background: #f8f9fa;
}

.faq-toggle-btn.active {
    background: #516393;
    color: #ffffff;
    border-color: #516393;
}

.faqs-content {
    max-width: 1354px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-category {
    display: none;
    width: 100%;
}

.faq-category.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.faq-item {
    width: 100%;
    max-width: 1354px;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #e9ecef;
}

.faq-item.active {
    background: #FDDEB0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #516393;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #516393;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question {
    color: #8A5300;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-answer p {
    margin: 0;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1A2B55;
    line-height: 1.6;
}

.faq-coming-soon {
    width: 100%;
    max-width: 1198px;
    padding: 3rem 1.5rem;
    text-align: center;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #516393;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Newsletter Section */
/* Newsletter Subscribe Section */
.newsletter-subscribe-section {
    background: #E9EFFA;
    padding: 0;
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-subscribe-content {
    width: 100%;
    max-width: 1440px;
    padding: 0 43px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

@media (max-width: 1024px) {
    .newsletter-subscribe-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .newsletter-subscribe-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .newsletter-subscribe-content {
        padding: 0 15px;
    }
}

.newsletter-subscribe-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-subscribe-title {
    font-family: 'Poppins', sans-serif;
    font-size: 27px;
    font-weight: 500;
    color: #142142;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.newsletter-subscribe-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #253C78;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.newsletter-subscribe-form {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    flex-shrink: 0;
}

.newsletter-subscribe-input {
    width: 499px;
    height: 41px;
    padding: 0 20px;
    border: 1px solid #E9ECF2;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Instrument Sans', sans-serif;
    background: #F9FAFB;
    color: #1a1a1a;
    box-sizing: border-box;
}

.newsletter-subscribe-input::placeholder {
    color: #9BA5C1;
    font-family: 'Instrument Sans', sans-serif;
}

.newsletter-subscribe-button {
    background: #253C78;
    color: #E9ECF2;
    border: none;
    padding: 0 20px;
    width: 118px;
    height: 41px;
    border-radius: 20.5px;
    font-size: 16px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

.newsletter-subscribe-button:hover {
    background: #1A2B55;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #142142 !important;
    color: #ffffff !important;
    padding: 3rem 0 1rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
}

#footer-container {
    position: relative;
    z-index: 10;
}

.footer-column ul li a {
    pointer-events: auto;
    cursor: pointer;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

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

/* Ensure footer is visible on contact page */
.contact-page .footer {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-page .footer-column {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.contact-page .footer-column h4,
.contact-page .footer-column ul,
.contact-page .footer-column ul li,
.contact-page .footer-column ul li a {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    color: #ffffff !important;
}

.contact-page .footer-column ul li {
    color: #ccc !important;
}

.contact-page .footer-column ul li a {
    color: #ccc !important;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    align-self: flex-start;
}

.footer-copyright {
    color: #ccc;
    margin: 0 0 0.5rem 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-rights {
    color: #ccc;
    margin: 0 0 1.5rem 0;
    font-size: 14px;
    line-height: 1.6;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.footer-column p {
    color: #ccc;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
    color: #ccc;
    font-size: 14px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.request-link {
    color: #ccc;
    text-decoration: underline;
    cursor: pointer;
}

.request-link:hover {
    color: #ffffff;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .body-container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 48px;
        width: 100%;
        max-width: 800px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        width: 100%;
        max-width: 800px;
    }
    
    .hero-content {
        width: 100%;
        max-width: 800px;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .hero-dashboard-wrapper {
        width: 80%;
        max-width: 700px;
        top: calc(58px + 74px + 30px + 30px + 30px + 60px + 120px + 311.87px - 20px - 100px);
    }
    
    .hero-carousel {
        top: auto;
        position: relative;
        margin-top: 120px;
        transform: none;
        left: auto;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        padding: 40px;
        height: auto;
        gap: 40px;
    }
    
    .features-dashboard {
        justify-content: center;
    }
    
    .onboarding-wrapper,
    .e2e-wrapper,
    .unlock-wrapper,
    .collaboration-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .e2e-section {
        height: auto;
    }
    
    .e2e-right {
        display: none !important;
    }
    
    .onboarding-image-wrapper,
    .onboarding-image {
        width: 100%;
        max-width: 434px;
        height: auto;
    }
    
    .onboarding-right {
        height: auto !important;
    }
    
    .onboarding-stepper {
        margin-bottom: 50px !important;
    }
    
    .onboarding-button {
        transform: none !important;
        margin-top: 0 !important;
        align-self: flex-start;
        position: static !important;
    }
    
    .workflow-title {
        font-size: 48px;
    }
    
    .features-title,
    .onboarding-title,
    .e2e-title,
    .unlock-title,
    .collaboration-title {
        font-size: 32px;
    }
    
    .switch-banner-content {
        padding: 30px 40px;
        height: auto;
    }
    
    .switch-banner-title {
        font-size: 24px;
    }
    
    .newsletter-subscribe-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .newsletter-subscribe-form {
        width: 100%;
        max-width: 500px;
    }
}

/* Fix for width range 1025px to 1064px - button positioning */
@media (min-width: 1025px) and (max-width: 1064px) {
    .onboarding-right {
        height: auto !important;
    }
    
    .onboarding-stepper {
        margin-bottom: 50px !important;
    }
    
    .onboarding-button {
        transform: none !important;
        margin-top: 0 !important;
        align-self: flex-start;
        position: static !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(20, 33, 66, 1);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
        transition: left 0.3s ease;
        z-index: 10000;
        display: flex;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 20px;
        font-weight: 400;
    }
    
    .nav-menu-button {
        display: list-item !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        list-style: none;
    }
    
    .nav-menu-login {
        display: list-item !important;
    }
    
    .nav-menu-button .btn-demo {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        font-family: 'Instrument Sans', sans-serif;
        font-size: 20px;
        font-weight: 400;
        padding: 14px 24px;
        display: inline-block;
    }
    
    .nav-menu-login {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        list-style: none;
    }
    
    .nav-menu-login .nav-login {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 20px;
        font-weight: 400;
        padding: 10px 0;
        color: #E9ECF2;
        text-align: center;
        display: inline-block;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex !important;
        visibility: visible;
        width: 25px;
        height: 20px;
        z-index: 10001;
    }
    
    .hamburger.active span {
        background: #E9ECF2 !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-container {
        padding: 16px 20px;
        height: 73px;
    }
    
    .header {
        top: 10px;
        left: 10px;
        right: 10px;
        /* backdrop-filter creates a new containing block for position:fixed children,
           trapping the fullscreen nav-menu inside the header pill. Remove it on mobile. */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Extra specificity to override .home-page .glass-panel on the home page */
    .home-page .header.glass-panel {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .logo-img {
        width: 120px;
        height: auto;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: 93px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        min-height: auto;
        padding: 0 20px;
    }
    
    .hero-content {
        width: 100%;
        margin: 30px auto 0;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 32px;
        width: 100%;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-demo,
    .btn-get-started {
        width: 100%;
        max-width: 280px;
        font-size: 16px;
    }
    
    .hero-container {
        position: relative;
    }
    
    .hero-dashboard-wrapper {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 40px auto 0;
        padding: 0 20px;
        z-index: 2;
    }
    
    .hero-carousel {
        display: none;
    }
    
    .carousel-container {
        display: none;
    }
    
    .carousel-card {
        min-width: 250px;
        height: auto;
    }
    
    .trusted-by-section {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 40px 20px 0;
        margin-top: 40px;
    }
    
    .trusted-by-logos {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .client-logo {
        height: 24px;
    }
    
    /* Body Content */
    .body-content {
        padding: 60px 0 30px 0;
    }
    
    .body-container {
        padding: 0 20px;
    }
    
    /* Features Section */
    .features-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        height: auto;
        gap: 30px;
    }
    
    .features-text {
        gap: 30px;
    }
    
    .features-title {
        font-size: 28px;
        margin-top: -20px;
    }
    
    .features-tagline {
        font-size: 14px;
    }
    
    .features-list {
        gap: 20px;
        margin-top: -15px;
    }
    
    .feature-item {
        gap: 15px;
    }
    
    .feature-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 14px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .dashboard-image {
        max-width: 100%;
    }
    
    /* Workflow Section */
    .workflow-section {
        padding: 40px 0;
    }
    
    .workflow-title {
        font-size: 36px;
        padding: 0 20px;
    }
    
    /* Onboarding Section */
    .onboarding-section {
        padding: 60px 0;
    }
    
    .onboarding-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .onboarding-image-wrapper,
    .onboarding-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 0;
    }
    
    .onboarding-right {
        height: auto;
    }
    
    .onboarding-title {
        font-size: 28px;
    }
    
    .onboarding-description {
        font-size: 14px;
    }
    
    .onboarding-button {
        transform: none;
        margin-top: 30px;
        width: 100%;
        max-width: 280px;
    }
    
    .onboarding-button:hover {
        transform: translateY(-1px);
    }
    
    /* E2E Section */
    .e2e-section {
        padding: 60px 0;
        height: auto;
    }
    
    .e2e-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .e2e-title {
        font-size: 28px;
    }
    
    .e2e-feature-title,
    .e2e-feature-description {
        font-size: 14px;
    }
    
    .e2e-image-container {
        display: none;
    }
    
    .e2e-image {
        display: none;
    }
    
    .e2e-button-primary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Unlock Section */
    .unlock-section {
        padding: 60px 0;
    }
    
    .unlock-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .unlock-image-container,
    .unlock-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .unlock-image {
        width: 100%;
        height: auto;
    }
    
    .unlock-title {
        font-size: 28px;
    }
    
    .unlock-feature-title,
    .unlock-feature-description {
        font-size: 14px;
    }
    
    .unlock-button-primary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Collaboration Section */
    .collaboration-section {
        padding: 60px 0;
    }
    
    .collaboration-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .collaboration-title {
        font-size: 28px;
    }
    
    .collaboration-feature-title,
    .collaboration-feature-description {
        font-size: 14px;
    }
    
    .collaboration-image {
        width: 100%;
    }
    
    .collaboration-button-primary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Tax Firm Features */
    .tax-firm-features-section {
        height: auto;
        padding: 60px 0;
    }
    
    /* Switch Banner */
    .switch-banner-section {
        padding: 40px 0;
    }
    
    .switch-banner-wrapper {
        padding: 0 20px;
    }
    
    .switch-banner-content {
        padding: 30px 20px;
        height: auto;
        gap: 20px;
    }
    
    .switch-banner-title {
        font-size: 22px;
        text-align: center;
    }
    
    .switch-banner-description {
        font-size: 14px;
        text-align: center;
    }
    
    .switch-banner-button {
        width: 100%;
        max-width: 280px;
    }
    
    /* FAQ Section */
    .faqs {
        padding: 60px 0;
    }
    
    .faqs .section-title {
        font-size: 28px;
        padding: 0 20px;
    }
    
    .faq-toggle-buttons {
        flex-wrap: wrap;
        padding: 0 20px;
        gap: 12px;
    }
    
    .faq-toggle-btn {
        min-width: 120px;
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .faqs-content {
        padding: 0 20px;
    }
    
    .faq-item {
        padding: 1.2rem;
    }
    
    .faq-question {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    /* Newsletter Section */
    .newsletter-subscribe-section {
        height: auto;
        padding: 40px 0;
    }
    
    .newsletter-subscribe-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }
    
    .newsletter-subscribe-text {
        align-items: center;
    }
    
    .newsletter-subscribe-title {
        font-size: 22px;
    }
    
    .newsletter-subscribe-subtitle {
        font-size: 14px;
    }
    
    .newsletter-subscribe-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }
    
    .newsletter-subscribe-input {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-subscribe-button {
        width: 100%;
        max-width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .footer-column {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        align-self: center;
    }
    
    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    /* Contact Section */
    .contact {
        padding: 120px 0 60px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 8px;
    }
    
    .contact .section-title {
        font-size: 40px;
        padding: 0 20px;
        font-weight: 500;
    }
    
    .contact .section-subtitle {
        padding: 0 20px;
        font-size: 18px;
    }
    
    .contact-submit-btn {
        height: auto;
        min-height: 41px;
    }
    
    /* Modal */
    .modal-container {
        margin: 20px;
        max-height: 90vh;
    }
    
    .waitlist-form {
        grid-template-columns: 1fr;
    }
    
    .waitlist-left {
        border-radius: 16px 16px 0 0;
        padding: 40px 30px;
    }
    
    .waitlist-right {
        border-radius: 0 0 16px 16px;
        padding: 40px 30px;
    }
    
    .waitlist-heading {
        font-size: 32px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .body-container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 12px 15px;
        height: 65px;
    }
    
    .header {
        top: 8px;
        left: 8px;
        right: 8px;
    }
    
    .logo-img {
        width: 100px;
    }
    
    .nav-buttons {
        top: 85px;
        margin-top: calc(2rem + 4.5rem + 90px);
        padding: 0 20px;
        gap: 1rem;
    }
    
    .nav-menu-button .btn-demo {
        max-width: 100%;
        font-family: 'Instrument Sans', sans-serif;
        font-size: 20px;
        font-weight: 400;
        padding: 12px 20px;
        min-height: 44px;
    }
    
    .nav-menu-login .nav-login {
        font-family: 'Instrument Sans', sans-serif;
        font-size: 20px;
        font-weight: 400;
        padding: 8px 0;
    }
    
    .hero {
        padding-top: 85px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-content {
        margin: 20px auto 0;
        gap: 15px;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn-demo,
    .btn-get-started {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        padding: 10px 20px;
    }
    
    .hero-dashboard-wrapper {
        margin: 30px auto 0;
        padding: 0 15px;
    }
    
    .hero-carousel {
        display: none;
    }
    
    .carousel-card {
        min-width: 220px;
    }
    
    .trusted-by-section {
        padding: 30px 15px 0;
        margin-top: 30px;
    }
    
    .trusted-by-label {
        font-size: 16px;
    }
    
    .client-logo {
        height: 20px;
    }
    
    .body-content {
        padding: 40px 0 20px 0;
    }
    
    .features-content {
        padding: 25px 15px;
        gap: 25px;
    }
    
    .features-title {
        font-size: 24px;
    }
    
    .features-tagline {
        font-size: 13px;
    }
    
    .feature-icon-img {
        width: 35px;
        height: 35px;
    }
    
    .feature-title {
        font-size: 13px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .workflow-title {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .onboarding-section {
        padding: 40px 0;
    }
    
    .onboarding-wrapper {
        gap: 30px;
    }
    
    .onboarding-title {
        font-size: 24px;
    }
    
    .onboarding-description {
        font-size: 13px;
    }
    
    .onboarding-button {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }
    
    .e2e-section {
        padding: 40px 0;
    }
    
    .e2e-wrapper {
        gap: 30px;
    }
    
    .e2e-title {
        font-size: 24px;
    }
    
    .e2e-feature-title,
    .e2e-feature-description {
        font-size: 13px;
    }
    
    .e2e-button-primary {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }
    
    .unlock-section {
        padding: 40px 0;
    }
    
    .unlock-wrapper {
        gap: 30px;
    }
    
    .unlock-title {
        font-size: 24px;
    }
    
    .unlock-feature-title,
    .unlock-feature-description {
        font-size: 13px;
    }
    
    .unlock-button-primary {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }
    
    .collaboration-section {
        padding: 40px 0;
    }
    
    .collaboration-wrapper {
        gap: 30px;
    }
    
    .collaboration-title {
        font-size: 24px;
    }
    
    .collaboration-feature-title,
    .collaboration-feature-description {
        font-size: 13px;
    }
    
    .collaboration-button-primary {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }
    
    .tax-firm-features-section {
        padding: 40px 0;
    }
    
    .switch-banner-section {
        padding: 30px 0;
    }
    
    .switch-banner-wrapper {
        padding: 0 15px;
    }
    
    .switch-banner-content {
        padding: 25px 15px;
        gap: 15px;
    }
    
    .switch-banner-title {
        font-size: 20px;
    }
    
    .switch-banner-description {
        font-size: 13px;
    }
    
    .switch-banner-button {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }
    
    .faqs {
        padding: 40px 0;
    }
    
    .faqs .section-title {
        font-size: 24px;
        padding: 0 15px;
    }
    
    .faq-toggle-buttons {
        padding: 0 15px;
        gap: 10px;
    }
    
    .faq-toggle-btn {
        min-width: 100px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .faqs-content {
        padding: 0 15px;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 13px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .newsletter-subscribe-section {
        padding: 30px 0;
    }
    
    .newsletter-subscribe-content {
        padding: 0 15px;
        gap: 15px;
    }
    
    .newsletter-subscribe-title {
        font-size: 20px;
    }
    
    .newsletter-subscribe-subtitle {
        font-size: 13px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .waitlist-left,
    .waitlist-right {
        padding: 30px 20px;
    }
    
    .waitlist-heading {
        font-size: 28px;
    }
}

/* Waitlist Modal - Hidden */
.modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
}

.modal-overlay.active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.modal-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.waitlist-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.waitlist-left {
    background: linear-gradient(135deg, #5B6C9D 0%, #4A5A8A 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px 0 0 16px;
}

.waitlist-icon {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.waitlist-logo-img {
    width: 60px;
    height: auto;
    display: block;
}

.waitlist-heading {
    margin: 0 0 20px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
}

.waitlist-text-white {
    color: #ffffff;
    display: block;
}

.waitlist-text-orange {
    color: #FF8C42;
    display: block;
}

.waitlist-description {
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.waitlist-right {
    padding: 60px 50px;
    background: #ffffff;
    border-radius: 0 16px 16px 0;
    display: flex;
    flex-direction: column;
}

.waitlist-details-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4A5568;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
}

.waitlist-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waitlist-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #1A202C;
    background: #F7FAFC;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.waitlist-input::placeholder {
    color: #A0AEC0;
}

.waitlist-input:focus {
    outline: none;
    border-color: #5B6C9D;
    background: #ffffff;
}

.waitlist-newsletter-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4A5568;
    line-height: 1.6;
    margin: 10px 0 0 0;
    text-align: center;
}

.waitlist-submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: #CBD5E0;
    border: none;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4A5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.waitlist-submit-btn:hover {
    background: #A0AEC0;
    color: #2D3748;
}

.waitlist-submit-btn:active {
    transform: translateY(1px);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .waitlist-form {
        grid-template-columns: 1fr;
    }
    
    .waitlist-left {
        border-radius: 16px 16px 0 0;
        padding: 40px 30px;
    }
    
    .waitlist-right {
        border-radius: 0 0 16px 16px;
        padding: 40px 30px;
    }
    
    .waitlist-heading {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .waitlist-left,
    .waitlist-right {
        padding: 30px 20px;
    }
    
    .waitlist-heading {
        font-size: 28px;
    }
    
    .waitlist-icon {
        margin-bottom: 30px;
    }
    
    .waitlist-logo-img {
        width: 50px;
    }
}

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

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.pricing-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Fade-up animation for contact page */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.contact-page .fade-up {
    animation: fadeUp 600ms ease-out both;
}

.contact-page .fade-up.delay-1 { animation-delay: 100ms; }
.contact-page .fade-up.delay-2 { animation-delay: 200ms; }
.contact-page .fade-up.delay-3 { animation-delay: 300ms; }
.contact-page .fade-up.delay-4 { animation-delay: 400ms; }
.contact-page .fade-up.delay-5 { animation-delay: 500ms; }

/* Final mobile hero polish (home page only) */
@media (max-width: 768px) {
    .home-page .hero {
        padding-top: 96px;
        padding-bottom: 44px;
    }

    .home-page .hero-container {
        padding: 0 18px;
    }

    .home-page .hero-content {
        margin: 20px auto 0;
        gap: 16px;
    }

    .home-page .hero-title {
        font-size: 34px;
        line-height: 1.16;
        margin-bottom: 14px;
    }

    .home-page .hero-subtitle {
        max-width: 640px;
        margin: 0 auto 22px;
        font-size: 15px;
        line-height: 1.55;
    }

    .home-page .hero-dashboard-wrapper {
        margin: 28px auto 0;
        padding: 0 10px;
    }

    .home-page .hero-dashboard-image {
        border-radius: 16px;
    }

    .home-page .dashboard-main-image {
        border-radius: 14px;
    }

    .home-page .trusted-by-section {
        margin-top: 26px;
        padding: 14px 14px 10px;
        width: min(420px, calc(100% - 8px));
        gap: 12px;
    }

    .home-page .trusted-by-label {
        font-size: 15px;
        line-height: 1.35;
    }

    .home-page .trusted-by-logos {
        gap: 16px;
        padding: 0 10px;
    }

    .home-page .client-logo {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .home-page .hero {
        padding-top: 86px;
        padding-bottom: 34px;
    }

    .home-page .hero-container {
        padding: 0 14px;
    }

    .home-page .hero-title {
        font-size: 29px;
    }

    .home-page .hero-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .home-page .hero-dashboard-wrapper {
        margin-top: 22px;
        padding: 0 6px;
    }

    .home-page .trusted-by-section {
        margin-top: 22px;
        padding: 12px 10px 8px;
        gap: 10px;
    }

    .home-page .trusted-by-label {
        font-size: 14px;
    }

    .home-page .trusted-by-logos {
        gap: 14px;
        padding: 0 6px;
    }

    .home-page .client-logo {
        height: 20px;
    }
}

/* Workflow CTA alignment (desktop/tablet) */
@media (min-width: 769px) {
    .home-page .workflow-text-panel {
        justify-content: flex-start;
        gap: 14px;
        min-height: 460px;
    }

    .home-page .workflow-text-panel > p,
    .home-page .workflow-text-panel > h2 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-page .workflow-text-panel .onboarding-stepper,
    .home-page .workflow-text-panel .e2e-features-list,
    .home-page .workflow-text-panel .unlock-features-list,
    .home-page .workflow-text-panel .collaboration-features-list {
        margin-top: 6px;
        margin-bottom: 0;
    }

    .home-page .workflow-panel-actions {
        margin-top: auto;
        padding-top: 18px;
        justify-content: flex-start;
        align-items: center;
    }

    .home-page .workflow-panel-cta {
        margin-top: auto !important;
        align-self: flex-start;
    }
}
