/* ============================================================================
   The Savory Skillet — Global Design System & Core Stylesheet
   ============================================================================ */

/* ── 1. Custom CSS Theme Variables (Light/Dark Calibrated) ────────────────── */
:root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Lato', sans-serif;
    --font-accent: 'DM Sans', sans-serif;

    /* Color Tokens (Light Mode - Premium Editorial Magazine) */
    --bg-primary: #FEFAF5;
    --text-primary: #2C1A0E;
    --text-muted: #7A6A5A;
    --accent-primary: #C8602A;     /* Appetizing Terracotta */
    --accent-secondary: #4A7C59;   /* Sage Health Signal */
    --accent-gold: #F4A261;
    --card-bg: #FFFFFF;
    --border-color: #EAE0D5;
    --btn-hover: #A04A1E;
    
    --shadow-sm: 0 2px 4px rgba(44, 26, 14, 0.04);
    --shadow-md: 0 8px 16px rgba(44, 26, 14, 0.06);
    --shadow-lg: 0 12px 24px rgba(44, 26, 14, 0.08);

    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
}

[data-theme="dark"] {
    /* Color Tokens (Dark Mode - Premium Charcoal Contrast) */
    --bg-primary: #120D0A;
    --text-primary: #F7EFE9;
    --text-muted: #B3A295;
    --accent-primary: #E2723B;
    --accent-secondary: #6B9C78;
    --card-bg: #1C1511;
    --border-color: #35261D;
    --btn-hover: #F08552;
}

/* ── 2. Structural Resets & Accessibility Standards ───────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* WCAG Accessible skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent-primary);
    color: #FFFFFF;
    padding: 10px 20px;
    z-index: 10000;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 20px;
}

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

/* Typography Scale (Fluid Typography using clamp) */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem); /* minimum 16px body */
    margin-bottom: 1.25rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--btn-hover);
}

/* ── 3. Layout Blocks ──────────────────────────────────────────────────────── */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 70vh;
}

/* Responsive Grid Base */
.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── 4. Interactive Components ─────────────────────────────────────────────── */

/* Sticky Site Header Navigation (Premium Glassmorphic Editorial Style) */
.site-header {
    background-color: rgba(254, 250, 245, 0.85); /* Semi-transparent cream */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .site-header {
    background-color: rgba(28, 21, 17, 0.85); /* Semi-transparent charcoal */
}

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

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-accent {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: 500;
}

.desktop-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-navigation {
        display: block;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Touch targets optimized (minimum 44x44px) */
.theme-toggle-btn, .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle-btn:hover, .mobile-menu-toggle:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Toggle Sun/Moon display dynamically */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Responsive Mobile Navigation Drawer */
.mobile-navigation-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: rgba(28, 21, 17, 0.9);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
    
    /* Modern Glassmorphism Blur */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-navigation-drawer {
    background-color: rgba(254, 250, 245, 0.9);
    border-left: 1px solid rgba(44, 26, 14, 0.1);
}

.mobile-navigation-drawer.open {
    transform: translateX(0);
}

/* Premium Drawer Backdrop Dimming Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

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

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-menu a {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Header Search Form */
.header-search-form {
    display: none;
    position: relative;
}

@media (min-width: 768px) {
    .header-search-form {
        display: flex;
    }
}

.header-search-form input {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 8px 16px;
    padding-right: 40px;
    color: var(--text-primary);
    font-family: var(--font-body);
    width: 220px;
    outline: none;
    transition: width 0.3s ease;
}

.header-search-form input:focus {
    width: 300px;
    border-color: var(--accent-primary);
}

.header-search-form button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.hamburger-bar {
    width: 18px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.2s ease;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ── 5. Standard Recipe Cards Grid ────────────────────────────────────────── */
.recipe-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-image-link {
    position: relative;
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-primary);
    color: #FFFFFF;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    font-family: var(--font-display);
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-title a {
    color: var(--text-primary);
}

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

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

.meta-item {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.difficulty-easy { background-color: var(--accent-secondary); }
.difficulty-medium { background-color: var(--accent-gold); }
.difficulty-hard { background-color: var(--accent-primary); }

/* ── 6. Editorial Home Layout Elements ────────────────────────────────────── */

/* Hero banner card */
.editorial-hero {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    background-color: var(--card-bg);
}

@media (min-width: 1024px) {
    .editorial-hero {
        grid-template-columns: 55% 45%;
    }
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 3/2;
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        aspect-ratio: auto;
        height: 100%;
    }
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-wrapper {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        padding: 50px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-category {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.hero-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.hero-teaser {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* High-contrast Buttons with Micro-animations */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(200, 96, 42, 0.25);
}
.btn-primary:hover {
    background-color: var(--btn-hover);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(200, 96, 42, 0.35);
}

.btn-accent {
    background-color: var(--accent-secondary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.25);
}
.btn-accent:hover {
    background-color: #385E43;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(74, 124, 89, 0.35);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}
.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* E-E-A-T trust strip */
.eeat-trust-strip {
    margin-bottom: 60px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .trust-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.trust-info h3 {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.trust-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Section banners */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Category Hubs bubble elements */
.category-hubs-section {
    padding: 60px 0;
}

.category-hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .category-hubs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-hubs-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-hub-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-hub-card:hover {
    background-color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.category-hub-count {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.category-hub-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

/* Newsletter Lead Magnet block */
.newsletter-lead-magnet {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 20px;
    margin: 60px 0;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .newsletter-lead-magnet {
        padding: 60px;
    }
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 15px;
}

.newsletter-teaser {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

@media (min-width: 768px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 14px 24px;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    flex-grow: 1;
}

.newsletter-form input:focus {
    border-color: var(--accent-primary);
}

.newsletter-form button {
    flex-shrink: 0;
}

.newsletter-privacy-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.subscribe-alert {
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-accent);
    font-weight: 700;
    margin-bottom: 20px;
}
.subscribe-alert.success {
    background-color: rgba(74, 124, 89, 0.1);
    color: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
}
.subscribe-alert.error {
    background-color: rgba(200, 96, 42, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

/* Seasonal section */
.seasonal-recipes-section {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.seasonal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .seasonal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.seasonal-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.seasonal-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.seasonal-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seasonal-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.seasonal-card-teaser {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more-link {
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* ── 7. Global Footer template ────────────────────────────────────────────── */
.site-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.brand-bio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.social-links-heading {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-primary);
    opacity: 0.85;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-links a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(200, 96, 42, 0.25);
}

.footer-social-links a:hover svg {
    transform: scale(1.1);
}

.footer-title {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--text-primary);
}

.trust-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
    }
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

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

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-legal-links a:hover {
    color: var(--text-primary);
}

/* Floating back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

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

.back-to-top-btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-4px);
}

/* ── 7. Sleek Animations & Premium UI Transitions ──────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-entry {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* Pulse animation for CTA features */
@keyframes softPulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(200, 96, 42, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 8px 20px rgba(200, 96, 42, 0.35); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(200, 96, 42, 0.2); }
}

.cta-pulse {
    animation: softPulse 3s infinite ease-in-out;
}
