/* =========================================================
   ENCANTO POS — WEBSITE STYLES
   Dark-first design based on the Encanto POS application
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    /* ================= ENCANTO COLORS ================= */

    --encanto-green: #2e7d32;
    --encanto-green-light: #3d9142;
    --encanto-green-dark: #246428;

    --dark: #1e1f24;
    --dark-2: #18191d;
    --dark-3: #121317;
    --dark-card: #232429;

    --white: #f5f5f5;
    --white-pure: #ffffff;

    --grey: #9a9a9a;
    --grey-light: #c5c5c5;

    --border-dark: #34353b;
    --border-light: #dedee0;

    /* ================= SYSTEM COLORS ================= */

    --blue: #2f65e8;
    --yellow: #f0c915;
    --red: #df0924;

    /* ================= OTHER ================= */

    --section-light: #eeeeef;

    --shadow-dark:
        0 25px 70px rgba(0, 0, 0, .45);

    --shadow-light:
        0 20px 50px rgba(0, 0, 0, .10);
}


/* =========================================================
   BASE
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--dark-3);

    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(18, 19, 23, .94);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid var(--border-dark);
}

.nav-container {

    max-width: 1200px;

    height: 76px;

    margin: auto;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* ================= LOGO ================= */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 21px;

    font-weight: 800;

    letter-spacing: -.5px;
}

.logo-mark {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: var(--encanto-green);

    color: white;

    font-weight: 900;

    box-shadow:
        0 5px 20px rgba(46, 125, 50, .25);
}

.logo-pos {

    color: var(--encanto-green);

    margin-left: 2px;
}


/* ================= NAV LINKS ================= */

nav {

    display: flex;

    align-items: center;

    gap: 32px;
}

nav a {

    font-size: 14px;

    color: var(--grey-light);

    font-weight: 500;

    transition: .2s;
}

nav a:hover {

    color: white;
}


/* ================= NAV BUTTON ================= */

.nav-button {

    background: var(--encanto-green);

    color: white;

    padding: 11px 21px;

    border-radius: 7px;

    font-size: 14px;

    font-weight: 700;

    transition: .2s;
}

.nav-button:hover {

    background: var(--encanto-green-light);

    transform: translateY(-1px);
}


/* ================= MOBILE MENU ================= */

.menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 26px;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 75% 40%,
            rgba(46, 125, 50, .13),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 20%,
            rgba(255,255,255,.025),
            transparent 30%
        ),

        var(--dark-3);
}

.hero-container {

    max-width: 1200px;

    min-height: 700px;

    margin: auto;

    padding: 90px 25px;

    display: grid;

    grid-template-columns: 1fr 1.05fr;

    align-items: center;

    gap: 70px;
}


/* ================= HERO CONTENT ================= */

.badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border-radius: 4px;

    background:
        rgba(46,125,50,.13);

    border:
        1px solid rgba(46,125,50,.35);

    color:
        #70c276;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 22px;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.badge i {
    font-size: 13px;
}

.hero h1 {

    font-size:
        clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    color: white;

    max-width: 620px;
}

.hero h1 span {

    color: var(--encanto-green-light);
}

.hero-content > p {

    margin-top: 25px;

    max-width: 540px;

    color: var(--grey);

    font-size: 17px;

    line-height: 1.8;
}


/* ================= HERO BUTTONS ================= */

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 32px;
}

.primary-button,
.secondary-button {

    padding: 14px 22px;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    transition: .2s;
}

.primary-button {

    background:
        var(--encanto-green);

    color: white;
}

.primary-button:hover {

    background:
        var(--encanto-green-light);

    transform:
        translateY(-2px);
}

.secondary-button {

    border:
        1px solid var(--border-dark);

    background:
        var(--dark);

    color:
        var(--grey-light);
}

.secondary-button:hover {

    border-color:
        var(--encanto-green);

    color: white;
}


/* ================= HERO NOTE ================= */

.hero-note {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color: #777980;

    font-size: 11px;
}

.hero-note i {

    color:
        var(--encanto-green-light);

    font-size: 15px;
}


/* =========================================================
   POS DASHBOARD MOCKUP
   ========================================================= */

.hero-dashboard {

    perspective: 1300px;
}

.dashboard-window {

    background:
        #101114;

    border:
        1px solid #37383e;

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        var(--shadow-dark);

    transform:
        rotateY(-5deg)
        rotateX(2deg);

    transition: .4s;
}

.dashboard-window:hover {

    transform:
        rotateY(-2deg)
        rotateX(1deg)
        translateY(-5px);
}


/* ================= WINDOW BAR ================= */

.dashboard-top {

    height: 38px;

    background:
        #202126;

    border-bottom:
        1px solid #34353a;

    display: flex;

    align-items: center;

    padding: 0 13px;
}

.window-controls {

    display: flex;

    gap: 5px;
}

.window-controls span {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background:
        #55565b;
}

.dashboard-title {

    flex: 1;

    text-align: center;

    font-size: 10px;

    color:
        #777980;
}


/* ================= DASHBOARD BODY ================= */

.dashboard-body {

    display: flex;

    min-height: 405px;

    background:
        #101114;
}


/* ================= SIDEBAR ================= */

.sidebar {

    width: 55px;

    background:
        #1c1d21;

    border-right:
        1px solid #303137;

    padding-top: 13px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 13px;
}

.side-logo {

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

    border-radius: 6px;

    background:
        var(--encanto-green);

    color: white;

    font-size: 13px;

    font-weight: 900;

    margin-bottom: 8px;
}

.side-item {

    width: 32px;

    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 5px;

    color: #85868c;

    font-size: 14px;
}

.side-item.active {

    background:
        #303137;

    color:
        white;

    border-left:
        2px solid var(--encanto-green);
}


/* ================= MAIN ================= */

.dashboard-main {

    flex: 1;

    padding: 22px;

    background:
        #121317;
}

.dashboard-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.dashboard-heading small {

    font-size: 9px;

    color:
        #74757a;
}

.dashboard-heading h3 {

    font-size: 15px;

    color:
        #eeeeee;
}

.profile-circle {

    width: 29px;

    height: 29px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        #303137;

    color:
        #eeeeee;

    font-size: 10px;

    font-weight: 700;
}


/* ================= STATS ================= */

.stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 19px;
}

.stat-card {

    padding: 13px;

    background:
        #202126;

    border:
        1px solid #33343a;

    border-radius: 5px;
}

.stat-icon {

    width: 26px;

    height: 26px;

    display: grid;

    place-items: center;

    border-radius: 5px;

    background:
        rgba(46,125,50,.16);

    color:
        #5caf61;

    font-size: 11px;

    margin-bottom: 8px;
}

.stat-card small {

    display: block;

    color:
        #777980;

    font-size: 8px;
}

.stat-card strong {

    display: block;

    margin: 3px 0;

    color:
        #eeeeee;

    font-size: 14px;
}

.positive {

    color:
        #62b967;

    font-size: 8px;
}

.neutral {

    color:
        #777980;

    font-size: 8px;
}


/* ================= CHART ================= */

.dashboard-chart {

    margin-top: 12px;

    background:
        #202126;

    border:
        1px solid #33343a;

    border-radius: 5px;

    padding: 14px;
}

.chart-header {

    display: flex;

    justify-content: space-between;

    font-size: 9px;
}

.chart-header span {

    color:
        #777980;
}

.fake-chart {

    height: 125px;

    display: flex;

    align-items: end;

    gap: 9px;

    margin-top: 12px;
}

.fake-chart div {

    flex: 1;

    background:
        var(--encanto-green);

    opacity: .75;

    border-radius:
        3px 3px 0 0;
}


/* =========================================================
   TRUST BAR
   ========================================================= */

.trust {

    background:
        var(--dark);

    border-top:
        1px solid var(--border-dark);

    border-bottom:
        1px solid var(--border-dark);
}

.trust-container {

    max-width: 1100px;

    margin: auto;

    padding: 24px 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.trust-container div {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        #999aa0;

    font-size: 12px;
}

.trust-container i {

    color:
        var(--encanto-green-light);

    font-size: 15px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {

    max-width: 1200px;

    margin: auto;

    padding: 110px 25px;
}

.section-heading {

    max-width: 700px;

    margin: auto;

    text-align: center;
}

.section-label {

    color:
        var(--encanto-green-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 13px;
}

.section-heading h2,
.offline-content h2,
.about h2 {

    font-size:
        clamp(34px, 4vw, 49px);

    line-height: 1.1;

    letter-spacing: -1.7px;

    color: white;
}

.section-heading p {

    margin-top: 17px;

    color:
        var(--grey);

    font-size: 14px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-grid {

    margin-top: 65px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.feature-card {

    padding: 27px;

    background:
        var(--dark);

    border:
        1px solid var(--border-dark);

    border-radius: 7px;

    transition: .25s;
}

.feature-card:hover {

    transform:
        translateY(-5px);

    border-color:
        #3f7042;

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);
}

.feature-icon {

    width: 43px;

    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 6px;

    background:
        rgba(46,125,50,.13);

    color:
        #62b967;

    font-size: 18px;

    margin-bottom: 19px;
}

.feature-card h3 {

    font-size: 15px;

    color:
        #eeeeee;
}

.feature-card p {

    margin-top: 9px;

    color:
        #85868c;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   OFFLINE SECTION
   ========================================================= */

.offline-section {

    background:
        var(--dark);

    border-top:
        1px solid var(--border-dark);

    border-bottom:
        1px solid var(--border-dark);
}

.offline-container {

    max-width: 1200px;

    margin: auto;

    padding: 100px 25px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.offline-content p {

    margin-top: 22px;

    max-width: 500px;

    color:
        #8d8e94;

    font-size: 14px;

    line-height: 1.8;
}


/* ================= OFFLINE VISUAL ================= */

.offline-visual {

    display: flex;

    justify-content: center;
}

.offline-card {

    width: 320px;

    padding: 35px;

    border-radius: 8px;

    background:
        #16171b;

    border:
        1px solid #37383d;

    text-align: center;

    box-shadow:
        0 25px 60px rgba(0,0,0,.4);
}

.offline-icon {

    width: 65px;

    height: 65px;

    display: grid;

    place-items: center;

    margin:
        auto auto 20px;

    border-radius: 50%;

    background:
        rgba(46,125,50,.13);

    color:
        #61b567;

    font-size: 24px;
}

.offline-card strong {

    color:
        #eeeeee;

    font-size: 15px;
}

.offline-card p {

    color:
        #777980;

    font-size: 12px;

    margin: 5px 0 20px;
}

.offline-status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 11px;

    border-radius: 3px;

    background:
        #202126;

    color:
        #70bc75;

    font-size: 10px;
}

.offline-status span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        #3ca542;
}


/* ================= CHECK LIST ================= */

.check-list {

    margin-top: 25px;

    display: grid;

    gap: 12px;
}

.check-list div {

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        #b8b9bd;

    font-size: 12px;
}

.check-list i {

    color:
        var(--encanto-green-light);
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps {

    margin-top: 65px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.step {

    text-align: center;

    max-width: 260px;
}

.step-number {

    width: 54px;

    height: 54px;

    display: grid;

    place-items: center;

    margin:
        auto auto 18px;

    border-radius: 6px;

    background:
        rgba(46,125,50,.13);

    border:
        1px solid rgba(46,125,50,.3);

    color:
        #6abe70;

    font-size: 12px;

    font-weight: 800;
}

.step h3 {

    font-size: 16px;

    color:
        #eeeeee;
}

.step p {

    margin-top: 8px;

    color:
        #85868c;

    font-size: 12px;
}

.step-line {

    width: 90px;

    height: 1px;

    background:
        var(--border-dark);

    margin:
        0 20px;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {

    background:
        #eeeeef;

    color:
        #1e1f24;

    padding:
        110px 25px;
}

.pricing-wrapper {
    display: 
        flex;

    align-items: 
        center;

    justify-content: 
        space-evenly;
}

.pricing-wrapper s {
    color: grey;
    opacity: .3;
}

.pricing-section .section-heading h2 {

    color:
        #1e1f24;
}

.pricing-section .section-heading p {

    color:
        #6c6d72;
}

.pricing-card {

    max-width: 500px;

    margin: 45px auto 0;

    padding: 35px;

    background:
        #ffffff;

    border:
        1px solid #d7d7d9;

    border-radius: 8px;

    box-shadow:
        var(--shadow-light);
}

.pricing-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom:
        1px solid #e2e2e3;
}

.pricing-name {

    color:
        var(--encanto-green);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .8px;
}

.pricing-top h3 {

    font-size: 48px;

    margin-top: 5px;

    color:
        #1e1f24;

    letter-spacing: -2px;
}

.pricing-top h3 small {

    font-size: 12px;

    color:
        #88898d;

    letter-spacing: 0;
}

.pricing-top p {

    color:
        #777980;

    font-size: 12px;
}

.popular {

    height: fit-content;

    padding: 6px 9px;

    border-radius: 3px;

    background:
        rgba(46,125,50,.10);

    color:
        var(--encanto-green);

    font-size: 8px;

    font-weight: 800;
}


/* ================= PRICING FEATURES ================= */

.pricing-features {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

    padding: 25px 0;
}

.pricing-features div {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        #45464a;

    font-size: 12px;
}

.pricing-features i {

    color:
        var(--encanto-green);
}


/* ================= PRICING BUTTON ================= */

.pricing-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 14px;

    border-radius: 5px;

    background:
        var(--encanto-green);

    color:
        white;

    font-size: 13px;

    font-weight: 700;

    transition: .2s;
}

.pricing-button:hover {

    background:
        var(--encanto-green-light);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about p {

    color:
        #85868c;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {

    background:
        var(--encanto-green);

    color:
        white;

    text-align: center;

    position: relative;

    overflow: hidden;
}

.cta::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

    top: -300px;

    right: -100px;
}

.cta-container {

    max-width: 700px;

    margin: auto;

    padding: 100px 25px;

    position: relative;

    z-index: 1;
}

.cta-icon {

    font-size: 27px;

    margin-bottom: 15px;
}

.cta h2 {

    font-size:
        clamp(35px, 5vw, 52px);

    line-height: 1.08;

    letter-spacing: -2px;
}

.cta p {

    margin-top: 15px;

    color:
        rgba(255,255,255,.78);

    font-size: 14px;
}

.cta-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 28px;

    padding: 14px 24px;

    border-radius: 5px;

    background:
        white;

    color:
        var(--encanto-green);

    font-weight: 700;

    font-size: 13px;

    transition: .2s;
}

.cta-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.2);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {

    background:
        var(--dark-3);
}

.contact-grid {

    margin-top: 50px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.contact-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    background:
        var(--dark);

    border:
        1px solid var(--border-dark);

    border-radius: 6px;

    transition: .2s;
}

.contact-card:hover {

    border-color:
        #3d6940;
}

.contact-card > i {

    font-size: 21px;

    color:
        var(--encanto-green-light);
}

.contact-card strong {

    display: block;

    font-size: 12px;

    color:
        #eeeeee;
}

.contact-card span {

    display: block;

    color:
        #777980;

    font-size: 11px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    background:
        #0b0c0f;

    color:
        white;

    padding:
        65px 25px 25px;

    border-top:
        1px solid #25262b;
}

.footer-container {

    max-width: 1200px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 80px;
}

.footer-brand p {

    color:
        #5e6067;

    font-size: 11px;

    margin-top: 12px;
}

.footer-links {

    display: flex;

    gap: 90px;
}

.footer-links div {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links strong {

    font-size: 11px;

    margin-bottom: 5px;
}

.footer-links a {

    color:
        #6f7178;

    font-size: 11px;

    transition: .2s;
}

.footer-links a:hover {

    color:
        white;
}


/* ================= FOOTER BOTTOM ================= */

.footer-bottom {

    max-width: 1200px;

    margin:
        55px auto 0;

    padding-top: 20px;

    border-top:
        1px solid #202126;

    display: flex;

    justify-content: space-between;

    color:
        #55575e;

    font-size: 10px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    nav {

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;

        background:
            #15161a;

        border-bottom:
            1px solid var(--border-dark);
    }

    nav.open {

        display: flex;
    }

    .nav-button {

        display: none;
    }

    .menu-button {

        display: block;
    }


    .hero-container {

        grid-template-columns:
            1fr;

        padding-top:
            65px;
    }

    .hero-dashboard {

        margin-top:
            15px;
    }


    .features-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .offline-container {

        grid-template-columns:
            1fr;
    }


    .about-container {

        grid-template-columns:
            1fr;
    }


    .trust-container {

        flex-wrap: wrap;

        justify-content: center;
    }


    .contact-grid {

        grid-template-columns:
            1fr;
    }


    .footer-container {

        flex-direction:
            column;
    }

    .footer-links {

        gap: 50px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .nav-container {

        height: 68px;
    }

    nav {

        top: 68px;
    }


    .hero-container {

        padding:
            55px 20px 70px;
    }

    .hero h1 {

        font-size:
            48px;

        letter-spacing:
            -2px;
    }


    .hero-buttons {

        flex-direction:
            column;
    }

    .primary-button,
    .secondary-button {

        width:
            100%;
    }


    .dashboard-window {

        transform:
            none;
    }

    .dashboard-window:hover {

        transform:
            none;
    }

    .dashboard-main {

        padding:
            14px;
    }


    .stats {

        grid-template-columns:
            1fr;
    }


    .sidebar {

        width:
            44px;
    }


    .features-grid {

        grid-template-columns:
            1fr;
    }


    .section {

        padding:
            80px 20px;
    }


    .offline-container {

        padding:
            80px 20px;
    }


    .steps {

        flex-direction:
            column;

        gap:
            30px;
    }

    .step-line {

        width:
            1px;

        height:
            40px;

        margin:
            0;
    }


    .pricing-section {

        padding:
            80px 20px;
    }

    .pricing-wrapper {
        display: 
            block;

        align-items: 
            center;

        justify-content: 
            space-evenly;
    }


    .pricing-card {

        padding:
            25px;
    }


    .pricing-features {

        grid-template-columns:
            1fr;
    }


    .contact-grid {

        grid-template-columns:
            1fr;
    }


    .footer-links {

        display:
            grid;

        grid-template-columns:
            1fr 1fr;

        gap:
            35px;
    }


    .footer-bottom {

        flex-direction:
            column;

        gap:
            8px;
    }
}