:root {
    --brand-primary: #f5a623;
    --brand-primary-dark: #d4891a;
    --brand-secondary: #2c3e50;
    --brand-light: #fef9f0;
    --brand-gray: #f7f8fa;
    --text-main: #1f2a36;
    --text-sub: #5a6a7a;
    --text-light: #8899aa;
    --border-color: #e8ecf1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 68px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    --text-main: #e8edf2;
    --text-sub: #a0b0c0;
    --text-light: #6a7a8a;
    --border-color: #2a3644;
    --brand-light: #1a222c;
    --brand-gray: #141b24;
    background-color: #0f151c;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

body.dark-mode .site-header {
    background-color: rgba(15, 21, 28, 0.96);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text em {
    font-style: normal;
    color: var(--brand-primary);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-desktop a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-sub);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
    color: var(--brand-primary);
    background-color: var(--brand-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--brand-gray);
    border-radius: 50px;
    padding: 6px 6px 6px 16px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--text-main);
    width: 140px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box button {
    background-color: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-box button:hover {
    background-color: var(--brand-primary-dark);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--brand-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--brand-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-sub);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--brand-gray);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--text-main);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    padding: 24px 20px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
}

body.dark-mode .mobile-nav {
    background-color: rgba(15, 21, 28, 0.98);
}

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

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-size: 17px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.mobile-nav a:hover {
    background-color: var(--brand-light);
    color: var(--brand-primary);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--brand-primary-dark);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

main {
    min-height: 60vh;
}

.banner-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5a623 0%, #f7b84a 50%, #f9c96e 100%);
    padding: 80px 0 90px;
}

.banner-slides {
    position: relative;
    min-height: 320px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.banner-slide.active {
    opacity: 1;
    position: relative;
}

.banner-slide h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.banner-slide p {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(0, 0, 0, 0.7);
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.banner-cta svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    padding: 0;
}

.banner-dot.active {
    background-color: #1a1a1a;
    transform: scale(1.2);
}

.stats-section {
    padding: 60px 0;
    background-color: var(--brand-gray);
    transition: background-color 0.3s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 20px 12px;
}

.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.2;
    display: block;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 15px;
    color: var(--text-sub);
    margin-top: 6px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--brand-gray);
    transition: background-color 0.3s;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-sub);
    max-width: 640px;
    margin: 0 auto;
}

.brand-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brand-intro-text h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-main);
}

.brand-intro-text p {
    color: var(--text-sub);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.brand-intro-text .highlight {
    color: var(--brand-primary);
    font-weight: 600;
}

.brand-intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-intro-visual svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

body.dark-mode .feature-card {
    background-color: #1a222c;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--brand-primary);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.solution-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

body.dark-mode .solution-card {
    background-color: #1a222c;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.solution-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    flex-shrink: 0;
    width: 52px;
    opacity: 0.5;
}

.solution-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.solution-content p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.article-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

body.dark-mode .article-card {
    background-color: #1a222c;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-tag {
    background-color: var(--brand-light);
    color: var(--brand-primary);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.4;
}

.article-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.article-link {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.article-link:hover {
    gap: 10px;
}

.article-link svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-primary);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .case-card {
    background-color: #1a222c;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.case-stars svg {
    width: 18px;
    height: 18px;
    fill: #f5a623;
}

.case-card blockquote {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: normal;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.case-author-info strong {
    display: block;
    font-size: 15px;
    color: var(--text-main);
}

.case-author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

body.dark-mode .faq-item {
    background-color: #1a222c;
}

.faq-item.open {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    line-height: 1.5;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s, background-color 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background-color: var(--brand-primary);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-primary);
    transition: fill 0.3s;
}

.faq-item.open .faq-icon svg {
    fill: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 24px 22px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
}

.howto-steps {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.howto-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .howto-step {
    background-color: #1a222c;
}

.howto-step:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.howto-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.howto-step-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.howto-step-content p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
}

body.dark-mode .news-item {
    background-color: #1a222c;
}

.news-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
    border-color: var(--brand-primary);
}

.news-date {
    font-size: 14px;
    color: var(--brand-primary);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 90px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
}

.news-item:hover .news-title {
    color: var(--brand-primary);
}

.news-arrow {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    flex-shrink: 0;
    transition: fill 0.2s;
}

.news-item:hover .news-arrow {
    fill: var(--brand-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.contact-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .contact-card {
    background-color: #1a222c;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--brand-primary);
}

.contact-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.contact-card p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
}

.contact-card a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.site-footer {
    background-color: var(--brand-secondary);
    color: #c0ccd8;
    padding: 64px 0 32px;
    transition: background-color 0.3s;
}

body.dark-mode .site-footer {
    background-color: #0a0f14;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: #8a9aaa;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #8a9aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #6a7a8a;
}

.footer-bottom a {
    color: #8a9aaa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--brand-primary);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: var(--text-sub);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--brand-primary);
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb li[aria-current="page"] {
    color: var(--brand-primary);
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .search-box {
        display: none;
    }

    .brand-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section {
        padding: 56px 0;
    }

    .banner-section {
        padding: 60px 0 70px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .howto-step {
        flex-direction: column;
        gap: 12px;
    }

    .banner-slide h1 {
        font-size: 26px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

body.dark-mode .sun-icon {
    display: block;
}

body.dark-mode .moon-icon {
    display: none;
}