/* ===================================================
   岚玥智创 LYSmart — style.css
   Brand: #1D4ED8 (Royal Blue) / #D4AF37 (Prestige Gold)
   Redesigned: 2026 — Premium Commercial Edition
   =================================================== */

/* --- 1. GLOBAL VARIABLES (:root) --- */
:root {
    --bg-body: #ffffff;
    --bg-section-alt: #F8FAFC;
    /* 冷白，比之前更干净纯粹 */
    --text-primary: #0F172A;
    /* 极深岩石黑，高级感 */
    --text-secondary: #475569;
    /* 冷灰，提升可读性 */
    --border-color: #E2E8F0;
    /* 更柔和的冷灰边框 */

    /* ── 品牌主色：深皇家蓝 ── */
    --color-primary: #1D4ED8;
    /* Royal Blue — 信任、权威、技术 */
    --color-primary-darker: #1E40AF;
    /* 深皇家蓝（悬停） */
    --color-primary-darkest: #1e3a8a;
    /* 最深（导航横幅） */
    --color-primary-lighter: #EFF6FF;
    /* 极浅蓝（背景高亮） */
    --color-primary-rgb: 29, 78, 216;

    /* ── 品牌辅色：暖金 ── */
    --color-auxiliary: #D4AF37;
    /* Prestige Gold — 高价值、权威 */
    --color-auxiliary-rgb: 212, 175, 55;
    --color-auxiliary-darker: #B8961E;
    /* 深金（悬停） */
    --color-auxiliary-lighter: #FEF9E7;
    /* 浅金（背景） */

    /* ── 功能高亮 ── */
    --color-accent: #D4AF37;
    --color-functional-highlight: #60A5FA;
    /* 明亮蓝（白底之上的链接 / 图标） */

    /* Derived */
    --text-link: var(--color-primary);
    --text-link-hover: var(--color-primary-darker);
    --btn-primary-bg: var(--color-primary);
    --btn-primary-text: #ffffff;
    --btn-primary-hover-bg: var(--color-primary-darker);
    --btn-secondary-bg: transparent;
    --btn-secondary-text: var(--color-primary);
    --btn-secondary-border: var(--color-primary);
    --btn-secondary-hover-bg: var(--color-primary-lighter);
    --btn-secondary-hover-text: var(--color-primary-darker);
    --btn-secondary-hover-border: var(--color-primary-darker);
    --highlight-bg: var(--color-primary-lighter);
    --focus-ring-color: var(--color-primary);

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: var(--font-main);

    /* Layout */
    --container-width: 1080px;
    --border-radius: 10px;
    --border-radius-small: 6px;
    --border-radius-large: 16px;
    --transition-speed: 0.22s;
    --section-padding-y: 96px;
    --navbar-height: 70px;

    /* ── Gradients ── */
    --gradient-brand: linear-gradient(135deg, #1e3a8a 0%, #1D4ED8 55%, #2563EB 100%);
    --gradient-brand-gold: linear-gradient(135deg, #1e3a8a 0%, #1D4ED8 60%, #D4AF37 100%);
    --gradient-brand-light: linear-gradient(135deg, #EFF6FF 0%, #FEF9E7 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1e3a8a 100%);
}

/* --- 2. RESET --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 0.75em;
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: -0.022em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    letter-spacing: -0.01em;
}

h4 {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

p {
    margin-bottom: 1.25em;
    color: var(--text-secondary);
}

p.lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

.list-disc {
    list-style: disc;
    padding-left: 20px;
}

.list-decimal {
    list-style: decimal;
    padding-left: 20px;
}

.list-disc li,
.list-decimal li {
    margin-bottom: 0.5em;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 0 0 1em 0;
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

/* --- 3. LAYOUT --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- 4. NAVBAR --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 8px;
    text-decoration: none !important;
}

.navbar-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 6px;
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2px;
}

.nav-links a,
.nav-item-dropdown>a {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color var(--transition-speed) ease;
    opacity: 0.85;
    position: relative;
}

.nav-links a:hover,
.nav-item-dropdown>a:hover {
    color: var(--color-primary);
    opacity: 1;
    text-decoration: none;
}

.nav-links a.active,
.nav-item-dropdown>a.active {
    color: var(--color-primary);
    font-weight: 600;
    opacity: 1;
}

.nav-links a.active::after,
.nav-item-dropdown>a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: var(--gradient-brand);
    border-radius: 2px 2px 0 0;
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-body);
    min-width: 240px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    z-index: 1001;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--color-primary);
    padding: 6px 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0.9;
    white-space: nowrap;
    width: 100%;
    height: auto;
}

.dropdown-menu a:hover {
    background-color: var(--bg-section-alt);
    color: var(--color-primary);
    opacity: 1;
    text-decoration: none;
}

/* Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--bg-body);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    padding-top: calc(var(--navbar-height) + 20px);
    overflow-y: auto;
}

.mobile-nav-menu.open {
    display: flex;
}

.mobile-nav-menu a {
    padding: 16px 25px;
    color: var(--text-primary);
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-nav-menu a:hover {
    background-color: var(--bg-section-alt);
    color: var(--color-primary);
    text-decoration: none;
}

/* --- 5. HERO --- */
.hero-section {
    padding: calc(var(--section-padding-y) * 1.2) 0;
    text-align: center;
    background-color: var(--bg-body);
    position: relative;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    margin-bottom: 0.5em;
}

.hero-section .lead {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions a {
    margin: 0;
}

/* Hero Slideshow */
.hero-slideshow-container {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-background-slider-instance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-item {
    background-size: cover;
    background-position: center;
    height: 580px;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: calc(var(--section-padding-y) * 1.1) 0;
    background: linear-gradient(to right, rgba(10, 20, 40, 0.72) 0%, rgba(0, 80, 120, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-title-on-slide {
    color: #fff !important;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.5em;
}

.hero-lead-on-slide {
    color: rgba(255, 255, 255, 0.91) !important;
    font-size: clamp(1rem, 2.5vw, 1.22rem);
    max-width: 680px;
    margin: 0 auto 2rem auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* --- 6. STATS BAR --- */
.stats-bar {
    background: var(--gradient-brand);
    padding: 2.5rem 0;
    color: #fff;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item .stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: -0.03em;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* --- 7. SECTIONS --- */
.section {
    padding: var(--section-padding-y) 0;
}

.section.alt-bg {
    background-color: var(--bg-section-alt);
}

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    margin-bottom: 0.75em;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 3em auto;
}

.section-eyebrow {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* --- 8. BUTTONS --- */
.btn {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.78em 1.6em;
    border-radius: var(--border-radius-small);
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, box-shadow 0.2s ease, transform 0.15s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--btn-primary-text);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(var(--color-primary-rgb), 0.45);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-lighter);
    border-color: var(--color-primary-darker);
    text-decoration: none;
}

.btn-link-style {
    background-color: transparent;
    color: var(--text-link);
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    border: none;
    font-size: inherit;
}

.btn-link-style:hover {
    text-decoration: underline;
    color: var(--text-link-hover);
}

.btn-link-style i {
    margin-left: 6px;
    font-size: 0.85em;
    transition: transform 0.2s ease;
}

.btn-link-style:hover i {
    transform: translateX(5px);
}

/* Button on dark/gradient background */
.btn-on-gradient {
    background-color: rgba(255, 255, 255, 0.97);
    color: var(--color-primary);
    border: 2px solid transparent;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.btn-on-gradient:hover {
    background-color: #fff;
    color: var(--color-primary-darker);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-on-gradient-secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-on-gradient-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* --- 9. FEATURE CARDS --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.feature-card {
    background-color: var(--bg-body);
    padding: 2rem 2.2rem;
    border-radius: var(--border-radius-large);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(var(--color-primary-rgb), 0.12);
    border-color: rgba(var(--color-primary-rgb), 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    width: 52px;
    height: 52px;
    background: var(--color-primary-lighter);
    border-radius: var(--border-radius-small);
}

.feature-card .icon i {
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card h3 a {
    color: inherit;
}

.feature-card h3 a:hover {
    color: var(--text-link);
    text-decoration: none;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-card .learn-more {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: auto;
}

/* Service tag label */
.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-lighter);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 0.8rem;
}

/* --- 10. HOMEPAGE SERVICES GRID --- */
.homepage-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .homepage-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .homepage-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.homepage-services-grid .feature-card,
.homepage-services-grid .feature-card .card-content {
    display: flex;
    flex-direction: column;
}

.homepage-services-grid .feature-card .card-content {
    flex-grow: 1;
}

.homepage-services-grid .feature-card .card-content p {
    flex-grow: 1;
}

.homepage-services-grid .feature-card .learn-more {
    margin-top: auto;
}

/* --- 11. TEXT CONTENT --- */
.text-content-section {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.text-content-section h2,
.text-content-section h3 {
    margin-bottom: 0.75em;
}

.text-content-section p,
.text-content-section ul,
.text-content-section ol {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3a4155;
}

.text-content-section ul,
.text-content-section ol {
    padding-left: 0;
}

.text-content-section ul li,
.text-content-section ol li {
    padding-left: 1.875em;
    position: relative;
    margin-bottom: 0.75em;
}

.text-content-section ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--color-auxiliary);
    font-size: 0.95em;
}

.text-content-section figure {
    margin: 2em 0;
}

.text-content-section figcaption {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5em;
}

/* --- 12. CONTACT --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 3rem;
}

.contact-info-item {
    text-align: center;
    padding: 1.8rem;
    background-color: var(--bg-section-alt);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.25s;
}

.contact-info-item:hover {
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.1);
}

.contact-info-item .icon {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-info-item a:hover {
    color: var(--text-link);
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto 0 auto;
    background-color: var(--bg-section-alt);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875em 1em;
    font-size: 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-small);
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a6478'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3em;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

/* --- 13. FOOTER (Dark Theme) --- */
.footer {
    background-color: #12192b;
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 2rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-col h4,
.footer-col h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-brand-name {
    font-size: 1.15rem;
    font-weight: 900;
    background: linear-gradient(90deg, #40C4FF, #3AB795);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-col p {
    font-size: inherit;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: inherit;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #40C4FF;
    text-decoration: none;
}

.footer-col address p {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col address p a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col address p a:hover {
    color: #40C4FF;
}

.footer-col address i {
    margin-right: 0.75em;
    color: var(--color-primary);
    margin-top: 0.25em;
    width: 1em;
    text-align: center;
    flex-shrink: 0;
}

.social-links {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a {
    margin-left: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
    color: #40C4FF;
}

/* --- 14. GRADIENT SECTIONS --- */
.gradient-tech {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.gradient-tech::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.gradient-tech-text {
    color: #ffffff;
}

.gradient-tech-lead-text {
    color: rgba(255, 255, 255, 0.88);
}

.gradient-tech h1,
.gradient-tech h2,
.gradient-tech h3,
.gradient-tech h4 {
    color: #fff;
}

.gradient-tech p {
    color: rgba(255, 255, 255, 0.85);
}

.gradient-tech a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* --- 15. PARTNER LOGOS --- */
.partner-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
    margin-top: 1.5rem;
}

.partner-logos-container img {
    height: 50px;
    opacity: 0.55;
    filter: grayscale(0.2);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logos-container img:hover {
    opacity: 0.9;
    filter: grayscale(0);
}

/* --- 16. TYPOGRAPHY PROSE --- */
.prose {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.prose h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 2.5em;
    margin-bottom: 0.9em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid var(--border-color);
}

.prose h3 {
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    margin-top: 2em;
    margin-bottom: 0.7em;
}

.prose h4 {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.25em;
    color: var(--text-secondary);
}

.prose ul,
.prose ol {
    padding-left: 1.8em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose strong {
    font-weight: 700;
    color: var(--text-primary);
}

.prose em {
    font-style: italic;
}

.prose a {
    color: var(--text-link);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--text-link-hover);
}

.prose blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 0.8rem 1.5rem;
    margin: 1.8rem 0;
    background-color: var(--color-primary-lighter);
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose code {
    background-color: var(--bg-section-alt);
    padding: 0.2em 0.45em;
    border-radius: var(--border-radius-small);
    font-size: 0.9em;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    color: var(--color-primary-darker);
}

.prose pre {
    background-color: #1a1f2e;
    color: #e0e7f0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background: none;
    color: inherit;
    font-size: 0.9rem;
    padding: 0;
}

.prose img {
    border-radius: var(--border-radius);
    margin: 2em 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9375rem;
}

.prose th,
.prose td {
    padding: 0.75em 1em;
    border: 1px solid var(--border-color);
    text-align: left;
}

.prose th {
    background-color: var(--bg-section-alt);
    font-weight: 700;
}

/* --- 17. HIGHLIGHT BOX (新增服务展示用) --- */
.service-highlight-box {
    background: var(--gradient-brand-light);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    border-radius: var(--border-radius-large);
    padding: 2.2rem 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.service-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-brand);
    border-radius: var(--border-radius-large) 0 0 var(--border-radius-large);
}

.service-highlight-box h3 {
    color: var(--color-primary-darker);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.service-highlight-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.service-highlight-box ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-auxiliary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- 18. RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding-y: 64px;
        --container-width: 100%;
    }

    .container {
        width: 90%;
    }

    .hero-slideshow-container {
        min-height: 480px;
    }

    .slider-item {
        height: 480px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 56px;
    }

    body {
        font-size: 16px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-slideshow-container {
        min-height: 380px;
    }

    .slider-item {
        height: 380px;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4,
    .footer-col h5 {
        text-align: center;
    }

    .footer-col address p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding-y: 48px;
    }

    .btn {
        padding: 0.65em 1.3em;
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 19. ACCESSIBILITY --- */
:focus-visible {
    outline: 2.5px solid var(--focus-ring-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.2);
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* --- 20. AOS enhancement --- */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: all;
}