:root {
    --bg-color: #f5f0e8;
    --text-color: #2d1b0e;
    --accent-gold: #8b6914;
    --accent-green: #2e7d32;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .editorial-font {
    font-family: var(--font-serif);
    font-weight: 700;
}

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

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

header {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(45, 27, 14, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    padding: 150px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}

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

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Magazine Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.card {
    background: var(--white);
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.card-content {
    padding: 30px;
}

.card-category {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Success Story Page Styles */
.article-header {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-content h2 {
    margin: 40px 0 20px;
    font-size: 32px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.metric-item {
    background: var(--accent-green);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.metric-label {
    font-size: 14px;
    text-transform: uppercase;
}

/* Visual Placeholders */
.placeholder-landscape {
    background: url('https://images.unsplash.com/photo-1627920769842-6887c6df05ca?fm=jpg&q=80&w=1200&auto=format&fit=crop') no-repeat center/cover;
    width: 100%;
    height: 100%;
}

.placeholder-pattern {
    background: url('https://www.jjr.com.cn/_nuxt/culture-1.05c6f90a.jpg') no-repeat center/cover;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1001;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}
