/* ═══════════════════════════════════════════════════════════════════════════════
   MARKETPLACE-PAGE.CSS — Marketplace Page Specific Styles
   Hero neon design, platform cards, HUD console, logic gates, tech modules
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── MARKETPLACE HERO ──────────────────────────────────────────────────────── */
.hero-marketplace {
    background: radial-gradient(ellipse at 40% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0c 0%, #0f0a1a 50%, #0a0a0c 100%);
}

.advanced-bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 75% 60%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 40%);
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.06;
}

.geo-hex-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #6366f1, #ec4899);
    animation: rotate 20s linear infinite;
}

.geo-hex-2 {
    bottom: 15%;
    right: 8%;
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #ec4899, #0ea5e9);
    animation: rotate 25s linear infinite reverse;
}

.geo-circle-1 {
    top: 30%;
    right: 15%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.15);
    animation: pulse 5s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    left: 20%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(236, 72, 153, 0.1);
    animation: pulse 7s ease-in-out infinite;
}

/* Particle Network */
.particle-network {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.particle-dot {
    animation: float 6s ease-in-out infinite;
}

.particle-dot.dot-2 { animation-delay: -1s; }
.particle-dot.dot-3 { animation-delay: -2s; }
.particle-dot.dot-4 { animation-delay: -3s; }
.particle-dot.dot-5 { animation-delay: -4s; }
.particle-dot.dot-6 { animation-delay: -5s; }

.particle-line {
    animation: shimmer 3s ease-in-out infinite alternate;
}

.line-2 { animation-delay: -1s; }
.line-3 { animation-delay: -2s; }

/* Scanlines */
.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
}

/* Pulse Rings */
.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.15);
    animation: pulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.ring-3 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}


/* ─── HERO BADGE MODERN ─────────────────────────────────────────────────────── */
.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    animation: fadeScale 0.6s var(--ease-out) both;
}


/* ─── HERO TITLES ───────────────────────────────────────────────────────────── */
.hero-title-modern {
    font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.title-main {
    display: block;
    color: #fff;
}

.title-neon {
    display: block;
    position: relative;
    background: linear-gradient(135deg, #6366f1, #ec4899, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-glow {
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, #6366f1, #ec4899, #0ea5e9);
    filter: blur(30px);
    opacity: 0.2;
    z-index: -1;
    border-radius: inherit;
}


/* ─── SUBTITLE & TAGS ──────────────────────────────────────────────────── */
.hero-subtitle-modern {
    font-size: clamp(0.95rem, 1.1vw + 0.1rem, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.platform-tag {
    font-weight: 600;
    padding: 2px 0;
    position: relative;
}

.tag-amazon { color: #FF9900; }
.tag-flipkart { color: #FFE500; }
.tag-myntra { color: #F43397; }
.tag-meesho { color: #7b2ff7; }
.tag-gold { color: var(--primary-gold); }


/* Neon Gradient Text Utility */
.text-gradient-neon {
    background: linear-gradient(135deg, #6366f1, #ec4899, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ─── CTAs ───────────────────────────────────────────────────────────────────── */
.cta-neo-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #8B5CF6);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.cta-neo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.cta-neo-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
}

.cta-neo-ghost:hover {
    color: #fff;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.05);
}


/* ─── TRUST BAR ─────────────────────────────────────────────────────────────── */
.platform-trust-modern {
    margin-top: 2rem;
}

.trust-label-modern {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.platform-badge-modern {
    width: 70px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    transition: all var(--transition-base);
}

.platform-badge-modern:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.platform-badge-modern img {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.3);
}


/* ─── MOBILE STATS ──────────────────────────────────────────────────────────── */
.mobile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mobile-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(3, 3, 4, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-stat-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.mobile-stat-card i {
    color: #6366f1;
    font-size: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.mobile-stat-card strong {
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    display: block;
    color: #fff;
    line-height: 1.2;
}

.mobile-stat-card span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}


/* ─── FEATURE LIST MINI ─────────────────────────────────────────────────────── */
.feature-list-mini {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list-mini li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.feature-list-mini li i {
    font-size: 0.6rem;
    color: var(--primary-gold);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   5-STAGE RESPONSIVE — MARKETPLACE PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Stage 1: XS (<576px) — Mobile Portrait */
@media (max-width: 575.98px) {
    .hero-title-modern { font-size: clamp(2rem, 10vw, 2.5rem); }
    .hero-badge-modern { padding: 8px 16px; font-size: 0.75rem; }
    .hero-subtitle-modern { font-size: 0.95rem; }
    .cta-neo-primary, .cta-neo-ghost { padding: 12px 24px; font-size: 0.9rem; width: 100%; justify-content: center; } /* Full width buttons cleanly stacked on XS */
    .hero-actions-modern { gap: 10px !important; }
    .platform-badge-modern { width: 60px; height: 32px; flex-shrink: 0; }
    .mobile-stats-grid { grid-template-columns: 1fr; gap: 12px; } /* Stack mobile stats on absolute smallest */
    .pulse-ring, .geo-shape { display: none; }
}

/* Stage 2: SM (576px+) — Mobile Landscape / Large Phones */
@media (min-width: 576px) and (max-width: 767.98px) {
    .mobile-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } /* Wrap to 2 neat columns on SM */
    .mobile-stats-grid .mobile-stat-card:last-child { grid-column: span 2; } /* Make odd one full-width */
    .pulse-ring, .geo-shape { display: none; }
}

/* Stage 3: MD (768px+) — Tablet */
@media (min-width: 768px) {
    .hero-subtitle-modern { max-width: 100%; }
    .platform-badge-modern { width: 80px; height: 36px; padding: 6px 12px; }
    .platform-badge-modern img { height: 24px; }
    .mobile-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } /* 3 neat columns on tablet */
}

/* Stage 4: LG (992px+) — Desktop */
@media (min-width: 992px) {
    .hero-subtitle-modern { max-width: 500px; font-size: 1.1rem; }
    .hero-title-modern { font-size: 3.5rem; }
    .geo-shape { display: block; }
}

/* Stage 5: XL (1200px+) — Ultrawide & High-Res */
@media (min-width: 1200px) {
    .hero-title-modern { font-size: 4.5rem; }
    .hero-subtitle-modern { font-size: 1.25rem; max-width: 550px; }
}
