/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-height, 68px));
    background: linear-gradient(140deg, #071d38 0%, #0f3d6e 45%, #1565c0 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero__orb--1 {
    width: 520px; height: 520px;
    top: -180px; right: -60px;
    background: radial-gradient(circle, rgba(100,210,255,.18) 0%, transparent 70%);
    animation: orbFloat 10s ease-in-out infinite;
}

.hero__orb--2 {
    width: 360px; height: 360px;
    bottom: -120px; left: -80px;
    background: radial-gradient(circle, rgba(0,172,193,.15) 0%, transparent 70%);
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.hero__orb--3 {
    width: 180px; height: 180px;
    top: 35%; left: 42%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    animation: orbFloat 7s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-28px) scale(1.06); }
}

/* Grid lines decoration */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    color: #b3e5fc;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    animation: slideDown .6s ease both;
}

.hero__badge i { color: #ffd54f; }

.hero__title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1.35rem;
    letter-spacing: -.02em;
    animation: slideUp .7s ease .1s both;
}

.hero__title-accent {
    display: block;
    background: linear-gradient(90deg, #64d2ff, #a8edff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    max-width: 440px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    animation: slideUp .7s ease .18s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    animation: slideUp .7s ease .26s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
    text-decoration: none;
    padding: .9rem 2rem;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(2,136,209,.45);
    transition: transform .22s, box-shadow .22s;
}
.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(2,136,209,.6);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: .9rem 1.75rem;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    transition: background .22s, transform .22s, color .22s;
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
    transform: translateY(-3px);
}

/* Stats */
.hero__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    animation: slideUp .7s ease .34s both;
}
.hero__stat-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero__stat-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    margin-top: .3rem;
    font-weight: 500;
    letter-spacing: .03em;
}

/* Right card */
.hero__visual { position: relative; animation: slideLeft .8s ease .15s both; }

.hero__card {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 40px 100px rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__card img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero__card-empty {
    text-align: center;
    color: rgba(255,255,255,.3);
}
.hero__card-empty i { font-size: 5rem; }

/* Floating chips */
.hero__chip {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    color: #0b2545;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    white-space: nowrap;
}
.hero__chip i { font-size: 1.1rem; }
.hero__chip--tl { top: -18px; left: -18px; animation: chipFloat 4s ease-in-out infinite 1s; }
.hero__chip--br { bottom: -18px; right: -18px; animation: chipFloat 4s ease-in-out infinite; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* Wave */
.hero__wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0; z-index: 1;
}
.hero__wave svg { width: 100%; height: auto; }

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid #e8f4fd;
    padding: 1.1rem 0;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.trust-bar__icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex; align-items: center; justify-content: center;
    color: #1565c0;
    font-size: 1rem;
    flex-shrink: 0;
}
.trust-bar__title { font-size: .82rem; font-weight: 700; color: #1a2a3a; line-height: 1.2; }
.trust-bar__sub   { font-size: .72rem; color: #8aabb8; line-height: 1.2; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .28rem .85rem;
    border-radius: 100px;
    margin-bottom: .7rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #0b2545;
    letter-spacing: -.02em;
    margin-bottom: .4rem;
}
.section-sub { color: #8aabb8; font-size: .95rem; margin-bottom: 0; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section {
    padding: 5.5rem 0;
    background: #f5faff;
}

.cat-card {
    display: block;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 3/2;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(11,37,69,.1);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.cat-card:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 18px 52px rgba(11,37,69,.2);
}
.cat-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.cat-card:hover img { transform: scale(1.09); }

.cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,29,56,.88) 0%, rgba(7,29,56,.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    transition: background .3s;
}
.cat-card:hover .cat-card__overlay {
    background: linear-gradient(to top, rgba(7,29,56,.95) 0%, rgba(7,29,56,.3) 55%, transparent 100%);
}

.cat-card__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: rgba(255,255,255,.28);
}
.cat-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .2rem;
    line-height: 1.2;
}
.cat-card__meta {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
}
.cat-card__arrow {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .75rem;
    opacity: 0;
    transform: translate(4px, -4px);
    transition: opacity .25s, transform .25s;
}
.cat-card:hover .cat-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section {
    padding: 5.5rem 0;
    background: #fff;
}

.prod-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid #deedf9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .28s, border-color .28s;
    box-shadow: 0 2px 10px rgba(11,37,69,.05);
}
.prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(11,37,69,.13);
    border-color: #90caf9;
}

.prod-card__img {
    position: relative;
    aspect-ratio: 1;
    background: #f0f7ff;
    overflow: hidden;
    flex-shrink: 0;
}
.prod-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.prod-card:hover .prod-card__img img { transform: scale(1.07); }
.prod-card__img-empty {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
    color: #b8d4e8;
}

.prod-card__sale-badge {
    position: absolute; top: .65rem; left: .65rem;
    background: linear-gradient(135deg, #e53935, #d81b60);
    color: #fff;
    font-size: .68rem; font-weight: 700;
    padding: .22rem .55rem;
    border-radius: 100px;
    letter-spacing: .04em;
}

.prod-card__wish {
    position: absolute; top: .65rem; right: .65rem;
    width: 30px; height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #b0bec5;
    font-size: .85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    border: none; cursor: pointer;
    opacity: 0; transform: scale(.75);
    transition: opacity .2s, transform .2s, color .2s;
}
.prod-card:hover .prod-card__wish { opacity: 1; transform: scale(1); }
.prod-card__wish:hover { color: #e53935; }

.prod-card__body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prod-card__cat {
    font-size: .68rem; font-weight: 700;
    color: #1565c0;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .3rem;
}
.prod-card__name {
    font-size: .9rem; font-weight: 700;
    color: #1a2a3a;
    line-height: 1.35;
    margin-bottom: .6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-card__prices {
    margin-top: auto;
    display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
}
.prod-card__price-new {
    font-size: 1.15rem; font-weight: 800; color: #0b2545;
}
.prod-card__price-old {
    font-size: .8rem; color: #b0bec5; text-decoration: line-through;
}

.prod-card__footer { padding: .1rem 1.1rem 1.1rem; }

.btn-to-cart {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    width: 100%;
    background: linear-gradient(135deg, #1565c0, #0288d1);
    color: #fff;
    border: none; border-radius: 12px;
    padding: .62rem 1rem;
    font-size: .85rem; font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    cursor: pointer;
}
.btn-to-cart:hover {
    background: linear-gradient(135deg, #0d47a1, #0277bd);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(13,71,161,.32);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    padding: 5.5rem 0;
    background: linear-gradient(140deg, #071d38 0%, #1565c0 100%);
    position: relative;
    overflow: hidden;
}
.cta-section__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cta-section__blob--a {
    width: 500px; height: 500px;
    top: -200px; right: -80px;
    background: radial-gradient(circle, rgba(100,210,255,.1) 0%, transparent 70%);
}
.cta-section__blob--b {
    width: 350px; height: 350px;
    bottom: -140px; left: -60px;
    background: radial-gradient(circle, rgba(0,172,193,.1) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }

.cta__title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: .85rem;
}
.cta__sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    max-width: 440px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.btn-cta-white {
    display: inline-flex; align-items: center; gap: .45rem;
    background: #fff;
    color: #0b2545;
    border-radius: 50px;
    padding: .9rem 2.25rem;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 6px 20px rgba(255,255,255,.15);
}
.btn-cta-white:hover {
    color: #0b2545;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,255,255,.25);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .26s; }
.reveal-d4 { transition-delay: .34s; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 767px) {
    .hero { padding: 3.5rem 0 5rem; min-height: auto; }
    .hero__stats { gap: 1.5rem; }
    .hero__chip { display: none; }
    .trust-bar__item + .trust-bar__item {
        padding-top: .75rem;
        margin-top: .75rem;
        border-top: 1px solid #e8f4fd;
    }
    .prod-card__name { font-size: .83rem; }
}

@media (max-width: 576px) {
    .hero__stat-val { font-size: 1.5rem; }
    .hero__stats { gap: 1.25rem; }
}
