/* ================================================
   LY Tech - Main Stylesheet
   Light theme matching lyzeroone.com
   ================================================ */

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

:root {
    --primary: #2B6BFF;
    --primary-dark: #1E54E5;
    --primary-light: #5A8AFF;
    --primary-soft: #EBF1FF;
    --accent: #FF6B35;
    --accent-soft: #FFF1EB;
    --bg-body: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-section: #FFFFFF;
    --bg-section-alt: #F5F8FC;
    --bg-section-gray: #FAFBFD;
    --text-primary: #1A2236;
    --text-secondary: #4A5568;
    --text-muted: #8893A8;
    --border: #E8EDF5;
    --border-hover: #C9D5E8;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(43, 107, 255, 0.04);
    --shadow: 0 4px 20px rgba(43, 107, 255, 0.06);
    --shadow-lg: 0 12px 36px rgba(43, 107, 255, 0.10);
    --shadow-hover: 0 16px 44px rgba(43, 107, 255, 0.14);
    --shadow-soft: 0 8px 30px rgba(17, 39, 87, 0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Noto Sans SC', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-section-alt); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.section-header p { color: var(--text-secondary); font-size: 1.05rem; }
.section-header .section-badge {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3);
    letter-spacing: 0.5px;
}

/* ---------- Homepage About Us ---------- */
.about-home { background: var(--bg-section-alt); }
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 44px;
}
.about-value-card {
    text-align: center;
    padding: 36px 20px 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.avc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    position: relative;
    overflow: hidden;
}
.avc-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.12;
    border-radius: inherit;
    transform: scale(1.4);
}
.avc-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}
.avc-icon.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.avc-icon.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.avc-icon.gradient-orange { background: linear-gradient(135deg, #F97316, #F59E0B); }
.avc-icon.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.about-value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.about-value-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-stats-row {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding: 28px 0 0;
}
.about-stat { text-align: center; }
.about-stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
}
.about-stat-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    padding: 10px 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
}
.nav-logo-img {
    height: 44px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}
.nav-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.navbar.scrolled .nav-logo-img {
    height: 38px;
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 12px rgba(43, 107, 255, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links > a {
    padding: 8px 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-links > a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---------- Nav Phone ---------- */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    color: var(--primary) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-phone:hover {
    background: var(--primary-soft);
    color: var(--primary) !important;
}
.nav-phone svg { color: var(--primary); }

/* ---------- Language Switcher ---------- */
.lang-switcher { position: relative; margin-left: 8px; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-soft);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}
.lang-btn:hover {
    background: var(--primary);
    color: #fff;
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 170px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    overflow: hidden;
    padding: 6px;
}
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
}
.lang-option:hover {
    background: var(--primary-soft);
    color: var(--primary) !important;
}
.lang-option.active {
    color: var(--primary) !important;
    background: var(--primary-soft);
    font-weight: 600;
}

/* ---------- Hero Banner (full-width image carousel) ---------- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #0a1628;
}
.banner-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}
.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.88) 0%, rgba(15, 30, 60, 0.65) 40%, rgba(15, 30, 60, 0.3) 70%, rgba(15, 30, 60, 0.1) 100%);
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
    max-width: 700px;
}

/* Banner tag */
.banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}
.banner-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60A5FA;
    box-shadow: 0 0 10px rgba(96,165,250,0.6);
}
.banner-tag-sep {
    color: rgba(255,255,255,0.35);
}

/* Banner text */
.banner-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}
.banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 560px;
}

/* Feature chips */
.banner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.banner-chip {
    padding: 7px 18px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s;
}
.banner-slide.active .banner-chip:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
}

/* CTA buttons */
.banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.banner-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(59,130,246,0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(59,130,246,0.6);
    color: #fff !important;
}
.banner-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.banner-btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.55);
    color: #fff !important;
}

/* Banner arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}
.banner-arrow:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.45);
}
.banner-arrow-prev { left: 24px; }
.banner-arrow-next { right: 24px; }

/* Banner dots */
.banner-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active {
    background: #3B82F6;
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(59,130,246,0.5);
}

/* Animate content on active slide */
.banner-slide.active .banner-tag {
    animation: bannerFadeUp 0.6s ease forwards;
}
.banner-slide.active .banner-title {
    animation: bannerFadeUp 0.6s 0.1s ease forwards;
}
.banner-slide.active .banner-subtitle {
    animation: bannerFadeUp 0.6s 0.2s ease forwards;
}
.banner-slide.active .banner-chips {
    animation: bannerFadeUp 0.6s 0.3s ease forwards;
}
.banner-slide.active .banner-actions {
    animation: bannerFadeUp 0.6s 0.4s ease forwards;
}
@keyframes bannerFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Floating Chat Bubble (bottom right) ---------- */
.chat-bubble {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 998;
}
.chat-bubble-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(43, 107, 255, 0.4);
    position: relative;
    transition: all var(--transition);
}
.chat-bubble-btn:hover {
    transform: scale(1.08);
}
.chat-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: chat-pulse 2s ease-out infinite;
}
@keyframes chat-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}
.chat-bubble-panel {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(17, 39, 87, 0.18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transform-origin: bottom right;
    transition: all var(--transition);
}
.chat-bubble.open .chat-bubble-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.chat-bubble-header {
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.chat-bubble-header strong { font-size: 1rem; }
.chat-bubble-body { padding: 22px; }
.chat-bubble-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font-sans);
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(43, 107, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(43, 107, 255, 0.4);
    color: #fff !important;
}
.btn-outline {
    background: #fff;
    color: var(--text-primary) !important;
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary) !important;
}
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Service Cards ---------- */
.services { background: var(--bg-section-gray); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s ease;
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover h3 { color: var(--primary); }

/* Service card icon */
.svc-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
}
.service-card:hover .svc-icon-wrap {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.svc-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 1s;
}
.service-card:hover .svc-icon-wrap::before {
    transform: translateX(100%);
}
.svc-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}
.service-card:hover .svc-icon-wrap svg {
    transform: scale(1.2);
}
.svc-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.5s;
}
.service-card:hover .svc-icon-glow { opacity: 0.3; }

/* Icon gradient colors */
.svc-icon-wrap.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.svc-icon-wrap.gradient-blue .svc-icon-glow { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.svc-icon-wrap.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.svc-icon-wrap.gradient-green .svc-icon-glow { background: linear-gradient(135deg, #22C55E, #10B981); }
.svc-icon-wrap.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.svc-icon-wrap.gradient-purple .svc-icon-glow { background: linear-gradient(135deg, #A855F7, #EC4899); }
.svc-icon-wrap.gradient-orange-red { background: linear-gradient(135deg, #F97316, #EF4444); }
.svc-icon-wrap.gradient-orange-red .svc-icon-glow { background: linear-gradient(135deg, #F97316, #EF4444); }
.svc-icon-wrap.gradient-indigo { background: linear-gradient(135deg, #6366F1, #3B82F6); }
.svc-icon-wrap.gradient-indigo .svc-icon-glow { background: linear-gradient(135deg, #6366F1, #3B82F6); }
.svc-icon-wrap.gradient-teal { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.svc-icon-wrap.gradient-teal .svc-icon-glow { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.svc-icon-wrap.gradient-violet { background: linear-gradient(135deg, #8B5CF6, #A855F7); }
.svc-icon-wrap.gradient-violet .svc-icon-glow { background: linear-gradient(135deg, #8B5CF6, #A855F7); }
.svc-icon-wrap.gradient-gray { background: linear-gradient(135deg, #6B7280, #64748B); }
.svc-icon-wrap.gradient-gray .svc-icon-glow { background: linear-gradient(135deg, #6B7280, #64748B); }

/* Button gradient colors */
.svc-btn.gradient-blue { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.svc-btn.gradient-blue:hover { background: linear-gradient(135deg, #1D4ED8, #1E40AF); }
.svc-btn.gradient-green { background: linear-gradient(135deg, #16A34A, #15803D); }
.svc-btn.gradient-green:hover { background: linear-gradient(135deg, #15803D, #166534); }
.svc-btn.gradient-purple { background: linear-gradient(135deg, #9333EA, #7E22CE); }
.svc-btn.gradient-purple:hover { background: linear-gradient(135deg, #7E22CE, #6B21A8); }
.svc-btn.gradient-orange-red { background: linear-gradient(135deg, #EA580C, #DC2626); }
.svc-btn.gradient-orange-red:hover { background: linear-gradient(135deg, #DC2626, #B91C1C); }
.svc-btn.gradient-indigo { background: linear-gradient(135deg, #4F46E5, #4338CA); }
.svc-btn.gradient-indigo:hover { background: linear-gradient(135deg, #4338CA, #3730A3); }
.svc-btn.gradient-teal { background: linear-gradient(135deg, #0D9488, #0F766E); }
.svc-btn.gradient-teal:hover { background: linear-gradient(135deg, #0F766E, #115E59); }
.svc-btn.gradient-violet { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.svc-btn.gradient-violet:hover { background: linear-gradient(135deg, #6D28D9, #5B21B6); }
.svc-btn.gradient-gray { background: linear-gradient(135deg, #4B5563, #374151); }
.svc-btn.gradient-gray:hover { background: linear-gradient(135deg, #374151, #1F2937); }

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s;
}
.svc-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.svc-tags span {
    padding: 4px 12px;
    background: #F3F4F6;
    color: #4B5563;
    font-size: 0.75rem;
    border-radius: 20px;
    transition: all 0.3s;
}
.service-card:hover .svc-tags span {
    background: #EFF6FF;
    color: #2563EB;
    transform: scale(1.05);
}
.svc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.svc-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}
.svc-link svg { transition: transform 0.3s; }
.svc-link:hover { color: var(--primary-dark); }
.svc-link:hover svg { transform: translateX(4px); }
.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 18px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.svc-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    color: #fff;
}

/* corner decoration on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: 20px 0 0 0;
    transition: border-color 0.5s;
}
.service-card:hover::after {
    border-color: rgba(43, 107, 255, 0.2);
}

/* ---------- Stats ---------- */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    text-align: center;
    margin-bottom: 40px;
}
.stat-item { padding: 16px; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    margin-top: 8px;
}
.stats-cta { text-align: center; }
.stats-cta .btn-primary {
    background: #fff;
    color: var(--primary) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.stats-cta .btn-primary:hover {
    background: #fff;
    color: var(--primary-dark) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ---------- Advantages ---------- */
.advantages { background: #fff; }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-item {
    text-align: center;
    padding: 44px 32px 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all var(--transition);
    box-shadow: var(--shadow-soft);
}
.advantage-item:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.advantage-icon {
    margin-bottom: 20px;
    display: inline-flex;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
    position: relative;
}
.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
.advantage-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 1s;
}
.advantage-item:hover .advantage-icon::before {
    transform: translateX(100%);
}
.advantage-icon svg {
    width: 34px;
    height: 34px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}
.advantage-item:hover .advantage-icon svg {
    transform: scale(1.2);
}
/* Advantage gradient colors */
.advantage-icon.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.advantage-icon.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.advantage-icon.gradient-orange { background: linear-gradient(135deg, #F97316, #F59E0B); }
.advantage-icon.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.advantage-icon.gradient-teal { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.advantage-icon.gradient-rose { background: linear-gradient(135deg, #E11D48, #EF4444); }
.advantage-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.advantage-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ---------- Process ---------- */
.process { background: var(--bg-section-gray); }
.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin: 0 -8px;
}
.process-step-card {
    position: relative;
    text-align: center;
    padding: 0 20px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    margin: 8px;
}
.process-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.process-step-card:hover .ps-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Step number badge */
.ps-number {
    position: absolute;
    top: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0 7px;
    z-index: 2;
    transition: all 0.3s;
}
.process-step-card:hover .ps-number {
    background: var(--primary);
    color: #fff;
}

/* Icon wrap */
.ps-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.ps-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.3s;
}
.process-step-card:hover .ps-icon-wrap::after {
    opacity: 1;
}
.ps-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Connector lines */
.ps-connector {
    position: absolute;
    top: 70px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--border);
    z-index: 0;
    transition: background 0.3s;
}
.process-step-card:nth-child(4n) .ps-connector { display: none; }
/* Down connector from step 4 to step 5 */
.ps-connector-down {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    width: 2px;
    height: 24px;
    transform: translateX(-50%);
    display: block !important;
}
.process-step-card:hover .ps-connector {
    background: var(--primary);
}

/* Title and description */
.ps-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.ps-desc {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* Gradient colors for process icons */
.ps-icon-wrap.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.ps-icon-wrap.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.ps-icon-wrap.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.ps-icon-wrap.gradient-orange { background: linear-gradient(135deg, #F97316, #F59E0B); }
.ps-icon-wrap.gradient-indigo { background: linear-gradient(135deg, #6366F1, #3B82F6); }
.ps-icon-wrap.gradient-teal { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.ps-icon-wrap.gradient-violet { background: linear-gradient(135deg, #8B5CF6, #A855F7); }
.ps-icon-wrap.gradient-rose { background: linear-gradient(135deg, #E11D48, #EF4444); }

/* ---------- Deliverables ---------- */
.deliverables { background: #fff; }
.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.deliverable-item {
    text-align: center;
    padding: 32px 18px;
    background: var(--bg-section-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.deliverable-item:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.deliverable-icon {
    margin-bottom: 14px;
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
    position: relative;
}
.deliverable-item:hover .deliverable-icon {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.deliverable-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 1s;
}
.deliverable-item:hover .deliverable-icon::before {
    transform: translateX(100%);
}
.deliverable-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
    position: relative;
    z-index: 1;
}
/* Deliverable gradient colors */
.deliverable-icon.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.deliverable-icon.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.deliverable-icon.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.deliverable-icon.gradient-orange { background: linear-gradient(135deg, #F97316, #F59E0B); }
.deliverable-icon.gradient-indigo { background: linear-gradient(135deg, #6366F1, #3B82F6); }
.deliverable-icon.gradient-teal { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.deliverable-icon.gradient-violet { background: linear-gradient(135deg, #8B5CF6, #A855F7); }
.deliverable-icon.gradient-rose { background: linear-gradient(135deg, #E11D48, #EF4444); }
.deliverable-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.deliverable-item p { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #DCE7FF 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(43, 107, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.08rem;
}

/* ---------- Page Banner ---------- */
.page-banner {
    padding: 140px 0 70px;
    text-align: center;
    background: linear-gradient(135deg, #F5F8FC 0%, #EBF1FF 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 107, 255, 0.85) 0%, rgba(26, 34, 54, 0.8) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #FFFFFF;
}
.page-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* ---------- Service Detail (Service page) ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.service-detail.reverse > .service-detail-content { order: 2; }
.service-detail.reverse > .service-detail-image { order: 1; }
.service-detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.service-detail-desc { color: var(--text-secondary); margin-bottom: 24px; font-size: 1rem; line-height: 1.8; }
.service-icon-lg {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft), #DCE7FF);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    color: var(--primary);
}
.service-tags-lg { display: flex; flex-wrap: wrap; gap: 12px; }
.service-detail-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(17, 39, 87, 0.12);
}
.hero-visual-img {
    max-width: 520px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(43, 107, 255, 0.2);
}
.tag-lg {
    display: flex;
    flex-direction: column;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: all var(--transition);
}
.tag-lg:hover { border-color: var(--primary); background: var(--primary-soft); }
.tag-lg strong { color: var(--text-primary); font-size: 0.92rem; margin-bottom: 3px; }
.tag-lg span { color: var(--text-muted); font-size: 0.82rem; }

.placeholder-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}
.gradient-blue { background: linear-gradient(135deg, #4F86F7, #2B6BFF); }
.gradient-green { background: linear-gradient(135deg, #38B2AC, #20c997); }
.gradient-purple { background: linear-gradient(135deg, #9F7AEA, #7C3AED); }
.gradient-orange { background: linear-gradient(135deg, #FD9853, #FF6B35); }
.gradient-teal { background: linear-gradient(135deg, #4FD1C5, #38B2AC); }
.gradient-indigo { background: linear-gradient(135deg, #667EEA, #5A67D8); }
.gradient-red { background: linear-gradient(135deg, #FC8181, #E53E3E); }
.gradient-pink { background: linear-gradient(135deg, #F687B3, #ED64A6); }
.gradient-cyan { background: linear-gradient(135deg, #4FD1C5, #0BC5EA); }
.gradient-amber { background: linear-gradient(135deg, #F6AD55, #D69E2E); }
.gradient-lime { background: linear-gradient(135deg, #9AE6B4, #68D391); }
.gradient-rose { background: linear-gradient(135deg, #FBB6CE, #F687B3); }
.gradient-sky { background: linear-gradient(135deg, #90CDF4, #63B3ED); }
.gradient-slate { background: linear-gradient(135deg, #A0AEC0, #718096); }

/* ---------- Solution Cards ---------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.solution-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-soft);
}
.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.solution-card.compact .solution-card-header { padding: 24px 28px; }
.solution-card-header {
    padding: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}
.solution-card-header.has-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.solution-card-overlay {
    position: relative;
    z-index: 1;
}
.solution-card-header.has-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43,107,255,0.75), rgba(30,84,229,0.65));
    z-index: 0;
}
.solution-card-header h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.solution-card-header p { font-size: 0.9rem; opacity: 0.92; }
.solution-card-body { padding: 28px 32px; }
.solution-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.solution-feature:last-child { border-bottom: none; }
.solution-feature strong { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.solution-feature span { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Case Cards ---------- */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    background: #fff;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary) !important; }
.filter-tab.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(43, 107, 255, 0.25);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-soft);
}
.case-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.case-image {
    height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
}
.case-image.category-app { background: linear-gradient(135deg, #4F86F7, #2B6BFF); }
.case-image.category-miniprogram { background: linear-gradient(135deg, #38B2AC, #20c997); }
.case-image.category-system { background: linear-gradient(135deg, #9F7AEA, #7C3AED); }
.case-image.category-website { background: linear-gradient(135deg, #667EEA, #5A67D8); }
.case-image.category-iot { background: linear-gradient(135deg, #4FD1C5, #0BC5EA); }
.case-category {
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 500;
}
.case-info { padding: 22px 24px; }
.case-info h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.case-info p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }

/* ---------- News Cards ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.news-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}
.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.news-image {
    min-width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-soft), #DCE7FF);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14px;
}
.news-date {
    font-size: 0.78rem;
    color: var(--primary);
    background: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.news-info { flex: 1; }
.news-info h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4; color: var(--text-primary); }
.news-info p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
.news-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-soft);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* ---------- About ---------- */
.about-content {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}
.about-desc { font-size: 1.08rem; color: var(--text-secondary); line-height: 1.9; }
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.about-card {
    text-align: center;
    padding: 40px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.about-icon {
    margin-bottom: 18px;
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
    position: relative;
}
.about-card:hover .about-icon {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.about-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 1s;
}
.about-card:hover .about-icon::before {
    transform: translateX(100%);
}
.about-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
    position: relative;
    z-index: 1;
}
.about-icon.gradient-blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.about-icon.gradient-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.about-icon.gradient-purple { background: linear-gradient(135deg, #A855F7, #EC4899); }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.about-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: var(--radius);
    color: var(--primary);
    flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.contact-item p { color: var(--text-secondary); font-size: 0.92rem; }

.contact-qr { margin-top: 36px; }
.qr-placeholder {
    width: 170px;
    height: 190px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.qr-placeholder p { font-size: 0.8rem; text-align: center; }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-section-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.94rem;
    font-family: var(--font-sans);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 107, 255, 0.1);
}
.form-group textarea { resize: vertical; }

/* ---------- Floating Side Buttons (matching reference) ---------- */
.side-actions {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.side-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    position: relative;
}
.side-btn.wechat { background: #07C160; }
.side-btn.phone { background: var(--primary); }
.side-btn.quote { background: var(--accent); }
.side-btn:hover { width: 64px; }

/* ---------- Footer ---------- */
.footer {
    background: #1A2236;
    color: #fff;
    padding: 56px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.footer-logo-img {
    height: 42px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    filter: brightness(1.1);
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 340px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light) !important; }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ---------- Back to Top ---------- */
.backtop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(43, 107, 255, 0.35);
    transition: all var(--transition);
    z-index: 999;
}
.backtop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(43, 107, 255, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-row { gap: 32px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .process-flow { grid-template-columns: repeat(2, 1fr); }
    .process-step-card:nth-child(2n) .ps-connector { display: none; }
    .process-step-card:nth-child(4n) .ps-connector { display: block; }
    .ps-connector-down { display: none !important; }
    .deliverable-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail { grid-template-columns: 1fr; gap: 40px; }
    .service-detail.reverse > .service-detail-content { order: 0; }
    .service-detail.reverse > .service-detail-image { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: #fff; padding: 80px 24px 24px; gap: 4px; box-shadow: var(--shadow-lg); z-index: 999; align-items: stretch; }
    .nav-links.open { display: flex; }
    .nav-links > a { padding: 14px 18px; width: 100%; }
    .lang-switcher { margin-top: 12px; margin-left: 0; }
    .lang-btn { width: 100%; justify-content: center; }
    .lang-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 1px solid var(--border); margin-top: 8px; }
    .nav-toggle { display: flex; }
    .side-actions { display: none; }

    .hero-banner { height: 600px; }
    .banner-title { font-size: 2.2rem; }
    .banner-subtitle { font-size: 1rem; }
    .banner-content { max-width: 100%; padding-top: 60px; }
    .banner-tag { font-size: 0.78rem; padding: 6px 16px; }
    .banner-chip { font-size: 0.78rem; padding: 5px 14px; }
    .banner-arrow { width: 40px; height: 40px; }
    .banner-arrow-prev { left: 10px; }
    .banner-arrow-next { right: 10px; }
    .banner-btn-primary, .banner-btn-outline { padding: 12px 28px; font-size: 0.9rem; }
    .banner-dots { bottom: 24px; }
    .chat-bubble { bottom: 90px; right: 16px; }
    .chat-bubble-btn { width: 52px; height: 52px; }
    .chat-bubble-panel { width: 260px; }

    .section { padding: 56px 0; }
    .section-header h2 { font-size: 1.7rem; }

    .service-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .process-flow { grid-template-columns: 1fr; }
    .ps-connector { display: none !important; }
    .deliverable-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .page-banner { padding: 120px 0 50px; }
    .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .about-values-grid { grid-template-columns: 1fr; }
    .about-stats-row { flex-direction: column; gap: 24px; }
    .about-stat-num { font-size: 2.2rem; }
    .advantage-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .deliverable-grid { grid-template-columns: 1fr; }
    .hero-banner { height: 500px; }
    .banner-title { font-size: 1.8rem; }
    .banner-actions { flex-direction: column; align-items: stretch; }
    .news-card { flex-direction: column; }
    .news-image { width: 100%; height: 100px; min-width: auto; }
}
