/* =====================================================
   calcglow - Modern Fitness Website
   全新现代化 UI 设计
   ===================================================== */

/* =====================================================
   CSS Variables - 现代配色方案
   ===================================================== */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    /* Accent Colors */
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* Category Colors */
    --strength: #ef4444;
    --cardio: #3b82f6;
    --nutrition: #22c55e;
    --yoga: #a855f7;
    --weightloss: #f97316;
    --recovery: #14b8a6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* =====================================================
   Navigation - 现代毛玻璃效果
   ===================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    padding: 0;
    order: 1;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation - Center */
.navbar-collapse-desktop {
    order: 2;
    flex: 1;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Desktop Search - Right */
.desktop-search {
    order: 3;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-wrapper input {
    border: none;
    background: transparent;
    padding: 0.5rem;
    width: 180px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.search-wrapper input::placeholder {
    color: var(--gray-400);
}

.search-wrapper input:focus {
    outline: none;
}

.search-wrapper button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gradient-primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-wrapper button:hover {
    transform: scale(1.05);
}

/* Mobile Menu Button (Left) */
.mobile-menu-btn {
    order: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.menu-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    bottom: -7px;
}

.mobile-menu-btn.active .menu-icon {
    background: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Search Button (Right) */
.mobile-search-btn {
    order: 2;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--dark);
    transition: var(--transition);
}

.mobile-search-btn:hover {
    color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
}

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

.mobile-menu-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 4rem 0 auto;
}

.mobile-nav li {
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.mobile-menu-footer {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
}

.mobile-menu-footer a {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
}

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

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-search-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-search-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.mobile-search-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.mobile-search-box {
    margin-top: 5rem;
    text-align: center;
}

.mobile-search-box h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.mobile-search-input-wrapper {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-search-input-wrapper input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    color: var(--dark);
    transition: var(--transition);
}

.mobile-search-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.mobile-search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
}

.mobile-search-input-wrapper button {
    width: 56px;
    height: 56px;
    border: none;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-search-input-wrapper button:hover {
    transform: scale(1.05);
}

.mobile-search-suggestions {
    margin-top: 3rem;
    text-align: center;
}

.mobile-search-suggestions h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.suggestion-tags a {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.suggestion-tags a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Prevent body scroll when overlay is open */
body.menu-open,
body.search-open {
    overflow: hidden;
}

/* Mobile Layout */
@media (max-width: 991px) {
    .navbar > .container {
        display: flex;
        justify-content: space-between;
    }
    
    .navbar-brand {
        order: 1;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        order: 0;
    }
    
    .mobile-search-btn {
        order: 2;
    }
}

/* Desktop Layout */
@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-search-overlay {
        display: none !important;
    }
}

/* =====================================================
   Hero Banner - 全新背景图片设计
   ===================================================== */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.85) 50%,
        rgba(99, 102, 241, 0.7) 100%
    );
}

.hero-banner .container {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

/* Hero Text Content */
.hero-text-content {
    max-width: 650px;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge-new span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.hero-btn-primary i {
    transition: var(--transition);
}

.hero-btn-primary:hover i {
    transform: translateX(5px);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-btn-secondary i {
    font-size: 1.25rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-feature i {
    color: var(--accent);
}

/* Hero Stats Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 380px;
}

.stats-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.stats-card-header i {
    font-size: 1.25rem;
    color: var(--accent);
}

.stats-card-header span {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.stats-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-row:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.stat-row .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.stat-row .stat-icon.strength {
    background: linear-gradient(135deg, var(--strength), #dc2626);
}

.stat-row .stat-icon.cardio {
    background: linear-gradient(135deg, var(--cardio), #2563eb);
}

.stat-row .stat-icon.nutrition {
    background: linear-gradient(135deg, var(--nutrition), #16a34a);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    color: var(--white);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Hero Banner Responsive */
@media (max-width: 991px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        display: block;
    }
    
    .bmi-calculator-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-banner .container {
        padding-top: 0;
    }
    
    .hero-wrapper {
        padding: 2rem 0;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

/* =====================================================
   BMI Calculator Card
   ===================================================== */
.bmi-calculator-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 380px;
}

.bmi-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem;
}

.bmi-card-header i {
    font-size: 1.25rem;
    color: var(--accent);
}

.bmi-card-header span {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.bmi-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bmi-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bmi-input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.bmi-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bmi-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.bmi-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.bmi-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.input-unit {
    position: absolute;
    right: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.bmi-calculate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.bmi-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.bmi-result {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.bmi-result-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.bmi-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.bmi-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.bmi-result-status {
    flex: 1;
}

.status-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.status-text.underweight { color: #60a5fa; }
.status-text.normal { color: #34d399; }
.status-text.overweight { color: #fbbf24; }
.status-text.obese { color: #f87171; }

.bmi-scale {
    width: 100%;
}

.scale-bar {
    height: 8px;
    background: linear-gradient(to right, #60a5fa 0%, #34d399 35%, #fbbf24 65%, #f87171 100%);
    border-radius: var(--radius-full);
    position: relative;
}

.scale-indicator {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: left 0.5s ease;
    opacity: 0;
}

.scale-indicator.active {
    opacity: 1;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}

.scale-labels span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* BMI Reference Standards */
.bmi-reference {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bmi-ref-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.bmi-ref-item .ref-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bmi-ref-item.underweight .ref-dot { background: #60a5fa; }
.bmi-ref-item.normal .ref-dot { background: #34d399; }
.bmi-ref-item.overweight .ref-dot { background: #fbbf24; }
.bmi-ref-item.obese .ref-dot { background: #f87171; }

.bmi-ref-item .ref-range {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    min-width: 50px;
}

.bmi-ref-item .ref-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 保留原有样式兼容 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0 4rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--gray-700);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: fit-content;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* =====================================================
   Categories Section - 网格卡片布局
   ===================================================== */
.categories-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
}

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

.category-card:hover::before {
    opacity: 0.05;
}

.category-strength::before { background: var(--strength); }
.category-cardio::before { background: var(--cardio); }
.category-nutrition::before { background: var(--nutrition); }
.category-yoga::before { background: var(--yoga); }
.category-weightloss::before { background: var(--weightloss); }
.category-recovery::before { background: var(--recovery); }

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.category-strength .category-icon { background: linear-gradient(135deg, var(--strength), #dc2626); }
.category-cardio .category-icon { background: linear-gradient(135deg, var(--cardio), #2563eb); }
.category-nutrition .category-icon { background: linear-gradient(135deg, var(--nutrition), #16a34a); }
.category-yoga .category-icon { background: linear-gradient(135deg, var(--yoga), #9333ea); }
.category-weightloss .category-icon { background: linear-gradient(135deg, var(--weightloss), #ea580c); }
.category-recovery .category-icon { background: linear-gradient(135deg, var(--recovery), #0d9488); }

.category-content {
    flex: 1;
}

.category-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.category-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.category-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Articles Section - 多样化布局
   ===================================================== */
.articles-section {
    padding: 4rem 0 6rem;
    background: var(--gray-50);
}

.article-category-section {
    margin-bottom: 5rem;
    scroll-margin-top: 100px;
}

.article-category-section:last-child {
    margin-bottom: 0;
}

.category-header {
    margin-bottom: 2rem;
}

.category-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.category-icon-sm {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.category-icon-sm.strength { background: linear-gradient(135deg, var(--strength), #dc2626); }
.category-icon-sm.cardio { background: linear-gradient(135deg, var(--cardio), #2563eb); }
.category-icon-sm.nutrition { background: linear-gradient(135deg, var(--nutrition), #16a34a); }
.category-icon-sm.yoga { background: linear-gradient(135deg, var(--yoga), #9333ea); }
.category-icon-sm.weightloss { background: linear-gradient(135deg, var(--weightloss), #ea580c); }
.category-icon-sm.recovery { background: linear-gradient(135deg, var(--recovery), #0d9488); }

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 0;
}

.category-desc {
    color: var(--gray-500);
    margin: 0;
    padding-left: calc(44px + 1rem);
}

/* Articles Grid - 标准网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Articles List - 横向列表 */
.articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Articles Masonry - 瀑布流 */
.articles-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Articles Alternating - 交替布局 */
.articles-alternating {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Articles Compact - 紧凑布局 */
.articles-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Articles Featured - 特色布局 */
.articles-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .articles-grid,
    .articles-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-list,
    .articles-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-desc {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .articles-grid,
    .articles-list,
    .articles-masonry,
    .articles-compact {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Article Cards - 现代卡片设计
   ===================================================== */

/* Standard Article Card */
.article-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-100);
}

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

.article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.article-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-strength { background: var(--strength); }
.badge-cardio { background: var(--cardio); }
.badge-nutrition { background: var(--nutrition); }
.badge-yoga { background: var(--yoga); }
.badge-weightloss { background: var(--weightloss); }
.badge-recovery { background: var(--recovery); }

.article-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card-excerpt {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.article-card-date {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.article-card-date i {
    margin-right: 0.375rem;
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.article-card-link i {
    transition: var(--transition);
}

.article-card:hover .article-card-link i {
    transform: translateX(4px);
}

/* Horizontal Card */
.article-card-horizontal {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.article-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card-horizontal a {
    display: flex;
    height: 100%;
}

.article-card-horizontal .article-card-image {
    width: 40%;
    min-height: 200px;
}

.article-card-horizontal .article-card-body {
    width: 60%;
    padding: 1.5rem;
}

@media (max-width: 576px) {
    .article-card-horizontal a {
        flex-direction: column;
    }
    
    .article-card-horizontal .article-card-image,
    .article-card-horizontal .article-card-body {
        width: 100%;
    }
}

/* Compact Card */
.article-card-compact {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.article-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-card-compact .article-card-image {
    aspect-ratio: 4/3;
}

.article-card-compact .article-card-body {
    padding: 1rem;
}

.article-card-compact .article-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.article-card-compact .article-card-excerpt {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured Card */
.article-card-featured {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.article-card-featured:hover {
    box-shadow: var(--shadow-xl);
}

.article-card-featured a {
    display: flex;
}

.article-card-featured .article-card-image {
    width: 45%;
    min-height: 350px;
}

.article-card-featured .article-card-body {
    width: 55%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card-featured .article-card-badge {
    position: static;
    display: inline-block;
    width: fit-content;
    margin-bottom: 1rem;
}

.article-card-featured .article-card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.article-card-featured .article-card-excerpt {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.article-card-featured .btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    width: fit-content;
    transition: var(--transition);
}

.article-card-featured:hover .btn-read-more {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .article-card-featured a {
        flex-direction: column;
    }
    
    .article-card-featured .article-card-image,
    .article-card-featured .article-card-body {
        width: 100%;
    }
    
    .article-card-featured .article-card-body {
        padding: 1.5rem;
    }
    
    .article-card-featured .article-card-title {
        font-size: 1.5rem;
    }
}

/* Alternating Card */
.article-card-alternating {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.article-card-alternating:hover {
    box-shadow: var(--shadow-lg);
}

.article-card-alternating a {
    display: flex;
}

.article-card-alternating.reversed a {
    flex-direction: row-reverse;
}

.article-card-alternating .article-card-image {
    width: 45%;
    min-height: 280px;
}

.article-card-alternating .article-card-body {
    width: 55%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .article-card-alternating a,
    .article-card-alternating.reversed a {
        flex-direction: column;
    }
    
    .article-card-alternating .article-card-image,
    .article-card-alternating .article-card-body {
        width: 100%;
    }
    
    .article-card-alternating .article-card-body {
        padding: 1.5rem;
    }
}

/* =====================================================
   Newsletter Section
   ===================================================== */
.newsletter-section {
    padding: 6rem 0;
    background: var(--white);
}

.newsletter-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-2xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.newsletter-card h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

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

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.newsletter-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.deco-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 100px;
    background: rgba(16, 185, 129, 0.3);
}

.deco-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 2.5rem 1.5rem;
    }
    
    .newsletter-card h2 {
        font-size: 1.75rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-decoration {
        display: none;
    }
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    background: var(--dark);
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links-col h5,
.footer-stats-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

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

.footer-links-col a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-stat-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-text {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand-col {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 1.5rem;
    }
}

/* =====================================================
   Utilities & Animations
   ===================================================== */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   Responsive Adjustments
   ===================================================== */
@media (max-width: 991px) {
    .categories-section,
    .articles-section,
    .newsletter-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .categories-section,
    .articles-section,
    .newsletter-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* =====================================================
   Additional Page Styles (保留原有样式兼容)
   ===================================================== */

/* Search Results Page */
.search-results-page {
    background: var(--gray-50);
    min-height: calc(100vh - 60px);
    padding-top: 100px;
}

.search-header {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Article Page Content */
.article-page {
    background: var(--gray-50);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.article-content img {
    border-radius: var(--radius-xl);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--gray-600);
}

.content-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* TOC Box */
.toc-box {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: 1.5rem 2rem;
}

/* Pro Tip Box */
.pro-tip-box {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    color: var(--white);
    margin: 2rem 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-left: 4px solid var(--strength);
    padding: 1.5rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 2rem 0;
}

/* Key Takeaways */
.key-takeaways-box {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
}

/* Newsletter CTA */
.newsletter-cta-box {
    background: var(--gradient-dark);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    margin: 2rem 0;
    color: var(--white);
}
