/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d3748;
    --secondary-color: #718096;
    --accent-color: #667eea;
    --background-color: #fefefe;
    --light-gray: #f5f5f5;
    --border-color: #e2e8f0;

    /* Pastel color palette */
    --pastel-pink: #ffd6e8;
    --pastel-lavender: #e6dbff;
    --pastel-blue: #d6eaff;
    --pastel-mint: #d4f4dd;
    --pastel-peach: #ffe4d6;
    --pastel-yellow: #fff4d6;

    /* Category colors */
    --color-technology: #a5d8ff;
    --color-business: #d0bfff;
    --color-marketing: #ffd6e8;
    --color-wellness: #c3fae8;
    --color-automotive: #ffe4cc;
    --color-culture: #ffd6f5;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    font-weight: 300;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

main {
    display: block;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 999;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 12px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-lede {
    max-width: 680px;
    margin: 1.25rem auto 2.5rem;
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Header */
.header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin-bottom: 0.5rem;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #764ba2 100%);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 300;
}

/* Section Styles */
.featured-articles,
.trending-articles,
.latest-articles {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--background-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--pastel-lavender);
}

.article-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-blue) 100%);
    overflow: hidden;
}

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

.article-content {
    padding: 1.5rem;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    background-color: var(--pastel-blue);
    color: #2d3748;
}

/* Category-specific colors */
.category-tag[data-category="Technology"],
.article-card:has(.category-tag:contains("Technology")) .category-tag {
    background-color: var(--color-technology);
}

.category-tag[data-category="Business"],
.article-card:has(.category-tag:contains("Business")) .category-tag {
    background-color: var(--color-business);
}

.category-tag[data-category="Marketing"],
.article-card:has(.category-tag:contains("Marketing")) .category-tag {
    background-color: var(--color-marketing);
}

.category-tag[data-category="Wellness"],
.article-card:has(.category-tag:contains("Wellness")) .category-tag {
    background-color: var(--color-wellness);
}

.category-tag[data-category="Automotive"],
.article-card:has(.category-tag:contains("Automotive")) .category-tag {
    background-color: var(--color-automotive);
}

.category-tag[data-category="Culture"],
.article-card:has(.category-tag:contains("Culture")) .category-tag {
    background-color: var(--color-culture);
}

.article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Trending Articles */
.trending-articles {
    background: linear-gradient(135deg, var(--pastel-peach) 0%, var(--pastel-yellow) 100%);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trending-item {
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trending-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(255, 212, 214, 0.3);
    border-color: var(--pastel-peach);
}

.trending-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Product Carousel */
.product-carousel {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-pink) 100%);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.product-card {
    min-width: calc(100% - 1.333rem);
    background-color: var(--background-color);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.product-image {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

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

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.product-price {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--background-color);
    background-color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: var(--font-serif);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 0;
}

.buy-now-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--background-color);
    background-color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #764ba2 100%);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.carousel-btn {
    background-color: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    border-color: var(--border-color);
    transform: scale(1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* How to Assemble Section */
.how-to-assemble {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--pastel-peach) 0%, var(--pastel-yellow) 100%);
}

.assembly-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.assembly-step {
    display: grid;
    grid-template-columns: 50px 1fr 300px;
    gap: 1.5rem;
    align-items: center;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.assembly-step:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(255, 212, 214, 0.3);
    border-color: var(--pastel-peach);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #764ba2 100%);
    color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.step-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.step-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--secondary-color);
    font-weight: 300;
}

.step-image {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-pink) 100%);
}

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

/* Color Options Section */
.color-options {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.learning-hub {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(245, 240, 255, 0.6) 0%, rgba(255, 245, 234, 0.9) 100%);
}

.learning-hub .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.learning-content {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -20px rgba(72, 61, 139, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.learning-links {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.learning-links li {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.learning-links a {
    color: var(--accent-color);
}

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-link {
    background: linear-gradient(135deg, var(--accent-color) 0%, #9f7aea 100%);
    color: var(--background-color);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    box-shadow: 0 16px 30px -15px rgba(103, 124, 219, 0.65);
}

.primary-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -18px rgba(103, 124, 219, 0.75);
}

.secondary-link {
    color: var(--accent-color);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background-color: rgba(102, 126, 234, 0.12);
}

.secondary-link:hover {
    transform: translateY(-2px);
    background-color: rgba(102, 126, 234, 0.2);
}

.learning-highlight {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(113, 128, 150, 0.2);
    box-shadow: 0 15px 35px -20px rgba(30, 64, 175, 0.45);
}

.learning-highlight h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.learning-highlight p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Product Details Section */
.product-details {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-blue) 100%);
}

.product-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.product-main-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.product-tagline {
    font-size: 1.375rem;
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.product-lead {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--secondary-color);
    font-weight: 300;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-block {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.detail-block-full {
    grid-column: 1 / -1;
}

.detail-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border-color: var(--pastel-mint);
}

.detail-block h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.detail-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--secondary-color);
    font-weight: 300;
}

.detail-block p + p {
    margin-top: 1rem;
}

.feature-list {
    margin: 1rem 0 1rem 1.5rem;
    list-style-type: disc;
}

.feature-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--secondary-color);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.color-option:hover {
    transform: translateY(-4px);
}

.color-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.color-image picture,
.step-image picture,
.article-card picture {
    width: 100%;
    height: 100%;
    display: block;
}

.color-option:hover .color-image {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.color-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.color-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .cta-button {
        display: none;
    }

    .product-card {
        min-width: 100%;
    }

    .carousel-wrapper {
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

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

    .learning-hub .container {
        grid-template-columns: 1fr;
    }

    .learning-highlight {
        order: -1;
    }

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

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

    .primary-link,
    .secondary-link {
        justify-content: center;
        width: 100%;
    }

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

    .details-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-block {
        padding: 1.5rem;
    }

    .product-main-title {
        font-size: 1.75rem;
    }

    .product-tagline {
        font-size: 1.125rem;
    }

    .product-lead {
        font-size: 1rem;
    }

    .assembly-step {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-image {
        width: 100%;
        height: 250px;
        margin: 0 auto;
    }
}

/* Article CTA */
.article-cta {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 214, 232, 0.65) 0%, rgba(212, 244, 221, 0.8) 100%);
    border-radius: 18px;
    border: 1px solid rgba(113, 128, 150, 0.18);
    box-shadow: 0 18px 45px -25px rgba(103, 126, 234, 0.55);
    text-align: center;
}

.article-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-cta p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.article-cta .primary-link {
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.92);
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(226, 232, 240, 0.92);
    margin-bottom: 1.25rem;
    max-width: 280px;
}

.footer-email {
    color: #cbd5f5;
    font-weight: 500;
}

.footer-column h2 {
    font-size: 1.0625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    color: rgba(226, 232, 240, 0.92);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column a {
    color: rgba(203, 213, 225, 0.95);
}

.footer-column a:hover {
    color: #94a3ff;
}

.footer-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.footer-form input[type="email"] {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: none;
    background-color: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 0.95rem;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer-form button {
    background: linear-gradient(135deg, #818cf8 0%, #a855f7 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -18px rgba(129, 140, 248, 0.65);
}

.footer-location {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 1.75rem;
    text-align: center;
    color: rgba(203, 213, 225, 0.8);
    font-size: 0.9rem;
}

/* Article Page */
.article-page {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.article-body h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.article-body ul {
    margin: 1.5rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-weight: 300;
    line-height: 1.8;
}

.article-body em {
    font-style: italic;
    color: var(--primary-color);
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.back-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-4px);
    color: #764ba2;
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .featured-articles,
    .trending-articles,
    .latest-articles {
        padding: 2rem 0;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .trending-item h3 {
        font-size: 1.25rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .article-body ul {
        margin-left: 1.5rem;
    }

    .learning-content,
    .learning-highlight {
        padding: 1.75rem;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-form button {
        width: 100%;
    }
}
