
/* ================= GLOBAL ================= */
* {
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
a { text-decoration: none; }

/* ================= PRELOADER ================= */
#bsp-preloader {
    position: fixed;
    inset: 0;
    background: #245c3b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.preloader-inner { text-align: center; }
.preloader-logo { width: 120px; margin-bottom: 25px; }
.loader-line {
    width: 220px;
    height: 2px;
    background: rgba(255,255,255,.3);
    overflow: hidden;
}
.loader-line span {
    width: 40%;
    height: 100%;
    background: #fff;
    display: block;
    animation: loading 1.6s infinite ease-in-out;
}
@keyframes loading {
    from { margin-left: -40%; }
    to { margin-left: 100%; }
}

/* ================= HEADER ================= */
.header {
    background: #245c3b;
    color: #fff;
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo { height: 30px; }

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 360px;
}
.hero-image {
    position: absolute;
    inset: 0;
    background: url('/content/images/banner.jpg') no-repeat left center / cover;
}
.hero-overlay {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: rgba(140,140,140,.85);
    display: flex;
    align-items: center;
    padding: 40px;
}
.hero-text {
    color: #fff;
    font-size: 26px;
    max-width: 320px;
}
.hero-curve {
    position: absolute;
    bottom: -70px;
    width: 100%;
    height: 90px;
    background: #fff;
    border-top-left-radius: 100% 80px;
    border-top-right-radius: 100% 80px;
}

/* ================= LOGIN ================= */
.login-section {
    padding: 120px 20px 40px;
}
.login-box {
    max-width: 420px;
    margin: auto;
}
.login-box input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    margin-bottom: 25px;
}
.btn {
    width: 100%;
    background: #1fad3f;
    color: #fff;
    border: none;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    cursor: pointer;
}
.login-links {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}
.login-links a {
    color: #245c3b;
    font-weight: 500;
}
.login-links span {
    margin: 0 8px;
    color: #999;
}

/* ================= PRODUCTS ================= */
.products {
    padding: 60px 20px;
    text-align: center;
}
.products h2 {
    font-size: 20px;
    margin-bottom: 40px;
}
.product-icons {
    display: flex;
    justify-content: center;
    gap: 180px;
}
.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7bc043;
}
.product i {
    font-size: 56px;
    margin-bottom: 12px;
}
.product span {
    font-size: 14px;
    color: #333;
}

/* ================= PROMO (SPLIT) ================= */
.promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}
.promo-text {
    background: #e9eef2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.promo-text h2 {
    font-size: 50px;
    color: #262626;
    line-height: 1.5;
}
.promo-bg {
    background: url('/content/images/goals.png') no-repeat center / cover;
    background-attachment: fixed;
}

/* ================= TOOLS ================= */
.tools {
    padding: 60px 20px;
    text-align: center;
}
.tool-icons {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 30px;
}
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7bc043;
}
.tool i {
    font-size: 48px;
    margin-bottom: 12px;
}
.tool span {
    font-size: 14px;
    color: #333;
}

/* ================= FOOTER ================= */
.bsp-footer {
    position: relative;
    background: url('/content/images/footer bg.jpg') center / cover no-repeat;
    color: #fff;
}
.bsp-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.85);
}
.footer-inner {
    position: relative;
    padding: 70px 20px 0;
}
.footer-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
}
.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}
.footer-col h3 {
    margin-bottom: 20px;
}
.footer-col a,
.footer-col p {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 40px;
}
.footer-socials a {
    width: 42px;
    height: 42px;
    border: 2px solid #8bc53f;
    color: #8bc53f;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.footer-bottom {
    background: #245c3b;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .hero { height: 220px; }
    .hero-overlay {
        width: 100%;
        background: rgba(0,0,0,.4);
    }
    .hero-text { font-size: 18px; }

    .product-icons,
    .tool-icons {
        flex-direction: column;
        gap: 30px;
    }

    .promo {
        grid-template-columns: 1fr;
    }
    .promo-bg {
        min-height: 220px;
        background-attachment: scroll;
    }
    .promo-text h2 {
        font-size: 26px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* ================= LOADING OVERLAY ================= */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(3px);
}

.spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255,255,255,.3);
    border-top-color: #8bc53f;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

}
