/*
Theme Name: Click Sale Lahore
Theme URI: http://clicksale.pk
Author: Antigravity
Description: Premium Fashion & AI Commerce Ecosystem Theme for Click Sale Lahore.
Version: 1.0.0
*/

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

/* Reset and Variables */
:root {
    --bg-dark: #080612;
    --bg-card: rgba(18, 14, 36, 0.6);
    --accent-glow: rgba(138, 43, 226, 0.15);
    --accent-violet: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.3);
    --glass-effect: backdrop-filter: blur(16px);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Background Gradients & Glows */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(8,6,18,0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

.ambient-glow-left {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(8,6,18,0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-30px, 30px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-violet);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(8, 6, 18, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    transition: var(--transition-smooth);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.logo-tag {
    font-size: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    color: var(--text-white);
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-violet);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 5px;
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    color: var(--accent-cyan);
    transform: scale(1.05);
}

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

.btn-toggle-dashboard {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--border-glow);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-toggle-dashboard:hover {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 100px 5% 60px 5%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 25px;
    color: var(--text-white);
}

.badge-new span {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
    color: white;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, #fff 40%, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    border: none;
    color: white;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 24px;
    width: 380px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hero-card-header .live-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
    font-size: 18px;
}

.stat-text h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.stat-text p {
    font-size: 15px;
    font-weight: 700;
}

.stat-trend {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
}

.stat-trend.negative {
    color: #ef4444;
}

/* Feature Models Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Products Section (Marketplace Demo) */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    border-color: transparent;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15);
}

.product-image-container {
    height: 280px;
    position: relative;
    background: #18152c;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container svg {
    transition: var(--transition-smooth);
}

.product-card:hover .product-image-container svg {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-pink);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-brand {
    font-size: 11px;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.btn-add-cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-cart:hover {
    background: var(--accent-violet);
    border-color: transparent;
    color: white;
    transform: rotate(90deg);
}

/* Sidebar Drawer - Cart */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: rgba(8, 6, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 200;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.btn-close-cart {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.btn-close-cart:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    gap: 15px;
}

.cart-empty-icon {
    font-size: 40px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #18152c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13.5px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 5px;
}

.btn-remove-item:hover {
    color: #ef4444;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.01);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total-label {
    color: var(--text-muted);
    font-weight: 500;
}

.cart-total-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
}

/* Modal / Native Dialog styling */
dialog {
    margin: auto;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 0;
    width: 90%;
    max-width: 480px;
    background: #0d0a1a;
    color: var(--text-white);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    outline: none;
}

dialog::backdrop {
    background: rgba(8, 6, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dialog-container {
    padding: 30px;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dialog-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.dialog-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-white);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.checkout-summary {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 8px;
}

.summary-row:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

/* Verification Step in Checkout */
.verification-step, .success-step {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.verif-icon {
    font-size: 48px;
    color: #25d366; /* WhatsApp Green */
    margin-bottom: 15px;
}

.verif-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    outline: none;
}

.otp-input:focus {
    border-color: var(--accent-cyan);
}

/* Success step */
.success-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}

.success-step h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.success-step p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.order-tracker {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
}

.tracker-title {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tracker-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.tracker-line:last-child {
    margin-bottom: 0;
}

/* RocketAgents AI Widget */
.ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.ai-toggle:hover {
    transform: scale(1.05) rotate(10deg);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.ai-window {
    width: 350px;
    height: 480px;
    background: rgba(10, 8, 22, 0.95);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.ai-window.open {
    display: flex;
}

.ai-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-bottom: 1px solid var(--border-light);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.ai-name h4 {
    font-size: 13.5px;
    font-weight: 600;
}

.ai-name p {
    font-size: 10px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.ai-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.msg.ai {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg.user {
    background: var(--accent-violet);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.01);
}

.suggest-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.suggest-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-violet);
}

.ai-input-area {
    padding: 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 8px;
}

.ai-input-area input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.ai-input-area input:focus {
    border-color: var(--accent-violet);
}

.btn-send {
    background: var(--accent-violet);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-send:hover {
    background: var(--accent-cyan);
}

/* ==========================================
   SELLEROS DASHBOARD VIEW (B2B Mode)
   ========================================== */
.seller-dashboard {
    display: none;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.dashboard-container {
    display: flex;
    gap: 30px;
    padding-top: 20px;
}

/* Sidebar Dashboard */
.db-sidebar {
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
}

.db-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.db-menu-item.active a, .db-menu-item a:hover {
    color: var(--text-white);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: inset 3px 0 0 var(--accent-violet);
}

.db-menu-item-icon {
    font-size: 16px;
}

/* Content Dashboard */
.db-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.db-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.db-header-actions {
    display: flex;
    gap: 12px;
}

/* Analytics Cards */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.analytic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.analytic-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.analytic-icon.sales { background: rgba(139, 92, 246, 0.1); color: var(--accent-violet); }
.analytic-icon.rts { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.analytic-icon.chats { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.analytic-icon.shipped { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.analytic-details h4 {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytic-details p {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.analytic-trend {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
}

.analytic-trend.down {
    color: #ef4444;
}

/* Two Column Layout inside Dashboard */
.db-two-col {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
}

.db-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
}

.db-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.db-panel-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.db-panel-link {
    font-size: 12.5px;
    color: var(--accent-cyan);
    text-decoration: none;
}

/* Orders Table */
.db-table-container {
    overflow-x: auto;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.db-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.db-table td {
    padding: 14px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.confirmed { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-badge.pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-badge.dispatched { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

/* Live AI Chat Monitor */
.live-chats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.live-chat-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.live-chat-row:hover {
    border-color: var(--border-glow);
    background: rgba(139, 92, 246, 0.03);
}

.chat-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.chat-row-user {
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-row-time {
    font-size: 11px;
    color: var(--text-muted);
}

.chat-row-snippet {
    font-size: 12.5px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-row-agent-tag {
    font-size: 10px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding-top: 40px;
        gap: 50px;
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .db-two-col {
        grid-template-columns: 1fr;
    }
    .dashboard-container {
        flex-direction: column;
    }
    .db-sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 4%;
    }
    .nav-links, .btn-toggle-dashboard span {
        display: none;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-card {
        width: 100%;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
