/* ============================================================================
   Apothecary Wizard — Base Stylesheet
   Dark old-world apothecary aesthetic: deep charcoal-green, antique gold,
   warm parchment, classic serif headings, refined craftsmanship palette
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Deep Forest / Charcoal-Green ramp */
    --forest-950: #0B120E;
    --forest-900: #111A14;
    --forest-850: #16201A;
    --forest-800: #1B271F;
    --forest-700: #243329;
    --forest-600: #2F4237;
    --forest-500: #3C5347;
    --forest-400: #4E6B5C;
    --forest-300: #6B8B7A;
    --forest-200: #93AE9E;
    --forest-100: #BDD0C5;

    /* Antique Gold ramp */
    --gold-700: #8A6D3B;
    --gold-600: #A8854A;
    --gold-500: #C4A052;
    --gold-400: #D4B36A;
    --gold-300: #E0C585;
    --gold-200: #EBD7A4;
    --gold-100: #F5E9C8;

    /* Parchment / warm neutral ramp */
    --parch-50:  #FBF8F1;
    --parch-100: #F6F1E6;
    --parch-200: #EDE5D4;
    --parch-300: #E0D5BF;
    --parch-400: #D0C2A4;
    --parch-500: #BAAE91;
    --parch-600: #9E9276;
    --parch-700: #7D7360;

    /* Functional colors */
    --error:     #B85C4F;
    --error-bg:  #2D1715;
    --error-bd:  #5C2E26;
    --warning:   #C49A3E;
    --warning-bg:#2A2118;
    --warning-bd:#4A3A22;
    --success:   #6B9E72;
    --success-bg:#1A2A1D;
    --success-bd:#2E4D36;
    --info:      #6B8DAA;
    --info-bg:   #18222E;
    --info-bd:   #2A4055;

    /* Semantic tokens (dark-mode-first) */
    --bg-base:      var(--forest-950);
    --bg-surface:   var(--forest-900);
    --bg-elevated:  var(--forest-850);
    --bg-card:      var(--forest-800);
    --bg-hover:     var(--forest-700);

    --text-primary:   var(--parch-50);
    --text-secondary: var(--parch-200);
    --text-muted:     var(--parch-500);
    --text-on-gold:   var(--forest-950);
    --text-on-forest: var(--parch-50);

    /* Typography */
    --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-sans:  "Inter", -apple-system, "Segoe UI", Robota, Arial, sans-serif;
    --font-mono:  "SF Mono", "Fira Code", Consolas, monospace;

    /* Spacing (8px base) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;

    /* Borders */
    --border:        rgba(196, 160, 82, 0.12);
    --border-strong: rgba(196, 160, 82, 0.25);
    --border-gold:   rgba(196, 160, 82, 0.40);
    --radius:    10px;
    --radius-sm: 6px;
    --radius-lg: 18px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.30);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.45);
    --shadow-gold: 0 0 24px rgba(196,160,82,0.08);

    /* Layout */
    --sidebar-width: 260px;
    --content-max: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background:
        radial-gradient(ellipse at top, var(--forest-900) 0%, var(--forest-950) 70%),
        var(--forest-950);
    min-height: 100vh;
    background-attachment: fixed;
}

/* Subtle parchment-grain texture overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.77 0 0 0 0 0.63 0 0 0 0 0.32 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

h1 { font-size: 2.25rem; font-weight: 500; }
h2 { font-size: 1.75rem; font-weight: 500; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; font-weight: 600; font-family: var(--font-sans); }
h6 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; font-family: var(--font-sans); color: var(--text-muted); }

a { color: var(--gold-400); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-300); text-decoration: underline; }

p { margin-bottom: var(--space-1); }

ul, ol { margin-bottom: var(--space-2); padding-left: var(--space-3); }

code, pre {
    font-family: var(--font-mono);
    background: var(--forest-850);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    color: var(--gold-200);
}
pre { padding: var(--space-2); overflow-x: auto; }

hr { border: none; border-top: 1px solid var(--border); margin: var(--space-3) 0; }

::selection { background: var(--gold-600); color: var(--forest-950); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--forest-950); }
::-webkit-scrollbar-thumb { background: var(--forest-700); border-radius: 5px; border: 2px solid var(--forest-950); }
::-webkit-scrollbar-thumb:hover { background: var(--forest-600); }

/* ============================================================================
   Layout: App shell with sidebar
   ============================================================================ */
.app-shell {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: var(--sidebar-width);
    background:
        linear-gradient(180deg, var(--forest-900) 0%, var(--forest-950) 100%);
    border-right: 1px solid var(--border-gold);
    color: var(--text-on-forest);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar brand / logo */
.sidebar-brand {
    padding: var(--space-3) var(--space-2);
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
    position: relative;
}

.sidebar-brand::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.sidebar-brand .brand-emblem {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    color: var(--gold-400);
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    background: radial-gradient(circle, rgba(196,160,82,0.08), transparent);
}

.sidebar-brand h1 {
    color: var(--gold-200);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.sidebar-brand .tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
}

/* Sidebar navigation */
.sidebar-nav {
    flex: 1;
    padding: var(--space-2) 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: 9px var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    position: relative;
}

.sidebar-nav a:hover {
    background: rgba(196, 160, 82, 0.06);
    color: var(--gold-200);
    text-decoration: none;
    border-left-color: var(--gold-600);
}

.sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(196,160,82,0.10), transparent);
    color: var(--gold-300);
    font-weight: 600;
    border-left-color: var(--gold-500);
}

.sidebar-nav a.active::after {
    content: "";
    position: absolute;
    right: var(--space-2);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 8px var(--gold-500);
}

.sidebar-nav .nav-section {
    padding: var(--space-2) var(--space-2) 6px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-600);
    font-weight: 600;
    font-family: var(--font-sans);
}

.sidebar-nav .nav-icon {
    width: 18px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.sidebar-nav a:hover .nav-icon,
.sidebar-nav a.active .nav-icon { opacity: 1; }

/* Sidebar footer */
.sidebar-footer {
    padding: var(--space-2);
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.15);
}

.sidebar-footer strong { color: var(--gold-200); font-weight: 600; }

.sidebar-footer a {
    color: var(--gold-400);
    font-weight: 500;
}

.sidebar-footer .user-tier-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(196,160,82,0.12);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    font-size: 0.7rem;
    color: var(--gold-300);
    margin-top: 4px;
}

/* Main content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: var(--space-4) var(--space-4) var(--space-6);
    max-width: var(--content-max);
    width: 100%;
    transition: margin 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Top bar (mobile) */
.topbar {
    display: none;
    background: var(--forest-900);
    border-bottom: 1px solid var(--border-gold);
    color: var(--gold-200);
    padding: var(--space-1) var(--space-2);
    align-items: center;
    gap: var(--space-1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar button {
    background: none;
    border: none;
    color: var(--gold-300);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
}

.topbar strong {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.15rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }
    .sidebar.open { transform: translateX(0); }
    .main-content {
        margin-left: 0;
        padding: var(--space-2) var(--space-2) var(--space-4);
    }
    .topbar { display: flex; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
}

/* Page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--gold-500);
}

.page-header h2 {
    margin: 0;
    color: var(--gold-200);
    font-weight: 500;
}

.page-header .actions {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
}

/* Weight notice */
.weight-notice {
    background: var(--info-bg);
    border: 1px solid var(--info-bd);
    color: var(--info);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin-bottom: var(--space-3);
    border-left: 3px solid var(--info);
}

.weight-notice strong { color: var(--parch-100); }

/* ============================================================================
   Landing page styles
   ============================================================================ */
.landing-hero {
    text-align: center;
    padding: var(--space-6) var(--space-3) var(--space-5);
    position: relative;
}

.landing-hero .hero-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-500);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gold-100);
    line-height: 1.15;
    margin-bottom: var(--space-2);
    letter-spacing: 0.01em;
}

.landing-hero h1 .hero-accent {
    color: var(--gold-400);
    font-style: italic;
    font-weight: 500;
}

.landing-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto var(--space-3);
    line-height: 1.7;
}

.landing-hero .hero-actions {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
}

.landing-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin: var(--space-3) 0;
    color: var(--gold-600);
}

.landing-ornament::before,
.landing-ornament::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 120px;
    background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

.landing-ornament .ornament-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 8px var(--gold-600);
}

.landing-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--gold-200);
    margin-bottom: var(--space-1);
}

.landing-section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold-600);
    border-radius: 50%;
    color: var(--gold-400);
    font-size: 1.5rem;
    background: radial-gradient(circle, rgba(196,160,82,0.06), transparent);
}

.feature-card h4 {
    color: var(--gold-200);
    margin-bottom: var(--space-1);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pricing cards */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--gold-600);
    box-shadow: var(--shadow-gold);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-500);
    color: var(--forest-950);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 12px;
}

.pricing-card .plan-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-200);
    margin-bottom: var(--space-1);
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--parch-50);
    font-family: var(--font-serif);
    margin: var(--space-1) 0;
}

.pricing-card .plan-price .plan-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-card .plan-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-2);
    min-height: 40px;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-2);
    text-align: left;
}

.pricing-card .plan-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card .plan-features li::before {
    content: "\2714";
    color: var(--gold-500);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-card .plan-features li:last-child { border-bottom: none; }

/* Testimonial cards */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.testimonial-card .testimonial-quote {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-700);
    line-height: 1;
    position: absolute;
    top: var(--space-1);
    left: var(--space-2);
    opacity: 0.5;
}

.testimonial-card .testimonial-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    padding-top: var(--space-1);
}

.testimonial-card .testimonial-author {
    margin-top: var(--space-2);
    padding-top: var(--space-1);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.testimonial-card .testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-card .testimonial-name {
    font-weight: 600;
    color: var(--gold-200);
    font-size: 0.88rem;
}

.testimonial-card .testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Article card on landing */
.article-card-link {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.article-card-link:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.article-card-link h4 {
    color: var(--gold-200);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.article-card-link p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-card-link .article-date {
    font-size: 0.75rem;
    color: var(--gold-600);
    margin-top: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Quick link cards on dashboard */
.quick-link-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-600), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

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

.quick-link-card h4 {
    color: var(--gold-200);
    font-family: var(--font-serif);
    margin-bottom: 4px;
}

.quick-link-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.quick-link-card .quick-link-icon {
    font-size: 1.4rem;
    color: var(--gold-500);
    margin-bottom: var(--space-1);
    display: block;
}

/* Auth pages */
.auth-wrap {
    max-width: 460px;
    margin: var(--space-5) auto;
}

.auth-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    position: relative;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.auth-card .auth-emblem {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    color: var(--gold-400);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    background: radial-gradient(circle, rgba(196,160,82,0.08), transparent);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: var(--space-1);
    color: var(--gold-200);
    font-weight: 500;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: var(--space-3);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin: var(--space-3) 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* Footer (site-wide) */
.site-footer {
    border-top: 1px solid var(--border-gold);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-5);
    background: rgba(0,0,0,0.2);
}

.site-footer .footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.site-footer .footer-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gold-300);
    font-weight: 500;
}

.site-footer .footer-brand .footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.site-footer .footer-links {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: var(--gold-400);
    text-decoration: none;
}

.site-footer .footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: var(--space-2);
    width: 100%;
    text-align: center;
    padding-top: var(--space-2);
    border-top: 1px solid var(--border);
}

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

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
