
/* =========================================
   BAMBOOZA POS WEBSITE
   Main Stylesheet
   ========================================= */

/* 1. GLOBAL SETTINGS */

:root {
    --primary: #07866c;
    --primary-dark: #056b57;
    --primary-light: #e1f5ee;

    --dark: #10251f;
    --dark-green: #0b211b;

    --text: #425a51;
    --muted: #647a71;

    --white: #ffffff;
    --soft: #f3f8f6;
    --border: #dceae4;

    --shadow: 0 24px 60px rgba(16, 45, 36, 0.12);
    --shadow-raised: 0 28px 55px rgba(13, 69, 53, 0.18);

    --radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--dark);
    background: #fbfdfc;
    line-height: 1.65;
    overflow-x: hidden;
}

body.lock {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--primary);
    color: white;
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.soft {
    background: var(--soft);
}


/* 2. ACCESSIBILITY */

.skip {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 200;
    background: var(--dark);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
}

.skip:focus {
    top: 10px;
}

:focus-visible {
    outline: 3px solid #20a879;
    outline-offset: 4px;
}


/* 3. HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(251, 253, 252, 0.88);
    border-bottom: 1px solid rgba(220, 234, 228, 0.8);
    backdrop-filter: blur(18px);
}

.head {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    width: 185px;
    height: 62px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 650;
}

nav a {
    color: var(--dark);
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}


/* 4. BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: linear-gradient(135deg, #079678, #06745e);
    color: white;

    padding: 13px 21px;

    border: 1px solid transparent;
    border-radius: 30px;

    font-weight: 750;
    font-size: 14px;
    box-shadow: 0 9px 20px rgba(7, 134, 108, 0.2);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #07866c, #045e4c);
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(7, 105, 83, 0.27);
}

.head-cta {
    padding: 10px 17px;
    font-size: 13px;
    white-space: nowrap;
}

.ghost {
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: 0 7px 18px rgba(16, 45, 36, 0.06);
}

.ghost:hover {
    background: white;
    color: var(--primary-dark);
    border-color: #b6dfcf;
}


/* 5. MOBILE MENU BUTTON */

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px;
}

.menu-btn i {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    margin: 5px auto;
    border-radius: 2px;
    transition: 0.2s ease;
}


/* 6. HERO SECTION */

.hero {
    position: relative;
    isolation: isolate;
    padding: 104px 0 100px;

    background:
        radial-gradient(
            ellipse at 82% 28%,
            rgba(184, 232, 210, 0.68),
            transparent 35%
        ),
        radial-gradient(ellipse at 4% 92%, rgba(226, 244, 236, 0.85), transparent 34%),
        linear-gradient(180deg, #f8fcfa, #f1f8f5);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 50px;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin: 18px 0;
    font-weight: 800;
    text-wrap: balance;
}

h1 em,
h2 em {
    color: var(--primary);
    font-style: normal;
}

.lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 570px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.ticks {
    display: flex;
    gap: 12px 20px;
    flex-wrap: wrap;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.ticks li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 7px;
}

.hero-shot {
    position: relative;
    z-index: 0;
    padding: 16px;
    background: linear-gradient(145deg, #ffffff, #edf7f2);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow:
        0 34px 70px rgba(16, 62, 47, 0.18),
        0 8px 20px rgba(16, 62, 47, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: visible;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    animation: dashboard-float 6.5s ease-in-out infinite;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-shot::before {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 12% -8% -10% 12%;
    border-radius: 30px;
    background: rgba(29, 166, 119, 0.2);
    filter: blur(32px);
    transform: translateZ(-30px);
}

.hero-shot:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(0);
    box-shadow: 0 40px 80px rgba(16, 62, 47, 0.22);
}

.hero-shot img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: contain;
    border-radius: 12px;
}

@keyframes dashboard-float {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}


/* Scroll-in animation, enabled only when JavaScript and motion are available */

.motion-ready .reveal {
    opacity: 0;
    translate: 0 22px;
    transition:
        opacity 0.65s ease,
        translate 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}


/* 7. TRUST STRIP */

.proof {
    background: linear-gradient(105deg, #075a49, #087c62 55%, #075a49);
    color: white;
    padding: 22px 0;
    box-shadow: 0 12px 28px rgba(7, 83, 65, 0.16);
}

.proof-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
}

.proof-row span::before {
    content: "✓";
    color: #9ee3c1;
    margin-right: 7px;
}


/* 8. SECTION HEADINGS */

.heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.heading h2,
.split h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin: 12px 0;
}

.heading > p:last-child,
.split p {
    color: var(--muted);
    line-height: 1.8;
}


/* 9. FEATURE CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.cards article {
    position: relative;
    overflow: hidden;
    padding: 27px;
    background: linear-gradient(145deg, #ffffff, #f8fcfa);
    border: 1px solid rgba(220, 234, 228, 0.9);
    border-radius: var(--radius);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.25s ease;
    box-shadow: 0 5px 16px rgba(20, 54, 42, 0.035);
}

.cards article:hover {
    transform: perspective(900px) translateY(-7px) rotateX(2deg);
    border-color: #b8ddca;
    box-shadow: var(--shadow-raised);
}

.cards article > b {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;

    border-radius: 15px;
    background: linear-gradient(145deg, #e5f7ef, #ccebdd);
    color: var(--primary);

    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 12px rgba(7, 134, 108, 0.08);
}

.cards h3 {
    font-size: 18px;
    margin: 16px 0 8px;
}

.cards p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}


/* 10. BUSINESS TYPES */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags span {
    display: inline-flex;
    align-items: center;

    background: linear-gradient(145deg, #ffffff, #f0f8f4);
    color: var(--primary);

    border: 1px solid var(--border);
    border-radius: 40px;

    padding: 13px 18px;
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 18px rgba(16, 45, 36, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tags span:hover {
    background: linear-gradient(135deg, #07866c, #056b57);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(7, 105, 83, 0.2);
}


/* 11. HOW IT WORKS */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.steps article {
    padding: 25px;
    background: linear-gradient(145deg, #ffffff, #f4faf7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 45, 36, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.steps article > b {
    color: var(--primary);
    font-size: 15px;
    font-weight: 850;
}

.steps h3 {
    font-size: 18px;
    margin: 16px 0 8px;
}

.steps p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}


/* 12. SCREENSHOT GALLERY */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery button {
    display: block;
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;

    background: linear-gradient(145deg, #ffffff, #f5faf7);
    text-align: left;
    box-shadow: 0 7px 20px rgba(16, 45, 36, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.gallery button:hover {
    transform: perspective(900px) translateY(-6px) rotateX(1deg);
    box-shadow: var(--shadow-raised);
    border-color: #b8ddca;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: contain;
    background: linear-gradient(145deg, #edf5f1, #e4eee9);
    transition: transform 0.45s ease;
}

.gallery button:hover img {
    transform: scale(1.035);
}

.gallery span {
    display: block;
    padding: 13px 14px;
    font-size: 13px;
    font-weight: 750;
    color: var(--dark);
}


/* 13. PRICING SECTION */

.price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.price h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin: 13px 0;
}

.price p {
    color: var(--muted);
    line-height: 1.8;
}

.check {
    padding-left: 20px;
    margin: 22px 0;
    color: var(--text);
}

.check li {
    margin-bottom: 10px;
}

.check li::marker {
    color: var(--primary);
}

.price-shot {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #edf7f2);
    box-shadow: 0 28px 60px rgba(16, 62, 47, 0.14);
    transform: perspective(1000px) rotateY(3deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.price-shot:hover {
    transform: perspective(1000px) rotateY(0) translateY(-4px);
    box-shadow: var(--shadow-raised);
}

.price-shot img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: contain;
}


/* 14. FAQ */

.faq {
    background: var(--soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.faq-grid h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-top: 12px;
}

.faq details {
    background: linear-gradient(145deg, #ffffff, #f9fcfa);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 16px 18px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(16, 45, 36, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
    border-color: #acd6bf;
    box-shadow: 0 10px 24px rgba(16, 45, 36, 0.08);
}

.faq summary {
    cursor: pointer;
    font-weight: 750;
    color: var(--dark);
    list-style-position: inside;
}

.faq details p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin-top: 12px;
}


/* 15. CONTACT SECTION */

.contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 8% 12%, rgba(68, 191, 142, 0.18), transparent 34%),
        linear-gradient(135deg, #082f27, #08765d 65%, #075b4a);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}

.contact h2 {
    font-size: clamp(32px, 4vw, 46px);
    margin: 15px 0;
}

.contact p {
    color: #d7e9df;
    margin-bottom: 15px;
}

.contact a:not(.btn) {
    color: white;
    font-weight: 750;
}

.contact .eyebrow {
    color: #a8ebc8;
}


/* 16. ENQUIRY FORM */

.form {
    background: linear-gradient(145deg, #ffffff, #f3faf6);
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.2), inset 0 1px 0 white;
}

.form h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.form label {
    display: block;
    font-size: 12px;
    font-weight: 750;
    margin: 14px 0 5px;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 13px;

    border: 1px solid #d7e7df;
    border-radius: 11px;

    background: white;
    color: var(--dark);

    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 127, 91, 0.10);
}

.form textarea {
    resize: vertical;
    min-height: 100px;
}

.form button {
    width: 100%;
    margin-top: 17px;
}

.small {
    font-size: 11px;
    color: #718077;
    line-height: 1.7;
}

.form .small {
    color: #718077;
}


/* 17. FOOTER */

.footer {
    background: var(--dark-green);
    color: #d8e5dd;
    padding: 40px 0 22px;
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.foot img {
    width: 200px;
    height: 75px;
    object-fit: contain;
}

.foot p {
    color: #b6c9bd;
    font-size: 13px;
    margin-top: 7px;
}

.foot-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
}

.foot-links a {
    transition: color 0.2s ease;
}

.foot-links a:hover {
    color: #8be0b5;
}

.footer > .wrap:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 16px;
}


/* 18. FLOATING WHATSAPP */

.float-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #20a85f, #118347);
    color: white;

    padding: 13px 19px;
    border-radius: 40px;

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 12px 28px rgba(12, 91, 53, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.float-wa:hover {
    background: linear-gradient(135deg, #168f50, #0d713d);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 32px rgba(12, 91, 53, 0.34);
}


/* 19. IMAGE LIGHTBOX */

.lightbox {
    display: none;

    position: fixed;
    inset: 0;
    z-index: 100;

    background: rgba(6, 19, 14, 0.94);

    align-items: center;
    justify-content: center;

    padding: 55px 70px;
}

.lightbox.open {
    display: flex;
}

.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 1100px;
    width: 100%;
}

.lightbox img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: white;
    border-radius: 8px;
}

.lightbox p {
    color: white;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

.lb-btn {
    position: absolute;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);
    color: white;

    font-size: 27px;
    line-height: 1;

    transition: background 0.2s ease;
}

.lb-btn:hover {
    background: var(--primary);
}

.lb-close {
    top: 18px;
    right: 20px;
}

.lb-prev {
    left: 15px;
}

.lb-next {
    right: 15px;
}


/* 20. LEGAL PAGES */

.legal {
    max-width: 850px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.legal h1 {
    font-size: 44px;
    margin: 15px 0;
}

.legal h2 {
    font-size: 22px;
    margin-top: 28px;
    margin-bottom: 10px;
}

.legal p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
}


/* 21. TABLET RESPONSIVENESS */

@media (max-width: 1000px) {

    .head {
        gap: 15px;
    }

    nav {
        gap: 16px;
        font-size: 13px;
    }

    .hero-grid {
        gap: 30px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* 22. MOBILE RESPONSIVENESS */

@media (max-width: 850px) {

    .hero-grid,
    .split,
    .price,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid,
    .contact-grid {
        gap: 28px;
    }

    .hero-shot {
        transform: none;
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-shot:hover {
        transform: none;
    }

}


/* 23. MOBILE NAVIGATION */

@media (max-width: 700px) {

    .section {
        padding: 65px 0;
    }

    .head {
        height: 70px;
    }

    .logo {
        width: 165px;
        height: 58px;
    }

    .menu-btn {
        display: block;
        order: 3;
    }

    .menu-btn i {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .menu-btn[aria-expanded="true"] i:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-btn[aria-expanded="true"] i:nth-child(2) {
        opacity: 0;
    }

    .menu-btn[aria-expanded="true"] i:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .head-cta {
        display: none;
    }

    nav {
        display: none;

        position: absolute;
        top: 69px;
        left: 0;
        right: 0;

        padding: 15px 22px;

        background: white;
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.08);

        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    nav.open {
        display: flex;
        animation: menu-drop-in 0.2s ease-out both;
    }

    nav a {
        padding: 12px 0;
        border-bottom: 1px solid #e6eee9;
    }

    .hero {
        text-align: center;
        padding: 72px 0 66px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .lead {
        margin: 0 auto;
    }

    .actions,
    .ticks {
        justify-content: center;
    }

    .proof-row {
        justify-content: center;
        text-align: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}

@keyframes menu-drop-in {
    from {
        opacity: 0;
        translate: 0 -8px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}


/* 24. SMALL MOBILE SCREENS */

@media (max-width: 480px) {

    .wrap {
        width: calc(100% - 30px);
    }

    h1 {
        font-size: 39px;
    }

    .cards,
    .steps,
    .gallery {
        grid-template-columns: 1fr;
    }

    .actions .btn {
        width: 100%;
    }

    .hero-shot {
        padding: 9px;
    }

    .form {
        padding: 20px;
    }

    .lightbox {
        padding: 55px 15px;
    }

    .lb-prev {
        left: 5px;
    }

    .lb-next {
        right: 5px;
    }

    .foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .foot-links {
        gap: 12px;
    }

    .float-wa {
        right: 12px;
        bottom: 12px;
        padding: 11px 16px;
    }

    .price-shot {
        transform: none;
    }

}


/* 25. REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero-shot {
        animation: none;
    }

}
