/* ========================================
   青岛振捷科技有限公司 - 官网样式
   ======================================== */

/* ---------- 全局变量 ---------- */
:root {
    --primary: #0072FF;
    --primary-light: #00C6FF;
    --primary-dark: #0052CC;
    --dark: #0A1428;
    --dark-2: #0F1E3D;
    --dark-3: #162544;
    --text: #1A2238;
    --text-light: #5A6B8C;
    --text-lighter: #8A99B8;
    --white: #FFFFFF;
    --bg-light: #F7F9FC;
    --bg-card: #FFFFFF;
    --border: #E8EDF5;
    --shadow-sm: 0 2px 8px rgba(10, 20, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 20, 40, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 20, 40, 0.15);
    --gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --gradient-dark: linear-gradient(135deg, #0A1428 0%, #0F1E3D 50%, #162544 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ---------- 容器 ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 237, 245, 0.6);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 76px;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-align: justify;
    text-align-last: justify;
}

.logo-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-lighter);
    letter-spacing: 2px;
    text-align: justify;
    text-align-last: justify;
    /* reset letter-spacing after justify to avoid trailing gap */
    padding-right: 2px;
    margin-right: -2px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color var(--transition);
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 114, 255, 0.35);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 114, 255, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0072FF, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00C6FF, transparent 70%);
    bottom: -50px;
    right: 10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4A00E0, transparent 70%);
    top: 40%;
    right: -80px;
    animation-delay: -8s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00FF94;
    border-radius: 50%;
    box-shadow: 0 0 12px #00FF94;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #00C6FF 0%, #FFFFFF 50%, #0072FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-dot {
    display: block;
    font-size: clamp(28px, 5vw, 56px);
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
    margin: 2px 0;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 114, 255, 0.55);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ---------- Hero 统计数据 ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-plus,
.stat-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 8px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- 滚动提示 ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: wheelMove 1.5s infinite;
}

@keyframes wheelMove {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   通用 Section 样式
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 4px 16px;
    background: rgba(0, 114, 255, 0.08);
    border-radius: 50px;
}

.section-tag.light {
    color: var(--primary-light);
    background: rgba(0, 198, 255, 0.12);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title.light {
    color: var(--white);
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-line.light {
    background: linear-gradient(90deg, var(--primary-light), var(--white));
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 114, 255, 0.08);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.about-feature span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ---------- 代码卡片视觉 ---------- */
.about-visual {
    position: relative;
}

.about-card {
    position: relative;
    background: var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 114, 255, 0.3), transparent 70%);
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #FF5F57; }
.card-dots span:nth-child(2) { background: #FEBC2E; }
.card-dots span:nth-child(3) { background: #28C840; }

.card-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: "SF Mono", "Fira Code", monospace;
}

.card-body {
    padding: 24px 20px;
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 13.5px;
    line-height: 2;
}

.code-line {
    min-height: 27px;
    color: rgba(255, 255, 255, 0.75);
}

.code-line.indent { padding-left: 20px; }
.code-line.indent2 { padding-left: 40px; }

.code-key { color: #C678DD; }
.code-var { color: #E5C07B; }
.code-str { color: #98C379; }
.code-class { color: #61AFEF; }
.code-fn { color: #61AFEF; }
.code-comment { color: rgba(255, 255, 255, 0.3); font-style: italic; }

.card-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--primary-light);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   业务领域
   ======================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 114, 255, 0.06);
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: rgba(0, 114, 255, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tags li {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    padding: 5px 14px;
    background: rgba(0, 114, 255, 0.07);
    border-radius: 50px;
    transition: var(--transition);
}

.service-card:hover .service-tags li {
    background: rgba(0, 114, 255, 0.12);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-link svg {
    transition: transform var(--transition);
}

.service-card:hover .service-link {
    gap: 10px;
}

.service-card:hover .service-link svg {
    transform: translateX(3px);
}

/* ========================================
   核心优势
   ======================================== */
.advantages {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.advantages-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 114, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 198, 255, 0.1), transparent 50%);
}

.advantages .container {
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 114, 255, 0.2);
}

.adv-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.15), rgba(0, 114, 255, 0.15));
    border-radius: 14px;
    color: var(--primary-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.adv-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-card:hover .adv-icon {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 14px;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 114, 255, 0.3);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ---------- 联系表单 ---------- */
.contact-form-wrap {
    position: relative;
}

.form-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 114, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-form {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%235A6B8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-color: var(--bg-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12px;
    color: var(--text-lighter);
    text-align: center;
    margin-top: 16px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 40px;
    height: 40px;
}

.footer-logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1.2;
    text-align: justify;
    text-align-last: justify;
}

.footer-logo-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    display: block;
    text-align: justify;
    text-align-last: justify;
    padding-right: 2px;
    margin-right: -2px;
}

.footer-slogan {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 340px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-col ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-copyright {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-filing {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-copyright .footer-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.footer-icp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-icp-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer-icp-link svg {
    flex-shrink: 0;
}

.footer-filing-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 114, 255, 0.55);
}

/* ========================================
   滚动动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

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

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 64px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-actions {
        margin-bottom: 48px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 28px 24px;
    }

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

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

    .footer-copyright {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .service-card {
        padding: 32px 24px;
    }

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