.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1a1a1a;
    background-image: url('/images/home-hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.hero-content h1 span {
    color: var(--color-cta);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #ddd;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

.hero-cta .btn {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.hero-geo {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-geo--1 {
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border: 3px solid rgba(132, 204, 22, 0.2);
    transform: rotate(25deg);
}

.hero-geo--2 {
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(185, 28, 28, 0.3);
    transform: rotate(-15deg);
}

.hero-diagonal {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.cat-section {
    padding: 80px 0 60px;
    background: var(--bg-white);
}

.cat-section .section-title {
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-brand);
}

.cat-section .section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 48px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.cat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.cat-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 4px 16px rgba(185, 28, 28, 0.12);
    color: inherit;
}

.cat-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.08);
    border-radius: 12px;
}

.cat-card__icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-brand);
}

.cat-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cat-card__count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.articles-section {
    padding: 70px 0 80px;
    background: var(--bg-light);
    position: relative;
}

.articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

.articles-section .section-title {
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-brand);
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.articles-section .section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.article-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    border: 1px solid var(--border);
}

.article-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.article-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-card__body {
    padding: 20px;
}

.article-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-card__cat {
    color: var(--color-brand);
    font-weight: 700;
}

.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card__title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.article-card__title a:hover {
    color: var(--color-brand);
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.article-card__time {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card__time svg {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

.disciplines-section {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.disciplines-section::after {
    content: '';
    position: absolute;
    top: 120px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 3px solid rgba(185, 28, 28, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.disciplines-section .section-title {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 12px;
}

.disciplines-section .section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 50px;
}

.disc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.disc-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
}

.disc-card:hover {
    border-color: var(--color-brand);
    transform: translateY(-3px);
}

.disc-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.disc-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-brand);
    border-radius: 8px;
}

.disc-card__icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.disc-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.disc-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.stats-section {
    padding: 80px 0;
    background: var(--color-brand);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.stats-section .section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.stats-section .section-desc {
    text-align: center;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
}

.stat-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    position: relative;
}

.stat-circle svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.stat-circle__bg {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 8;
}

.stat-circle__fill {
    fill: none;
    stroke: var(--color-cta);
    stroke-width: 8;
    stroke-linecap: round;
}

.stat-circle__value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

.challenges-section {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

.challenges-section .section-title {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 12px;
}

.challenges-section .section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 44px;
}

.challenge-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.challenge-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.challenge-table thead th {
    background: var(--color-brand);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
}

.challenge-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.challenge-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.challenge-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.challenge-table tbody tr:hover {
    background: rgba(185, 28, 28, 0.04);
}

.challenge-table tbody tr:last-child td {
    border-bottom: none;
}

.challenge-table .challenge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(132, 204, 22, 0.15);
    color: #3f6212;
}

.newsletter-section {
    padding: 70px 0;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

.newsletter-section .section-title {
    color: var(--color-brand);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    padding-top: 30px;
}

.newsletter-section .section-desc {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-main);
    background: var(--bg-white);
    color: var(--text-dark);
}

.newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--color-brand);
    outline-offset: 1px;
    border-color: var(--color-brand);
}

.newsletter-form .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-geo { display: none; }
    .cat-section, .articles-section, .disciplines-section,
    .stats-section, .challenges-section, .newsletter-section {
        padding: 50px 0;
    }
    .cat-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
    }
    .cat-card {
        padding: 22px 16px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .disc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    .stat-circle svg {
        width: 100px;
        height: 100px;
    }
    .stat-circle__value {
        font-size: 1.3rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .challenge-table {
        font-size: 0.85rem;
    }
    .challenge-table thead th,
    .challenge-table tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content {
        padding: 40px 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}