/* ============================================================
   POPUP VESTIAIRE — PREMIUM DARK REDESIGN v2.0
   Glassmorphism · Vibrant gradients · Smooth animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
    /* ── Brand Palette ── */
    --primary:        #7C3AED;   /* Deep Violet */
    --primary-light:  #9B5CF6;
    --primary-glow:   rgba(124, 58, 237, 0.35);

    --accent:         #F59E0B;   /* Warm Amber */
    --accent-light:   #FCD34D;
    --accent-glow:    rgba(245, 158, 11, 0.35);

    --teal:           #06B6D4;   /* Cyan highlight */
    --teal-glow:      rgba(6, 182, 212, 0.25);

    /* ── Dark Background System ── */
    --bg-base:        #0B0E1A;   /* Near-black navy */
    --bg-surface:     #111827;   /* Card base */
    --bg-elevated:    #1C2236;   /* Elevated panels */
    --bg-glass:       rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    /* ── Text ── */
    --text-primary:   #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted:     #64748B;

    /* ── Borders ── */
    --border:         rgba(255, 255, 255, 0.08);
    --border-strong:  rgba(255, 255, 255, 0.16);

    /* ── Spacing & Shape ── */
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   36px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-md:  0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg:  0 24px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow-primary: 0 0 40px var(--primary-glow);
    --shadow-glow-accent:  0 0 40px var(--accent-glow);

    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Legacy compat */
    --dark:        var(--bg-base);
    --white:       #ffffff;
    --gray-100:    var(--bg-elevated);
    --gray-200:    var(--border);
    --gray-400:    var(--border-strong);
    --gray-700:    var(--text-secondary);
    --secondary:   var(--accent);
    --secondary-hover: var(--accent-light);
}

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

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle grid texture */
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124,58,237,0.15) 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: auto, 60px 60px, 60px 60px;
}

h1, h2, h3, h4, .logo-text, .step-num {
    font-family: 'Outfit', 'Tajawal', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ────────────────────────────────────────
   UTILITY — GLASS CARD
──────────────────────────────────────── */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ────────────────────────────────────────
   BUTTONS
──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }

.btn-sm  { padding: 10px 24px; font-size: 0.95rem; }
.btn-lg  { padding: 16px 32px; font-size: 1.15rem; }
.btn-block { width: 100%; padding: 18px 0; font-size: 1.1rem; }

/* Primary — Violet gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #5B21B6 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--primary-glow);
}

/* Secondary — Amber gradient */
.btn-secondary {
    background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
    color: #0B0E1A;
    font-weight: 800;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

/* CTA — Animated shimmer */
.btn-cta {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    background-size: 200% auto;
    color: #0B0E1A;
    font-weight: 800;
    box-shadow: 0 4px 20px var(--accent-glow);
    animation: shimmerBtn 2.5s linear infinite, pulseCta 2s ease-in-out infinite;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--accent-glow);
    animation: shimmerBtn 1.2s linear infinite;
}

@keyframes shimmerBtn {
    0%   { background-position: 200% center; }
    100% { background-position: 0% center; }
}
@keyframes pulseCta {
    0%, 100% { box-shadow: 0 4px 20px var(--accent-glow); }
    50%       { box-shadow: 0 8px 40px rgba(245,158,11,0.6); }
}

/* ────────────────────────────────────────
   HEADER
──────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 14, 26, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.header-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(124,58,237,0.4));
}

.logo:hover .header-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(124,58,237,0.7));
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    border-radius: var(--radius-full);
    transition: width 0.35s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a:hover::after { width: 100%; }

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-glass);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

/* ── Mobile Header ── */
@media (max-width: 768px) {
    .header {
        position: absolute !important;
        top: 0; left: 0; right: 0;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        border-bottom: none;
    }

    .header-container { justify-content: center; }

    .logo {
        position: relative;
        top: -8px;
        left: auto;
        transform: none;
        z-index: 2000;
        justify-content: center;
        animation: floatMobileLogo 4s ease-in-out infinite;
    }

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

    .header-logo-img {
        height: 115px;
        margin-bottom: -20px;
        max-width: 100%;
        filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(124,58,237,0.4)) !important;
    }

    .nav-links { display: none; }

    .lang-switch {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 2005;
        background: rgba(124,58,237,0.15);
        color: var(--text-primary);
        border: 1px solid rgba(124,58,237,0.3);
        padding: 4px 12px;
        font-size: 0.8rem;
    }

    .btn-cta {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        width: 100%;
        z-index: 1001;
        border-radius: 0;
        padding: 18px;
        font-size: 1.15rem;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 -4px 30px var(--accent-glow);
    }

    .hero { padding-top: 70px; }
}

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
    background: var(--bg-base);
}

/* Animated background orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero::before {
    width: 600px; height: 600px;
    top: -200px; right: -100px;
    background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
}
.hero::after {
    width: 400px; height: 400px;
    bottom: -100px; left: -100px;
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-bg { display: none; } /* replaced by pseudo-elements */

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ⚠️ Critical: min-width:0 prevents grid cell overflow */
.hero-content {
    animation: fadeUp 0.9s ease forwards;
    min-width: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.1));
    color: var(--accent-light);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 28px;
    border: 1px solid rgba(245,158,11,0.35);
    box-shadow: 0 0 24px rgba(245,158,11,0.2);
    animation: pulseBadge 3s ease-in-out infinite;
    letter-spacing: 0.3px;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 16px rgba(245,158,11,0.2); }
    50%       { box-shadow: 0 0 32px rgba(245,158,11,0.45); }
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.18;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--text-primary);
    /* Gradient text on last part */
    background: linear-gradient(135deg, #ffffff 0%, #C4B5FD 60%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease 0.2s both;
    min-width: 0;  /* ⚠️ Critical: prevents grid overflow */
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-image,
.hero-slideshow {
    width: 100%;
    height: 540px;
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 60px var(--primary-glow);
    border: 1px solid var(--border-strong);
    overflow: hidden;
}

.hero-image {
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease-in-out, transform 4s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.decor {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}
.decor-1 {
    width: 320px; height: 320px;
    background: var(--primary);
    opacity: 0.12;
    top: -60px; right: -60px;
    filter: blur(60px);
}
.decor-2 {
    width: 220px; height: 220px;
    background: var(--teal);
    opacity: 0.12;
    bottom: -40px; left: -40px;
    filter: blur(40px);
}

@media (max-width: 992px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        overflow: visible;
    }
    .hero-content { display: contents; min-width: unset; }
    .badge          { order: 1; margin: 0 auto 12px; width: fit-content; }
    .hero-title     { order: 2; font-size: 2rem; margin-bottom: 12px; }
    .hero-image-wrapper { order: 3; max-width: 480px; margin: 16px auto; width: 100%; min-width: unset; }
    .hero-image,
    .hero-slideshow { height: auto; aspect-ratio: 1 / 1; }
    .hero-subtitle  { order: 4; margin-bottom: 20px; font-size: 1rem; }
    .hero-actions   { order: 5; justify-content: center; }
}

/* ────────────────────────────────────────
   SECTION HELPERS
──────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ────────────────────────────────────────
   FEATURES
──────────────────────────────────────── */
.features {
    padding: 80px 0;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 300px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: var(--bg-glass-hover);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md), 0 0 32px var(--primary-glow);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--primary-light);
    border: 1px solid rgba(124,58,237,0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(6,182,212,0.2));
    box-shadow: 0 0 24px var(--primary-glow);
}

.feature-icon svg { width: 38px; height: 38px; stroke-width: 1.5; }

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ────────────────────────────────────────
   GALLERY
──────────────────────────────────────── */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible; /* Allow overflow on hover */
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid var(--border);
    z-index: 1;
    height: 250px; /* Height of bottom row items */
}

@media (hover: hover) {
    .gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg), 0 0 32px var(--primary-glow);
        border-color: var(--primary-light);
        z-index: 100;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 1px);
    transition: transform 0.3s ease, border-radius 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .gallery-item:hover img {
        position: absolute;
        top: 50%; left: 50%;
        width: auto;
        height: 160%;
        max-height: 90vh; /* Prevent overflowing viewport height */
        max-width: 90vw;  /* Prevent overflowing viewport width */
        transform: translate(-50%, -50%);
        object-fit: contain;
        border: 4px solid var(--primary-light);
        border-radius: var(--radius-md);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-glow);
        z-index: 1000;
    }
}

.item-main { grid-column: span 3; height: 480px; }

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(17, 24, 39, 0.95);
    color: var(--text-primary);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease, bottom 0.35s ease;
    pointer-events: none;
    z-index: 105;
}

@media (hover: hover) {
    .gallery-item:hover .gallery-overlay {
        opacity: 1;
        bottom: -35%; /* Float dynamically below the 160% height expanded image */
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .bento-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gallery-item { height: 220px; }
    .item-main { grid-column: span 1; height: 280px; }
}

/* ────────────────────────────────────────
   COLORS SHOWCASE
──────────────────────────────────────── */
.colors-showcase {
    padding: 80px 0;
    background: var(--bg-surface);
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.color-card {
    text-align: center;
    background: var(--bg-glass);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.color-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.color-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md), 0 0 32px var(--primary-glow);
}
.color-card:hover::after { opacity: 1; }

.color-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-backdrop { display: none; }

.color-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    border-radius: var(--radius-md);
}

.color-card:hover .color-img { transform: scale(1.06); }

.color-name {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.color-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.97rem;
}

/* ────────────────────────────────────────
   VIDEO SHOWCASE
──────────────────────────────────────── */
.video-showcase {
    padding: 80px 0;
    background: var(--bg-base);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px var(--primary-glow);
    background: var(--bg-surface);
    position: relative;
    border: 1px solid var(--border-strong);
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

/* ────────────────────────────────────────
   HOW IT WORKS
──────────────────────────────────────── */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-surface);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.how-text h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-text > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.steps-list li {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.steps-list li:hover {
    border-color: rgba(124,58,237,0.4);
    background: var(--bg-glass-hover);
    transform: translateX(-6px);
}

.step-num {
    width: 56px; height: 56px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), #5B21B6);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 0 20px var(--primary-glow);
}

.steps-list strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.steps-list p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.97rem;
}

.guide-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 40px var(--primary-glow);
    display: block;
    border: 1px solid var(--border-strong);
}

@media (max-width: 992px) {
    .how-it-works-content { grid-template-columns: 1fr; }
    .how-image { order: -1; }
    .steps-list li:hover { transform: none; }
}

/* ────────────────────────────────────────
   CHECKOUT
──────────────────────────────────────── */
.checkout-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.checkout-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
}

.checkout-form-wrapper {
    background: var(--bg-surface);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.checkout-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-form-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Urgency alert */
.urgency-alert {
    background: rgba(225, 29, 72, 0.08);
    color: #FB7185;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    border: 1px solid rgba(225,29,72,0.25);
    animation: pulseAlert 2.5s infinite;
}

@keyframes pulseAlert {
    0%, 100% { border-color: rgba(225,29,72,0.2); }
    50%       { border-color: rgba(225,29,72,0.55); box-shadow: 0 0 20px rgba(225,29,72,0.15); }
}

.urgency-alert i { flex-shrink: 0; margin-top: 2px; }

/* Payment tabs */
.payment-tabs {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
}

.tab-btn {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.tab-btn svg { width: 18px; height: 18px; }

.tab-btn.active {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(124,58,237,0.12);
    box-shadow: 0 0 16px var(--primary-glow);
}

.tab-btn:hover:not(.active) {
    border-color: var(--border-strong);
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

/* Payment forms */
.payment-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.payment-form.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Form fields */
.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.15), 0 0 20px var(--primary-glow);
    background: var(--bg-surface);
}

/* Order summary */
.order-summary {
    background: var(--bg-elevated);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    border: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.97rem;
}

.summary-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 800;
}

/* Offers */
.offers-section { margin-bottom: 24px; }

.offer-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-card {
    display: block;
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    background: var(--bg-elevated);
    transition: var(--transition);
}

.offer-card:hover { border-color: var(--border-strong); }

.offer-card input {
    position: absolute;
    opacity: 0;
}

.offer-card.active {
    border-color: var(--primary);
    background: rgba(124,58,237,0.1);
    box-shadow: 0 0 16px var(--primary-glow);
}

.offer-badge {
    position: absolute;
    top: -10px; left: 16px;
    background: linear-gradient(135deg, #E11D48, #BE123C);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(225,29,72,0.4);
}

.offer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.offer-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-light);
}

/* Color selection */
.color-selection-section {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.color-picker-group {
    background: var(--bg-elevated);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.color-picker-group h4 {
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    background: var(--bg-glass);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.color-option:hover {
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.color-option input { display: none; }

.color-swatch {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.color-option.active {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(124,58,237,0.12);
}

.payment-method-title {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

/* Stripe mock */
.stripe-mock-info {
    text-align: center;
    background: rgba(99,91,255,0.08);
    padding: 28px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid rgba(99,91,255,0.2);
}

.secure-icon {
    color: var(--primary-light);
    width: 48px; height: 48px;
    margin-bottom: 14px;
}

/* Success */
.success-message {
    text-align: center;
    padding: 48px 0;
}
.success-message.hidden { display: none; }

.success-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 32px rgba(16,185,129,0.4);
}

.success-icon svg { width: 40px; height: 40px; }
.success-message h3 { font-size: 2rem; margin-bottom: 14px; color: #34D399; }
.success-message p  { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; }

/* Checkout sidebar */
.product-summary-card {
    background: linear-gradient(145deg, var(--bg-elevated), rgba(124,58,237,0.12));
    border: 1px solid rgba(124,58,237,0.25);
    color: var(--text-primary);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 40px var(--primary-glow);
    position: sticky;
    top: 100px;
}

.product-img-mini {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: transparent;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    filter: drop-shadow(0 8px 20px var(--primary-glow));
}

.product-summary-card h3 { font-size: 1.9rem; margin-bottom: 20px; }

.product-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.product-perks svg { color: var(--accent); }

@media (max-width: 992px) {
    .checkout-container { grid-template-columns: 1fr; }
    .product-summary-card { order: -1; position: relative; top: 0; padding: 28px; }
    .checkout-form-wrapper { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .payment-tabs { flex-direction: column; }
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 80px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.93rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-right: 6px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.93rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.87rem;
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 32px; margin-bottom: 32px; }
    .footer-logo p    { max-width: 100%; margin: 0 auto; }
    .footer-links a:hover { padding-right: 0; }
}

/* ────────────────────────────────────────
   FLOATING SOCIAL
──────────────────────────────────────── */
.floating-social {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    color: white;
}

.social-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.social-icon.wa  { background: #25D366; }
.social-icon.msg { background: #0084FF; }
.social-icon.ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

@media (max-width: 768px) {
    .features, .gallery-section, .colors-showcase,
    .video-showcase, .how-it-works, .checkout-section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    footer          { padding: 40px 0 24px; }

    .floating-social { bottom: 80px; left: 16px; }
    .social-icon { width: 44px; height: 44px; }
    .social-icon svg { width: 20px; height: 20px; }
}

/* ────────────────────────────────────────
   FOOTER LOGO
──────────────────────────────────────── */
.footer-logo-img {
    height: 100px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(124,58,237,0.35));
}

.checkout-logo { /* rendered natively */ }

/* ────────────────────────────────────────
   SCROLLBAR STYLING
──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--teal));
    border-radius: var(--radius-full);
}

/* ────────────────────────────────────────
   SELECTION COLOR
──────────────────────────────────────── */
::selection {
    background: rgba(124,58,237,0.35);
    color: var(--text-primary);
}
