﻿
:root {
    /* Primary Colors */
    --color-primary: #2C4A89;
    --color-primary-dark: #1a2a4f;
    --color-primary-light: #4F8CFF;
    --color-accent: #AA122D;
    --color-accent-light: #c91a3b;
    /* Neutrals */
    --color-bg: #F8FAFC;
    --color-bg-white: #FFFFFF;
    --color-text: #101828;
    --color-text-muted: #667085;
    --color-border: rgba(0, 0, 0, 0.06);
    --color-border-hover: rgba(44, 74, 137, 0.15);
    /* Spacing (8px system) */
    --space-1: 10px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --space-7: 70px;
    --space-8: 80px;
    --space-9: 120px;
    /* Typography */
    --font-family: "Helvetica Neue", Arial, sans-serif;
    --font-h1: 52px;
    --font-h2: 36px;
    --font-h3: 22px;
    --font-body: 16px;
    --font-small: 14px;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.7;
    /* Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 35px -10px rgba(0, 0, 0, 0.05), 0 5px 12px -4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 30px 45px -15px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 60px rgba(44, 74, 137, 0.12);
    --shadow-btn: 0 8px 32px rgba(45, 73, 139, 0.15);
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/*  
   Base & Reset
     */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #101828;
    background: #F8FAFC;
}


/*   HEADER / SITE HEADER  */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

    .site-header .navbar-brand {
        padding: 0;
        margin: 0;
    }

    .site-header .imglogo {
        height: 55px;
        width: auto;
    }

/*  
   BUTTONS – Unified System
     */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--color-primary-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-btn);
    }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

    .btn-outline:hover,
    .btn-outline:focus {
        background: var(--color-primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-btn);
    }

.btn-lg {
    padding: 14px 36px;
    font-size: 18px;
    min-height: 56px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
    min-height: 40px;
}

/* --- Hero Buttons --- */
.btn-demo {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

    .btn-demo:hover {
        background: var(--color-primary-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-btn);
    }

.btn-watch {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

    .btn-watch:hover {
        background: var(--color-primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-btn);
    }

    .btn-watch i {
        font-size: 20px;
    }

/* --- Store Buttons --- */
.btn-store {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    transition: all var(--transition-base);
    min-height: 52px;
}

    .btn-store:hover {
        background: rgba(255, 255, 255, 0.16);
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.25);
    }

    .btn-store img {
        display: block;
    }

/* --- CTA Button --- */
.btn-cta {
    background: #0C50B4;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px 40px;
    font-weight: 700;
    font-size: 18px;
    transition: all var(--transition-base);
}

    .btn-cta:hover {
        background: var(--color-primary);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(79, 140, 255, 0.35);
    }

/*  
   SECTION PREMIUM – Base
     */
.section-premium {
    position: relative;
    padding: var(--space-8) 0;
}

.section-premium-light {
    background-color: var(--color-bg);
}

/*  
   HEADINGS
     */
.section-title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-1);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 1000px;
    margin: 0 auto;
    line-height: var(--line-height-loose);
}

/*  
   CARDS – Unified System
     */
.premium-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    height: 100%;
}

    .premium-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-border-hover);
    }

.premium-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: 8px;
}

.premium-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eef3fc 0%, #fff 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .premium-card-icon img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

.premium-card-iconfeature {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

    .premium-card-iconfeature i {
        font-size: 35px;
    }

.premium-card h3, h5, h4 {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: var(--line-height-tight);
}

.premium-card p {
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- Integration Cards (Images) --- */
.integration-img {
    height: 120px;
    object-fit: contain;
    width: 100%;
    max-width: 200px;
    margin: 0 auto var(--space-2);
    display: block;
}

/*  
   CLIENTS SECTION
     */
.clients-badge {
    display: inline-block;
    padding: 6px var(--space-2);
    background: linear-gradient(135deg, #eef3fc, #fff);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.clients-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: var(--line-height-tight);
}

    .clients-title mark {
        background: linear-gradient(120deg, rgba(170, 18, 45, 0.12) 0%, rgba(170, 18, 45, 0.04) 100%);
        color: var(--color-accent);
        padding: 0 8px;
        border-radius: var(--radius-sm);
    }

/*  
   TRUST BADGES
     */
.trust-badge {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 28px var(--space-2);
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

    .trust-badge:hover {
        transform: translateY(-4px);
        border-color: var(--color-border-hover);
        box-shadow: var(--shadow-lg);
    }

.trust-icon {
    max-height: 120px;
    width: auto;
    margin-bottom: var(--space-2);
}

.trust-badge h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.trust-badge p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: var(--line-height-normal);
}

/*  
   WHY CHOOSE US SECTION
     */
.why-section {
    background: linear-gradient(135deg, #fff 0%, var(--color-bg) 100%);
    padding: var(--space-8) 0;
}

.why-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image {
    width: 100%;
    height: auto;
    display: block;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

    .checklist-item:last-child {
        border-bottom: none;
    }

.checklist-icon {
    width: 32px;
    height: 32px;
    background: #eef3fc;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.checklist-item span {
    font-size: 1rem;
    color: #2c3e50;
    line-height: var(--line-height-normal);
}

/*  
   APP SHOWCASE SECTION
     */
.app-showcase-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: var(--space-7) 0 var(--space-6);
    position: relative;
}

.app-showcase-title {
    font-size: var(--font-h1);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    color: #fff;
}

.app-slider-wrapper {
    position: relative;
    padding: 0 var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

/* Swiper overrides */
.mobile-app-slider .swiper-slide {
    padding: 0;
    opacity: 0.4;
    transform: scale(0.88);
    filter: blur(1px) grayscale(20%);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-app-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1.02);
    filter: blur(0px) grayscale(0%);
}

.mobile-app-slider .swiper-slide img {
    border-radius: var(--radius-xl);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

/* Swiper Navigation Buttons */
.btn-icon.btn-prev,
.btn-icon.btn-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none !important;
    border-radius: 50% !important;
    color: var(--color-primary) !important;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all var(--transition-base) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.btn-icon.btn-prev {
    left: -12px;
}

.btn-icon.btn-next {
    right: -12px;
}

    .btn-icon.btn-prev:hover,
    .btn-icon.btn-next:hover {
        background: var(--color-primary) !important;
        color: #fff !important;
        box-shadow: 0 6px 24px rgba(44, 74, 137, 0.25);
        transform: translateY(-50%) scale(1.05);
    }

/* Swiper Tabs */
.swiper-tabs {
    margin-top: var(--space-3);
    min-height: 100px;
    position: relative;
}

.swiper-tab {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform var(--transition-smooth);
}

    .swiper-tab.active {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }

    .swiper-tab h3 {
        font-size: var(--font-h3);
        font-weight: 700;
        color: #fff;
        margin-bottom: 8px !important;
    }

    .swiper-tab p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: var(--line-height-loose);
        max-width: 11000px;
        margin: 0 auto;
        margin: 0 auto;
    }

/* Swiper Progress Bar */
#swiper-progress.swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.15) !important;
    height: 4px !important;
    border-radius: 2px;
    overflow: hidden;
    max-width: 200px;
    margin: var(--space-2) auto 0;
}

#swiper-progress .swiper-pagination-progressbar-fill {
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.6)) !important;
    transition: transform var(--transition-smooth) !important;
}

/*  
   ERP FEATURES SECTION
     */
.erp-features-section {
    position: relative;
    padding: var(--space-8) 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 50%, #f8fbff 100%);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: rgba(44, 74, 137, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-3);
    font-size: 0.9rem;
}

.erp-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-3);
    color: var(--color-text);
    font-family: var(--font-family);
    margin-top: var(--space-4)
}

    .erp-title span {
        color: var(--color-primary);
    }

.erp-description {
    font-size: 1.1rem;
    line-height: var(--line-height-loose);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.erp-stats {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-item span {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ERP Feature Cards */
.erp-feature-card {
    position: relative;
    height: 100%;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(44, 74, 137, 0.08);
    transition: all var(--transition-base);
    overflow: hidden;
}

    .erp-feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
        transform: scaleX(0);
        transition: var(--transition-base);
        transform-origin: left;
    }

    .erp-feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-xl);
    }

        .erp-feature-card:hover::before {
            transform: scaleX(1);
        }

.erp-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

    .erp-feature-icon i {
        font-size: 30px;
    }

.erp-feature-card h5 {
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 1.1rem;
}

.erp-feature-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
    font-size: 1rem;
}

/*  
   DOWNLOAD APP SECTION
     */
/* =========================
   BASE SECTION
========================= */
.download-section {
    background: linear-gradient(135deg, #0b1220 0%, #111a2e 100%);
    color: #fff;
    padding: var(--space-7) 0;
    overflow: hidden;
}

/* =========================
   TYPOGRAPHY
========================= */
.download-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
    color: white;
}

.download-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* =========================
   STORE CARDS
========================= */
.download-stores {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.store-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.25s ease;
}

    .store-card:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.1);
    }

/* Info */
.store-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.store-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Store button image */
.store-btn img {
    height: 42px;
    max-width: 140px;
    object-fit: contain;
}

/* =========================
   DEVICE IMAGE
========================= */
.download-devices {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-img {
    max-width: 100%;
    height: auto;
    width: min(560px, 100%);
    transition: 0.4s ease;
}

    .device-img:hover {
        transform: translateY(-6px);
    }

/* =========================
   TABLET FIX
========================= */
@media (max-width: 992px) {

    .download-section {
        padding: 70px 0;
    }

    .download-content {
        text-align: center;
    }

    .store-card {
        justify-content: space-between;
    }

    .download-devices {
        margin-top: 20px;
    }

    .premium-card-iconfeature {
        width: 60px;
        height: 60px;
        border-radius: var(--radius-sm);
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: var(--space-2);
    }

        .premium-card-iconfeature i {
            font-size: 25px;
        }

}

/* ==================================================
   MOBILE FIX
========================= */
@media (max-width: 576px) {

    .download-section {
        padding: 60px 0;
    }

  .store-card {
      flex-wrap: wrap;

    }

    .store-btn img {
        height: 38px;
    }

    .download-title {
        margin-bottom: 10px;
    }

    .premium-card-iconfeature {
        width: 50px;
        height: 50px;
        border-radius: var(--radius-sm,);
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: var(--space-1);
    }

        .premium-card-iconfeature i {
            font-size: 18px;
        }

}

/*   FAQ SECTION */
.faq-section {
    padding: var(--space-7) 0;
    background: var(--color-bg-white);
}

.faq-contact-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-2);
    text-align: center;
    transition: all var(--transition-smooth);
    height: 100%;
    position: relative;
}

    .faq-contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(44, 74, 137, 0.06);
        border-color: var(--color-border-hover);
    }

    .faq-contact-card i {
        font-size: 2.25rem;
        margin-bottom: 12px;
        display: inline-block;
        transition: transform var(--transition-base);
    }

    .faq-contact-card:hover i {
        transform: scale(1.1);
    }

    .faq-contact-card .btn-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        font-weight: 600;
        transition: gap var(--transition-fast);
    }

    .faq-contact-card:hover .btn-link {
        gap: 8px;
    }

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: var(--space-2);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--color-bg-white);
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-base);
}

    .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
        transform: translateY(-4px) scale(1.015);
        box-shadow: 0 20px 40px rgba(44, 74, 137, 0.08);
        border-color: var(--color-border-hover);
        z-index: 2;
    }

.faq-accordion .accordion-button {
    padding: 20px var(--space-3);
    font-weight: 600;
    font-size: 1.0625rem;
    background: var(--color-bg-white);
    color: var(--color-primary);
    border: none;
    box-shadow: none;
    transition: color var(--transition-base), padding var(--transition-smooth);
}

    .faq-accordion .accordion-button:not(.collapsed) {
        background: var(--color-bg-white);
        color: var(--color-accent);
        box-shadow: none;
        padding-bottom: 8px;
    }

.faq-accordion .accordion-collapse {
    transition: var(--transition-smooth) !important;
}

.faq-accordion .accordion-body {
    padding: 0 var(--space-3) var(--space-3);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
}

.faq-accordion .accordion-button::after {
    transition: transform var(--transition-smooth);
}

/*  HERO / THUMBNAIL CAROUSEL  */

.hero-section {
    background: linear-gradient(to right, #DCE9F9 0%, #F4F8FD 35%, #FFFFFF 50%, #FFF5F5 65%, #FDE8E8 100%);
    min-height: 95vh;
    height: auto;
}

.hero-container {
    min-height: 95vh;
    height: auto;
    padding-top: var(--space-3);
}

.hero-grid {
    min-height: 90vh;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-wrapper {
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(44, 74, 137, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    letter-spacing: 0.3px;
}

.hero-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-light);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-2);
    letter-spacing: -1px;
}

.hero-title-primary {
    color: var(--color-primary);
}

.hero-title-accent {
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.05rem;
    line-height: var(--line-height-loose);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
    max-width: 540px;
    text-align: justify;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* Hero Carousel */
.image-thumbnail-carousel {
    width: 95%;
    max-width: 820px;
    margin: 0 auto;
    margin-right: 5px;
}

.screen-display {
    margin-bottom: var(--space-2);
}

    .screen-display .screen {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

        .screen-display .screen img {
            width: 100%;
            height: auto;
            display: block;
            aspect-ratio: 16/9;
            object-fit: cover;
        }

.thumbnail-carousel {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.carousel__btn {
    flex: 0 0 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: background var(--transition-fast);
    min-height: 44px;
}

    .carousel__btn:hover {
        background: rgba(44, 74, 137, 0.06);
    }

    .carousel__btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.arrow-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

.carousel__slider {
    flex: 1;
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 4px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-height: 80px;
    margin: 0;
}

    .carousel__slider::-webkit-scrollbar {
        display: none;
    }


.carousel__slide {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: center;
    flex: 0 0 calc((100% / 5) - 10px);
    min-width: 80px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border 0.2s ease;
    border: 2px solid transparent; /* important */
    box-sizing: border-box;
}


    .carousel__slide .thumbnail {
        width: 100%;
        height: 100%;
    }

        .carousel__slide .thumbnail img {
            width: 100%;
            height: 60px;
            object-fit: cover;
            display: block;
            border-radius: 4px;
        }

.carousel__slide {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: center;
    flex: 0 0 calc((100% / 5) - 10px);
    min-width: 80px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border 0.2s ease;
    border: 2px solid transparent; /* important */
    box-sizing: border-box;
}

    .carousel__slide.active {
        border: 2px solid var(--color-primary);
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }


.hero-bg-image {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/*  ANIMATED CTA SECTION  */
.animated-cta {
    position: relative;
    overflow: hidden;
}

    .animated-cta .area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
    }

    .animated-cta .circles {
        position: absolute;
        width: 100%;
        height: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .animated-cta .circles li {
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.08);
            animation: floatUp 25s linear infinite;
            bottom: -150px;
            border-radius: 0;
        }

            .animated-cta .circles li:nth-child(1) {
                left: 25%;
                width: 80px;
                height: 80px;
                animation-delay: 0s;
            }

            .animated-cta .circles li:nth-child(2) {
                left: 10%;
                animation-delay: 2s;
                animation-duration: 12s;
            }

            .animated-cta .circles li:nth-child(3) {
                left: 70%;
                animation-delay: 4s;
            }

            .animated-cta .circles li:nth-child(4) {
                left: 40%;
                width: 60px;
                height: 60px;
                animation-duration: 18s;
            }

            .animated-cta .circles li:nth-child(5) {
                left: 65%;
            }

            .animated-cta .circles li:nth-child(6) {
                left: 75%;
                width: 110px;
                height: 110px;
                animation-delay: 3s;
            }

            .animated-cta .circles li:nth-child(7) {
                left: 35%;
                width: 150px;
                height: 150px;
                animation-delay: 7s;
            }

            .animated-cta .circles li:nth-child(8) {
                left: 50%;
                animation-duration: 45s;
            }

            .animated-cta .circles li:nth-child(9) {
                left: 20%;
                animation-duration: 35s;
            }

            .animated-cta .circles li:nth-child(10) {
                left: 85%;
                width: 150px;
                height: 150px;
                animation-duration: 11s;
            }

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-900px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.animated-cta .row {
    position: relative;
    z-index: 2;
}

/*  
   UTILITY CLASSES
     */
.bg-secondary {
    background-color: var(--color-bg) !important;
}

.h1.text-center {
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}

/* Light / Dark mode images */
.light-mode-img {
    display: block;
}

.dark-mode-img {
    display: none;
}

[data-bs-theme="dark"] .light-mode-img {
    display: none;
}

[data-bs-theme="dark"] .dark-mode-img {
    display: block;
}

/* Rellax */
.rellax {
    display: block;
    max-width: 100%;
    height: auto;
}

/*  
   RESPONSIVE BREAKPOINTS
     */

/* Large Screens (1201px+) */
@media (min-width: 1201px) {
    .hero-grid {
        min-height: 90vh;
        align-items: center;
    }

    .download-stores {
        margin-top: 150px;
    }

    .image-thumbnail-carousel {
        margin-top: 100px;
    }
}

@media ( min-width: 998px) {

    .download-stores {
        margin-top: 150px;
    }

    .thumbnail-carousel {
        margin-bottom: 2rem;
        margin-right: 0px;
    }
}

/* Tablet & Small Desktop (768px - 1200px) */
@media (max-width: 1200px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .thumbnail-carousel {
        margin-bottom: 3rem;
    }

    .hero-content {
        margin-bottom: var(--space-4);
        width: 100%;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-text-wrapper {
        max-width: 100%;
    }

    .image-thumbnail-carousel {
        max-width: 100%;
        margin: 0 auto;
    }

    .download-devices {
        display: flex;
        align-content: center;
        justify-content: center;
        margin-top: var(--space-4);
    }

    .device-showcase img {
        max-width: 80%;
        margin: 0 auto;
    }

    .carousel__slide .thumbnail img {
        height: 90px;
    }

    .hero-carousel-wrapper {
        margin-top: 1rem !important;
    }

    .btn-demo {
        width: 180px;
    }

}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    :root {
        --font-h1: 36px;
        --font-h2: 28px;
        --font-h3: 20px;
    }

    .thumbnail-carousel {
        margin-bottom: 2rem;
    }

    .section-premium {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: var(--font-h2);
    }

    .clients-title {
        font-size: 1.8rem;
    }

    .premium-card {
        padding: var(--space-2);
    }

    .premium-card-header {
        flex-wrap: wrap;
    }

    .premium-card-icon {
        width: 52px;
        height: 52px;
    }

        .premium-card-icon img {
            width: 28px;
            height: 28px;
        }

    .hero-container {
        min-height: auto;
        padding-top: var(--space-2);
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1rem;
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

        .hero-actions .btn {
            width: 100%;
            justify-content: center;
        }

        .hero-actions .btn-watch {
            margin-top: 0;
        }

    .carousel__slide {
        flex: 0 0 80px;
        min-width: 60px;
    }

    .carousel__slider {
        max-height: 60px;
        gap: 8px;
    }

    .carousel__slide .thumbnail img {
        height: 50px;
    }

    .carousel__btn {
        flex: 0 0 36px;
        min-height: 36px;
    }

    .arrow-icon {
        width: 18px;
        height: 18px;
    }

    .btn-icon.btn-prev,
    .btn-icon.btn-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .btn-icon.btn-prev {
        left: 4px;
    }

    .btn-icon.btn-next {
        right: 4px;
    }

    .app-showcase-title {
        font-size: var(--font-h1);
    }

    .app-slider-wrapper {
        padding: 0 8px;
    }

    .mobile-app-slider .swiper-slide {
        transform: scale(0.85);
    }

    .mobile-app-slider .swiper-slide-active {
        transform: scale(0.98);
    }

    .mobile-app-slider .swiper-slide img {
        border-radius: var(--radius-md);
        width: 200px !important;
    }

    .swiper-tab h3 {
        font-size: 1.1rem;
    }

    .swiper-tab p {
        font-size: 0.9rem;
    }

    .erp-features-section {
        padding: var(--space-8) 0;
    }

    .erp-feature-card {
        padding: var(--space-3);
    }

    .erp-stats {
        gap: var(--space-3);
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .download-title {
        font-size: 2rem;
        color: white;
    }

    .store-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-info {
        min-width: auto;
    }

    .btn-store {
        width: 100%;
        justify-content: center;
    }

    .download-devices {
        margin-top: var(--space-3);
    }

    .device-showcase img {
        max-width: 100%;
    }

    .faq-section {
        padding: var(--space-6) 0;
    }

    .faq-contact-card {
        padding: var(--space-2);
    }

    .faq-accordion .accordion-button {
        padding: 16px var(--space-2);
        font-size: 1rem;
    }

    .faq-accordion .accordion-body {
        padding: 0 var(--space-2) var(--space-2);
    }

    .why-section {
        padding: var(--space-6) 0;
    }

    .why-image {
        padding: 12px;
    }

    .checklist-item {
        padding: 10px 0;
    }

    .logo-scroller::before,
    .logo-scroller::after {
        width: 30px;
    }

    .logo-track {
        gap: 1.5rem;
        animation-duration: 10s;
    }

        .logo-track img {
            height: clamp(40px, 10vw, 60px);
        }

    /* CTA Section */
    .animated-cta .circles li {
        display: none;
    }

        .animated-cta .circles li:nth-child(1),
        .animated-cta .circles li:nth-child(3),
        .animated-cta .circles li:nth-child(6) {
            display: block;
        }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-carousel-wrapper {
        margin-top: 1rem !important;
    }
}

/* Extra small devices (480px and below) */
@media (max-width: 480px) {
    :root {
        --font-h1: 30px;
        --font-h2: 24px;
        --font-h3: 18px;
    }

    .hero-title {
        font-size: 2rem;
        word-break: break-all;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .thumbnail-carousel {
        margin-bottom: 2rem;
    }

    .premium-card {
        padding: var(--space-2);
    }

        .premium-card h3 {
            font-size: 1.1rem;
        }

        .premium-card p {
            font-size: 0.85rem;
        }

    .clients-title {
        font-size: 1.5rem;
    }

    .trust-badge {
        padding: var(--space-2);
    }

        .trust-badge h3 {
            font-size: 1rem;
        }

        .trust-badge p {
            font-size: 0.85rem;
        }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .erp-title {
        font-size: 1.8rem;
    }

    .erp-description {
        font-size: 1rem;
    }

    .erp-feature-card {
        padding: var(--space-2);
    }

    .erp-feature-icon {
        width: 56px;
        height: 56px;
    }

        .erp-feature-icon i {
            font-size: 24px;
        }

    .download-title {
        font-size: 1.6rem;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
        min-height: 44px;
    }

    .btn-lg {
        font-size: 12px;
        padding: 8px 6px;
        min-height: 44px;
    }

    .carousel__slide {
        flex: 0 0 60px;
        min-width: 50px;
    }

    .carousel__slider {
        max-height: 50px;
        gap: 6px;
    }

    .carousel__slide .thumbnail img {
        height: 40px;
    }

    .carousel__btn {
        flex: 0 0 30px;
        min-height: 30px;
    }

    .arrow-icon {
        width: 16px;
        height: 16px;
    }

    .hero-carousel-wrapper {
        margin-top: 1rem !important;
    }
}

/*   PRINT STYLES */
@media print {
    .site-header,
    .btn,
    .btn-icon,
    .carousel__btn,
    .logo-scroller::before,
    .logo-scroller::after,
    .hero-bg-gradient,
    .hero-bg-radial,
    .animated-cta .area {
        display: none !important;
    }

    .section-premium,
    .why-section,
    .faq-section,
    .erp-features-section,
    .app-showcase-section,
    .download-section {
        padding: 20px 0 !important;
        background: #fff !important;
    }

    .premium-card,
    .trust-badge,
    .erp-feature-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }

    .hero-title {
        color: #000 !important;
    }

    .section-title {
        background: none !important;
        color: #000 !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
}



.marquee {
    display: flex;
    block-size: var(--marquee-item-height);
    margin-block: var(--marquee-item-height);
    position: relative;
    overflow-x: hidden;
    mask-image: linear-gradient( to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0) );
    margin: 0px !important;
    width: 100%;
    padding: 20px !important;
    gap: 0px !important;
}

    .marquee .marquee__item {
        height: 100% !important;
        width: var(--marquee-item-width);
        object-fit: contain;
    }

.marquee--8 {
    --marquee-item-width: clamp(140px, 20vw, 140px);
    --marquee-item-height: clamp(140px, 20vw, 140px);
    --marquee-duration: 15s;
    --marquee-items: 6;
    --marquee-gap: 0px;
    gap: var(--marquee-gap) !important;
}

.marquee__item {
    /* 2. Factor the global gap variable into your track loop math */
    --marquee-item-offset: max( calc((var(--marquee-item-width) + var(--marquee-gap)) * var(--marquee-items)), calc(100% + var(--marquee-item-width)) );
    --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
    position: absolute;
    inset-inline-start: var(--marquee-item-offset);
    animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee--8 {
    position: relative;
    overflow: hidden;
    padding-block: 4px;
    max-width: 100%;
    width: 100%;
}

    .marquee--8::before,
    .marquee--8::after {
        content: "";
        position: absolute;
        top: 0;
        width: 60px;
        height: 100%;
        pointer-events: none;
        z-index: 2;
    }

    .marquee--8::before {
        left: 0;
        background: linear-gradient(to right, var(--color-bg, #fff), transparent);
    }

    .marquee--8::after {
        right: 0;
        background: linear-gradient(to left, var(--color-bg, #fff), transparent);
    }

.marquee--8 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--marquee-gap);
    padding-inline: 1rem;
    animation: logos-scroll 12s linear infinite;
    will-change: transform;
}

    .marquee--8 img {
        height: clamp(50px, 8vw, 100px);
        width: auto;
        filter: grayscale(100%);
        opacity: 0.85;
        transition: transform var(--transition-fast), opacity var(--transition-fast), filter var(--transition-fast);
    }

        .marquee--8 img:hover {
            transform: scale(1.01);
            opacity: 1;
            filter: grayscale(0%);
        }


.marquee:hover img {
    animation-play-state: paused;
}


@keyframes go {
    to {
        inset-inline-start: calc(var(--marquee-item-width) * -1);
    }
}

@media (max-width: 992px) {
    .marquee {
        gap: 10px;
    }

    .marquee--8 {
        --marquee-duration: 12s;
        --marquee-item-width: clamp(100px, 20vw, 100px);
        --marquee-item-height: clamp(100px, 20vw, 100px);
        --marquee-gap: 10px; /* Reduces gap even further on tablet */
    }
}

/* Optional fine-tuning for extremely small mobile devices */
@media (max-width: 480px) {
    .marquee {
        gap: 10px;
    }

    .marquee--8 {
        --marquee-duration: 12s;
        --marquee-item-width: clamp(80px, 20vw, 80px);
        --marquee-item-height: clamp(80px, 20vw, 80px);
        --marquee-gap: 8px;
    }
}

.marquee__item:nth-child(4n) {
    border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
    border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
    border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
    border-top-left-radius: 1rem;
}

.marquee--8 .marquee__item:nth-of-type(1) {
    --marquee-item-index: 1;
}

.marquee--8 .marquee__item:nth-of-type(2) {
    --marquee-item-index: 2;
}

.marquee--8 .marquee__item:nth-of-type(3) {
    --marquee-item-index: 3;
}

.marquee--8 .marquee__item:nth-of-type(4) {
    --marquee-item-index: 4;
}

.marquee--8 .marquee__item:nth-of-type(5) {
    --marquee-item-index: 5;
}

.marquee--8 .marquee__item:nth-of-type(6) {
    --marquee-item-index: 6;
}
