/* ========================================
   缘才科技企业官网 - 样式文件
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #165DFF;
    --primary-dark: #0D47A1;
    --bg-dark: #1E293B;
    --bg-light: #F8FAFC;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --accent: #FF7D00;
    --accent-dark: #E66F00;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Typography */
    --font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1400px;
    --border-radius: 12px;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 600ms ease-out;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Typography
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-header.light .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* Ripple Effect */
.ripple {
    position: relative;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--white) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 56px;
        max-width: 200px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
}

.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.navbar.scrolled .hamburger {
    background: var(--text-primary);
}

.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 0;
}

.mobile-nav-link {
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
    padding: 16px 40px;
    width: 100%;
    text-align: center;
    position: relative;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-link:last-of-type {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: rgba(22, 93, 255, 0.1);
}

.mobile-cta {
    margin-top: 20px;
    padding: 16px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    width: auto;
    max-width: 280px;
}

/* ========================================
   Banner
   ======================================== */
.banner {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.3) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.banner-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 24px;
}

.banner-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

.about-section {
    background: var(--white);
}

.services-section {
    background: var(--bg-light);
}

/* ========================================
   Solutions Section（浅色 2×3 左侧色条卡片布局）
   ======================================== */
.solutions-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0 90px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    --accent: #165dff;
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 28px 26px 26px;
    padding-left: 38px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    transform: translateY(18px);
    overflow: hidden;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
}

.solution-card__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent);
    border-radius: 12px 0 0 12px;
}

.solution-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.solution-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.35;
}

.solution-card__desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 14px;
}

.solution-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.solution-card__list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

.solution-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* 六张卡片各自主题色（蓝 绿 青 紫 橙 红） */
.solution-card:nth-child(1) { --accent: #165dff; }
.solution-card:nth-child(2) { --accent: #00b42a; }
.solution-card:nth-child(3) { --accent: #0bc6e3; }
.solution-card:nth-child(4) { --accent: #722ed1; }
.solution-card:nth-child(5) { --accent: #ff7c43; }
.solution-card:nth-child(6) { --accent: #eb2929; }

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-card {
        padding: 22px 20px 20px;
        padding-left: 30px;
    }
}

.contact-section {
    background: var(--bg-dark);
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.about-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
}

.about-location i {
    color: var(--primary);
    font-size: 18px;
}

.location-link {
    color: var(--primary);
    font-weight: 500;
    margin-left: 8px;
}

.location-link:hover {
    text-decoration: underline;
}

/* ========================================
   Services Section（参考行业方案卡片排版）
   ======================================== */
.services-grid--cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-pro {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.service-card-pro.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card-pro:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-pro__media {
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.service-card-pro__media img {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    display: block;
}

.service-card-pro__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-card-pro__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(22, 93, 255, 0.1);
    border-radius: 999px;
}

.service-card-pro__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.service-card-pro__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.service-card-pro__list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card-pro__list li {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.service-card-pro__list i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-card-pro__more {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card-pro__more:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ========================================
   /* ========================================
   Services Section
   ======================================== */

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 93, 255, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-value {
    font-size: 16px;
    color: var(--white);
}

.contact-value:hover {
    color: var(--primary);
}

.wechat-item {
    align-items: center;
}

.wechat-icon {
    background: rgba(22, 187, 0, 0.15);
}

.wechat-icon i {
    color: #17BE00;
}

.wechat-qr-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.wechat-qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
    transition: transform var(--transition-fast);
}

.wechat-qr:hover {
    transform: rotate(5deg);
}

.qr-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 联系区域 - 腾讯地图 */
.contact-map-wrapper {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 380px;
    position: relative;
}

.contact-map {
    width: 100%;
    height: 380px;
    min-height: 320px;
}

.map-fallback {
    padding: 16px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.map-fallback a {
    color: var(--primary);
    margin-left: 8px;
    text-decoration: underline;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 24px;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    line-height: 1.4;
}

.footer-nav-item:hover {
    color: var(--primary);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.footer-logo i {
    color: var(--primary);
    margin-right: 6px;
}

.footer-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-item {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    transition: color var(--transition-fast);
}

.footer-legal-item:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   Right Sidebar - Fixed Contact Panel
   ======================================== */
.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 997;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.floating-contact-toggle {
    position: absolute;
    left: -64px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    padding: 0;
    background: var(--white);
    color: var(--white);
    border: 2px solid rgba(22, 93, 255, 0.35);
    border-radius: 14px 0 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.floating-contact-toggle:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.floating-kefu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-contact.expanded .floating-contact-toggle {
    border-color: var(--primary);
}

.floating-contact-panel {
    background: var(--white);
    border-radius: 12px 0 0 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 0;
    max-height: 0;
    opacity: 0;
    transition: width 0.3s ease, max-height 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: width, opacity;
}

.floating-contact.expanded .floating-contact-panel {
    width: 340px;
    max-height: 600px;
    opacity: 1;
    margin-right: 0;
}

.floating-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    transition: background var(--transition-fast);
    text-decoration: none;
    color: var(--text-primary);
}

.floating-contact-item:last-child {
    border-bottom: none;
}

.floating-contact-item:hover {
    background: var(--bg-light);
}

.floating-contact-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 93, 255, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.floating-contact-item.wechat i {
    background: rgba(22, 187, 0, 0.1);
    color: #17BE00;
}

.floating-contact-item.phone i {
    background: rgba(255, 125, 0, 0.1);
    color: var(--accent);
}

.floating-contact-text {
    font-size: 17px;
    line-height: 1.4;
}

.floating-contact-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.floating-contact-value {
    font-weight: 600;
    font-size: 17px;
}

.floating-qr-small {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
}

.floating-qr-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide on mobile */
@media (max-width: 1024px) {
    .floating-contact {
        display: none;
    }
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.back-to-top i {
    font-size: 20px;
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }

    .banner-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid--cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu.active {
        display: flex;
    }

    .banner {
        min-height: 600px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .services-grid--cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-pro__media {
        height: 180px;
    }

    .contact-map {
        height: 280px;
    }

    .footer-links-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-legal {
        flex-wrap: wrap;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .banner-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wechat-qr-wrapper {
        flex-direction: column;
    }
}
