/* ============================================================
   Rboutfitx — Red · White · Blue Liquid Glass Theme
   ============================================================ */

/* ── Reset & Base ── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #05080f;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #05080f; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ef4444, #3b82f6);
    border-radius: 99px;
}

/* ============================================================
   COLOR TOKENS  (Red · White · Blue)
   ============================================================ */
:root {
    --red:        #ef4444;
    --red-deep:   #b91c1c;
    --red-glow:   rgba(239,68,68,0.25);
    --blue:       #3b82f6;
    --blue-deep:  #1d4ed8;
    --blue-glow:  rgba(59,130,246,0.25);
    --white-dim:  rgba(255,255,255,0.08);
    --white-line: rgba(255,255,255,0.1);
    --glass-bg:   rgba(255,255,255,0.05);
    --glass-blur: 22px;
}

/* ============================================================
   HERO BACKGROUND  (static, no animation dizziness)
   ============================================================ */
.hero-section {
    background:
        radial-gradient(ellipse 70% 55% at 15% 35%,  rgba(239,68,68,0.18)  0%, transparent 70%),
        radial-gradient(ellipse 65% 50% at 85% 65%,  rgba(59,130,246,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 50% 50%,  rgba(255,255,255,0.04) 0%, transparent 60%),
        #05080f;
}

/* Static orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.orb-red   { width: 520px; height: 520px; top: -10%;  left: -10%;  background: rgba(239,68,68,0.2); }
.orb-blue  { width: 480px; height: 480px; bottom: -10%; right: -8%; background: rgba(59,130,246,0.2); }
.orb-white { width: 350px; height: 350px; top: 40%;   left: 40%;  background: rgba(255,255,255,0.04); }

/* ============================================================
   GLASS COMPONENTS
   ============================================================ */

/* ── Generic glass panel ── */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--white-line);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 8px 32px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Navbar glass ── */
.glass-nav {
    background: rgba(5, 8, 15, 0.45);
    border: 1px solid var(--white-line);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}
#navbar.scrolled .glass-nav {
    background: rgba(5, 8, 15, 0.78);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 16px 60px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── Glass icon button ── */
.glass-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--white-line);
    backdrop-filter: blur(16px);
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    transition: all 0.25s ease;
    text-decoration: none;
}
.glass-icon-btn:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.35);
    color: #fff;
}

/* ── Logo text ── */
.logo-text {
    background: linear-gradient(135deg, #fff 40%, #ef4444 70%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-text span { -webkit-text-fill-color: var(--blue); }

/* ── Nav links ── */
.nav-link {
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}
.nav-link:hover {
    color: #fff;
    border-bottom-color: var(--red);
}

/* ── WhatsApp pill button ── */
.wa-pill-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.3);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.25s ease;
}
.wa-pill-btn:hover {
    background: rgba(37,211,102,0.25);
    border-color: rgba(37,211,102,0.5);
    box-shadow: 0 4px 20px rgba(37,211,102,0.2);
}

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

/* ── Hero badge ── */
.hero-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
}

/* ── Hero headline (Cormorant Garamond — luxury fashion font) ── */
.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.8rem, 11vw, 8rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.0;
    text-align: center;
}

/* ── Liquid title text ── */
.liquid-title-text {
    background: linear-gradient(135deg, #fff 0%, #ef4444 35%, #3b82f6 65%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
    font-style: italic;
}
@keyframes shimmer {
    0%   { background-position: 0%   center; }
    100% { background-position: 200% center; }
}

/* ── Primary button (Red→Blue gradient) ── */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-deep), var(--red), var(--blue), var(--blue-deep));
    background-size: 250% auto;
    animation: shimmer 4s linear infinite;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(239,68,68,0.35),
                inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(59,130,246,0.4),
                inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ── Glass button (outline) ── */
.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--white-line);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(59,130,246,0.45);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(59,130,246,0.2);
}

/* ── Floating product thumbnails ── */
.thumb-card {
    transform: rotate(var(--rot));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6),
                inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25,1,0.5,1);
}
.thumb-card:hover {
    transform: rotate(0deg) scale(1.1) !important;
    box-shadow: 0 32px 80px rgba(239,68,68,0.25), 0 0 0 1px rgba(239,68,68,0.25);
}
.thumb-card img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.thumb-card:hover img { transform: scale(1.1); }

/* ── Stats glass ── */
.stat-glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}
.stat-glass:hover {
    border-color: rgba(239,68,68,0.3);
    box-shadow: 0 8px 32px rgba(239,68,68,0.1);
}

/* ── Scroll mouse indicator ── */
.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-dot {
    width: 4px; height: 8px;
    background: linear-gradient(var(--red), var(--blue));
    border-radius: 99px;
    animation: scroll-dot-anim 2s ease infinite;
}
@keyframes scroll-dot-anim {
    0%  { transform: translateY(0);    opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100%{ transform: translateY(0);    opacity: 0; }
}
#scroll-indicator {
    transition: opacity 0.4s ease;
    animation: bounce-soft 3s ease-in-out infinite;
}
@keyframes bounce-soft {
    0%,100%{ transform: translateX(-50%) translateY(0); }
    50%    { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.marquee-track {
    display: flex;
    animation: marquee-scroll 28s linear infinite;
}
.marquee-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
}
.marquee-word {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
}
.marquee-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.marquee-dot.red  { background: var(--red); box-shadow: 0 0 8px var(--red); }
.marquee-dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */
.filter-btn {
    padding: 0.6rem 1.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--white-line);
    color: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px);
    transition: all 0.25s ease;
}
.filter-btn:hover {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,0.15);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--red-deep), var(--red) 40%, var(--blue) 70%, var(--blue-deep));
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 24px rgba(239,68,68,0.3),
                0 6px 24px rgba(59,130,246,0.2);
    transform: translateY(-2px);
}

/* ============================================================
   PRODUCT CARDS — Glass
   ============================================================ */
.product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35),
                inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.45s cubic-bezier(0.25,1,0.5,1),
                box-shadow 0.45s ease,
                border-color 0.3s ease;
    animation: card-appear 0.5s ease both;
}
.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239,68,68,0.25);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5),
                0 0 0 1px rgba(239,68,68,0.15),
                0 0 40px rgba(59,130,246,0.08),
                inset 0 1px 0 rgba(255,255,255,0.1);
}

.product-card .img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
}
.product-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25,1,0.5,1);
}
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .img-wrap::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
    background: linear-gradient(to top, rgba(5,8,15,0.65), transparent);
    pointer-events: none;
}

/* ── Badge ── */
.glass-badge {
    background: rgba(5,8,15,0.55);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
}
.badge-red {
    background: rgba(185,28,28,0.45);
    border-color: rgba(239,68,68,0.35);
}
.badge-blue {
    background: rgba(29,78,216,0.4);
    border-color: rgba(59,130,246,0.35);
}

/* ── Size buttons ── */
.size-btn {
    width: 2.2rem; height: 2.2rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.size-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(59,130,246,0.1);
}
.size-btn.selected {
    background: linear-gradient(135deg, var(--red), var(--blue));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}

/* ── Product WhatsApp button ── */
.product-wa-btn {
    width: 100%;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.22);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.product-wa-btn:hover {
    background: rgba(37,211,102,0.22);
    border-color: rgba(37,211,102,0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.2);
}

/* ── Card appear animation ── */
@keyframes card-appear {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.section-label {
    color: var(--red);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
}

.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}
.feature-card.red-glow:hover {
    border-color: rgba(239,68,68,0.3);
    box-shadow: 0 24px 60px rgba(239,68,68,0.1);
    transform: translateY(-6px);
}
.feature-card.blue-glow:hover {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 24px 60px rgba(59,130,246,0.1);
    transform: translateY(-6px);
}

.feature-icon {
    width: 3.5rem; height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon.red   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.25);  color: var(--red); }
.feature-icon.blue  { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); color: var(--blue); }
.feature-icon.white { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.glass-footer {
    background: rgba(5,8,15,0.85);
    border-top: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
}
.footer-heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
}
.footer-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}
.footer-link:hover { color: var(--red); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
#floating-whatsapp {
    background: linear-gradient(135deg, #25D366, #1EBE5D);
    border: 1px solid rgba(37,211,102,0.35);
    box-shadow: 0 8px 32px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wa-pulse 2.5s ease infinite;
}
#floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 16px 48px rgba(37,211,102,0.55);
}
@keyframes wa-pulse {
    0%  { box-shadow: 0 0 0 0    rgba(37,211,102,0.6), 0 8px 32px rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0),   0 8px 32px rgba(37,211,102,0.4); }
    100%{ box-shadow: 0 0 0 0    rgba(37,211,102,0),   0 8px 32px rgba(37,211,102,0.4); }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.page-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    backdrop-filter: blur(16px);
    transition: all 0.22s ease;
}
.page-btn:hover:not(.disabled):not(.active) {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.4);
    color: #fff;
    transform: translateY(-2px);
}
.page-btn.active {
    background: linear-gradient(135deg, var(--red-deep), var(--red) 40%, var(--blue));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(239,68,68,0.3);
}
.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.page-dots {
    color: rgba(255,255,255,0.25);
    font-size: 0.9rem;
    padding: 0 0.25rem;
    line-height: 2.5rem;
}
.page-info {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* Size label utility */
.size-label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.6rem;
}

/* ============================================================
   TOAST
   ============================================================ */
#toast.show {
    display: block;
    animation: toast-in 0.35s cubic-bezier(0.25,1,0.5,1) forwards;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
