/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #faf8f5;
    color: #1a1a1a;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.btn--primary {
    background: #e67e22;
    color: white;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.25);
}

.btn--primary:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(230, 126, 34, 0.3);
}

/* HEADER */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo__link {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo__accent {
    color: #e67e22;
}

.logo__tagline {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 0.1rem;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav__link:hover, .nav__link--active {
    border-bottom-color: #e67e22;
    color: #e67e22;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #fdf8ed 0%, #fff4e6 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__accent {
    color: #e67e22;
    position: relative;
    display: inline-block;
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
}

/* FEATURES */
.features {
    padding: 60px 0;
    background: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #fefdf9;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ARTICLES GRID */
.articles {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.article-card__link {
    display: block;
}

.article-card__image {
    height: 240px;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__content {
    padding: 24px;
}

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-card__title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card__excerpt {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.article-card__meta {
    font-size: 0.8rem;
    color: #888;
}

/* ABOUT */
.about {
    background: linear-gradient(120deg, #2c3e26 0%, #1a2f1a 100%);
    color: white;
    padding: 70px 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.about__content h2 {
    color: #ffd966;
}

.about__stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd966;
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* FOOTER */
.footer {
    background: #111;
    color: #aaa;
    padding: 50px 0 20px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer__col ul {
    list-style: none;
}

.footer__col li {
    margin-bottom: 0.5rem;
}

.footer__col a:hover {
    color: #e67e22;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

/* ARTICLE PAGE LAYOUT */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr;
    gap: 50px;
    padding: 50px 0;
}

.article-main {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.article-main h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.article-image {
    margin: 24px 0;
    border-radius: 20px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    border-radius: 20px;
}

.article-main p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.article-main h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.6rem;
}

.article-main h3 {
    margin: 1.2rem 0 0.5rem;
    font-size: 1.3rem;
}

.article-main ul, .article-main ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-main li {
    margin-bottom: 0.5rem;
}

/* SIDEBAR */
.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
}

.sidebar-articles {
    list-style: none;
}

.sidebar-articles li {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.sidebar-articles a {
    display: block;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-articles a:hover {
    color: #e67e22;
    transform: translateX(5px);
}

/* ADS */
.ad-banner {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 16px;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    font-size: 0.8rem;
    color: #555;
    border: 1px dashed #ccc;
    transition: all 0.2s;
}

.ad-banner:hover {
    background: #eaeaea;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .article-sidebar {
        position: static;
    }
    .about__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .about__stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header__inner {
        flex-direction: column;
        text-align: center;
    }
    .nav__list {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .articles__grid {
        grid-template-columns: 1fr;
    }
    .article-main {
        padding: 24px;
    }
    .hero {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .article-card__image {
        height: 200px;
    }
    .feature-card {
        padding: 20px;
    }
}