/* ===== GLORYAI - ULTRA MODERN DESIGN SYSTEM ===== */
/* Variables */
:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #6D28D9;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-display: 'Clash Display', 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background grid effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--gray) 1px, transparent 1px),
        linear-gradient(to right, var(--gray) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

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

/* ===== HEADER MODERN ===== */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .ai {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 2px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-light);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Search */
.search-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--dark-light);
}

.search-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-md);
}

.search-box form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.hero h1 {
    max-width: 1000px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    border: 2px solid rgba(124, 58, 237, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-3px);
}

/* ===== FEATURED POST ===== */
.featured-post {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.featured-label {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.featured-article {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.3);
}

.featured-content {
    padding: 3rem;
}

.article-category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.categories-grid h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* ===== POSTS GRID ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.post-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-category {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    color: var(--gray);
    font-size: 0.875rem;
}

.post-content h2, .post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.4;
}

.post-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.read-time {
    color: var(--gray);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.post-card:hover .read-more {
    transform: translateX(5px);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background: var(--gradient-primary);
    border-radius: 2rem;
    padding: 4rem 2rem;
    margin: 6rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 0%, transparent 30%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.newsletter-form button:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

.newsletter .small {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===== SINGLE POST PAGE ===== */
.single-post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.post-header h1 {
    font-size: 3rem;
    margin: 1.5rem 0;
}

.post-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.6;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.author-title {
    color: var(--gray);
    font-size: 0.875rem;
}

.featured-image {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.table-of-contents {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.table-of-contents h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.table-of-contents a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.share-buttons {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.share-buttons h4 {
    margin-bottom: 1rem;
}

.share-buttons a {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-linkedin { background: #0077B5; }
.share-twitter { background: #1DA1F2; }
.share-facebook { background: #4267B2; }

.share-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-body {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.post-body h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.post-body h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark-light);
}

.post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--dark-light);
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.in-article-newsletter {
    background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, rgba(16,185,129,0.05) 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

.similar-articles {
    margin-top: 3rem;
}

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

.similar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.similar-category {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.similar-card h4 {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.read-meta {
    color: var(--gray);
    font-size: 0.75rem;
}

/* ===== BLOG ARCHIVE ===== */
.blog-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1 {
    margin-bottom: 1rem;
}

.archive-description {
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.category-filters a {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-filters a:hover,
.category-filters a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.pagination a {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: white;
}

/* ===== FOOTER MODERN ===== */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.newsletter-mini {
    margin-top: 1.5rem;
}

.newsletter-mini p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.newsletter-mini form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-mini input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.875rem;
}

.newsletter-mini input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-mini button {
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-mini button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .similar-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
