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

:root {
    --primary: #e8590c;
    --primary-dark: #c2410c;
    --accent: #f59e0b;
    --dark: #1c1917;
    --dark-light: #292524;
    --gray-900: #1c1917;
    --gray-700: #44403c;
    --gray-500: #78716c;
    --gray-300: #d6d3d1;
    --gray-100: #faf9f7;
    --white: #fffffe;
    --cream: #fef7ed;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.07), 0 10px 30px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.8;
    background: var(--cream);
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== HEADER & NAV ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,254,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-300);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #451a03 0%, #7c2d12 50%, #c2410c 100%);
    padding: 5rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.articles-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ===== ARTICLE CARD ===== */
.article-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

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

.card-tag {
    display: inline-block;
    background: #fff7ed;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.9rem;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.7rem;
    letter-spacing: -0.3px;
}

.article-card h3 a {
    transition: color 0.2s;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.read-time {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 0 1.5rem 4rem;
}

.newsletter-box {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(135deg, #451a03 0%, #7c2d12 50%, #c2410c 100%);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    text-align: center;
}

.newsletter-box h2 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.newsletter-box p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 0.7rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-500);
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* ===== ARTICLE PAGE ===== */
.article-page {
    max-width: 740px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.article-page .breadcrumb {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.article-page .breadcrumb a {
    color: var(--primary);
}

.article-page h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.article-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.3px;
}

.article-page h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 0.7rem;
}

.article-page p {
    color: var(--gray-900);
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
}

.article-page ul, .article-page ol {
    margin: 0 0 1.5rem 1.5rem;
    color: var(--gray-700);
}

.article-page li {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}

.article-page strong {
    color: var(--gray-900);
}

.callout-box {
    background: #fff7ed;
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.callout-box p {
    margin-bottom: 0;
    color: var(--gray-900);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.comparison-table th {
    background: var(--gray-100);
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--gray-700);
}

.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.comparison-table tr:hover {
    background: var(--gray-100);
}

.article-cta {
    background: linear-gradient(135deg, #451a03 0%, #7c2d12 50%, #c2410c 100%);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin: 3rem 0 1rem;
}

.article-cta h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.article-cta p {
    color: var(--gray-300);
    font-size: 0.92rem;
}

/* ===== ABOUT PAGE ===== */
.about-page {
    max-width: 740px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.about-page h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.7px;
    margin-bottom: 1.5rem;
}

.about-page p {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.8rem;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-page h1 {
        font-size: 1.7rem;
    }
}
