:root {
    --primary: #BA55D3;
    --secondary: #FFFFFF;
    --accent: #764ba2;
    --neutral: #000000;

    /* Typography */
    --font-primary: "Nunito", sans-serif;
    --font-heading: "Nunito", sans-serif;
}

/* Body styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
}

body {
    line-height: 1.6;
    background-color: #FFFFFF;
    color: #000000;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on main sections */
section {
    overflow-x: clip;
}

/****** Global Section Header Styles *******/
.section-label {
    color: var(--accent);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    color: #000000;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.section-subtitle {
    color: #666666;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Section header container styles */
section>.section-label,
section>.section-title {
    text-align: center;
}

.testimonial-header,
.features-header,
.trusted-brands {
    text-align: center;
}

.integration-content,
.benefits-content {
    text-align: left;
}

/* Global heading styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000000;
    margin: 0;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

h4 {
    font-size: 20px;
    line-height: 1.4;
}

p {
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
        margin: 0 0 5px 0;
    }

    h3 {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/****** Logo & Menu *******/
header {
    background-color: #fff;
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
}

header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    padding: 0.5em;
    transition: color 0.3s;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
}

nav ul li a:hover,
nav ul li a:focus {
    color: var(--accent);
    background-color: #f5f0ff;
    border-radius: 5px;
    outline: none;
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

.cta {
    display: flex;
    justify-content: flex-end;
    padding: 0.5em 1em;
}

.cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cta a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 0.5em 1em;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 700;
    background-color: var(--accent);
    border-radius: 5px;
    white-space: nowrap;
}

.cta .btn-expert {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.4em 1em;
}

.cta .btn-expert:hover,
.cta .btn-expert:focus {
    background-color: var(--accent);
    color: #FFFFFF;
}

.cta a:hover,
.cta a:focus {
    opacity: 0.8;
    outline: none;
}

/****** Hero *******/
.hero {
    background-color: var(--secondary);
    color: #000000;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1em;
}

.hero .container {
    max-width: 100%;
    display: block;
}

.hero h1 {
    text-align: center;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 85px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.rotating-text-container {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 85px;
    overflow: hidden;
    color: var(--accent);
}

.rotating-text {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.8s ease;
    color: var(--accent);
}

.rotating-text.active {
    opacity: 1;
    transform: translateX(0);
}

.rotating-text.exit {
    opacity: 0;
    transform: translateX(-100%);
}

.hero p {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.hero .innertext {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    max-width: 560px;
    margin: auto;
    margin-bottom: 40px;
}

.hero .btn {
    background-color: var(--accent);
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.hero .btn:hover,
.hero .btn:focus {
    background-color: #5a3d7a;
    outline: none;
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero .container {
        padding: 45px 15px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 45px;
    }

    .rotating-text-container {
        width: 100%;
        height: 90px;
    }

    .rotating-text {
        white-space: normal;
        word-wrap: break-word;
    }
}

/****** Trusted Brands *******/
.trusted-brands {
    text-align: center;
    padding: 85px 20px;
    background-color: #fff;
}

.section-label {
    color: #000000;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.section-title {
    color: #000000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 37px;
    text-transform: capitalize;
    margin-bottom: 36px;
}

.highlight {
    color: var(--accent);
}

.brand-logos-scroll {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    position: relative;
}

.brand-logos-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.brand-logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.brand-logo {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    flex-shrink: 0;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
        line-height: 25px;
    }
}

/****** Interactive Features (Tab-based) *******/
.interactive-features {
    background: #FFFFFF;
    padding: 85px 60px;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header .section-title{
    margin: 0;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.feature-tab {
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 20px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-tab:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-tab.active {
    background: var(--accent);
    border-color: var(--accent);
}

.tab-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s ease;
}

.feature-tab.active .tab-number {
    color: #FFFFFF;
}

.tab-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.feature-tab.active .tab-title {
    color: #FFFFFF;
}

.features-content-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
}

.feature-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.feature-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-text h3 {
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-tagline {
    color: var(--accent);
    font-size: 22px;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
}

.feature-text p {
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.8;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(118, 75, 162, 0.1);
}

@media (max-width: 1024px) {
    .interactive-features {
        padding: 60px 30px;
    }

    .feature-content.active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-visual {
        order: -1;
    }

    .feature-text h3 {
        font-size: 26px;
    }

    .feature-tagline {
        font-size: 18px;
    }

    .feature-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .interactive-features {
        padding: 45px 20px;
    }

    .features-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-titles-nav {
        top: 118px !important;
    }

    .feature-tab {
        padding: 15px 30px;
    }

    .tab-number {
        font-size: 20px;
    }

    .tab-title {
        font-size: 16px;
    }

    .feature-text h3 {
        font-size: 22px;
    }

    .feature-tagline {
        font-size: 16px;
    }

    .feature-visual img {
        max-height: 300px;
    }
}

/****** Best Features *******/
.best-features {
    background: var(--secondary);
    padding: 75px 60px;
    text-align: center;
}

.bestsection-label {
    color: #000000;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bestsection-label::before,
.bestsection-label::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.bestsection-title {
    margin-bottom: 24px;
    color: #000000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 37px;
    text-transform: capitalize;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.features-grid::after {
    content: "";
    flex: auto;
}

.features-grid .feature-card:nth-last-child(2) {
    justify-self: center;
}

.features-grid .feature-card:nth-last-child(1) {
    justify-self: center;
}

.feature-card {
    padding: 30px;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 0px 13px 6px rgba(106, 76, 147, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card h3 {
    color: #000000;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 24px;
    margin-top: 24px;
}

.feature-card p {
    color: #000000;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 24px;
    margin-top: 24px;
}

.feature-card span::before,
.feature-card span::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

@media (max-width: 768px) {
    .best-features {
        padding: 45px 15px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .bestsection-title {
        font-size: 20px;
        line-height: 25px;
    }
}

/****** Business Benefits *******/
.business-benefits {
    padding: 85px 60px;
    background-color: #FFF;
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-images {
    position: relative;
    flex: 1;
}

.benefit-img {
    z-index: 2;
    position: relative;
    max-width: 100%;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -20px;
    left: -20px;
    z-index: 0;
}

.benefits-content {
    flex: 1;
}

.benefits-list {
    list-style-type: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 30px;
    max-width: 575px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 7px 1px rgba(106, 76, 147, 0.09);
}

.benefit-number {
    background-color: var(--accent);
    color: #FFFFFF;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefits-list h3 {
    color: #000000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    margin: 0;
}

.benefits-list p {
    color: #000000;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin: 5px 0 0 0;
}

@media (max-width: 1024px) {
    .benefits-container {
        flex-direction: column;
        gap: 40px;
    }

    .benefits-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .benefits-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .business-benefits {
        padding: 45px 20px;
    }

    .benefits-header {
        margin-bottom: 40px;
    }

    .benefits-list li {
        padding: 20px;
    }

    .benefit-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .benefits-list h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .benefits-list p {
        font-size: 14px;
        line-height: 22px;
    }
}

/****** Integration Section *******/
.integration {
    padding: 80px 20px;
    text-align: center;
    background-color: #f5f0ff;
}

.integration-content {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
}

.logo-card img,
.logo-card svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

    .integration-logos {
        gap: 20px;
    }

    .logo-card {
        min-width: 120px;
        height: 60px;
    }
}

/****** Pricing Section *******/
.pricing {
    padding: 80px 20px;
    background: #FFFFFF;
    text-align: center;
}

.pricingsection-label {
    color: #000000;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricingsection-label::before,
.pricingsection-label::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.pricingsection-title {
    color: #000000;
    font-size: 25px;
    font-weight: 700;
    line-height: 37px;
    text-transform: capitalize;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.pricing-card-header {
    padding: 30px;
    background: #f5f0ff;
}

.pricing-card-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.pricing-card-header .price {
    font-size: 18px;
    line-height: 28px;
    color: #4a4a4a;
}

.pricing-card-header .price span {
    font-size: 14px;
    color: #666666;
}

.pricing-card-footer {
    padding: 30px;
}

.pricing-card-footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card-footer ul li {
    font-size: 16px;
    line-height: 28px;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.select-plan {
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-plan:hover {
    background-color: #5a3d7a;
}

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

    .pricing-cards {
        gap: 20px;
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricingsection-title {
        font-size: 20px;
        line-height: 25px;
    }
}

/****** Testimonial Section *******/
.testimonial {
    padding: 80px 20px;
    background: #FFFFFF;
}

.testimonial-header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    width: 100%;
}

.testimonial-text {
    font-size: 16px;
    line-height: 28px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.highlight-metric {
    color: var(--accent);
    font-weight: 700;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.customer-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.customer-details p {
    font-size: 14px;
    color: #666666;
}

.stars {
    font-size: 16px;
    color: #FFD700;
}

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

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 24px;
    }

    .customer-image {
        width: 40px;
        height: 40px;
    }
}

/****** CTA Section *******/
.cta-section {
    padding: 80px 20px;
    background: #f5f0ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cta-content {
    text-align: center;
    max-width: 1200px;
}

.calendar-container {
    display: block;
    border: none;
    width: 100%;
    height: 675px;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 45px 20px;
        gap: 30px;
    }

    .cta-content {
        max-width: 100%;
    }

    .calendar-container {
        max-width: 100%;
    }

    .calendar-container iframe {
        height: 700px;
    }
}

/****** Footer *******/
footer {
    background-color: #FFFFFF;
    color: #000000;
    padding-top: 60px;
    border-top: 1px solid #e0e0e0;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-description {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 24px;
    max-width: 300px;
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-links ul li a:focus {
    color: var(--accent);
}

.contact-item {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item svg path {
    stroke: #4a4a4a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-bottom p {
    color: #4a4a4a;
    font-size: 14px;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: #f5f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-social a:hover svg path,
.footer-social a:hover svg rect,
.footer-social a:hover svg line {
    stroke: #FFFFFF;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-social a svg path,
.footer-social a svg rect,
.footer-social a svg line {
    stroke: #764ba2;
    transition: stroke 0.3s ease;
}

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-description {
        max-width: 100%;
        margin: 15px auto 0;
    }

    .footer-links ul,
    .contact-item {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

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

    .footer-social {
        justify-content: center;
    }
}

/****** Hamburger Menu *******/
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #764ba2;
    border-radius: 2px;
    transition: background 0.3s, transform 0.3s;
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    header .container {
        width: 95%;
        padding: 0.5em 0;
    }

    .logo img {
        width: 120px;
    }

    .hamburger-menu {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    nav {
        position: static;
    }

    nav ul {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        /* height: 100vh; */
        background: #fff;
        z-index: 1000;
        margin: 0;
        padding: 80px 0 20px 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    nav ul.active {
        display: flex;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100vh;
    }

    /* Hide logo when menu is open */
    body.menu-open .logo {
        display: none;
    }

    /* Position hamburger for full screen menu */
    body.menu-open .hamburger-menu {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    nav ul li {
        text-align: center;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 1.2em 0;
    }

    /* Show mobile-only menu items */
    .mobile-only {
        display: block;
    }

    /* Style mobile CTA links */
    .mobile-cta-expert {
        background: transparent !important;
        color: var(--accent) !important;
        border: 2px solid var(--accent);
        border-radius: 5px;
        margin: 10px auto;
        padding: 0.8em 1em !important;
        font-weight: 700;
        width: calc(100% - 32px);
        text-align: center;
        display: block;
    }

    .mobile-cta-app {
        background: var(--accent) !important;
        color: #FFFFFF !important;
        border-radius: 5px;
        margin: 10px auto;
        padding: 0.8em 1em !important;
        font-weight: 700;
        width: calc(100% - 30px);
        text-align: center;
        display: block;
    }

    /* Hide desktop CTA buttons on mobile */
    .cta {
        display: none !important;
    }

}

/* Accessibility Focus Styles */
nav ul li a:focus,
.cta a:focus,
.hero .btn:focus,
.select-plan:focus,
.footer-links ul li a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

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

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-visual img {
    transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
}

.slide-in-right.scroll-visible .feature-visual img,
.feature-visual.scroll-visible img {
    animation: scaleInImage 0.8s ease-out forwards;
}

@keyframes scaleInImage {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.features-header.fade-in-up {
    transition-delay: 0.1s;
}

.features-tabs.fade-in-up {
    transition-delay: 0.2s;
}

.features-content-container.fade-in-up {
    transition-delay: 0.3s;
}

.slide-in-left {
    transition-delay: 0.4s;
}

.slide-in-right {
    transition-delay: 0.5s;
}

.feature-card.fade-in,
.pricing-card.fade-in,
.testimonial-card.fade-in {
    transition-delay: calc(var(--index, 0) * 0.1s);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 30px rgba(118, 75, 162, 0.2);
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card-footer {
    transition: box-shadow 0.3s ease;
}

.pricing-card:hover .pricing-card-footer {
    box-shadow: 0px 15px 35px rgba(118, 75, 162, 0.15);
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(118, 75, 162, 0.15);
    border-color: var(--accent);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(118, 75, 162, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.brand-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(118, 75, 162, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(118, 75, 162, 0);
    }
}

.hero .btn {
    animation: pulse 2s infinite;
}

.hero .btn:hover {
    animation: none;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/****** Scroll-based Features Override - Vertical Stacked Layout *******/
.interactive-features[data-scroll-section] {
    background: #FFFFFF;
    padding: 85px 0 0 0 !important;
}

.interactive-features[data-scroll-section] .features-header {
    padding: 20px 40px ;
    text-align: center;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
}

.feature-titles-nav {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 0px 60px;
    background: #FFFFFF;
    position: sticky;
    top: 104px;
    z-index: 99;
    border-bottom: 2px solid #f0f0f0;
}

.feature-title-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.4;
    position: relative;
}

.feature-title-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.feature-title-item.active {
    opacity: 1;
}

.feature-title-item.active::after {
    width: 100%;
}

.feature-title-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.feature-title-item.active .feature-title-number {
    opacity: 1;
}

.feature-title-text {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.1em;
    transition: color 0.4s ease;
}

.feature-title-item.active .feature-title-text {
    color: var(--accent);
}

.features-scroll-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    min-height: 300vh;
}

.features-content-side {
    display: flex;
    flex-direction: column;
    padding-right: 0;
}

.feature-item {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 80px 0;
    margin-bottom: 0;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.feature-item.active {
    opacity: 1;
}

.feature-mobile-title {
    display: none;
}

.feature-number {
    font-size: 120px;
    font-weight: 700;
    color: rgba(118, 75, 162, 0.08);
    position: absolute;
    top: 60px;
    left: -40px;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.feature-item h3 {
    color: #000000;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.feature-tagline {
    color: var(--accent);
    font-size: 22px;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
}

.feature-item p {
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-tag {
    display: inline-block;
    padding: 12px 35px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 50px;
    text-transform: uppercase;
}

.features-image-side {
    position: relative;
    min-height: 100%;
    align-self: stretch;
}

.sticky-image-wrapper {
    position: sticky;
    top: 180px;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.feature-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 20px;
    /* box-shadow: 0 10px 50px rgba(118, 75, 162, 0.15); */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
}

.feature-image.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1024px) {
    .feature-titles-nav {
        gap: 30px;
        padding: 20px 30px;
    }

    .feature-title-item {
        padding: 10px 20px;
    }

    .feature-title-number {
        font-size: 16px;
    }

    .feature-title-text {
        font-size: 18px;
    }

    .features-scroll-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 40px 30px;
        min-height: auto;
    }

    .features-content-side {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    /* Hide the sticky image side on mobile */
    .features-image-side {
        display: none;
    }

    .feature-item {
        min-height: auto;
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Add inline images for each feature on mobile */
    .feature-item::before {
        content: '';
        display: block;
        width: 100%;
        height: 300px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 15px;
        order: -1;
    }

    .feature-item[data-feature="0"]::before {
        background-image: url('./images/collect.jpg');
    }

    .feature-item[data-feature="1"]::before {
        background-image: url('./images/predict.jpg');
    }

    .feature-item[data-feature="2"]::before {
        background-image: url('./images/engage.jpg');
    }
}

@media (max-width: 768px) {
    .interactive-features[data-scroll-section] .features-header {
        padding: 20px 20px 10px;
        margin: 0;
        position: static;
    }

    .feature-titles-nav {
        gap: 15px;
        padding: 15px 20px;
        flex-wrap: wrap;
        position: static;
    }

    .feature-title-item {
        padding: 8px 12px;
        gap: 8px;
    }

    .feature-title-number {
        font-size: 14px;
    }

    .feature-title-text {
        font-size: 14px;
        letter-spacing: 0.05em;
    }

    .features-scroll-wrapper {
        padding: 30px 20px;
        gap: 40px;
    }

    .feature-item {
        padding: 30px 0;
        gap: 20px;
    }

    .feature-item::before {
        height: 250px;
    }

    .feature-item h3 {
        font-size: 24px;
    }

    .feature-tagline {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 16px;
    }

    .sticky-image-wrapper {
        height: 300px;
    }

    .feature-number {
        font-size: 80px;
        top: -40px;
        left: -20px;
    }

    .feature-mobile-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 700;
        color: var(--accent);
        margin: 0 0 20px 0;
        letter-spacing: 0.1em;
        order: -2;
    }

    .mobile-title-number {
        font-size: 18px;
        opacity: 0.7;
    }

    .feature-titles-nav {
        display: none !important;
    }
}