/* =====================================================
   TakipFiyat.com - Premium Dark Theme CSS
   ===================================================== */

/* === CSS Custom Properties === */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --bg-card: rgba(17, 17, 40, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-hover: rgba(255, 255, 255, 0.2);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --primary-light: #818cf8;
    --primary-glow: rgba(102, 126, 234, 0.3);

    --accent: #f093fb;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--primary-glow);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* === Container === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 26, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
    background: var(--bg-glass);
}

.nav-cta {
    margin-left: 0.5rem;
}

.nav-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.4rem;
    animation: pulse 2s infinite;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: inherit;
}

.nav-dropdown-content {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-content a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.nav-dropdown-content a:hover {
    background: var(--bg-glass);
    color: var(--text-primary) !important;
}

.nav-dropdown-content hr {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 0.4rem 0;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* === Sections === */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.main-content {
    padding-top: 70px;
}

/* === Steps Grid === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(102, 126, 234, 0.08);
    line-height: 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Marketplace Grid === */
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.marketplace-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: default;
    text-align: center;
}

.marketplace-card:hover {
    transform: translateY(-4px);
    border-color: var(--mp-color, var(--border-glass-hover));
    box-shadow: 0 0 20px rgba(var(--mp-color), 0.15);
}

.mp-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.mp-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.mp-domain {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* === CTA Section === */
.cta-section {
    padding: 3rem 0 5rem;
}

.cta-card {
    position: relative;
    padding: 4rem 3rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cta-card .btn {
    background: #fff;
    color: #667eea !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-decoration {
    position: absolute;
    inset: 0;
}

.cta-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -50px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    top: auto;
    bottom: -80px;
    right: auto;
    left: -40px;
}

/* === Auth Pages === */
.auth-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-demo-info {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-demo-info code {
    background: rgba(102, 126, 234, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* === Form Elements === */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    z-index: 1;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(255, 255, 255, 0.03);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-suffix {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    z-index: 1;
}

.input-lg input {
    padding: 1rem 1rem 1rem 2.8rem;
    font-size: 1rem;
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-height: 1.2rem;
}

/* === Alerts === */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.alert-link {
    margin-left: 0.5rem;
    font-weight: 600;
}

/* === Dashboard === */
.dashboard-section,
.track-section,
.product-detail-section,
.profile-section,
.notifications-section,
.admin-section {
    padding: 2rem 0 4rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-desc {
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* === Stats Grid === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.stat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-card-number {
    font-size: 1.75rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === Filter Tabs === */
.products-toolbar {
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    background: var(--bg-glass);
    border: 1px solid transparent;
    transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
    color: var(--text-primary) !important;
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* === Product Cards === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-glass);
}

.product-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-status {
    font-size: 0.75rem;
    font-weight: 500;
}

.product-status.active {
    color: var(--success);
}

.product-status.paused {
    color: var(--text-muted);
}

.product-card-body {
    padding: 1.25rem;
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-name a {
    color: var(--text-primary) !important;
}

.product-name a:hover {
    color: var(--primary-light) !important;
}

.product-card-prices {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-glass);
}

.price-current {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price-value {
    font-weight: 700;
    font-size: 1rem;
}

.price-current .price-value {
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-range {
    display: flex;
    gap: 1rem;
}

.price-range>div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-target {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-glass);
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-glass);
}

.last-checked {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 0.4rem;
}

/* === Product Detail === */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.back-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateX(-3px);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.product-detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.product-marketplace-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-detail-body {
    padding: 1.5rem;
}

.product-detail-image {
    width: 100%;
    max-width: 320px;
    height: 280px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}

.product-detail-name,
h1.product-detail-name {
    font-size: 1.25rem !important;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-primary);
    margin: 0;
    word-break: break-word;
}

.product-detail-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.product-detail-actions .btn {
    flex: 1;
}

/* Sidebar */
.product-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 90px;
}

.price-detail-card,
.target-card,
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.price-detail-card h3,
.target-card h3,
.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.price-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.price-detail-item + .price-detail-item {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.price-detail-item .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-detail-item .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-detail-item.current .value {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Target price card form */
.target-card .input-wrapper {
    position: relative;
}

.target-card .input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.target-card .input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.target-card .input-suffix {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Info card */
.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.info-item + .info-item {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.info-item span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Chart area */
.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.chart-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    max-height: 350px;
}

/* === Track Page === */
.track-header {
    text-align: center;
    margin-bottom: 2rem;
}

.track-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.track-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.site-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-secondary);
}

.supported-sites {
    max-width: 700px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.supported-sites h3,
.supported-sites h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.track-form-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.track-form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.track-form-card .page-desc {
    text-align: center;
    margin-bottom: 2rem;
}

.supported-sites {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.supported-sites h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.site-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.site-tag {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-secondary);
}

/* Result card */
.result-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
}

.result-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-product img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg-glass);
}

.result-product h3 {
    font-size: 1rem;
    font-weight: 600;
}

.result-product .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--success);
}

/* === Profile Page === */
.profile-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.profile-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Admin Panel === */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.admin-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.85rem;
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:hover td {
    background: var(--bg-glass);
}

.admin-table .badge {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-admin {
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-light);
}

.badge-user {
    background: var(--bg-glass);
    color: var(--text-secondary);
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.admin-nav-link {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    background: var(--bg-glass);
    border: 1px solid transparent;
    transition: var(--transition);
}

.admin-nav-link.active,
.admin-nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Stat card info wrapper */
.stat-card-info {
    display: flex;
    flex-direction: column;
}

/* Marketplace Stats */
.marketplace-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mp-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mp-stat-item:hover {
    background: var(--bg-glass);
}

.mp-stat-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.mp-stat-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Admin List (Users) */
.admin-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.admin-list-item:hover {
    background: var(--bg-glass);
}

.admin-list-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.admin-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.admin-list-info strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-list-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-list-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Admin Table Wrapper */
.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table .td-name {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-badge.paused {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Settings Page */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.settings-toggles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-glass);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.toggle-label:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch {
    background: var(--primary);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(20px);
    background: #fff;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* === Footer === */
.footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(10, 10, 26, 0.5);
}

.footer a {
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.footer-brand .footer-logo .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links span {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
    display: block;
    padding: 0.15rem 0;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    /* When menu is open, navbar expands to full screen */
    .navbar.menu-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #0a0a1a;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: #0a0a1a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        z-index: 10;
        padding: 2rem;
    }

    .nav-menu.open,
    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--bg-glass-hover);
    }

    /* Flatten dropdown on mobile — no hover popup */
    .nav-menu .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-dropdown-btn {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 100%;
        justify-content: center;
        color: var(--text-secondary) !important;
    }

    .nav-menu .nav-dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: auto;
        width: 100%;
    }

    .nav-menu .nav-dropdown-content a {
        font-size: 1rem;
        padding: 0.6rem 2rem;
        text-align: center;
    }

    .nav-menu .nav-dropdown-content hr {
        display: none;
    }

    .nav-menu .btn.btn-primary.btn-sm.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 20;
    }

    .hero-title {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-sidebar {
        position: static;
    }

    .product-detail-image {
        max-width: 100%;
        height: 220px;
    }

    .product-detail-body {
        padding: 1.25rem;
    }

    .product-detail-name,
    h1.product-detail-name {
        font-size: 1.1rem;
    }

    .product-detail-actions {
        flex-direction: column;
        padding: 1rem 1.25rem;
    }

    .product-detail-header {
        padding: 1rem 1.25rem;
    }

    .price-detail-card,
    .target-card,
    .info-card {
        padding: 1.25rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .marketplace-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
}

/* === Bookmarklet Styles === */
.bookmarklet-section {
    padding: 2rem 0 4rem;
}

.bookmarklet-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.bookmarklet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: #fff !important;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: grab;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.bookmarklet-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* === Selection === */
::selection {
    background: var(--primary);
    color: #fff;
}

/* === Comparison Section === */
.comparison-section {
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.section-subdesc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.comparison-card:hover {
    border-color: rgba(67, 233, 123, 0.3);
    box-shadow: 0 0 25px rgba(67, 233, 123, 0.08);
}

.comparison-header {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    align-items: center;
}

.comparison-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-glass);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comparison-info {
    flex: 1;
    min-width: 0;
}

.comparison-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.comparison-best {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.best-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.best-price {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.best-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.comparison-savings {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
}

.comparison-prices {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.comparison-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.comparison-price-row.is-best {
    background: rgba(67, 233, 123, 0.06);
    border: 1px solid rgba(67, 233, 123, 0.15);
}

.comparison-price-row:not(.is-best) {
    border: 1px solid transparent;
}

.comparison-price-row:hover {
    background: var(--bg-glass);
}

.cpr-marketplace {
    width: 130px;
    flex-shrink: 0;
}

.cpr-mp-badge {
    font-size: 0.85rem;
    font-weight: 600;
}

.cpr-bar-area {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
}

.cpr-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpr-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: flex-end;
}

.cpr-amount {
    font-weight: 700;
    font-size: 0.9rem;
}

.cpr-diff {
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 500;
    opacity: 0.8;
}

.cpr-best-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(67, 233, 123, 0.15);
    color: var(--success);
    letter-spacing: 0.05em;
}

.cpr-remove-btn {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.75rem;
    opacity: 0.4;
    transition: var(--transition);
    flex-shrink: 0;
}

.cpr-remove-btn:hover {
    opacity: 1;
    color: var(--danger) !important;
}

/* === Cheapest Badge on Product Cards === */
.product-card.is-cheapest {
    border-color: rgba(67, 233, 123, 0.3);
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.08);
}

.cheapest-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--gradient-success);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 0 var(--radius-lg) 0 var(--radius-md);
    letter-spacing: 0.03em;
    z-index: 2;
}

.product-card {
    position: relative;
}

.product-group-indicator {
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
}

.group-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* === Gruplama Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.modal-desc {
    padding: 1rem 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.modal-body {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.modal-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.modal-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-product-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    cursor: pointer;
    transition: var(--transition);
}

.modal-product-item:hover {
    border-color: var(--border-glass-hover);
    background: rgba(102, 126, 234, 0.05);
}

.modal-product-item.already-grouped {
    border-color: rgba(67, 233, 123, 0.3);
    background: rgba(67, 233, 123, 0.04);
}

.modal-product-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.modal-product-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.modal-product-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg-glass);
    flex-shrink: 0;
}

.modal-product-img-placeholder {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.modal-product-details {
    flex: 1;
    min-width: 0;
}

.modal-product-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-product-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
}

.modal-product-price {
    font-weight: 700;
    color: var(--text-primary);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-glass);
}

/* === Notification Items === */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.notification-item.unread {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.04);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.05);
}

.notification-item:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-1px);
}

.notif-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.notif-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.notif-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notif-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.notif-time {
    color: var(--text-muted);
}

.notif-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* === Responsive: Comparison & Notifications === */
@media (max-width: 768px) {
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-image {
        width: 60px;
        height: 60px;
    }

    .comparison-price-row {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .cpr-marketplace {
        width: 100%;
    }

    .cpr-price {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .cpr-bar-area {
        display: none;
    }

    .notification-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .notif-actions {
        align-self: flex-end;
    }
}