/* =====================================================
   FIERANA LEARN HUB - SHARED STYLES v2.0
   Enhanced design system for all learn content
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Core Colors */
    --f1-charcoal: #1A1A1D;
    --f1-charcoal-deep: #0D0D0F;
    --f1-charcoal-light: #252528;
    --f1-plum: #4A3F4F;
    --f1-plum-light: #5D4E63;
    --f1-plum-deep: #3A2F3F;
    
    /* Accent Colors */
    --f1-rose: #D4A5A5;
    --f1-rose-light: #E8C4C4;
    --f1-rose-deep: #C49292;
    --f1-rose-muted: rgba(212, 165, 165, 0.7);
    
    /* Neutral Colors */
    --f1-cream: #FDF6E3;
    --f1-cream-muted: rgba(253, 246, 227, 0.85);
    --f1-cream-dim: rgba(253, 246, 227, 0.6);
    --f1-cream-faint: rgba(253, 246, 227, 0.4);
    --f1-taupe: #8B7E74;
    --f1-taupe-light: #A99D93;
    
    /* Supporting Colors */
    --f1-sage: #B8C9B8;
    --f1-sage-muted: rgba(184, 201, 184, 0.7);
    --f1-bronze: #B8956A;
    --f1-bronze-light: #D4B08C;
    --f1-bronze-muted: rgba(184, 149, 106, 0.7);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.25);
    --shadow-glow-rose: 0 0 30px rgba(212, 165, 165, 0.15);
    --shadow-glow-bronze: 0 0 30px rgba(184, 149, 106, 0.15);
}

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--font-body); 
    background-color: var(--f1-charcoal-deep); 
    color: var(--f1-cream); 
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture */
body::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
    z-index: 9999; 
    opacity: 0.03; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); 
}

/* ===== LINKS ===== */
a { 
    color: var(--f1-rose); 
    text-decoration: none; 
    transition: color var(--transition-base); 
}

a:hover { 
    color: var(--f1-rose-light); 
}

/* ===== HEADER ===== */
.site-header { 
    padding: var(--space-md) var(--space-lg); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(253, 246, 227, 0.08); 
    position: sticky; 
    top: 0; 
    background: rgba(13, 13, 15, 0.95); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100; 
}

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

.header-nav { 
    display: flex; 
    align-items: center; 
    gap: var(--space-lg); 
}

.header-nav a { 
    font-size: 0.9rem; 
    color: var(--f1-cream-muted);
    transition: color var(--transition-base);
}

.header-nav a:hover { 
    color: var(--f1-rose); 
}

.header-cta { 
    padding: 0.75rem 1.5rem; 
    background: var(--f1-rose); 
    color: var(--f1-charcoal-deep) !important; 
    font-weight: 600; 
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.header-cta:hover { 
    background: var(--f1-rose-light);
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn { 
    display: none; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 44px; 
    height: 44px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    z-index: 1001; 
}

.mobile-menu-btn span { 
    display: block; 
    width: 24px; 
    height: 2px; 
    background: var(--f1-cream); 
    margin: 3px 0; 
    transition: all var(--transition-smooth); 
    border-radius: 2px; 
}

.mobile-menu-btn.active span:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 5px); 
}

.mobile-menu-btn.active span:nth-child(2) { 
    opacity: 0; 
}

.mobile-menu-btn.active span:nth-child(3) { 
    transform: rotate(-45deg) translate(6px, -6px); 
}

/* Mobile Menu Overlay */
.mobile-menu { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background: rgba(13, 13, 15, 0.98); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999; 
    opacity: 0; 
    visibility: hidden; 
    transition: all var(--transition-slow); 
}

.mobile-menu.active { 
    opacity: 1; 
    visibility: visible; 
}

.mobile-menu-content { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    gap: var(--space-lg); 
}

.mobile-menu-content a { 
    font-family: var(--font-display); 
    font-size: 2rem; 
    color: var(--f1-cream);
    transition: color var(--transition-base);
}

.mobile-menu-content a:hover { 
    color: var(--f1-rose); 
}

.mobile-menu-content .mobile-cta { 
    margin-top: var(--space-sm); 
    padding: 1rem 2.5rem; 
    background: var(--f1-rose); 
    color: var(--f1-charcoal-deep); 
    font-family: var(--font-body); 
    font-size: 1rem; 
    font-weight: 600; 
    border-radius: var(--radius-sm); 
}

/* ===== ARTICLE HERO ===== */
.article-hero {
    position: relative;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    text-align: center;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74, 63, 79, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(184, 149, 106, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: rgba(184, 149, 106, 0.12);
    border: 1px solid rgba(184, 149, 106, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--f1-bronze);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out;
}

.article-badge i {
    font-size: 1rem;
}

.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    color: var(--f1-cream);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.article-hero .lead {
    font-size: 1.15rem;
    color: var(--f1-cream-muted);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--f1-taupe);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta i {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===== ARTICLE CONTENT ===== */
.article-wrapper {
    background: linear-gradient(180deg, rgba(74, 63, 79, 0.08) 0%, transparent 50%);
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) var(--space-3xl);
}

.article-content p {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    color: var(--f1-cream-muted);
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 400;
    margin: var(--space-xl) 0 var(--space-sm);
    color: var(--f1-cream);
    position: relative;
    padding-bottom: 0.75rem;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--f1-rose), transparent);
    border-radius: 1px;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin: var(--space-lg) 0 0.75rem;
    color: var(--f1-cream);
}

.article-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin: var(--space-md) 0 0.5rem;
    color: var(--f1-cream);
    letter-spacing: 0.02em;
}

.article-content strong {
    color: var(--f1-cream);
    font-weight: 600;
}

.article-content em {
    color: var(--f1-rose-light);
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: var(--space-sm) 0 var(--space-md);
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.6rem;
    color: var(--f1-cream-muted);
    line-height: 1.7;
}

.article-content li::marker {
    color: var(--f1-rose);
}

.article-content blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    background: rgba(74, 63, 79, 0.15);
    border-left: 3px solid var(--f1-rose);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--f1-cream);
    line-height: 1.6;
}

/* ===== CALLOUT BOXES ===== */

/* Principle Box - Featured callout */
.principle-box {
    position: relative;
    background: linear-gradient(135deg, rgba(184, 149, 106, 0.1) 0%, rgba(74, 63, 79, 0.12) 100%);
    border: 1px solid rgba(184, 149, 106, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    text-align: center;
    overflow: hidden;
}

.principle-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--f1-bronze), var(--f1-rose));
    border-radius: 0 0 3px 3px;
}

.principle-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--f1-bronze);
    margin-bottom: var(--space-sm);
    display: block;
}

.principle-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--f1-cream);
    line-height: 1.5;
    font-style: italic;
}

/* Tip Box - Helpful hints */
.tip-box {
    background: rgba(184, 201, 184, 0.06);
    border: 1px solid rgba(184, 201, 184, 0.2);
    border-left: 3px solid var(--f1-sage);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
}

.tip-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--f1-sage);
    margin-bottom: 0.6rem;
}

.tip-label i {
    font-size: 1.1rem;
}

.tip-box p {
    margin-bottom: 0 !important;
    color: var(--f1-cream-muted);
}

/* Warning Box - Important cautions */
.warning-box {
    background: rgba(212, 165, 165, 0.06);
    border: 1px solid rgba(212, 165, 165, 0.2);
    border-left: 3px solid var(--f1-rose);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
}

.warning-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--f1-rose);
    margin-bottom: 0.6rem;
}

.warning-label i {
    font-size: 1.1rem;
}

.warning-box p {
    margin-bottom: 0 !important;
    color: var(--f1-cream-muted);
}

/* Info Box - Neutral information */
.info-box {
    background: rgba(74, 63, 79, 0.15);
    border: 1px solid rgba(253, 246, 227, 0.1);
    border-left: 3px solid var(--f1-taupe);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--f1-taupe);
    margin-bottom: 0.6rem;
}

.info-label i {
    font-size: 1.1rem;
}

.info-box p {
    margin-bottom: 0 !important;
    color: var(--f1-cream-muted);
}

/* ===== COMPARISON BOXES ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.comparison-column {
    background: rgba(74, 63, 79, 0.12);
    border: 1px solid rgba(253, 246, 227, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
}

.comparison-column h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(253, 246, 227, 0.08);
}

.comparison-column.positive {
    border-color: rgba(184, 201, 184, 0.2);
}

.comparison-column.positive h4 {
    color: var(--f1-sage);
}

.comparison-column.negative {
    border-color: rgba(212, 165, 165, 0.2);
}

.comparison-column.negative h4 {
    color: var(--f1-rose);
}

.comparison-column ul {
    margin: 0;
    padding-left: 1.25rem;
}

.comparison-column li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ===== INDICATOR LISTS ===== */
.indicator-list {
    margin: var(--space-lg) 0;
}

.indicator-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(253, 246, 227, 0.06);
}

.indicator-item:last-child {
    border-bottom: none;
}

.indicator-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--f1-rose);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.indicator-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--f1-cream);
    margin-bottom: 0.25rem;
}

.indicator-content p {
    color: var(--f1-cream-muted);
    margin: 0 !important;
    font-size: 0.95rem;
}

/* ===== TOOL/ITEM CARDS ===== */
.tool-card {
    background: linear-gradient(135deg, rgba(74, 63, 79, 0.15) 0%, rgba(26, 26, 29, 0.3) 100%);
    border: 1px solid rgba(253, 246, 227, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    transition: all var(--transition-smooth);
}

.tool-card:hover {
    border-color: rgba(184, 149, 106, 0.2);
}

.tool-card h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tool-card h3 i {
    color: var(--f1-bronze);
    font-size: 1.5rem;
}

.tool-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--f1-sage);
    margin: var(--space-sm) 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid rgba(253, 246, 227, 0.08);
}

.data-table th {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--f1-cream);
    background: rgba(74, 63, 79, 0.15);
}

.data-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.data-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.data-table td {
    color: var(--f1-cream-muted);
}

.data-table tr:hover td {
    background: rgba(74, 63, 79, 0.08);
}

/* ===== ACTION BOX / CTA ===== */
.action-box {
    position: relative;
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.1) 0%, rgba(74, 63, 79, 0.15) 100%);
    border: 1px solid rgba(212, 165, 165, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    text-align: center;
    overflow: hidden;
}

.action-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212, 165, 165, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.action-box-content {
    position: relative;
    z-index: 1;
}

.action-box h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--f1-cream);
}

.action-box p {
    margin-bottom: var(--space-md) !important;
    color: var(--f1-cream-muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.action-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: var(--f1-rose);
    color: var(--f1-charcoal-deep);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.action-box .btn:hover {
    background: var(--f1-rose-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-rose);
    color: var(--f1-charcoal-deep);
}

.action-box .btn i {
    transition: transform var(--transition-base);
}

.action-box .btn:hover i {
    transform: translateX(4px);
}

/* ===== SHARE SECTION ===== */
.share-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(253, 246, 227, 0.08);
    margin-top: var(--space-xl);
}

.share-label {
    font-size: 0.9rem;
    color: var(--f1-taupe);
}

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 63, 79, 0.25);
    border: 1px solid rgba(253, 246, 227, 0.1);
    border-radius: 50%;
    color: var(--f1-cream-muted);
    font-size: 1.1rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.share-btn:hover {
    background: var(--f1-rose);
    color: var(--f1-charcoal-deep);
    border-color: var(--f1-rose);
    transform: translateY(-2px);
}

/* ===== RELATED RESOURCES ===== */
.related-resources {
    padding: var(--space-xl) var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(253, 246, 227, 0.08);
}

.related-resources h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--f1-cream);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.resource-link {
    background: linear-gradient(135deg, rgba(74, 63, 79, 0.12) 0%, rgba(26, 26, 29, 0.2) 100%);
    border: 1px solid rgba(253, 246, 227, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    transition: all var(--transition-slow);
    color: inherit;
}

.resource-link:hover {
    border-color: rgba(184, 149, 106, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.resource-link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 149, 106, 0.12);
    border: 1px solid rgba(184, 149, 106, 0.15);
    border-radius: var(--radius-lg);
    color: var(--f1-bronze);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all var(--transition-smooth);
}

.resource-link:hover .resource-link-icon {
    background: rgba(184, 149, 106, 0.2);
    transform: scale(1.05);
}

.resource-link-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--f1-cream);
    line-height: 1.35;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.875rem 1.5rem;
    background: var(--f1-charcoal-light);
    border: 1px solid rgba(253, 246, 227, 0.15);
    border-radius: var(--radius-md);
    color: var(--f1-cream);
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: 10000;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== FOOTER ===== */
footer {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-top: 1px solid rgba(253, 246, 227, 0.08);
    background: rgba(13, 13, 15, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--f1-taupe);
    transition: color var(--transition-base);
}

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

.footer-copyright {
    font-size: 0.8rem;
    color: var(--f1-taupe);
    opacity: 0.6;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: block; }
    
    .article-hero {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }
    
    .article-content {
        padding: var(--space-sm) var(--space-md) var(--space-2xl);
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-link {
        padding: var(--space-sm);
    }
    
    .principle-box,
    .action-box {
        padding: var(--space-lg);
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 1.85rem;
    }
    
    .principle-text {
        font-size: 1.25rem;
    }
    
    .tool-card {
        padding: var(--space-md);
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
