/* ========================================
   奇幻星数字官网 - 样式表
   ======================================== */

/* CSS 变量 */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块通用样式 */
.section {
    padding: 100px 0;
}

/* 区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(99, 102, 241, 0.15);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   首页横幅 Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 370px 50px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 520px 90px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 600px 140px, rgba(255,255,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 650px 250px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shooting-stars::before,
.shooting-stars::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    animation: shoot 3s ease-in-out infinite;
}

.shooting-stars::before {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.shooting-stars::after {
    top: 40%;
    left: -10%;
    animation-delay: 2s;
    animation-duration: 4s;
}

@keyframes shoot {
    0% { transform: translateX(0) rotate(-30deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 200px)) rotate(-30deg); opacity: 0; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.hero-desc {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-weight: 300;
}

.hero-detail {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 轨道动画视觉 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 150px;
    height: 150px;
    animation: orbit-rotate 8s linear infinite;
    border-color: rgba(129, 140, 248, 0.4);
}

.orbit-1::before {
    content: '✦';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-light);
    font-size: 14px;
}

.orbit-2 {
    width: 240px;
    height: 240px;
    animation: orbit-rotate 12s linear infinite reverse;
    border-color: rgba(14, 165, 233, 0.35);
}

.orbit-2::before {
    content: '◆';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 14px;
}

.orbit-3 {
    width: 330px;
    height: 330px;
    animation: orbit-rotate 18s linear infinite;
    border-color: rgba(245, 158, 11, 0.25);
}

.orbit-3::before {
    content: '●';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 12px;
}

@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4),
                0 0 100px rgba(99, 102, 241, 0.2);
    animation: pulse-core 3s ease-in-out infinite;
}

.center-core span {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes pulse-core {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 60px rgba(99, 102, 241, 0.4); }
    50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 80px rgba(99, 102, 241, 0.5); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   关于我们 About Section
   ======================================== */
.about {
    background: var(--gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.about-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1rem;
}

.about-card p strong {
    color: var(--primary);
    font-weight: 600;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.info-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   业务范围 Services Section
   ======================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.service-card:hover::after {
    height: 4px;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-icon {
    width: 68px;
    height: 68px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========================================
   核心优势 Advantages Section
   ======================================== */
.advantages {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

.advantages .section-tag {
    background: rgba(99, 102, 241, 0.3);
}

.advantages .section-title {
    color: var(--white);
}

.advantages .section-line {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

.advantages-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    cursor: default;
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-item:hover {
    padding-left: 16px;
}

.advantage-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    min-width: 70px;
}

.advantage-content h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ========================================
   联系我们 Contact Section
   ======================================== */
.contact {
    background: var(--gray-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* 公司展示区域 */
.company-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.showcase-main {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.showcase-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.showcase-main::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.showcase-quote {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 36px;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: rgba(129, 140, 248, 0.5);
    margin-bottom: 20px;
}

.showcase-quote blockquote {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
}

.showcase-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 1;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a5b4fc 0%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
}

/* 愿景卡片网格 */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vision-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vision-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.vision-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}

.vision-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    transition: var(--transition);
}

.vision-card:hover .vision-icon {
    background: var(--gradient-primary);
}

.vision-card:hover .vision-icon svg {
    stroke: var(--white);
}

.vision-card h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.vision-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.75;
}

.vision-card p strong {
    color: var(--primary);
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.contact-card h4 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.92rem;
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

/* 表单提交成功状态 */
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-success .success-icon {
    width: 72px;
    height: 72px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success .success-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 3;
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   页脚 Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links h4,
.footer-services h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ========================================
   回到顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ========================================
   动画效果
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 0;
    }

    .hero-visual {
        order: -1;
    }

    .orbit-container {
        width: 280px;
        height: 280px;
    }

    .orbit-1 { width: 120px; height: 120px; }
    .orbit-2 { width: 190px; height: 190px; }
    .orbit-3 { width: 260px; height: 260px; }

    .center-core {
        width: 65px;
        height: 65px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .showcase-main {
        padding: 36px 24px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }

    .advantage-number {
        font-size: 2.5rem;
    }

    .advantage-item:hover {
        padding-left: 0;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scroll-indicator {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .orbit-container {
        width: 220px;
        height: 220px;
    }

    .orbit-1 { width: 95px; height: 95px; }
    .orbit-2 { width: 150px; height: 150px; }
    .orbit-3 { width: 205px; height: 205px; }

    .center-core {
        width: 52px;
        height: 52px;
    }

    .center-core span {
        font-size: 0.9rem;
    }

    .about-card {
        padding: 28px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
