:root {
    --text-primary: #17202A;
    --text-secondary: #1F2937;
    --text-body: #243447;
    --text-muted: #334155;
    --text-link: #0B3D91;
    --text-link-hover: #062B6B;
    --text-button: #FFFFFF;
    --bg-button: #0F172A;
    --bg-button-hover: #1E293B;
    --text-nav: #F1F5F9;
    --text-nav-hover: #FFFFFF;
    --bg-nav: rgba(15, 23, 42, 0.85);
    --text-footer: #E2E8F0;
    --text-footer-muted: #CBD5E1;
    --bg-footer: #0F172A;
    --text-card-title: #17202A;
    --text-card-body: #243447;
    --bg-card: rgba(255, 255, 255, 0.72);
    --border-card: rgba(203, 213, 225, 0.6);
    --text-faq-q: #17202A;
    --text-faq-a: #243447;
    --text-tag: #FFFFFF;
    --bg-tag: linear-gradient(135deg, #1E3A8A, #3B82F6);
    --text-table-header: #FFFFFF;
    --bg-table-header: linear-gradient(135deg, #1E3A8A, #2563EB);
    --text-table-cell: #1F2937;
    --bg-table-row: rgba(248, 250, 252, 0.7);
    --bg-table-row-alt: rgba(241, 245, 249, 0.7);
    --text-placeholder: #475569;
    --text-input: #17202A;
    --bg-input: rgba(255, 255, 255, 0.8);
    --border-input: #94A3B8;
    --text-error: #B91C1C;
    --bg-body: #F0F4F8;
    --bg-section-alt: rgba(248, 250, 252, 0.6);
    --text-heading-h1: #17202A;
    --text-heading-h2: #1F2937;
    --text-heading-h3: #243447;
    --text-heading-h4: #334155;
    --text-breadcrumb: #334155;
    --text-breadcrumb-active: #17202A;
    --text-search: #17202A;
    --bg-search: rgba(255, 255, 255, 0.85);
    --border-search: rgba(148, 163, 184, 0.5);
    --text-search-btn: #FFFFFF;
    --bg-search-btn: linear-gradient(135deg, #0F172A, #1E3A8A);
    --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
    --text-scroll-top: #FFFFFF;
    --bg-scroll-top: linear-gradient(135deg, #1E3A8A, #3B82F6);
    --text-banner-title: #FFFFFF;
    --text-banner-desc: #E2E8F0;
    --bg-banner-overlay: rgba(15, 23, 42, 0.55);
    --text-timeline-date: #0B3D91;
    --text-timeline-title: #17202A;
    --text-timeline-desc: #243447;
    --text-stat-number: #0B3D91;
    --text-stat-label: #1F2937;
    --text-team-name: #17202A;
    --text-team-role: #334155;
    --text-contact-label: #1F2937;
    --text-contact-value: #243447;
    --text-legal: #334155;
    --text-copyright: #CBD5E1;
    --bg-copyright: #0F172A;
    --text-badge: #FFFFFF;
    --bg-badge: linear-gradient(135deg, #1E3A8A, #3B82F6);
    --text-news-date: #334155;
    --text-news-title: #17202A;
    --text-news-summary: #243447;
    --text-readmore: #0B3D91;
    --text-readmore-hover: #062B6B;
    --text-howto-step: #17202A;
    --text-howto-desc: #243447;
    --text-warning: #92400E;
    --bg-warning: #FEF3C7;
    --text-success: #166534;
    --bg-success: #DCFCE7;
    --text-info: #1E3A8A;
    --bg-info: #DBEAFE;
    --text-case-title: #17202A;
    --text-case-desc: #243447;
    --text-testimonial: #243447;
    --text-testimonial-author: #1F2937;
    --text-sitemap: #0B3D91;
    --text-friendlink: #0B3D91;
    --text-privacy: #243447;
    --text-disclaimer: #243447;
    --text-section-title: #17202A;
    --text-section-subtitle: #334155;
    --bg-highlight: #E0E7FF;
    --text-highlight: #1E3A8A;
    --glass-blur: 16px;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.35);
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #0F172A 100%);
    --gradient-accent: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    --gradient-warm: linear-gradient(135deg, #172554 0%, #1E3A8A 60%, #0F172A 100%);
    --radius-card: 16px;
    --radius-btn: 10px;
    --radius-tag: 20px;
}

[data-theme="dark"] {
    --text-primary: #F8FAFC;
    --text-secondary: #F1F5F9;
    --text-body: #E5E7EB;
    --text-muted: #CBD5E1;
    --text-link: #93C5FD;
    --text-link-hover: #BFDBFE;
    --text-button: #0F172A;
    --bg-button: #93C5FD;
    --bg-button-hover: #BFDBFE;
    --text-nav: #F1F5F9;
    --text-nav-hover: #FFFFFF;
    --bg-nav: rgba(2, 6, 23, 0.85);
    --text-footer: #E2E8F0;
    --text-footer-muted: #94A3B8;
    --bg-footer: #020617;
    --text-card-title: #F8FAFC;
    --text-card-body: #E5E7EB;
    --bg-card: rgba(30, 41, 59, 0.72);
    --border-card: rgba(51, 65, 85, 0.6);
    --text-faq-q: #F8FAFC;
    --text-faq-a: #E5E7EB;
    --text-tag: #0F172A;
    --bg-tag: linear-gradient(135deg, #93C5FD, #60A5FA);
    --text-table-header: #0F172A;
    --bg-table-header: linear-gradient(135deg, #93C5FD, #60A5FA);
    --text-table-cell: #E5E7EB;
    --bg-table-row: rgba(30, 41, 59, 0.7);
    --bg-table-row-alt: rgba(15, 23, 42, 0.7);
    --text-placeholder: #94A3B8;
    --text-input: #F8FAFC;
    --bg-input: rgba(30, 41, 59, 0.8);
    --border-input: #475569;
    --text-error: #FCA5A5;
    --bg-body: #0F172A;
    --bg-section-alt: rgba(2, 6, 23, 0.6);
    --text-heading-h1: #FFFFFF;
    --text-heading-h2: #F8FAFC;
    --text-heading-h3: #F1F5F9;
    --text-heading-h4: #E2E8F0;
    --text-breadcrumb: #CBD5E1;
    --text-breadcrumb-active: #F8FAFC;
    --text-search: #F8FAFC;
    --bg-search: rgba(30, 41, 59, 0.85);
    --border-search: rgba(71, 85, 105, 0.5);
    --text-search-btn: #0F172A;
    --bg-search-btn: linear-gradient(135deg, #93C5FD, #60A5FA);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --text-scroll-top: #0F172A;
    --bg-scroll-top: linear-gradient(135deg, #93C5FD, #60A5FA);
    --text-banner-title: #FFFFFF;
    --text-banner-desc: #E2E8F0;
    --bg-banner-overlay: rgba(2, 6, 23, 0.65);
    --text-timeline-date: #93C5FD;
    --text-timeline-title: #F8FAFC;
    --text-timeline-desc: #E5E7EB;
    --text-stat-number: #93C5FD;
    --text-stat-label: #F1F5F9;
    --text-team-name: #F8FAFC;
    --text-team-role: #CBD5E1;
    --text-contact-label: #F1F5F9;
    --text-contact-value: #E5E7EB;
    --text-legal: #CBD5E1;
    --text-copyright: #94A3B8;
    --bg-copyright: #020617;
    --text-badge: #0F172A;
    --bg-badge: linear-gradient(135deg, #93C5FD, #60A5FA);
    --text-news-date: #CBD5E1;
    --text-news-title: #F8FAFC;
    --text-news-summary: #E5E7EB;
    --text-readmore: #93C5FD;
    --text-readmore-hover: #BFDBFE;
    --text-howto-step: #F8FAFC;
    --text-howto-desc: #E5E7EB;
    --text-warning: #FDE68A;
    --bg-warning: #422006;
    --text-success: #86EFAC;
    --bg-success: #052E16;
    --text-info: #93C5FD;
    --bg-info: #172554;
    --text-case-title: #F8FAFC;
    --text-case-desc: #E5E7EB;
    --text-testimonial: #E5E7EB;
    --text-testimonial-author: #F1F5F9;
    --text-sitemap: #93C5FD;
    --text-friendlink: #93C5FD;
    --text-privacy: #E5E7EB;
    --text-disclaimer: #E5E7EB;
    --text-section-title: #FFFFFF;
    --text-section-subtitle: #CBD5E1;
    --bg-highlight: #1E3A8A;
    --text-highlight: #DBEAFE;
    --glass-blur: 16px;
    --glass-bg: rgba(30, 41, 59, 0.65);
    --glass-border: rgba(148, 163, 184, 0.25);
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #172554 100%);
    --gradient-accent: linear-gradient(135deg, #020617 0%, #1E3A8A 100%);
    --gradient-warm: linear-gradient(135deg, #172554 0%, #0F172A 60%, #020617 100%);
}

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

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

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-body);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: var(--text-link-hover);
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    color: var(--text-nav);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: background 0.4s ease, box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-nav);
    letter-spacing: 1.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, #FFFFFF, #93C5FD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.3s ease;
}

.nav-logo span {
    -webkit-text-fill-color: #93C5FD;
    background: none;
}

.nav-logo:hover {
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-nav);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #93C5FD, #3B82F6);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--text-nav-hover);
    border-bottom-color: transparent;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-search);
    border-radius: var(--radius-btn);
    overflow: hidden;
    border: 1px solid var(--border-search);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-box:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-box input {
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text-search);
    width: 140px;
    transition: width 0.3s ease;
}

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

.search-box input:focus {
    width: 180px;
}

.search-box button {
    border: none;
    background: var(--bg-search-btn);
    color: var(--text-search-btn);
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: filter 0.25s ease, transform 0.2s ease;
}

.search-box button:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

.search-box button:active {
    transform: scale(0.98);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--text-nav);
    color: var(--text-nav);
    border-radius: var(--radius-btn);
    padding: 6px 10px;
    font-size: 0.9rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
    background: var(--text-nav);
    color: var(--bg-nav);
    transform: rotate(20deg) scale(1.05);
    box-shadow: 0 0 16px rgba(147, 197, 253, 0.4);
}

.theme-toggle:active {
    transform: rotate(20deg) scale(0.95);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--text-nav);
    color: var(--text-nav);
    border-radius: var(--radius-btn);
    padding: 6px 10px;
    font-size: 1.2rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.mobile-menu-btn:hover {
    background: var(--text-nav);
    color: var(--bg-nav);
}

.breadcrumb {
    padding: 16px 0 8px;
    font-size: 0.9rem;
    color: var(--text-breadcrumb);
}

.breadcrumb a {
    color: var(--text-breadcrumb);
    transition: color 0.25s ease;
}

.breadcrumb a:hover {
    color: var(--text-link);
}

.breadcrumb span {
    color: var(--text-breadcrumb-active);
    font-weight: 600;
}

.banner {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 32px;
    min-height: 340px;
    background: var(--bg-section-alt);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 40px;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-banner-overlay);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 640px;
    animation: bannerFadeUp 0.8s ease both;
}

@keyframes bannerFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h2 {
    font-size: 2.1rem;
    color: var(--text-banner-title);
    margin-bottom: 12px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.banner-content p {
    font-size: 1.05rem;
    color: var(--text-banner-desc);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
}

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

.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.banner-dots span.active {
    background: #FFFFFF;
    transform: scale(1.3);
    width: 24px;
    border-radius: 6px;
}

section {
    padding: 48px 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--bg-section-alt);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.9rem;
    color: var(--text-section-title);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-section-subtitle);
    font-size: 1rem;
    margin-top: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6, #93C5FD);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.card h3 {
    font-size: 1.15rem;
    color: var(--text-card-title);
    margin-bottom: 10px;
    font-weight: 700;
}

.card p {
    color: var(--text-card-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    transition: transform 0.35s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-4deg);
}

.tag {
    display: inline-block;
    background: var(--bg-tag);
    color: var(--text-tag);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: var(--radius-tag);
    margin-right: 6px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.tag:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

th {
    background: var(--bg-table-header);
    color: var(--text-table-header);
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

td {
    padding: 12px 16px;
    color: var(--text-table-cell);
    border-top: 1px solid var(--border-card);
    transition: background 0.2s ease;
}

tr:nth-child(even) td {
    background: var(--bg-table-row-alt);
}

tr:nth-child(odd) td {
    background: var(--bg-table-row);
}

tr:hover td {
    background: var(--bg-highlight);
    color: var(--text-highlight);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-card);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border-color: rgba(59, 130, 246, 0.35);
}

.faq-item.open {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-faq-q);
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-section-alt);
}

.faq-question .arrow {
    transition: transform 0.35s ease, color 0.25s ease;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
    color: #3B82F6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.35s ease;
    padding: 0 20px;
    color: var(--text-faq-a);
    font-size: 0.95rem;
    line-height: 1.75;
}

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

.howto-steps {
    max-width: 860px;
    margin: 0 auto;
}

.howto-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.howto-step:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border-color: rgba(59, 130, 246, 0.35);
}

.howto-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--bg-tag);
    color: var(--text-tag);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    transition: transform 0.3s ease;
}

.howto-step:hover .howto-num {
    transform: scale(1.1) rotate(-6deg);
}

.howto-content h4 {
    color: var(--text-howto-step);
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.howto-content p {
    color: var(--text-howto-desc);
    font-size: 0.93rem;
    line-height: 1.7;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 22px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.news-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.news-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.news-item .news-date {
    font-size: 0.82rem;
    color: var(--text-news-date);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-item h3 {
    font-size: 1.05rem;
    color: var(--text-news-title);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.news-item:hover h3 {
    color: var(--text-link);
}

.news-item p {
    font-size: 0.9rem;
    color: var(--text-news-summary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.news-item a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-readmore);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease, gap 0.25s ease;
}

.news-item a:hover {
    color: var(--text-readmore-hover);
    gap: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.team-member {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 28px 16px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-member:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.team-member svg {
    margin: 0 auto 14px;
    transition: transform 0.35s ease;
}

.team-member:hover svg {
    transform: scale(1.1);
}

.team-member h4 {
    color: var(--text-team-name);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.team-member p {
    color: var(--text-team-role);
    font-size: 0.85rem;
}

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

.stat-item {
    padding: 24px 16px;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
}

.stat-item .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-stat-number);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stat-item .stat-label {
    font-size: 0.92rem;
    color: var(--text-stat-label);
    margin-top: 4px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.case-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 22px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1E3A8A, #3B82F6);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.case-item:hover::before {
    transform: scaleY(1);
}

.case-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.case-item h4 {
    color: var(--text-case-title);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.case-item p {
    color: var(--text-case-desc);
    font-size: 0.9rem;
    line-height: 1.7;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 26px;
    position: relative;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-item::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(59, 130, 246, 0.15);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.testimonial-item p {
    color: var(--text-testimonial);
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-style: italic;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--text-testimonial-author);
    font-weight: 700;
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 22px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.contact-item .label {
    color: var(--text-contact-label);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.contact-item .value {
    color: var(--text-contact-value);
    font-size: 0.95rem;
    line-height: 1.6;
}

footer {
    background: var(--bg-footer);
    color: var(--text-footer);
    padding: 48px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6, #93C5FD, #3B82F6, #1E3A8A);
    background-size: 200% 100%;
    animation: footerGradient 4s linear infinite;
}

@keyframes footerGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    color: var(--text-footer);
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: var(--text-footer-muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
    color: var(--text-footer);
    transform: translateX(4px);
    padding-left: 4px;
}

.footer-col p {
    color: var(--text-footer-muted);
    font-size: 0.88rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-copyright);
    line-height: 1.8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-scroll-top);
    color: var(--text-scroll-top);
    border: none;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.4s ease both;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
    filter: brightness(1.1);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.98);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) {
    transition-delay: 0.08s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.16s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.24s;
}

.fade-in:nth-child(5) {
    transition-delay: 0.32s;
}

.fade-in:nth-child(6) {
    transition-delay: 0.4s;
}

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1E3A8A, #3B82F6);
    border-radius: 6px;
    border: 2px solid var(--bg-section-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3B82F6, #60A5FA);
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid var(--glass-border);
        animation: slideDown 0.3s ease both;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    .nav-menu a {
        padding: 10px 4px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu a::after {
        display: none;
    }

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

    .search-box input {
        width: 100px;
    }

    .search-box input:focus {
        width: 120px;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.95rem;
    }

    .banner-slide {
        padding: 32px 24px;
    }

    .banner {
        min-height: 300px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .banner {
        min-height: 260px;
        border-radius: 12px;
    }

    .banner-content h2 {
        font-size: 1.2rem;
    }

    .banner-content p {
        font-size: 0.88rem;
    }

    .banner-slide {
        padding: 24px 18px;
    }

    .search-box {
        display: none;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .card-grid,
    .news-list,
    .case-grid,
    .testimonial-grid,
    .contact-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    section {
        padding: 36px 0;
    }

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

@media (max-width: 380px) {
    .nav-logo {
        font-size: 1.15rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}