/* ===== ShopStaq — Gen-Z Pop Design ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #ede9fe;
    --neon-pink: #ec4899;
    --neon-blue: #06b6d4;
    --neon-green: #10b981;
    --neon-yellow: #fbbf24;
    --neon-orange: #f97316;
    --gradient-1: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-2: linear-gradient(135deg, #06b6d4, #8b5cf6);
    --gradient-3: linear-gradient(135deg, #ec4899, #f97316);
    --gradient-4: linear-gradient(135deg, #10b981, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --dark: #0f172a;
    --dark-card: #1e1b4b;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #faf5ff;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --error: #ef4444;
    --error-bg: #fef2f2;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 2px 8px rgba(139,92,246,0.08);
    --shadow-md: 0 4px 20px rgba(139,92,246,0.12);
    --shadow-lg: 0 8px 40px rgba(139,92,246,0.15);
    --shadow-glow: 0 0 30px rgba(139,92,246,0.3);
    --font: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Navbar ===== */
.navbar {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139,92,246,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: var(--dark);
    font-family: var(--font); font-weight: 700; font-size: 1.3rem;
}
.nav-logo .logo-svg {
    flex-shrink: 0;
}
.nav-logo .logo-icon {
    width: 36px; height: 36px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 600; font-size: 0.9rem; transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn-primary { color: white; }
.nav-links a.btn-primary:hover { color: white; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2.5px; background: var(--dark); border-radius: 2px; position: absolute; left: 0; transition: var(--transition); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
    background: var(--primary-light); border: none; border-radius: 20px;
    padding: 0.35rem 0.7rem; font-size: 0.8rem; font-weight: 700;
    cursor: pointer; color: var(--primary); font-family: var(--font);
}
.lang-dropdown {
    display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md); overflow: hidden; min-width: 60px; z-index: 50;
}
.lang-switcher:hover .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 0.5rem 0.75rem; font-size: 0.8rem; font-weight: 600; text-decoration: none; color: var(--text-light); }
.lang-dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.lang-dropdown a.active { color: var(--primary); background: var(--primary-light); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.75rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    font-family: var(--font); text-decoration: none; border: none; cursor: pointer;
    transition: all var(--transition); line-height: 1; position: relative; overflow: hidden;
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-primary {
    background: var(--gradient-1); color: var(--white);
    box-shadow: 0 4px 15px rgba(139,92,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 25px rgba(139,92,246,0.45); }
.btn-secondary {
    background: var(--gradient-2); color: var(--white);
    box-shadow: 0 4px 15px rgba(6,182,212,0.3);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(6,182,212,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: #1e293b; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-light); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-light); }
.btn-danger { background: var(--error); color: white; border-radius: 50px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn .emoji { font-size: 1.1em; }
.btn svg { flex-shrink: 0; }

/* Glow effect on primary buttons */
.btn-primary::before {
    content: ''; position: absolute; inset: -2px; border-radius: 50px;
    background: var(--gradient-1); z-index: -1; opacity: 0; filter: blur(15px);
    transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 0.6; }

/* ===== Cards ===== */
.card {
    background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--shadow); border: 1px solid rgba(139,92,246,0.08);
    transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-compact { padding: 1.25rem; }
.card-glass {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-lg);
}

/* ===== Forms ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-weight: 600; color: var(--text);
    margin-bottom: 0.4rem; font-size: 0.875rem; font-family: var(--font);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.85rem 1.15rem; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-body);
    transition: all var(--transition); background: var(--white); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139,92,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .help { font-size: 0.8rem; color: var(--text-lighter); margin-top: 0.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Toggle */
.toggle-group { display: flex; align-items: center; gap: 0.75rem; }
.toggle { width: 48px; height: 26px; border-radius: 13px; background: var(--border); position: relative; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 3px; left: 3px; transition: var(--transition); box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle-input:checked + .toggle { background: var(--gradient-1); }
.toggle-input:checked + .toggle::after { left: 25px; }
.toggle-input { display: none; }

/* ===== Alerts ===== */
.alert { padding: 0.85rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.9rem; font-weight: 500; }
.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--error-bg); color: #dc2626; border: 1px solid #fecaca; }
.alert-error a { color: #dc2626; font-weight: 600; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; }
th { font-weight: 700; color: var(--text-light); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; font-family: var(--font); }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--primary-light); }

/* ===== Badges ===== */
.badge {
    display: inline-flex; align-items: center; padding: 0.3rem 0.75rem;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700; white-space: nowrap;
    font-family: var(--font);
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-error { background: var(--error-bg); color: var(--error); }
.badge-gray { background: #f1f5f9; color: var(--text-light); }
.badge-gradient { background: var(--gradient-1); color: white; }
.badge-neon { background: #0f172a; color: #8b5cf6; border: 1px solid #8b5cf6; }

/* ===== HERO — Dark, vibrant, TikTok-style ===== */
.hero {
    background: var(--gradient-hero);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139,92,246,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236,72,153,0.25) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(6,182,212,0.2) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(139,92,246,0.2); border: 1px solid rgba(139,92,246,0.3);
    color: #c4b5fd; padding: 0.5rem 1.25rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
    font-family: var(--font);
}
.hero h1 {
    font-family: var(--font); font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700; color: white; line-height: 1.1; margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}
.hero h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 .gradient-text-2 {
    background: var(--gradient-3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.15rem; color: #94a3b8; max-width: 560px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-primary { font-size: 1.05rem; padding: 1rem 2.5rem; }
.hero { position: relative; }

/* Hero animated shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%; opacity: 0.08;
    animation: heroFloat 8s ease-in-out infinite;
}
.shape-1 { width: 300px; height: 300px; background: #8b5cf6; top: -50px; left: -50px; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; background: #ec4899; bottom: -30px; right: 10%; animation-delay: 2s; }
.shape-3 { width: 150px; height: 150px; background: #06b6d4; top: 30%; right: -30px; animation-delay: 4s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

/* ===== Social proof ticker ===== */
.social-proof {
    background: white; border-bottom: 1px solid var(--border);
    padding: 1rem 0; overflow: hidden;
}
.proof-track {
    display: flex; gap: 3rem; animation: scroll 30s linear infinite;
    white-space: nowrap;
}
.proof-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-light); font-weight: 600; }
.proof-item .emoji { font-size: 1.2rem; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Features ===== */
.features { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card {
    background: white; border-radius: var(--radius-lg); padding: 2rem;
    border: 1px solid rgba(139,92,246,0.08);
    transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.feature-card:nth-child(1)::before { background: var(--gradient-1); }
.feature-card:nth-child(2)::before { background: var(--gradient-2); }
.feature-card:nth-child(3)::before { background: var(--gradient-3); }
.feature-card:nth-child(4)::before { background: var(--gradient-4); }
.feature-card:nth-child(5)::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.feature-card:nth-child(6)::before { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.feature-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; background: var(--primary-light);
    color: var(--primary);
}
.feature-card:nth-child(1) .feature-icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.feature-card:nth-child(2) .feature-icon { background: rgba(236,72,153,0.1); color: #ec4899; }
.feature-card:nth-child(3) .feature-icon { background: rgba(6,182,212,0.1); color: #06b6d4; }
.feature-card:nth-child(4) .feature-icon { background: rgba(16,185,129,0.1); color: #10b981; }
.feature-card:nth-child(5) .feature-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.feature-card:nth-child(6) .feature-icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.feature-icon svg { stroke: currentColor; }
.feature-card h3 { font-family: var(--font); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* ===== Steps ===== */
.steps { padding: 5rem 0; background: var(--dark); color: white; position: relative; overflow: hidden; }
.steps::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(139,92,246,0.15) 0%, transparent 50%);
}
.steps .container { position: relative; z-index: 1; }
.section-title { text-align: center; font-family: var(--font); font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: #94a3b8; margin-bottom: 3rem; font-size: 1rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number {
    width: 56px; height: 56px; background: var(--gradient-1); color: white;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font); font-weight: 700; font-size: 1.3rem;
    margin: 0 auto 1.25rem; box-shadow: 0 4px 15px rgba(139,92,246,0.4);
}
.step-card h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: #94a3b8; }

/* ===== Pricing ===== */
.pricing { padding: 5rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card {
    background: white; border: 2px solid var(--border);
    border-radius: var(--radius-xl); padding: 2.5rem 2rem;
    position: relative; transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
    border-color: var(--primary); background: var(--dark); color: white;
    box-shadow: var(--shadow-glow);
}
.pricing-card.popular .plan-desc, .pricing-card.popular .pricing-features li { color: #c4b5fd; }
.pricing-card.popular::before {
    content: attr(data-badge); position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-3); color: white; padding: 0.35rem 1.25rem;
    border-radius: 50px; font-size: 0.8rem; font-weight: 700; font-family: var(--font);
    white-space: nowrap;
}
.pricing-card .plan-emoji { font-size: 2rem; margin-bottom: 0.75rem; }
.pricing-card .plan-icon { margin-bottom: 0.75rem; }
.pricing-card h3 { font-family: var(--font); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-card .price { font-family: var(--font); font-size: 3rem; font-weight: 700; margin: 1rem 0; }
.pricing-card .price span { font-size: 0.9rem; font-weight: 500; opacity: 0.6; }
.pricing-card .plan-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { padding: 0.4rem 0; font-size: 0.88rem; color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
.pricing-features li .check { color: var(--neon-green); font-weight: 700; font-size: 1rem; flex-shrink: 0; }

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0; text-align: center;
    background: var(--gradient-hero); color: white;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.3) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font); font-size: 2.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-section p { font-size: 1.1rem; color: #94a3b8; margin-bottom: 2rem; }

/* ===== What you can sell ===== */
.sell-types { padding: 5rem 0; background: white; }
.sell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.sell-card {
    background: var(--bg); border-radius: var(--radius-lg); padding: 2rem;
    text-align: center; transition: all var(--transition);
    border: 2px solid transparent;
}
.sell-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sell-card .sell-emoji { font-size: 3rem; margin-bottom: 1rem; }
.sell-card .sell-icon {
    width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(139,92,246,0.08);
}
.sell-card:nth-child(1) .sell-icon { background: rgba(139,92,246,0.08); }
.sell-card:nth-child(2) .sell-icon { background: rgba(236,72,153,0.08); }
.sell-card:nth-child(3) .sell-icon { background: rgba(6,182,212,0.08); }
.sell-card h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.sell-card p { font-size: 0.85rem; color: var(--text-light); }

/* ===== Auth pages ===== */
.auth-container { max-width: 460px; margin: 3rem auto; padding: 0 1.5rem; }
.auth-card {
    background: white; border-radius: var(--radius-xl); padding: 2.5rem;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(139,92,246,0.1);
}
.auth-card h1 { font-family: var(--font); font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.auth-card .subtitle { color: var(--text-light); margin-bottom: 2rem; font-size: 0.9rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-light); }
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }

/* ===== Dashboard layout ===== */
.dash { display: flex; min-height: calc(100vh - 70px); }
.dash-sidebar {
    width: 250px; background: var(--dark); padding: 1.5rem 0; flex-shrink: 0;
}
.dash-sidebar a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.5rem; text-decoration: none; color: #94a3b8;
    font-weight: 600; font-size: 0.9rem; transition: all var(--transition);
    border-left: 3px solid transparent; font-family: var(--font);
}
.dash-sidebar a:hover { color: white; background: rgba(139,92,246,0.1); border-left-color: var(--primary); }
.dash-sidebar a.active { color: white; background: rgba(139,92,246,0.15); border-left-color: var(--primary); }
.dash-sidebar a svg { width: 18px; height: 18px; flex-shrink: 0; }
.dash-content { flex: 1; padding: 2rem; overflow-x: auto; background: var(--bg); }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dash-header h1 { font-family: var(--font); font-size: 1.6rem; font-weight: 700; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
    background: white; border-radius: var(--radius-lg); padding: 1.5rem;
    border: 1px solid rgba(139,92,246,0.08); position: relative; overflow: hidden;
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-1); }
.stat-card .stat-value { font-family: var(--font); font-size: 2rem; font-weight: 700; color: var(--dark); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-light); margin-top: 0.25rem; font-weight: 600; }

/* Product grid (dashboard) */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card-dash {
    background: white; border-radius: var(--radius-lg);
    border: 1px solid rgba(139,92,246,0.08); overflow: hidden;
    transition: all var(--transition);
}
.product-card-dash:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-dash .product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg); }
.product-card-dash .product-info { padding: 1.25rem; }
.product-card-dash .product-name { font-family: var(--font); font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.product-card-dash .product-price { font-family: var(--font); font-weight: 700; color: var(--primary); }
.product-card-dash .product-meta { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.product-card-dash .product-actions { display: flex; gap: 0.5rem; padding: 0 1.25rem 1.25rem; }

/* ===== Store (public) — THEMES ===== */
.store-header {
    padding: 3rem 0 2rem; text-align: center; background: white;
    border-bottom: 1px solid var(--border);
}
.store-logo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--primary); }
.store-name { font-family: var(--font); font-size: 1.6rem; font-weight: 700; }
.store-desc { color: var(--text-light); font-size: 0.9rem; margin-top: 0.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.store-socials { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.store-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-light); display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); text-decoration: none;
}
.store-socials a:hover { background: var(--primary); color: white; transform: scale(1.1); }
.store-socials a svg { width: 16px; height: 16px; }

.store-products { padding: 2rem 0; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05); transition: all var(--transition);
    text-decoration: none; color: inherit; display: block;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card .product-info { padding: 1.25rem; }
.product-card .product-name { font-family: var(--font); font-weight: 700; margin-bottom: 0.3rem; }
.product-card .product-price { font-family: var(--font); font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.product-card .product-compare-price { text-decoration: line-through; color: var(--text-lighter); font-size: 0.85rem; margin-left: 0.5rem; font-weight: 400; }
.product-card .product-type-badge {
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem;
    border-radius: 50px; margin-top: 0.4rem;
}
.type-physical { background: #dbeafe; color: #2563eb; }
.type-digital { background: #ede9fe; color: #8b5cf6; }
.type-course { background: #fef3c7; color: #d97706; }

/* Product detail */
.product-detail { padding: 2rem 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.product-gallery img { width: 100%; border-radius: var(--radius-lg); }
.product-detail h1 { font-family: var(--font); font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-detail .price-big { font-family: var(--font); font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.product-detail .description { color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; }

/* Share buttons */
.share-buttons { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.share-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; text-decoration: none; color: white;
    transition: all var(--transition); font-family: var(--font);
}
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.share-btn.tiktok { background: #000000; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #0f1419; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy-link { background: var(--gradient-1); }

/* Video embed */
.video-embed {
    width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 1rem; background: #000;
}
.video-embed iframe, .video-embed video { width: 100%; height: 100%; border: none; }

/* Image upload */
.image-upload {
    border: 2px dashed rgba(139,92,246,0.3); border-radius: var(--radius-lg);
    padding: 2.5rem; text-align: center; cursor: pointer;
    transition: all var(--transition); color: var(--text-light); font-size: 0.9rem;
    background: rgba(139,92,246,0.03);
}
.image-upload:hover { border-color: var(--primary); background: var(--primary-light); }
.image-preview-grid { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.image-preview { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; border: 2px solid var(--border); }

/* Store link box */
.store-link-box {
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--dark); border-radius: 50px; padding: 0.5rem 0.5rem 0.5rem 1rem;
}
.store-link-box input { border: none; background: none; flex: 1; font-family: 'SF Mono', monospace; font-size: 0.85rem; color: #c4b5fd; outline: none; }
.store-link-box button {
    background: var(--gradient-1); color: white; border: none; border-radius: 50px;
    padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; font-family: var(--font);
}

/* AI badge */
.ai-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: var(--gradient-2); color: white; padding: 0.25rem 0.75rem;
    border-radius: 50px; font-size: 0.7rem; font-weight: 700; font-family: var(--font);
}

/* Affiliate section */
.affiliate-card {
    background: var(--dark); color: white; border-radius: var(--radius-xl);
    padding: 2.5rem; position: relative; overflow: hidden;
}
.affiliate-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(236,72,153,0.2), transparent 60%);
}
.affiliate-card .container { position: relative; z-index: 1; }
.affiliate-card h3 { font-family: var(--font); font-size: 1.3rem; margin-bottom: 0.5rem; }
.affiliate-link-box {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1); border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1rem; margin-top: 1rem;
}
.affiliate-link-box input { border: none; background: none; flex: 1; color: #c4b5fd; font-family: monospace; font-size: 0.85rem; outline: none; }
.affiliate-link-box button { background: var(--gradient-3); color: white; border: none; border-radius: 50px; padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.affiliate-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.affiliate-stat { text-align: center; }
.affiliate-stat .val { font-family: var(--font); font-size: 1.5rem; font-weight: 700; }
.affiliate-stat .lbl { font-size: 0.75rem; color: #94a3b8; }

/* ===== Footer ===== */
.footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); background: white; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-light); font-size: 0.85rem; margin-top: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { text-decoration: none; color: var(--text-light); font-size: 0.85rem; transition: color var(--transition); font-weight: 500; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 1.5rem; font-size: 0.8rem; color: var(--text-lighter); }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.text-sm { font-size: 0.85rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }
.monospace { font-family: 'SF Mono', monospace; }
.empty-state { text-align: center; padding: 3rem; color: var(--text-light); }
.divider { height: 1px; background: var(--border-light); margin: 1.5rem 0; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1.25rem; gap: 0.75rem; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .pricing-grid { grid-template-columns: 1fr; }
    .sell-grid { grid-template-columns: 1fr; }
    .sell-types [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .dash { flex-direction: column; }
    .dash-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0; display: flex; overflow-x: auto; }
    .dash-sidebar a { white-space: nowrap; padding: 0.85rem 1rem; border-left: none; border-bottom: 3px solid transparent; }
    .dash-sidebar a.active { border-bottom-color: var(--primary); }
    .dash-content { padding: 1.5rem 1rem; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .affiliate-stats { flex-direction: column; gap: 1rem; }
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.fade-in { animation: fadeInUp 0.5s ease; }
.pulse { animation: pulse 2s ease-in-out infinite; }
