* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a26;
    --bg-card: #1e1e2e;
    --bg-hover: #252536;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --accent-primary: #7c5cff;
    --accent-secondary: #5865f2;
    --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #5865f2 50%, #00d4ff 100%);
    --border-color: #2a2a3a;
    --shadow-glow: 0 0 40px rgba(124, 92, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-links a.active {
    color: var(--accent-primary);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-gradient);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    padding: 16px 36px;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    padding: 16px 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-images {
    position: relative;
    height: 560px;
}

.hero-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-1 {
    width: 280px;
    height: 360px;
    top: 0;
    left: 0;
    transform: rotate(-3deg);
    animation: float1 6s ease-in-out infinite;
}

.hero-image-2 {
    width: 280px;
    height: 360px;
    top: 40px;
    right: 0;
    transform: rotate(3deg);
    animation: float2 7s ease-in-out infinite;
}

.hero-image-3 {
    width: 320px;
    height: 240px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-20px); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-25px); }
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.advantages {
    background: var(--bg-primary);
}

.advantages-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

.advantage-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.advantage-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.advantages-visual {
    position: relative;
    height: 500px;
}

.advantages-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.advantages-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

.gallery {
    background: var(--bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-overlay span {
    font-size: 13px;
    color: var(--text-secondary);
}

.home-news {
    background: var(--bg-secondary);
    padding: 0px 0;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.home-news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.home-news-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.home-news-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.home-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-news-card:hover .home-news-image img {
    transform: scale(1.08);
}

.home-news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.home-news-meta {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #fff;
}

.home-news-meta > span:not(.home-news-tag) {
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    color: #fff;
    font-weight: 500;
    font-size: 12px;
}

.home-news-tag {
    padding: 3px 10px;
    background: rgba(124, 92, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(124, 92, 255, 0.6);
    border-radius: 100px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.home-news-body > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.home-news-card:hover .home-news-body > img {
    transform: scale(1.03);
}

.home-news-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.home-news-card:hover .home-news-body h3 {
    color: var(--accent-primary);
}

.home-news-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.home-news-more {
    margin-top: auto;
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.home-news-more:hover {
    gap: 10px;
}

.cta-section {
    background: var(--bg-primary);
    padding: 120px 0;
}

.cta-wrapper {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border-radius: 32px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-wrapper h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.cta-wrapper p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-wrapper .btn-primary {
    position: relative;
    font-size: 18px;
    padding: 20px 48px;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.8;
    max-width: 360px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul.footer-col-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--accent-gradient);
    transform: translateY(-2px);
}

.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at top, rgba(124, 92, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.page-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.news-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.news-card {
    display: grid; 
    gap: 32px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.news-card-image {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.news-card-category {
    padding: 4px 12px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: 100px;
    color: var(--accent-primary);
    font-weight: 600;
}

.news-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card h3:hover {
    color: var(--accent-primary);
}

.news-card-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-more {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card-more:hover {
    gap: 12px;
}

.sidebar {
    position: sticky; 
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-widget {
    padding: 28px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.category-list li a:hover,
.category-list li a.active {
    background: rgba(124, 92, 255, 0.1);
    color: var(--accent-primary);
}

.category-count {
    padding: 2px 10px;
    background: var(--bg-card);
    border-radius: 100px;
    font-size: 12px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 16px;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.popular-post-content h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-content h5:hover {
    color: var(--accent-primary);
}

.popular-post-content span {
    font-size: 12px;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.pagination a:hover,
.pagination a.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.article-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    margin-top: 60px;
}

.article-content {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 60px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.article-category {
    padding: 6px 16px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 600;
}

.article-date,
.article-author {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 32px;
}

.article-featured-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2;
}

.article-body h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    line-height: 1.4;
}

.article-body h3 {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    border-radius: 12px;
    margin: 28px 0;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 28px 32px;
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-primary);
}

.article-body code {
    padding: 3px 8px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--accent-primary);
}

.article-body pre {
    margin: 28px 0;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow-x: auto;
}

.article-body pre code {
    padding: 0;
    background: none;
    color: var(--text-secondary);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.article-tags a {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 13px;
}

.article-tags a:hover {
    background: var(--accent-gradient);
    color: white;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
}

.back-btn:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

@media (max-width: 1024px) {
    .hero-content,
    .advantages-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-images {
        height: 480px;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .news-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .page-header h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text .subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .hero-images {
        height: 400px;
    }

    .hero-image-1,
    .hero-image-2 {
        width: 220px;
        height: 280px;
    }

    .hero-image-3 {
        width: 260px;
        height: 200px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .news-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta-wrapper {
        padding: 48px 24px;
    }

    .cta-wrapper h2 {
        font-size: 28px;
    }

    .article-content {
        padding: 32px 24px;
    }

    .article-title {
        font-size: 28px;
    }

    .page-header {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}
