/* =====================================================
   GLOBAL
===================================================== */

:root {

    --red: #ef4444;
    --red-dark: #dc2626;
    --red-light: #fff1f2;

    --yellow: #f59e0b;
    --yellow-light: #fffbeb;

    --green: #22c55e;
    --green-dark: #16a34a;
    --green-light: #f0fdf4;

    --pink: #ec4899;
    --pink-dark: #db2777;
    --pink-light: #fdf2f8;

    --purple: #8b5cf6;

    --cream: #fffaf7;
    --white: #ffffff;

    --text: #292524;
    --muted: #78716c;

    --border: #eee7e2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =====================================================
   NAVBAR
===================================================== */

.main-navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(255,255,255,.5);
}

.navbar-brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 25px;
    font-weight: 800;
}

.navbar-brand > span:last-child,
.footer-brand > span:last-child {
    color: var(--pink);
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(
        135deg,
        var(--red),
        var(--pink)
    );
}

.nav-link {
    color: #57534e !important;
    font-size: 14px;
    font-weight: 600;
    margin: 0 9px;
    transition: .3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink) !important;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.nav-button:hover {
    color: white;
    background: var(--pink);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 0;
    font-size: 25px;
    color: var(--red);
}


/* =====================================================
   HERO
===================================================== */

.hero-banner {
    min-height: 850px;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
           
           110deg,
        rgba(28, 67, 55, 0.92) 0%,
        rgba(62, 111, 88, 0.80) 48%,
        rgba(214, 158, 54, 0.42) 100%
        ),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(245,158,11,.32),
            transparent 25%
        ),
        radial-gradient(
            circle at 20% 90%,
            rgba(34,197,94,.25),
            transparent 25%
        );
}

.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 150px;
    padding-bottom: 80px;
}

.hero-content {
    color: white;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #facc15;
}

.hero-content h1 {
    max-width: 750px;
    font-size: clamp(52px, 7vw, 86px);
    line-height: 1.02;
    letter-spacing: -4px;
    font-weight: 800;
    margin: 25px 0;
}

.hero-content h1 span {
    color: #fde047;
}

.hero-content p {
    max-width: 620px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: .3s;
}

.hero-btn-primary {
    background: #facc15;
    color: #422006;
}

.hero-btn-primary:hover {
    color: #422006;
    background: white;
    transform: translateY(-3px);
}

.hero-btn-white {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.12);
}

.hero-btn-white:hover {
    color: var(--red);
    background: white;
    transform: translateY(-3px);
}

.hero-users {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 45px;
}

.user-avatars {
    display: flex;
}

.user-avatars span {
    width: 38px;
    height: 38px;
    margin-left: -8px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 800;
    background: var(--green);
}

.user-avatars span:first-child {
    margin-left: 0;
    background: var(--yellow);
}

.user-avatars span:nth-child(2) {
    background: var(--pink);
}

.user-avatars span:nth-child(3) {
    background: var(--red);
}

.user-avatars span:last-child {
    background: white;
    color: var(--red);
}

.hero-users strong,
.hero-users small {
    display: block;
}

.hero-users strong {
    font-size: 15px;
}

.hero-users small {
    color: rgba(255,255,255,.7);
    font-size: 11px;
}


/* =====================================================
   HERO FLOATING CARD
===================================================== */

.hero-floating-card {
    padding: 27px;
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(75,0,30,.3);
    animation: floatingCard 4s ease-in-out infinite;
}

@keyframes floatingCard {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}

.floating-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-header small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.floating-header h4 {
    margin: 4px 0 0;
    font-size: 17px;
    font-weight: 800;
}

.growth-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 14px;
    background: var(--green);
}

.floating-number {
    color: var(--green-dark);
    font-size: 40px;
    font-weight: 800;
    margin: 20px 0;
}

.growth-line {
    height: 160px;
    padding: 15px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    border-radius: 18px;
    background: #fff8f0;
}

.growth-line span {
    width: 9%;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(
        to top,
        var(--red),
        var(--yellow)
    );
}

.floating-footer {
    margin-top: 17px;
    font-size: 11px;
    color: var(--green-dark);
    font-weight: 700;
}


/* =====================================================
   HERO CIRCLES
===================================================== */

.hero-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}

.hero-circle-one {
    width: 220px;
    height: 220px;
    right: -90px;
    top: 180px;
    background: rgba(245,158,11,.3);
}

.hero-circle-two {
    width: 170px;
    height: 170px;
    left: -80px;
    bottom: 40px;
    background: rgba(34,197,94,.25);
}


/* =====================================================
   QUICK STATS
===================================================== */

.quick-stats {
    padding: 60px 0;
    background: white;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border-radius: 20px;
}

.quick-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    font-size: 21px;
}

.quick-stat small {
    color: var(--muted);
    font-size: 12px;
}

.quick-stat h3 {
    font-size: 25px;
    font-weight: 800;
    margin: 3px 0;
}

.quick-stat span {
    font-size: 11px;
    font-weight: 800;
}

.red-stat {
    background: var(--red-light);
}

.red-stat .quick-icon {
    background: var(--red);
}

.red-stat span {
    color: var(--red);
}

.yellow-stat {
    background: var(--yellow-light);
}

.yellow-stat .quick-icon {
    background: var(--yellow);
}

.yellow-stat span {
    color: var(--yellow);
}

.green-stat {
    background: var(--green-light);
}

.green-stat .quick-icon {
    background: var(--green);
}

.green-stat span {
    color: var(--green);
}

.pink-stat {
    background: var(--pink-light);
}

.pink-stat .quick-icon {
    background: var(--pink);
}

.pink-stat span {
    color: var(--pink);
}


/* =====================================================
   COMMON SECTIONS
===================================================== */

.about-section,
.services-section,
.analytics-section,
.features-section {
    padding: 110px 0;
}

.about-section {
    background: var(--cream);
}

.section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -2px;
}

.section-title span {
    color: var(--pink);
}

.section-text {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.section-description {
    max-width: 600px;
    text-align: center;
    margin: 15px auto 50px;
    color: var(--muted);
}


/* =====================================================
   ABOUT
===================================================== */

.about-visual {
    position: relative;
    min-height: 450px;
}

.about-main-card {
    width: 90%;
    padding: 30px;
    position: absolute;
    left: 0;
    top: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(80,40,20,.09);
}

.about-card-top {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.performance-value {
    font-size: 42px;
    font-weight: 800;
    margin-top: 30px;
}

.performance-growth {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.about-bars {
    height: 200px;
    margin-top: 30px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    background: #fff8f2;
}

.about-bars span {
    width: 9%;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(
        to top,
        var(--pink),
        var(--yellow)
    );
}

.small-about-card {
    position: absolute;
    right: 0;
    bottom: 25px;
    width: 260px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(80,40,20,.13);
}

.small-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 12px;
    background: var(--green);
}

.small-about-card strong,
.small-about-card small {
    display: block;
}

.small-about-card small {
    color: var(--muted);
    font-size: 10px;
}

.score {
    color: var(--green);
    margin-left: auto;
}

.about-points {
    margin: 25px 0;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 13px 0;
    font-weight: 600;
}

.about-points i {
    color: var(--green);
}

.red-link {
    color: var(--red);
    font-weight: 800;
}

.red-link i {
    margin-left: 6px;
}


/* =====================================================
   SERVICES
===================================================== */

.services-section {
    background: white;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading > .section-tag {
    display: block;
    text-align: center;
}

.service-card {
    position: relative;
    min-height: 340px;
    padding: 30px;
    border-radius: 25px;
    overflow: hidden;
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-9px);
}

.service-number {
    position: absolute;
    right: 22px;
    top: 20px;
    font-size: 12px;
    font-weight: 800;
    opacity: .5;
}

.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 18px;
    background: white;
    font-size: 25px;
}

.service-card h4 {
    font-weight: 800;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--text);
    font-weight: 800;
    font-size: 13px;
}

.service-red {
    background: var(--red-light);
}

.service-red .service-icon {
    color: var(--red);
}

.service-yellow {
    background: var(--yellow-light);
}

.service-yellow .service-icon {
    color: var(--yellow);
}

.service-green {
    background: var(--green-light);
}

.service-green .service-icon {
    color: var(--green);
}

.service-pink {
    background: var(--pink-light);
}

.service-pink .service-icon {
    color: var(--pink);
}


/* =====================================================
   ANALYTICS
===================================================== */

.analytics-section {
    background: #fff8f2;
}

.analytics-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}

.analytics-heading .section-title {
    max-width: 600px;
}

.period-button {
    border: 1px solid var(--border);
    background: white;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.period-button i {
    margin-left: 8px;
}

.analytics-card {
    background: white;
    padding: 25px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(60,30,10,.035);
}

.analytics-card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 25px;
}

.analytics-card-head h5 {
    font-weight: 800;
    margin: 0;
}

.analytics-card-head small {
    color: var(--muted);
    font-size: 11px;
}

.chart-value {
    text-align: right;
}

.chart-value strong {
    display: block;
    font-size: 22px;
}

.chart-value span {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
}

.chart-container {
    height: 330px;
}

.small-chart {
    height: 260px;
}

.donut-container {
    height: 270px;
    position: relative;
}

.donut-container canvas {
    height: 100% !important;
}

.donut-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.donut-center strong,
.donut-center small {
    display: block;
}

.donut-center strong {
    font-size: 27px;
    font-weight: 800;
}

.donut-center small {
    color: var(--muted);
    font-size: 11px;
}

.legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.legend-grid div {
    color: var(--muted);
    font-size: 11px;
}

.legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.legend-dot.red {
    background: var(--red);
}

.legend-dot.yellow {
    background: var(--yellow);
}

.legend-dot.green {
    background: var(--green);
}

.legend-dot.pink {
    background: var(--pink);
}


/* =====================================================
   FEATURES
===================================================== */

.features-section {
    background: white;
}

.benefit-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    transition: .3s;
}

.benefit-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(50,20,10,.07);
}

.benefit-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    margin-bottom: 22px;
}

.benefit-icon.red {
    color: var(--red);
    background: var(--red-light);
}

.benefit-icon.yellow {
    color: var(--yellow);
    background: var(--yellow-light);
}

.benefit-icon.green {
    color: var(--green);
    background: var(--green-light);
}

.benefit-icon.pink {
    color: var(--pink);
    background: var(--pink-light);
}

.benefit-card h5 {
    font-weight: 800;
}

.benefit-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 0;
    background: var(--cream);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 90px 40px;
    border-radius: 35px;
    text-align: center;

    background:
        linear-gradient(
            120deg,
            var(--red),
            var(--pink)
        );
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-content .section-tag {
    color: #fde047;
}

.cta-content h2 {
    max-width: 750px;
    margin: 15px auto;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
}

.cta-content h2 span {
    color: #fef08a;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.85);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 50px;
    background: white;
    color: var(--red);
    font-weight: 800;
    transition: .3s;
}

.cta-button:hover {
    color: var(--pink);
    transform: translateY(-3px);
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}

.cta-shape-one {
    width: 300px;
    height: 300px;
    left: -100px;
    top: -140px;
}

.cta-shape-two {
    width: 350px;
    height: 350px;
    right: -130px;
    bottom: -190px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 75px 0 25px;
    background: white;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer > .container > .row p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 340px;
}

.social-icons {
    display: flex;
    gap: 9px;
    margin-top: 25px;
}

.social-icons a {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    background: var(--pink-light);
    border-radius: 11px;
    transition: .3s;
}

.social-icons a:hover {
    background: var(--pink);
    color: white;
}

.footer h6 {
    font-weight: 800;
    margin-bottom: 20px;
}

.footer .col-lg-2 a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 13px;
    transition: .3s;
}

.footer .col-lg-2 a:hover {
    color: var(--red);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    margin-top: 55px;
    padding-top: 22px;
    color: var(--muted);
    font-size: 12px;
}

.footer-bottom i {
    color: var(--pink);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .main-navbar {
        position: absolute;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 15px;
        background: white;
        border-radius: 18px;
    }

    .nav-button {
        display: inline-flex;
    }

    .hero-banner {
        min-height: auto;
    }

    .hero-container {
        padding-top: 160px;
        padding-bottom: 90px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .stats-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .analytics-heading {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }

    .about-main-card {
        width: 90%;
    }

    .about-visual {
        min-height: 470px;
    }
}


@media (max-width: 767px) {

    .hero-content h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        justify-content: center;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-section,
    .analytics-section,
    .features-section {
        padding: 75px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .about-main-card {
        width: 100%;
        position: relative;
    }

    .small-about-card {
        right: 10px;
        bottom: 0;
    }

    .about-visual {
        min-height: 520px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}