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

:root {
    /* Modern vibrant color palette */
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary-color: #F97316;
    --secondary-dark: #EA580C;
    --accent-purple: #8B5CF6;
    --accent-pink: #EC4899;
    --danger-color: #EF4444;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-gray: #F9FAFB;
    --bg-light-blue: #EFF6FF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: #fff;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.95rem;
    position: relative;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.2rem;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 2px;
}

/* Main Container */
.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: calc(100vh - 200px);
}

/* Footer */
.footer {
    background: var(--bg-gray);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

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

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-colored);
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Store Filter Section */
.store-filter {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.store-filter h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.store-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.store-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.store-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-light-blue) 0%, #DBEAFE 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.store-card img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.store-card span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-header .view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.section-header .view-all:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

/* Brochure Grid */
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.brochure-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

.brochure-card:hover {
    box-shadow: var(--shadow-colored);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.brochure-thumbnail {
    position: relative;
    padding-top: 130%;
    background: var(--bg-gray);
    overflow: hidden;
}

.brochure-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brochure-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brochure-badge.ending-soon {
    background: var(--danger-color);
    color: white;
}

.brochure-store-logo {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.brochure-store-logo img {
    width: 60px;
    height: 30px;
    object-fit: contain;
    position: static;
}

.brochure-content {
    padding: 1.25rem;
}

.brochure-store {
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.brochure-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.brochure-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.brochure-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.brochure-date strong {
    color: var(--text-primary);
    font-weight: 600;
}

.brochure-pages {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-light-blue) 0%, #DBEAFE 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* SEO Content Section */
.seo-content {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #FAFBFC 0%, #F3F4F6 100%);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
}

.seo-section {
    margin-bottom: 3rem;
}

.seo-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.seo-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
}

.seo-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1rem;
}

.seo-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.seo-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.seo-feature:hover {
    background: var(--bg-light-blue);
    border-left-color: var(--accent-purple);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.seo-feature h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.seo-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-item h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin-bottom: 0;
    color: #374151;
}

.seo-list {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.seo-list li {
    line-height: 1.8;
    color: #374151;
    margin-bottom: 0.75rem;
}

.seo-list li strong {
    color: var(--primary-color);
}

.seo-footer-text {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.seo-footer-text p {
    margin: 0;
    color: white;
    line-height: 1.7;
}

.seo-footer-text strong {
    color: white;

}

.seo-footer-text em {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .brochure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .seo-content {
        padding: 2rem 0;
    }

    .seo-section h2 {
        font-size: 1.5rem;
    }

    .seo-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .logo img {
        height: 35px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .seo-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
