﻿:root {
    --primary: #4da6ff;
    /* Tech Blue */
    --primary-dark: #00d4ff;
    /* Lighter Cyan Blue */
    --secondary: #6a00ff;
    /* Deep Purple */
    --secondary-light: #7b5cff;

    --accent: #FF8C00;
    --accent-hover: #FB923C;

    --bg-dark: #0b001a;
    --bg-darker: #05000d;
    --bg-sidebar: #12002b;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(18, 0, 43, 0.7);
    --bg-secondary: #1E293B;

    --text-main: #334155;
    --text-light: #d0d8ff;
    --text-muted: #94a3b8;
    --text-title: #ffffff;

    --border: #E2E8F0;
    --border-dark: #2d1b4e;

    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --success: #22C55E;
    --warning: #FACC15;
    --error: #EF4444;

    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    /* Default to light text for body (since bg is dark) */
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-anchor: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-4 {
    gap: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.w-full {
    width: 100%;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Text Colors */
.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: #fff;
}

.text-muted {
    color: var(--text-muted);
}

.font-bold {
    font-weight: 700;
}

.hidden {
    display: none !important;
}

/* Components */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    /* Purple to Pink Gradient */
    color: white;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    /* Purple Text */
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
}

.btn-success {
    background: var(--success);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: #16A34A;
    /* Darker Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(34, 197, 94, 0.4);
}

/* Cards - Now White */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text-main);
    /* Dark text on white card */
}

/* Glass Card - Keeping class name for compatibility but styling solid */
.glass-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text-main);
}

/* Adjust headings inside white cards to be dark */
.card h1,
.card h2,
.card h3,
.card h4,
.card span,
.card p,
.card strong,
.card b {
    color: var(--text-main);
}

/* Exception for intentional colorful text */
.card .text-primary {
    color: var(--primary) !important;
}

.card .text-accent {
    color: var(--accent) !important;
}

.card .text-muted {
    color: var(--text-muted) !important;
}

.card .text-white {
    color: var(--text-main) !important;
}

/* Force "white" text to dark in cards */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Inputs on White Background */
/* Inputs on White Background */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    background: #F1F5F9;
    /* Light Gray */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--primary);
    /* Purple text for inputs */
    font-weight: 500;
    transition: 0.3s;
}

.input-group select {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    /* Purple background for selects */
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    color: white;
    /* White text for selects */
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.input-group select:focus {
    filter: brightness(1.1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Cart Icon Badge */
.cart-btn-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Auth Page */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark), #1E293B);
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
}

.logo-display {
    width: 120px;
    margin-bottom: 20px;
}

/* Landing Page Redesign */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Sophisticated Dark Tech Gradient */
    background: linear-gradient(135deg, #0b001a 0%, #1c003d 50%, #12002b 100%);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Override Gradient Animation for a subtle deep pulse instead of wild colors */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.landing-wrapper::before {
    /* Subtle overlay for "glow" effects */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(106, 0, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Header/Nav Area */
/* Split Layout */
.landing-split {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
    align-items: center;
}

.landing-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.landing-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f5f9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
    max-width: 90%;
    line-height: 1.6;
}

.feature-row {
    display: flex;
    gap: 20px;
}

/* Animations */
.animate-slide-right {
    animation: slideRight 1s ease forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.animate-slide-left {
    animation: slideLeft 1s ease forwards;
    opacity: 0;
    transform: translateX(50px);
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Stack */
@media (max-width: 1024px) {
    .landing-split {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .landing-left {
        padding: 0;
        text-align: center;
        order: 1;
    }

    .landing-right {
        width: 100%;
        order: 2;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-row {
        flex-direction: column;
    }

    .auth-box {
        width: 100%;
    }
}

/* Auth Box Float */
.landing-auth-wrapper {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.landing-auth-wrapper .auth-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-auth-wrapper .auth-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Feature Cards (Bottom) */
.feature-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
    width: 100%;
    margin-top: auto;
    /* Push to bottom */
    padding-bottom: 40px;
}

.feature-card {
    padding: 25px;
    border-radius: 16px;
    color: white;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-buyer {
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    box-shadow: 0 10px 30px -5px rgba(6, 182, 212, 0.4);
}

.card-seller {
    background: linear-gradient(135deg, #FF8C00 0%, #F59E0B 100%);
    box-shadow: 0 10px 30px -5px rgba(255, 140, 0, 0.4);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(to right, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Card Shine Effect */
.feature-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border-radius: 16px;
    color: white;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.feature-card:hover::after {
    left: 100%;
    transition: 0.5s;
}

/* Cloud Logo Effect */
.logo-cloud {
    position: relative;
    display: inline-block;
    padding: 20px;
    margin-bottom: 2rem;
    animation: floatLogo 6s ease-in-out infinite;
    z-index: 10;
}

.logo-cloud::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    animation: pulseCloud 4s ease-in-out infinite alternate;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseCloud {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

/* Hero Image Container */
.landing-hero-image {
    margin-top: 2rem;
    position: relative;
    z-index: 5;
    animation: slideUp 1.2s ease forwards;
    display: flex;
    justify-content: center;
}

.landing-hero-image img,
.landing-hero-image video {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    border-radius: 20px;
    object-fit: cover;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .landing-hero h1 {
        font-size: 3.5rem;
    }

    .feature-section {
        grid-template-columns: 1fr 1fr;
    }
}


/* Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-dark);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
}

.sidebar-logo img {
    height: 40px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0.05) 100%);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.nav-item i {
    width: 24px;
    text-align: center;
}

.main-content {
    padding: 40px;
}

@media (max-width: 768px) {
    .dashboard-layout {
        display: block;
        /* Stack on mobile */
    }

    .sidebar {
        display: none;
        /* Hide sidebar on mobile (use drawer) */
    }

    .main-content {
        padding: 15px;
        /* Reduce padding on mobile */
        overflow-x: hidden;
    }

    /* Header adjustments for mobile */
    .header {
        display: none;
        /* Hide entire desktop header on mobile, rely on .mobile-header */
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    /* Enforce 3 columns on screens lg and up as requested */
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    /* Increased gap */
    margin-top: 2rem;
    /* Spacing from search */
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    border: none;
    /* Shadow handles border */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 480px) {
    .product-img {
        height: 160px;
    }
}

.product-info {
    padding: 16px 0 0 0;
}

.price-tag {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #CBD5E1;
    transition: 0.2s;
}

.like-btn:hover {
    transform: scale(1.1);
}

.like-btn.liked {
    color: var(--error);
}

/* Mobile Header & Drawer */
.mobile-header {
    display: none;
}

.mobile-menu-drawer {
    display: none;
}

@media (max-width: 768px) {
    .dashboard-layout {
        display: block;
        /* Stack on mobile */
    }

    .sidebar {
        display: none;
    }

    .header {
        display: none !important;
        /* Force hide desktop header */
    }

    .main-content {
        padding: 15px;
        padding-top: 90px;
        padding-bottom: 90px;
        overflow-x: hidden;
    }


    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        /* Use right: 0 instead of width: 100% to avoid scrollbar issues */
        height: 70px;
        background: var(--bg-sidebar);
        /* Dark Blue */
        z-index: 1000;
        border-bottom: 1px solid var(--border-dark);
        padding: 0 20px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        color: white;
        box-sizing: border-box;
        /* Ensure padding doesn't add to width */
    }

    /* Drawer */
    .mobile-menu-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 5000;
        pointer-events: none;
    }

    .drawer-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.8);
        /* Dark Blue Opacity */
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .drawer-content {
        position: absolute;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100%;
        background: var(--bg-sidebar);
        /* Dark Blue */
        padding: 24px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        border-left: 1px solid var(--border-dark);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        color: white;
    }

    .drawer-content .nav-item {
        color: #94A3B8;
    }

    .drawer-content .nav-item:hover,
    .drawer-content .nav-item.active {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        border-left-color: var(--accent);
    }

    .mobile-menu-drawer.active {
        pointer-events: auto;
    }

    .mobile-menu-drawer.active .drawer-backdrop {
        opacity: 1;
    }

    .mobile-menu-drawer.active .drawer-content {
        transform: translateX(-300px);
    }

    /* Ensure Header in main content doesn't show logo again */
    .main-content .header img {
        display: none !important;
    }
}

.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar - Improved Usability */
::-webkit-scrollbar {
    width: 12px;
    /* Increased from 6px for better grab target */
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    /* Slight contrast for track */
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 6px;
    border: 3px solid transparent;
    /* Creates padding effect inside */
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748B;
    background-clip: content-box;
    border: 3px solid transparent;
}

/* Global Overflow Fix */
/* Global Overflow Fix */
html {
    scroll-behavior: smooth;
    /* Standard smooth scrolling */
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    /* Explicitly allow vertical scroll */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Centered Landing Page Redesign */
.landing-centered {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Vibrant Zantra Animated Gradient */
    background: linear-gradient(-45deg, #FF8C00, #EC4899, #8B5CF6, #06B6D4);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

.landing-content-wrapper {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    z-index: 5;
}

.hero-section-center {
    text-align: center;
    width: 100%;
}

.hero-title-center {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle-center {
    font-size: 1.25rem;
    color: #f1f5f9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Centered Auth Box */
.auth-box-centered {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2.5rem;
    border-radius: 24px;
    padding: 2.5rem;
    transform: translateY(0);
    transition: all 0.4s ease;
    position: relative;
    z-index: 20;
}

.auth-box-centered:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Trust Bar Centered */
.trust-bar-center {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Feature Grid Center */
.feature-grid-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 1rem;
}

/* Video Container & Mute Button */
.video-container-center {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.video-container-center video {
    width: 100%;
    display: block;
}

.mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: 0.3s;
    z-index: 10;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title-center {
        font-size: 2.5rem;
    }

    .landing-centered {
        padding: 1rem;
    }

    .trust-bar-center {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
    }

    .video-container-center {
        max-width: 100%;
    }
}

/* Store Divider Enhancement - Compact Version */
.store-divider-section {
    position: relative;
    margin: 2rem 0;
    /* Reduced margin */
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.store-divider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.05) 0%, rgba(15, 23, 42, 0) 100%);
    border-left: 2px solid var(--primary);
    /* Thinner border */
    padding: 0.75rem 1rem;
    /* Much smaller padding */
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.store-divider-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    transform: skewX(-20deg) translateX(-150%);
    animation: shineDivider 3s infinite;
}

@keyframes shineDivider {
    0% {
        transform: skewX(-20deg) translateX(-150%);
    }

    20% {
        transform: skewX(-20deg) translateX(150%);
    }

    100% {
        transform: skewX(-20deg) translateX(150%);
    }
}

.store-name-display {
    display: flex;
    flex-direction: column;
}

.store-label {
    text-transform: uppercase;
    font-size: 0.65rem;
    /* Smaller label */
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 2px;
}

.store-title-large {
    font-size: 1.1rem;
    /* Significantly reduced title */
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.visit-store-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.4rem 1rem;
    /* Compact button */
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
}

.visit-store-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Scroll Container Enhancement */
.horizontal-scroll-container {
    padding: 10px 0 30px 0;
    /* Space for shadow/hover */
    margin: 0 -10px;
    /* Counteract padding */
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .store-divider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .visit-store-btn {
        width: 100%;
        justify-content: center;
    }

    .store-title-large {
        font-size: 1.5rem;
    }
}

/* Modal / Lightbox Utilities */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    /* Default max-width */
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s forwards;
}

/* Ensure glass effect is consistent */
.modal-content.glass-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(30, 41, 59, 0.98);
    /* Less transparent for legibility */
}

/* Close Button Standard */
.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: var(--error);
    color: white;
    transform: rotate(90deg);
}

/* Custom Scrollbar for Modal Content */
.modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 1.5rem;
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-dark);
    background: rgba(0, 0, 0, 0.2);
}

/* Mobile specific overrides */
@media (max-width: 640px) {
    .modal-content {
        max-height: 95vh;
        width: 100%;
    }

    .modal-overlay {
        padding: 10px;
    }
}

/* New Animations for Landing Page */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Feature Card Hover Effects */
.feature-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}