/* ============================================
   Frontend Styles - Şikayetvar Platform
   ============================================ */

/* Base & Typography */
:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #8b5cf6;
    --color-success: #10b981;
    --color-success-dark: #059669;
    --color-warning: #f59e0b;
    --color-warning-dark: #f97316;
    --color-danger: #ef4444;
    --color-info: #06b6d4;
    --color-pink: #ec4899;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gray-800);
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.stat-card.success { border-left-color: var(--color-success); }
.stat-card.warning { border-left-color: var(--color-warning); }
.stat-card.info { border-left-color: var(--color-info); }

.stat-card-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.stat-card-label {
    color: var(--color-gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gray-800);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.stat-card-icon.success {
    background: linear-gradient(135deg, var(--color-success) 0%, #34d399 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stat-card-icon.warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.stat-card-icon.info {
    background: linear-gradient(135deg, var(--color-info) 0%, #0891b2 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.stat-card-icon i {
    color: white;
    font-size: 1.25rem;
}

.stat-card-progress {
    height: 4px;
    background: var(--color-gray-100);
    border-radius: 2px;
    overflow: hidden;
}

.stat-card-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 2px;
    transition: width 0.5s;
}

.stat-card-progress-bar.success {
    background: linear-gradient(90deg, var(--color-success) 0%, var(--color-success-dark) 100%);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-gray-700);
    font-size: 0.875rem;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    padding: 0.85rem 2rem;
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 400px;
    height: 400px;
}

.btn-outline:hover {
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

/* Active Filters */
.active-filters {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--color-gray-200);
}

.active-filters-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.active-filters-label {
    color: var(--color-gray-500);
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tag.primary {
    background: #eff6ff;
    color: var(--color-primary);
}

.filter-tag.warning {
    background: #fef3c7;
    color: var(--color-warning);
}

.filter-tag.success {
    background: #dcfce7;
    color: var(--color-success);
}

.filter-clear {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.filter-clear:hover {
    color: var(--color-danger);
}

/* Brands Grid */
.brands-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.brand-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    transition: all 0.3s;
    cursor: pointer;
}

.brand-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

.brand-card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 2rem 1.5rem;
    position: relative;
}

.brand-card-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-warning);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo-placeholder {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

.brand-card-body {
    padding: 1.5rem;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 0.5rem;
    text-align: center;
}

.brand-category {
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-gray-50);
    border-radius: 8px;
}

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

.brand-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.brand-stat-value.primary { color: var(--color-primary); }
.brand-stat-value.success { color: var(--color-success); }
.brand-stat-value.pink { color: var(--color-pink); }

.brand-stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    font-weight: 600;
}

.brand-info {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--color-gray-50);
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.brand-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-500);
}

.brand-info-value {
    color: var(--color-gray-700);
    font-weight: 700;
}

.brand-view-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-info {
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

.pagination-info strong {
    font-weight: 600;
    color: var(--color-gray-700);
}

.pagination-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: white;
    color: var(--color-gray-500);
    border: 1px solid var(--color-gray-200);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination-btn.disabled {
    background: var(--color-gray-100);
    color: var(--color-gray-300);
    cursor: not-allowed;
}

.pagination-number {
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    background: white;
    color: var(--color-gray-500);
    border: 1px solid var(--color-gray-200);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination-number:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border: none;
}

.pagination-ellipsis {
    color: var(--color-gray-300);
    padding: 0 0.25rem;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    background: white;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed var(--color-gray-200);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.empty-state-icon i {
    font-size: 2rem;
    color: var(--color-gray-400);
}

.empty-state-title {
    color: var(--color-gray-700);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.empty-state-text {
    color: var(--color-gray-500);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.cta-circle-1 {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 25s ease-in-out infinite;
}

.cta-circle-2 {
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite reverse;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Home Page Specific Styles
   ============================================ */

/* Home Hero Section */
.home-hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.home-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.1) 50%, transparent 100%);
}

.hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
    filter: blur(60px);
}

.hero-shape-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #bfdbfe 0%, #a5f3fc 100%);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s ease-in-out infinite reverse;
    filter: blur(50px);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-gray-800);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-main-title-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-main-description {
    font-size: 1.15rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-decorative-section {
    position: relative;
    height: 400px;
}

.hero-shape-item {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatShapes 8s ease-in-out infinite;
}

.hero-shape-item:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.35);
}

.hero-shape-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-shape-item:hover img {
    transform: scale(1.1);
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-shape-item-1 {
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border-radius: 30px 30px 30px 5px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.hero-shape-item-2 {
    top: 20px;
    left: 160px;
    width: 120px;
    height: 120px;
    border-radius: 25px;
    background: linear-gradient(135deg, #34d399 0%, var(--color-success) 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.hero-shape-item-3 {
    top: 10px;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 5px 25px 25px 25px;
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.hero-shape-item-4 {
    top: 160px;
    left: 20px;
    width: 110px;
    height: 110px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--color-pink) 0%, #f43f5e 100%);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.hero-shape-item-5 {
    top: 150px;
    left: 150px;
    width: 200px;
    height: 100px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #a855f7 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
}

.hero-shape-item-6 {
    top: 270px;
    left: 60px;
    width: 130px;
    height: 130px;
    border-radius: 25px 25px 5px 25px;
    background: linear-gradient(135deg, var(--color-info) 0%, #3b82f6 100%);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.hero-shape-item-7 {
    top: 280px;
    right: 20px;
    width: 110px;
    height: 110px;
    border-radius: 25px;
    background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
}

.home-search-bar {
    background: white;
    border-radius: 60px;
    padding: 0.5rem;
    display: flex;
    gap: 0.75rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(99, 102, 241, 0.1);
    max-width: 600px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.home-search-bar:hover {
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.home-search-bar:focus-within {
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.2), 0 0 0 2px rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

.home-search-input {
    flex: 1;
    border: none;
    padding: 1.1rem 1.75rem;
    font-size: 1.05rem;
    border-radius: 60px;
    outline: none;
    color: var(--color-gray-700);
    background: transparent;
}

.home-search-input::placeholder {
    color: var(--color-gray-400);
    font-weight: 400;
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gray-800);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 2px;
}

.btn-search {
    white-space: nowrap;
    border-radius: 50px;
    padding: 1rem 2.5rem;
}

/* Complaints Grid */
.complaints-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.complaint-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--color-gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.complaint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.complaint-card:hover::before {
    transform: scaleX(1);
}

.complaint-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.complaint-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.complaint-card:hover .complaint-card-title {
    color: var(--color-primary);
}

.complaint-card-content {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.complaint-card-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--color-gray-400);
    font-size: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-100);
}

.complaint-card-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.complaint-card-stats span:hover {
    color: var(--color-primary);
}

.complaint-card-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.complaint-card-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.complaint-card-user-info {
    flex: 1;
}

.complaint-card-user-name {
    font-weight: 600;
    color: var(--color-gray-800);
    font-size: 0.95rem;
}

.complaint-card-user-time {
    font-size: 0.8rem;
    color: var(--color-gray-400);
}

.complaint-card-brand-tag {
    background: var(--color-gray-100);
    color: var(--color-gray-500);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Talked Section Grid Layouts */
.talked-grid-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.talked-grid-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Success Brands Grid */
.success-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.success-brand-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-brand-logo-box {
    width: 45px;
    height: 45px;
    background: var(--color-gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-brand-logo-box img {
    border-radius: 8px;
}

.success-brand-info-name {
    font-weight: 700;
    color: var(--color-gray-800);
    font-size: 1rem;
}

.success-brand-info-desc {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

/* Brand Promotion Grid */
.brand-promotion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-promotion-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 1.5rem;
}

.brand-promotion-description {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.brand-promotion-buttons {
    display: flex;
    gap: 1rem;
}

.brand-promotion-image-container {
    position: relative;
}

.brand-promotion-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
}

.brand-promotion-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Platform Stats Center */
.platform-stats-center-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Trending Brands Header */
.trending-brands-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.trending-brands-title-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trending-brands-view-all {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.trending-brands-show-more {
    text-align: center;
    margin-top: 2rem;
}

/* Home Trending Section */
.home-trending-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
}

.home-talked-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #f3f4f6 100%);
    position: relative;
}

.home-talked-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

/* Trending Cards */
.trending-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 24px;
    padding: 2.25rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.trending-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.trending-card.large {
    padding: 2.75rem;
}

.trending-card.success {
    background: linear-gradient(135deg, var(--color-success) 0%, #34d399 100%);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.trending-card.success:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
}

.trending-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.trending-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.trending-card-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.trending-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.trending-card.large .trending-card-title {
    font-size: 1.8rem;
}

.trending-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Topic Cards */
.topic-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--color-gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.topic-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.topic-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.topic-card-icon.warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
}

.topic-card-icon.pink {
    background: linear-gradient(135deg, var(--color-pink) 0%, #f43f5e 100%);
}

.topic-card-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gray-800);
}

.topic-card-desc {
    font-size: 0.8rem;
    color: var(--color-gray-400);
}

.topic-card-title {
    font-weight: 600;
    color: var(--color-gray-800);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.topic-card-stat {
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

/* Success Brands Section */
.success-brands-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 5rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.success-brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.success-brand-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.success-brand-card:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.2);
    background: white;
}

.success-brand-score {
    background: linear-gradient(135deg, #fbbf24 0%, var(--color-warning) 100%);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Brand Promotion Section */
.brand-promotion-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    overflow: hidden;
    position: relative;
}

.brand-promotion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

/* Platform Stats Section */
.platform-stats-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.platform-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

.platform-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.platform-stat-item {
    text-align: center;
    transition: transform 0.4s ease;
}

.platform-stat-item:hover {
    transform: translateY(-8px);
}

.platform-stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.platform-stat-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 23px;
    background: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.platform-stat-item:hover .platform-stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.platform-stat-icon i {
    font-size: 2rem;
    color: white;
}

.platform-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gray-800);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.platform-stat-label {
    color: var(--color-gray-500);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Brands Trending Section */
.brands-trending-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.brands-trending-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

.trending-brands-list {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--color-gray-100);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.trending-brand-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--color-gray-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.trending-brand-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.trending-brand-item:hover::before {
    transform: scaleY(1);
}

.trending-brand-item:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
    padding-left: 2.25rem;
}

.trending-brand-rank {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-300);
    min-width: 35px;
}

.trending-brand-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-brand-info {
    flex: 1;
    min-width: 0;
}

.trending-brand-name {
    font-weight: 700;
    color: var(--color-gray-800);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.trending-brand-desc {
    font-size: 0.85rem;
    color: var(--color-gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-brand-graph {
    min-width: 100px;
    height: 40px;
}

.trending-brand-stats {
    text-align: right;
    min-width: 70px;
}

.trending-brand-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 0.2rem;
}

.trending-brand-change {
    font-size: 0.8rem;
    color: var(--color-success);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid,
    .brands-grid,
    .platform-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .brands-grid,
    .platform-stats-grid {
        grid-template-columns: 1fr;
    }

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

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .trending-brand-graph {
        display: none;
    }
}
