/* =============================================
   Global Styles & Reset
============================================= */
:root {
    /* Professional Blue Palette - Inspired by LinkedIn, PayPal, Stripe */
    --primary-color: #0066cc;
    --primary-dark: #004999;
    --primary-light: #3385d6;
    --secondary-color: #0077b5;
    --accent-color: #00a67e;
    --text-dark: #2d3748;
    --text-medium: #718096;
    --text-light: #a0aec0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* =============================================
   Header Styles
============================================= */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.header-info i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: white;
    font-weight: 500;
}

.header-links a:hover {
    opacity: 0.8;
}

.header-main {
    padding: 20px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo i {
    font-size: 32px;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-search {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    background: var(--bg-light);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.deal-alerts-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.deal-alerts-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    font-size: 24px;
    color: var(--text-dark);
}

.mobile-menu {
    display: none;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    padding: 10px 0;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* =============================================
   Hero Section
============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* =============================================
   Category Filter
============================================= */
.category-filter {
    background: var(--bg-white);
    padding: 30px 0;
    box-shadow: var(--shadow-sm);
}

.filter-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    height: 6px;
}

.filter-tabs::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.filter-tabs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.filter-tab {
    padding: 12px 24px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-medium);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

/* =============================================
   Section Styles
============================================= */
.deals-section,
.blog-section {
    padding: 60px 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary-color);
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* =============================================
   Deal Cards
============================================= */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.deal-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.deal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    color: white;
}

.deal-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.deal-badge.new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.deal-badge.trending {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.deal-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.deal-card:hover .deal-image img {
    transform: scale(1.05);
}

.deal-content {
    padding: 20px;
}

.deal-brand {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.deal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.deal-description {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.5;
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
}

.deal-discount {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discount-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
}

.deal-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.original-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.deal-cashback {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 14px;
}

.deal-cashback i {
    font-size: 16px;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.deal-expires {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-medium);
    font-size: 14px;
}

.deal-expires i {
    color: var(--primary-color);
}

.deal-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deal-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* =============================================
   Blog Cards
============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-medium);
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-dark);
}

.blog-title a {
    color: var(--text-dark);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* =============================================
   Newsletter Section
============================================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-subtitle {
    font-size: 16px;
    opacity: 0.95;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 12px;
    max-width: 500px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    outline: none;
}

.newsletter-btn {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* =============================================
   Footer
============================================= */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.copyright a {
    color: white;
    text-decoration: underline;
}

.disclaimer {
    font-size: 13px;
    opacity: 0.6;
    font-style: italic;
}

/* =============================================
   Back to Top Button
============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* =============================================
   Utility Classes
============================================= */
.hidden {
    display: none !important;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* =============================================
   Page Header (Blog, Deals, etc.)
============================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

/* =============================================
   Blog Filter & Horizontal Cards
============================================= */
.blog-filter {
    background: var(--bg-white);
    padding: 30px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 160px;
    z-index: 100;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 14px;
}

.filter-btn:hover {
    background: var(--primary-light);
    color: white;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 10px 40px 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: var(--bg-white);
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 60px 0;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card-horizontal {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    transition: var(--transition);
}

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

.blog-h-image {
    width: 350px;
    min-width: 350px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-h-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card-horizontal:hover .blog-h-image img {
    transform: scale(1.05);
}

.blog-h-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-h-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-h-title a {
    color: var(--text-dark);
}

.blog-h-title a:hover {
    color: var(--primary-color);
}

.blog-h-excerpt {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.blog-h-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 12px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.read-more-btn:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.blog-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   Pagination
============================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-num {
    width: 45px;
    height: 45px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-num:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.page-num.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-dots {
    color: var(--text-medium);
    font-weight: 600;
}

/* =============================================
   Category Shortcuts
============================================= */
.category-shortcuts {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.category-card {
    background: var(--bg-light);
    padding: 35px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.category-count {
    font-size: 14px;
    color: var(--text-medium);
}

/* =============================================
   Guides Section
============================================= */
.top-guides-section {
    padding: 60px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.guide-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.guide-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.guide-content {
    padding: 25px;
}

.guide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-medium);
}

.guide-meta i {
    color: var(--primary-color);
}

.guide-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.guide-title a {
    color: var(--text-dark);
}

.guide-title a:hover {
    color: var(--primary-color);
}

.guide-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.guide-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* =============================================
   Trending Stores
============================================= */
.trending-stores {
    padding: 60px 0;
    background: var(--bg-light);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.store-logo-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.store-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.store-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.store-deals {
    font-size: 14px;
    color: var(--text-medium);
}

/* =============================================
   Tips & News Sections
============================================= */
.latest-tips-section,
.latest-news-section {
    padding: 60px 0;
}

.latest-news-section {
    background: var(--bg-light);
}

.tips-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.tip-card,
.news-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.tip-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tip-title,
.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.tip-title a,
.news-title a {
    color: var(--text-dark);
}

.tip-title a:hover,
.news-title a:hover {
    color: var(--primary-color);
}

.tip-excerpt,
.news-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.6;
}

.tip-meta,
.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-medium);
}

.tip-meta i,
.news-meta i {
    color: var(--primary-color);
}

/* =============================================
   Trust Section
============================================= */
.trust-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.trust-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trust-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

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

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

.trust-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.trust-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.trust-disclosure {
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-medium);
    font-size: 14px;
}

.trust-disclosure i {
    color: var(--primary-color);
    margin-right: 8px;
}

.trust-disclosure a {
    color: var(--primary-color);
    font-weight: 600;
}

.trust-disclosure a:hover {
    text-decoration: underline;
}

/* =============================================
   Hero Slider/Carousel
============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.hero-slide.alt-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.hero-slide.alt-2 {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* =============================================
   Top Deal Stores Section
============================================= */
.top-stores-section {
    padding: 50px 0;
    background: var(--bg-white);
}

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

.stores-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.store-deal-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.store-deal-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.store-logo-img {
    width: 100%;
    max-width: 140px;
    height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

/* Hover effect - slight zoom */
.store-deal-card:hover .store-logo-img {
    transform: scale(1.05);
}

.store-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 12px;
}

.store-deal-info {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.store-deal-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.view-all-stores {
    text-align: center;
    margin-top: 20px;
}

.view-all-stores a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-stores a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* =============================================
   Stores Directory Page
============================================= */
.stores-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.stores-category {
    margin-bottom: 60px;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.category-title i {
    color: var(--primary-color);
}

.category-description {
    font-size: 18px;
    color: var(--text-medium);
}

/* Store Card */
.store-card {
    display: block;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.store-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.store-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.store-logo img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    transition: var(--transition);
}

.store-card:hover .store-logo img {
    transform: scale(1.1);
}

.store-info {
    margin-top: 10px;
}

.store-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.store-category {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.store-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.store-badge.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.store-badge.new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Brands Grid - 6 columns */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    display: block;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
}

.brand-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-logo {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.brand-logo img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-card:hover .brand-logo img {
    transform: scale(1.05);
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Category Quick Cards */
.category-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.category-quick-card {
    display: block;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
}

.category-quick-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-quick-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-quick-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.category-quick-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}