﻿/* ── Tokens ── */
:root {
    --blue: #0071dc;
    --blue-dark: #0055a5;
    --ink: #0f1111;
    --grey-50: #f9fafb;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-400: #9ca3af;
    --grey-600: #4b5563;
    --green: #16a34a;
    --white: #ffffff;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1f3c 50%, #0a2240 100%);
    border-radius: 20px;
    padding: 44px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,113,220,.18) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 20% 80%, rgba(22,163,74,.10) 0%, transparent 70%);
        pointer-events: none;
    }

    /* grid dots */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
        background-size: 28px 28px;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0,113,220,.18);
    border: 1px solid rgba(0,113,220,.35);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

    .hero-badge i {
        font-size: 10px;
    }

.hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

    .hero h1 span {
        background: linear-gradient(90deg, #60a5fa, #34d399);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero p {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 400px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 28px;
    background: var(--blue, #0071dc);
    border: none;
    border-radius: 24px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

    .hero-cta:hover {
        background: #1a82e8;
        color: #fff;
        box-shadow: 0 4px 20px rgba(0,113,220,.45);
        transform: translateY(-1px);
    }

.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: all 160ms ease;
}

    .hero-cta-ghost:hover {
        border-color: rgba(255,255,255,.45);
        color: #fff;
        background: rgba(255,255,255,.06);
    }

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.stat-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 18px 24px;
    min-width: 180px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 160ms ease, border-color 160ms ease;
}

    .stat-card:hover {
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.18);
    }

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
    margin-bottom: 10px;
}

    .stat-icon.blue {
        background: rgba(0,113,220,.25);
        color: #60a5fa;
    }

    .stat-icon.green {
        background: rgba(22,163,74,.25);
        color: #4ade80;
    }

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    font-weight: 500;
}

/* ── Section titles ── */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink, #0f1111);
    letter-spacing: -.01em;
}

.section-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--blue, #0071dc);
    text-decoration: none;
    white-space: nowrap;
}

    .section-link:hover {
        text-decoration: underline;
    }

.section-divider {
    height: 1px;
    background: var(--grey-200, #e5e7eb);
    margin: 28px 0;
}

/* ── Featured carousel ── */
.featured-section {
    margin-bottom: 28px;
}

#featuredCarousel .carousel-control-prev,
#featuredCarousel .carousel-control-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid var(--grey-200, #e5e7eb);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#featuredCarousel .carousel-control-prev {
    left: -18px;
}

#featuredCarousel .carousel-control-next {
    right: -18px;
}

    #featuredCarousel .carousel-control-prev:hover,
    #featuredCarousel .carousel-control-next:hover {
        border-color: var(--grey-400, #9ca3af);
        box-shadow: 0 4px 12px rgba(0,0,0,.12);
    }

#featuredCarousel .carousel-control-prev-icon,
#featuredCarousel .carousel-control-next-icon {
    width: 14px;
    height: 14px;
    filter: invert(1) brightness(0);
}

.owl-carousel-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--grey-200, #e5e7eb);
    background: #fff;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

    .featured-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(0,0,0,.1);
    }

    .featured-card .card-body {
        padding: 14px 14px 16px;
    }

    .featured-card .card-title {
        font-size: 14px;
        font-weight: 700;
        color: var(--ink, #0f1111);
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .featured-card .card-text {
        font-size: 13px;
        color: var(--grey-600, #4b5563);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

/* ── Products grid ── */
.products-section {
    margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 40px 24px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .stat-card {
        min-width: 0;
        flex: 1;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }
}
