:root{
    --primary:#16a34a;
    --ink:#10231b;
    --muted:#607067;
    --line:#dfe8e3;
    --soft:#f4faf6
}

*{
    box-sizing:border-box
}

html{
    scroll-behavior:smooth
}

body{
    margin:0;
    font-family:Inter,system-ui,sans-serif;
    color:var(--ink);
    line-height:1.65
}

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

.container{
    width:min(1160px,92%);
    margin:auto
}


/* =========================
   HEADER
========================= */

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:#fff;
    border-bottom:1px solid var(--line)
}

.nav-wrap{
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    font-size:21px
}

.logo img{
    width:38px;
    height:38px
}

.nav{
    display:flex;
    align-items:center;
    gap:24px;
    font-size:14px;
    font-weight:600
}

.nav a:hover,
.nav .active{
    color:var(--primary)
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:#fff;
    padding:13px 22px;
    border-radius:10px;
    font-weight:700;
    border:1px solid var(--primary)
}

.btn-outline{
    background:#fff;
    color:var(--primary)
}

.btn-light{
    background:#fff;
    color:var(--primary)
}

.btn-sm{
    padding:10px 16px
}

.full{
    width:100%
}

.menu-btn{
    display:none;
    border:0;
    background:none;
    font-size:25px;
    cursor:pointer
}


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

.hero{
    padding:92px 0 70px;
    background:linear-gradient(180deg,#fbfffc,#fff)
}

.hero-grid,
.split-panel,
.two-col,
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center
}

.eyebrow{
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:12px;
    font-weight:800;
    color:var(--primary)
}

h1{
    font-size:clamp(42px,6vw,72px);
    line-height:1.05;
    letter-spacing:-.045em;
    margin:16px 0 22px
}

h2{
    font-size:clamp(30px,4vw,48px);
    line-height:1.1;
    letter-spacing:-.035em;
    margin:12px 0 18px
}

h3{
    line-height:1.2
}

.hero-text,
.page-hero p{
    font-size:18px;
    color:var(--muted);
    max-width:650px
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:30px 0
}

.trust-line{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    color:#4b5e54;
    font-size:13px
}


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

.dashboard-card,
.automation-box,
.feature-demo{
    background:#0d1e16;
    color:#fff;
    border-radius:22px;
    padding:20px;
    box-shadow:0 18px 60px rgba(15,35,27,.12)
}

.dash-top{
    border-bottom:1px solid #244b3a;
    padding:8px 4px 16px
}

.dot{
    display:inline-block;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#86efac;
    margin-right:5px
}

.dash-top b{
    margin-left:12px
}

.chat-area{
    padding:20px 5px
}

.mini-stat{
    display:inline-flex;
    flex-direction:column;
    background:#173328;
    padding:12px 15px;
    border-radius:12px;
    margin:3px;
    width:30%
}

.mini-stat small,
.chat-row small{
    color:#a9bdb3
}

.chat-row{
    display:flex;
    align-items:center;
    gap:12px;
    background:#132a20;
    border-radius:12px;
    padding:12px;
    margin-top:10px
}

.avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#1f8f52
}

.chat-row div{
    flex:1
}

.badge{
    font-size:10px;
    background:#1d5c3c;
    padding:5px 8px;
    border-radius:20px
}

.flow{
    margin-top:18px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    font-size:11px
}

.flow span{
    background:#173b2c;
    padding:8px 10px;
    border-radius:8px
}


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

.stats{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line)
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr)
}

.stats-grid div{
    padding:28px;
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column
}

.stats-grid strong{
    font-size:28px
}

.stats-grid span{
    color:var(--muted);
    font-size:13px
}


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

.section{
    padding:95px 0
}

.muted{
    background:var(--soft)
}

.section-head{
    max-width:720px;
    margin-bottom:40px
}

.section-head p,
.card p,
.industry p{
    color:var(--muted)
}


/* =========================
   CARDS
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px
}

.card,
.price-card,
.industry{
    border:1px solid var(--line);
    border-radius:16px;
    padding:25px;
    background:#fff;
    transition:.2s
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 60px rgba(15,35,27,.09)
}

.icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:#e7f8ec;
    display:grid;
    place-items:center;
    color:var(--primary);
    font-size:20px
}

.learn{
    color:var(--primary);
    font-weight:700;
    font-size:13px
}


/* =========================
   JOURNEY / INDUSTRIES
========================= */

.journey,
.industry-grid,
.solution-grid,
.pricing-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px
}

.journey>div{
    padding:25px;
    border-radius:16px;
    background:#f7faf8;
    border:1px solid var(--line)
}

.journey b{
    color:var(--primary)
}

.industry>span,
.big-icon{
    font-size:32px
}


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

.page-hero{
    padding:90px 0;
    background:linear-gradient(135deg,#effbf2,#fff)
}


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

.pricing-grid{
    grid-template-columns:repeat(3,1fr)
}

.price-card.featured{
    border:2px solid var(--primary);
    box-shadow:0 18px 60px rgba(15,35,27,.09);
    transform:translateY(-8px)
}

.price-card h2{
    font-size:40px
}

.price-card h2 small{
    font-size:13px;
    color:var(--muted)
}

.price-card li{
    margin:9px 0
}


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

.contact-form{
    display:flex;
    flex-direction:column;
    gap:15px;
    padding:30px;
    border:1px solid var(--line);
    border-radius:18px
}

.contact-form label{
    font-weight:700;
    font-size:13px
}

.contact-form input,
.contact-form textarea{
    width:100%;
    margin-top:6px;
    padding:13px;
    border:1px solid var(--line);
    border-radius:9px;
    font:inherit
}


/* =========================
   FAQ / LEGAL
========================= */

.faq{
    max-width:850px
}

.faq details{
    border-bottom:1px solid var(--line);
    padding:20px 0
}

.faq summary{
    cursor:pointer;
    font-weight:750;
    display:flex;
    justify-content:space-between
}

.legal{
    max-width:850px
}


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

.cta-section{
    padding:80px 0;
    background:var(--primary);
    color:#fff
}

.cta-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px
}

.cta-section .eyebrow{
    color:#d9ffe4
}


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

.footer{
    background:#0b1711;
    color:#b6c8bd;
    padding:65px 0 20px
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px
}

.footer h4{
    color:#fff
}

.footer a{
    display:block;
    margin:8px 0;
    font-size:14px
}

.footer-logo{
    color:#fff
}


/* =========================
   COPYRIGHT
========================= */

.footer-bottom{
    border-top:1px solid #1e3026;
    margin-top:40px;
    padding:20px 0 0;
    font-size:12px;
    text-align:center;
    white-space:nowrap;
    width:100%;
    overflow:hidden;
}

.footer-bottom a{
    display:inline !important;
    margin:0 !important;
    font-size:inherit;
}


/* =========================
   DEMO / QUOTE
========================= */

.demo-row{
    display:flex;
    justify-content:space-between;
    padding:17px 0;
    border-bottom:1px solid rgba(255,255,255,.1)
}

.demo-row b{
    color:#86efac;
    font-size:12px
}

.quote-box{
    padding:40px;
    border-radius:22px;
    background:#0d1e16;
    color:#fff;
    display:flex;
    flex-direction:column;
    gap:12px
}

.quote-box b{
    font-size:34px
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top{
    position:fixed;
    right:18px;
    bottom:18px;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:18px;
    font-weight:700;
    line-height:1;
    padding:0;
    display:none;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:9999;
    box-shadow:0 3px 10px rgba(0,0,0,.18)
}

.back-to-top.show{
    display:flex
}

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


/* =========================
   TABLET
========================= */

@media(max-width:900px){

    .nav{
        display:none;
        position:absolute;
        top:76px;
        left:0;
        right:0;
        background:#fff;
        padding:20px;
        flex-direction:column;
        align-items:stretch;
        border-bottom:1px solid var(--line)
    }

    .nav.open{
        display:flex
    }

    .menu-btn{
        display:block
    }

    .hero-grid,
    .split-panel,
    .two-col,
    .contact-grid{
        grid-template-columns:1fr
    }

    .cards{
        grid-template-columns:repeat(2,1fr)
    }

    .journey,
    .industry-grid,
    .solution-grid{
        grid-template-columns:repeat(2,1fr)
    }

    .pricing-grid{
        grid-template-columns:1fr
    }

    .price-card.featured{
        transform:none
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr)
    }

    .footer-grid{
        grid-template-columns:1fr 1fr
    }
}


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

@media(max-width:600px){

    h1{
        font-size:42px
    }

    .section{
        padding:65px 0
    }

    .cards,
    .journey,
    .industry-grid,
    .solution-grid,
    .stats-grid,
    .footer-grid{
        grid-template-columns:1fr
    }

    .mini-stat{
        width:100%
    }

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

    .footer-bottom{
        white-space:normal;
        overflow:visible;
        text-align:center;
        line-height:1.6
    }
}