:root {
    --brand-header: #FFFFFF;
    --brand-footer: #f5f5fd;
    --brand-button: #5B22E6;
    --brand-button-hover: #7235F4;
    --brand-gradient: linear-gradient(135deg, #3C1DB6 0%, #5B22E6 50%, #7235F4 100%);
    --brand-link: #5B22E6;
    --brand-bg: #FFFFFF;
    --brand-text: #1A1A1A;
    --accent-color: #5B22E6;
    --default-color: #1A1A1A;
    --heading-color: #1A1A1A;
    --background-color: #FFFFFF;
}

body {
    background: var(--brand-bg);
    color: var(--brand-text);
}

a,
.accent-text,
.navmenu a.active,
.navmenu a:hover,
.footer .footer-links ul a:hover {
    color: var(--brand-link) !important;
}

a:hover {
    color: var(--brand-button-hover) !important;
}

.header,
.header .header-container {
    background: var(--brand-header) !important;
}

.header {
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    z-index: 10020 !important;
}

.footer {
    background: var(--brand-footer) !important;
}

.header .logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.header .header-container {
    width: 100%;
    max-width: 1320px;
    min-height: 78px;
    margin: 0 auto;
    padding: 0 24px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.navmenu ul {
    gap: 18px;
    margin: 0;
}

.navmenu a {
    font-size: 14px;
    font-weight: 700;
    padding: 26px 0 !important;
    border-radius: 0 !important;
    position: relative;
}

.header .btn-getstarted {
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(91, 34, 230, 0.22);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navmenu a {
    color: var(--brand-text) !important;
}

.navmenu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    width: 0;
    height: 3px;
    margin: auto;
    border-radius: 999px;
    background: var(--brand-gradient);
    transition: width 0.2s ease;
}

.navmenu a:hover::after,
.navmenu a.active::after {
    width: 100%;
}

.header .btn-getstarted {
    color: #fff !important;
}

.footer,
.footer h4,
.footer p {
    color: var(--brand-text) !important;
}

.footer a {
    color: var(--brand-link) !important;
}

.navmenu a:hover,
.navmenu .active {
    color: var(--brand-link) !important;
}

.footer a:hover {
    color: var(--brand-button-hover) !important;
}

.footer-modern {
    background: #08172f !important;
    color: rgba(255, 255, 255, 0.76) !important;
}

.footer-modern .footer-top {
    padding-top: 56px;
}

.footer-modern h3,
.footer-modern h4,
.footer-modern p,
.footer-modern a,
.footer-modern .sitename {
    color: #fff !important;
}

.footer-modern p,
.footer-modern li,
.footer-modern a {
    color: rgba(255, 255, 255, 0.74) !important;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    margin-bottom: 42px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b3ea9, #541be7);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.footer-newsletter h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-newsletter p {
    margin: 0;
}

.newsletter-form {
    display: flex;
    width: min(100%, 460px);
    padding: 5px;
    border-radius: 12px;
    background: #fff;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: #111827;
}

.newsletter-form button {
    border: 0;
    border-radius: 9px;
    padding: 11px 18px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 800;
}

.footer-modern .logo img {
    max-height: 54px;
    object-fit: contain;
}

.footer-modern .footer-links ul li {
    padding: 5px 0;
}

.footer-apps p {
    margin-bottom: 12px;
}

.app-badges {
    display: grid;
    gap: 10px;
    max-width: 180px;
}

.app-badges img {
    width: 100%;
    border-radius: 9px;
    display: block;
}

.footer-modern .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
}

.footer-modern .social-links a {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 86px;
    z-index: 998;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    font-size: 1.7rem;
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    color: #fff !important;
    box-shadow: 0 20px 44px rgba(37, 211, 102, 0.45);
}

.btn-primary,
.btn-getstarted,
.scroll-top,
.pricing-card .btn,
.contact .php-email-form button[type=submit] {
    border-color: var(--brand-button) !important;
    background: var(--brand-gradient) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-getstarted:hover,
.scroll-top:hover,
.pricing-card .btn:hover,
.contact .php-email-form button[type=submit]:hover {
    border-color: var(--brand-button-hover) !important;
    background: var(--brand-gradient) !important;
    color: #fff !important;
}

.btn-link {
    color: var(--brand-link) !important;
}

.company-badge,
.stat-icon,
.feature-box .icon,
.icon-box .icon,
.pricing-card.popular {
    border-color: rgba(91, 34, 230, 0.18) !important;
}

.company-badge,
.stat-icon,
.feature-box .icon,
.icon-box .icon {
    background: rgba(91, 34, 230, 0.08) !important;
    color: var(--brand-link) !important;
}

.pricing-card.popular {
    background: linear-gradient(135deg, #3C1DB6 0%, #5B22E6 50%, #7235F4 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 45px rgba(91, 34, 230, 0.28) !important;
}

.pricing-card.popular h3,
.pricing-card.popular h4,
.pricing-card.popular .description,
.pricing-card.popular .features-list li,
.pricing-card.popular .features-list li i,
.pricing-card.popular .price .currency,
.pricing-card.popular .price .amount,
.pricing-card.popular .price .period,
.pricing-card.popular .text-primary {
    color: #fff !important;
}

.popular-badge {
    background: #fff !important;
    color: var(--brand-button) !important;
}

.pricing-card.popular .btn,
.pricing-card.popular .btn-light {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--brand-button) !important;
}

.pricing-card.popular .btn:hover,
.pricing-card.popular .btn-light:hover {
    border-color: #fff !important;
    background: #f5f5fd !important;
    color: var(--brand-button-hover) !important;
}

.call-to-action .container,
.call-to-action-2 {
    background: var(--brand-gradient) !important;
}

.call-to-action .btn-cta,
.call-to-action-2 .cta-btn {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--brand-button) !important;
}

.call-to-action .btn-cta:hover,
.call-to-action-2 .cta-btn:hover {
    background: #f5f5fd !important;
    color: var(--brand-button-hover) !important;
}

.contact .info-box {
    border: 0 !important;
    background: var(--brand-gradient) !important;
    color: #fff !important;
    box-shadow: 0 18px 45px rgba(91, 34, 230, 0.24) !important;
}

.contact .info-box h3,
.contact .info-box p,
.contact .info-box .info-item h4,
.contact .info-box .info-item p,
.contact .info-box .info-item a {
    color: #fff !important;
}

.contact .info-box .info-item i {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
}

@media (max-width: 1199px) {
    body.mobile-nav-active {
        overflow: hidden;
    }

    body.mobile-nav-active::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(15, 23, 42, 0.46);
        backdrop-filter: blur(3px);
    }

    .mobile-nav-toggle {
        position: relative;
        z-index: 10030 !important;
        margin-left: 8px;
    }

    .navmenu {
        z-index: 10025 !important;
    }

    .navmenu ul {
        background: #fff !important;
        gap: 0;
        position: fixed !important;
        inset: 82px 16px auto 16px !important;
        max-height: calc(100vh - 112px);
        padding: 12px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
        z-index: 10026 !important;
    }

    .navmenu a {
        color: var(--brand-text) !important;
        padding: 13px 14px !important;
        border-radius: 12px !important;
        font-size: 15px;
    }

    .navmenu a:hover,
    .navmenu a.active {
        background: rgba(91, 34, 230, 0.08);
    }

    .navmenu a::after {
        display: none;
    }

    .header .header-container {
        min-height: 68px;
        padding: 0 16px !important;
    }

    .header .logo img {
        max-height: 42px;
    }

    .header .btn-getstarted {
        padding: 9px 12px;
        font-size: 12px;
    }
}

.landing-hero {
    padding-top: 128px;
    padding-bottom: 56px;
}

.landing-hero .row {
    min-height: calc(100vh - 210px);
}

.landing-modules.section,
.landing-features.section,
.landing-split.section,
.landing-app.section,
.landing-analytics.section,
.landing-trust.section,
.landing-cta.section {
    padding: 70px 0;
}

.saas-page-hero {
    padding: 140px 0 70px;
    background: linear-gradient(180deg, rgba(91, 34, 230, 0.08), rgba(255, 255, 255, 0));
}

.section {
    scroll-margin-top: 92px;
}

.saas-page-hero .container {
    max-width: 920px;
    text-align: center;
}

.saas-page-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.14;
    font-weight: 800;
    color: #111827;
    margin-bottom: 18px;
}

.saas-page-hero p:last-child {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
}

.legal-page .container {
    max-width: 920px;
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(30, 41, 59, 0.06);
    padding: 34px;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 22px;
}

.legal-page h2:first-child {
    margin-top: 0;
}

.legal-page p {
    color: #4b5563;
    line-height: 1.8;
}

.about-story .about-copy {
    max-width: 620px;
}

.about-story h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.14;
    font-weight: 800;
    color: #111827;
    margin-bottom: 18px;
}

.about-story p {
    color: #4b5563;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.about-stats div,
.about-value-card,
.team-card-modern {
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(30, 41, 59, 0.06);
}

.about-stats div {
    padding: 18px;
}

.about-stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--brand-button);
}

.about-stats span {
    color: #6b7280;
    font-weight: 700;
}

.about-visual {
    padding: 28px;
    border-radius: 24px;
    background: radial-gradient(circle at 72% 25%, rgba(91, 34, 230, 0.16), transparent 35%), #fff;
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.about-visual img {
    width: 100%;
    filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.14));
}

.about-value-card {
    height: 100%;
    padding: 26px;
}

.about-value-card i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    margin-bottom: 18px;
    color: var(--brand-button);
    background: rgba(91, 34, 230, 0.08);
    font-size: 1.45rem;
}

.about-value-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.about-value-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
}

.team-card-modern {
    padding: 28px;
}

.team-card-modern .team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 6px solid rgba(91, 34, 230, 0.08);
}

.landing-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
}

.landing-hero p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.75;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.landing-actions .btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
}

.hero-trust span,
.module-pill,
.acadancy-feature-card,
.split-panel,
.app-card,
.chart-card,
.trust-grid > div,
.mini-stat {
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(30, 41, 59, 0.06);
}

.hero-trust span {
    display: grid;
    gap: 6px;
    place-items: center;
    padding: 12px;
    color: #1f2937;
    font-size: 0.8rem;
    text-align: center;
}

.hero-trust i,
.module-pill i,
.acadancy-feature-card > i,
.trust-grid i {
    color: var(--brand-button);
}

.device-showcase {
    position: relative;
    padding: 24px;
    border-radius: 28px;
    background: radial-gradient(circle at 68% 32%, rgba(91, 34, 230, 0.14), transparent 36%), #fff;
}

.device-showcase img {
    width: 100%;
    filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.18));
}

.landing-metric-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 34px;
    padding: 20px 26px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0b3ea9, #541be7);
    box-shadow: 0 18px 35px rgba(38, 54, 150, 0.28);
}

.landing-metric-band div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
}

.landing-metric-band i {
    font-size: 2rem;
}

.landing-metric-band strong {
    display: block;
    font-size: 1.55rem;
}

.landing-metric-band span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.86;
}

.landing-modules .section-title p,
.landing-features .section-title p,
.landing-analytics .section-title p,
.landing-trust .section-title p,
.pricing .section-title p,
.contact .section-title p,
.eyebrow {
    color: var(--brand-button);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.module-strip {
    display: grid;
    grid-template-columns: repeat(10, minmax(92px, 1fr));
    gap: 12px;
}

.module-pill {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 14px 10px;
    text-align: center;
}

.module-pill i {
    font-size: 1.9rem;
}

.module-pill span {
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 700;
}

.acadancy-feature-card {
    height: 100%;
    padding: 28px;
}

.acadancy-feature-card > i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(91, 34, 230, 0.08);
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.acadancy-feature-card h3,
.app-card h2,
.split-panel h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.acadancy-feature-card ul,
.check-list {
    padding-left: 18px;
    color: #4b5563;
    line-height: 1.9;
}

.split-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.split-panel img,
.app-card img {
    max-height: 260px;
    width: 100%;
    object-fit: contain;
}

.mini-features,
.flow-steps,
.cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mini-features span,
.flow-steps span,
.cta-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f6fb;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.9rem;
}

.flow-steps {
    align-items: center;
    justify-content: center;
}

.flow-steps i {
    color: var(--brand-button);
    font-size: 1.6rem;
}

.app-card {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: center;
    padding: 30px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.mini-stat,
.chart-card {
    padding: 22px;
}

.mini-stat {
    grid-column: span 2;
}

.mini-stat i {
    color: var(--brand-button);
    font-size: 1.5rem;
}

.mini-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 1.4rem;
}

.mini-stat span {
    color: #6b7280;
}

.chart-card {
    grid-column: span 2;
    min-height: 180px;
}

.chart-card h3 {
    font-size: 1rem;
    font-weight: 800;
}

.fake-line {
    height: 90px;
    background: linear-gradient(135deg, transparent 45%, #2376f3 46%, #2376f3 49%, transparent 50%),
        linear-gradient(45deg, transparent 45%, #2376f3 46%, #2376f3 49%, transparent 50%);
    background-size: 80px 70px;
}

.fake-bars {
    height: 105px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.fake-bars span {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: #2376f3;
}

.fake-bars span:nth-child(1) { height: 42%; }
.fake-bars span:nth-child(2) { height: 58%; }
.fake-bars span:nth-child(3) { height: 74%; }
.fake-bars span:nth-child(4) { height: 88%; }

.fake-donut {
    width: 110px;
    height: 110px;
    margin: 14px auto 0;
    border-radius: 50%;
    background: conic-gradient(#4f46e5 0 34%, #22c55e 34% 60%, #f59e0b 60% 82%, #ef4444 82%);
    position: relative;
}

.fake-donut::after {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.trust-grid > div {
    min-height: 150px;
    padding: 18px;
    display: grid;
    place-items: center;
    text-align: center;
}

.trust-grid i {
    font-size: 1.8rem;
}

.trust-grid strong {
    font-size: 0.95rem;
}

.trust-grid span {
    color: #6b7280;
    font-size: 0.78rem;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #0b3ea9, #541be7);
}

.cta-panel h2,
.cta-panel p {
    color: #fff;
}

.cta-panel .btn {
    border-radius: 12px;
    color: var(--brand-button) !important;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .module-strip,
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .landing-hero {
        padding-top: 104px;
        text-align: center;
    }

    .landing-hero .row {
        min-height: auto;
    }

    .landing-actions,
    .cta-contact {
        justify-content: center;
    }

    .hero-trust {
        margin: 0 auto;
    }

    .device-showcase {
        padding: 14px;
    }

    .footer-modern .footer-top {
        padding-top: 40px;
    }

    .newsletter-form {
        width: 100%;
    }

    .hero-trust,
    .landing-metric-band,
    .split-panel,
    .app-card,
    .analytics-grid,
    .module-strip,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-card,
    .mini-stat {
        grid-column: span 1;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .header .header-container {
        padding: 0 12px !important;
    }

    .header .logo img {
        max-height: 38px;
        max-width: 132px;
    }

    .header-actions .btn-getstarted {
        max-width: 136px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .landing-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .landing-metric-band {
        padding: 16px;
    }

    .cta-contact span {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-form input {
        min-height: 44px;
    }

    .newsletter-form button {
        width: 100%;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 76px;
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
    }

    .hero-trust,
    .landing-metric-band,
    .split-panel,
    .app-card,
    .analytics-grid,
    .module-strip,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
