/* ===== 全局重置与变量 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e94560;
    --primary-light: #ff6b81;
    --primary-dark: #c0392b;
    --secondary: #0f3460;
    --accent: #1a1a2e;
    --bg-dark: #1a1a2e;
    --bg-light: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #f5f6fa;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.2);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== 基础样式 ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

body.dark-mode {
    background: var(--bg-dark);
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.85;
    color: var(--primary-light);
}

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

ul,
ol {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 标题通用 ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: inherit;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 4px;
    transition: width var(--transition);
}

.section-title:hover h2::after {
    width: 100px;
}

.section-title p {
    color: #666;
    margin-top: 10px;
    font-size: 1rem;
}

body.dark-mode .section-title p {
    color: #aaa;
}

/* ===== 按钮 ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(233, 69, 96, 0.1);
    color: var(--primary);
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition), border var(--transition);
}

header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    border-bottom-color: rgba(233, 69, 96, 0.3);
}

body.dark-mode header.scrolled {
    background: rgba(15, 52, 96, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    font-size: 0.95rem;
}

body.dark-mode nav a {
    color: var(--text-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color var(--transition);
}

body.dark-mode .nav-toggle {
    color: var(--text-light);
}

.dark-toggle {
    background: none;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.dark-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(30deg);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    backdrop-filter: blur(10px);
}

.mobile-menu.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform var(--transition);
}

.mobile-menu .close-btn:hover {
    transform: rotate(90deg);
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.hero-visual svg:hover {
    transform: scale(1.02) rotate(1deg);
}

/* ===== Banner Carousel ===== */
.banner-carousel {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
    border-radius: var(--radius);
    max-height: 400px;
}

.banner-slide {
    display: none;
    width: 100%;
    animation: fadeSlide 0.6s ease;
}

.banner-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-slide svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    transition: transform var(--transition);
}

.banner-slide:hover svg {
    transform: scale(1.03);
}

.banner-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.6);
}

.banner-dot:hover {
    background: var(--primary-light);
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 69, 96, 0.3);
}

body.dark-mode .glass-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(233, 69, 96, 0.4);
}

/* ===== Grid Layouts ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

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

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
    transition: transform var(--transition);
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-light);
    box-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
    transition: transform var(--transition);
}

.timeline-item:hover::before {
    transform: scale(1.3);
}

body.dark-mode .timeline-item::before {
    border-color: var(--bg-dark);
}

.timeline-item h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item p {
    color: #666;
    line-height: 1.6;
}

body.dark-mode .timeline-item p {
    color: #aaa;
}

/* ===== Team Member ===== */
.team-member {
    text-align: center;
    padding: 20px;
}

.team-member svg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

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

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-member p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== Product Card ===== */
.product-card {
    text-align: center;
    padding: 24px;
}

.product-card svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    transition: transform var(--transition);
}

.product-card:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-card p {
    color: #666;
    line-height: 1.6;
}

body.dark-mode .product-card p {
    color: #aaa;
}

/* ===== Partners ===== */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-logos svg {
    width: 120px;
    height: 60px;
    border-radius: var(--radius-sm);
    transition: filter var(--transition), transform var(--transition);
    filter: grayscale(0.5);
}

.partner-logos svg:hover {
    filter: none;
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-card p {
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary);
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    transition: border-color var(--transition);
}

body.dark-mode .faq-item {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color var(--transition);
}

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

.faq-question .icon {
    transition: transform var(--transition);
    font-size: 1.2rem;
    color: var(--primary);
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition);
    color: #666;
    line-height: 1.7;
}

body.dark-mode .faq-answer {
    color: #aaa;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* ===== HowTo ===== */
.howto-steps {
    counter-reset: step;
}

.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
    transition: transform var(--transition);
}

.howto-step:hover {
    transform: translateX(5px);
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
    transition: transform var(--transition);
}

.howto-step:hover::before {
    transform: scale(1.1);
}

.howto-step div {
    flex: 1;
}

.howto-step strong {
    color: var(--primary);
}

/* ===== Article Card ===== */
.article-card {
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

body.dark-mode .article-card {
    background: #222;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-card svg {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition);
}

.article-card:hover svg {
    transform: scale(1.05);
}

.article-card .content {
    padding: 20px;
}

.article-card .content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

body.dark-mode .article-card .content h3 {
    color: var(--text-light);
}

.article-card .content .date {
    color: #999;
    font-size: 0.85rem;
}

.article-card .content p {
    color: #666;
    font-size: 0.95rem;
    margin: 8px 0;
    line-height: 1.6;
}

body.dark-mode .article-card .content p {
    color: #aaa;
}

.article-card .content .read-more {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition);
}

.article-card .content .read-more:hover {
    color: var(--primary-light);
}

/* ===== Contact ===== */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info .item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--transition);
}

.contact-info .item:hover {
    transform: translateX(5px);
}

.contact-info .item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    gap: 12px;
    transition: background var(--transition);
}

body.dark-mode .map-placeholder {
    background: #333;
    color: #aaa;
}

.map-placeholder svg {
    width: 60px;
    height: 60px;
}

/* ===== Search ===== */
.search-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

body.dark-mode .search-box input {
    background: #333;
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.search-box button:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* ===== Footer ===== */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

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

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

.footer-grid h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-grid h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 6px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    display: inline-block;
    transition: transform var(--transition);
}

.footer-grid ul li a:hover {
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
}

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

.footer-bottom .links a {
    position: relative;
}

.footer-bottom .links a:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
    background: var(--primary-light);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Stats ===== */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

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

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

    .footer-grid h4::after {
        margin: 6px auto 0;
    }

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

    .footer-bottom .links a:not(:last-child)::after {
        display: none;
    }

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

    .timeline {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -24px;
        width: 12px;
        height: 12px;
    }

    .banner-carousel {
        max-height: 250px;
    }

    .hero-visual svg {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 12px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .glass-card {
        padding: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 20px;
    }

    .hero {
        padding: 100px 0 50px;
    }

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

body.dark-mode ::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: white;
}

/* ===== Print ===== */
@media print {
    header,
    .back-to-top,
    .mobile-menu,
    .banner-carousel,
    .dark-toggle,
    .nav-toggle {
        display: none !important;
    }

    .hero {
        padding: 20px 0;
        background: white !important;
        color: black !important;
    }

    .hero-text h1 {
        color: black !important;
    }

    .hero-text p {
        color: #333 !important;
    }

    .glass-card {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    body {
        color: black !important;
        background: white !important;
    }

    .section-title h2::after {
        background: #333 !important;
    }

    a {
        color: #333 !important;
    }
}