/* 基础重置和变量 */ :root { --brand-50: #f0f9ff; --brand-100: #e0f2fe; --brand-200: #bae6fd; --brand-400: #38bdf8; --brand-500: #0ea5e9; --brand-600: #0284c7; --brand-700: #0369a1; --brand-900: #0c4a6e; --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-400: #94a3b8; --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b; --slate-900: #0f172a; --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-600: #2563eb; --orange-50: #fff7ed; --orange-100: #ffedd5; --orange-600: #ea580c; --purple-50: #faf5ff; --purple-100: #f3e8ff; --purple-600: #9333ea; --green-500: #22c55e; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: var(--slate-50); color: var(--slate-800); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { text-decoration: none; color: inherit; transition: all 0.2s ease; } ul { list-style: none; } /* 导航栏 */ .navbar { background: white; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); position: fixed; width: 100%; z-index: 50; } .navbar-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center; height: 64px; } .navbar-brand { font-size: 1.5rem; font-weight: 700; color: var(--brand-600); } .navbar-menu { display: none; align-items: center; gap: 2rem; } @media (min-width: 768px) { .navbar-menu { display: flex; } } .navbar-link { color: var(--slate-600); font-weight: 500; } .navbar-link:hover { color: var(--brand-600); } .btn { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 9999px; font-weight: 600; transition: all 0.2s ease; cursor: pointer; border: none; } .btn-primary { background: var(--brand-600); color: white; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .btn-primary:hover { background: var(--brand-700); } .btn-lg { padding: 1rem 2rem; border-radius: 0.5rem; font-size: 1rem; } .btn-outline { background: white; color: var(--brand-600); border: 1px solid var(--brand-200); } .btn-outline:hover { background: var(--slate-50); border-color: var(--brand-400); } .btn-white { background: white; color: var(--brand-900); } .btn-white:hover { background: var(--brand-50); transform: scale(1.05); } /* Hero 区域 */ .hero { position: relative; padding: 8rem 1rem 5rem; background: linear-gradient(135deg, var(--brand-50) 0%, white 50%, var(--brand-50) 100%); overflow: hidden; } .hero-blob { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; mix-blend-mode: multiply; filter: blur(64px); opacity: 0.3; animation: blob 7s infinite; } .hero-blob-1 { top: -5rem; left: -5rem; background: var(--blue-100); } .hero-blob-2 { top: -5rem; right: -5rem; background: var(--purple-100); animation-delay: 2s; } .hero-content { max-width: 1280px; margin: 0 auto; position: relative; z-index: 10; text-align: center; } .hero-title { font-size: 2.5rem; font-weight: 800; color: var(--slate-900); line-height: 1.2; margin-bottom: 1.5rem; letter-spacing: -0.02em; } @media (min-width: 768px) { .hero-title { font-size: 3.75rem; } } .hero-title-gradient { background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero-description { font-size: 1.125rem; color: var(--slate-600); max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.75; } .hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; } /* 业务板块 */ .services { padding: 5rem 1rem; background: white; } .container { max-width: 1280px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 4rem; } .section-title { font-size: 1.875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1rem; } .section-description { color: var(--slate-600); max-width: 42rem; margin: 0 auto; } .services-grid { display: grid; gap: 2rem; } @media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } } .service-card { position: relative; background: white; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border: 1px solid var(--slate-100); padding: 2rem; transition: all 0.3s ease; } .service-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); border-color: var(--brand-200); transform: translateY(-0.5rem); } .service-card-glow { position: absolute; top: -1.5rem; right: -1.5rem; width: 6rem; height: 6rem; border-radius: 50%; opacity: 0; filter: blur(32px); transition: opacity 0.5s ease; } .service-card:hover .service-card-glow { opacity: 0.5; } .service-card-glow.blue { background: var(--blue-100); } .service-card-glow.orange { background: var(--orange-100); } .service-card-glow.purple { background: var(--purple-100); } .service-card-content { position: relative; z-index: 10; } .service-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: background 0.3s ease; } .service-icon.blue { background: var(--blue-50); } .service-icon.orange { background: var(--orange-50); } .service-icon.purple { background: var(--purple-50); } .service-card:hover .service-icon.blue { background: var(--blue-100); } .service-card:hover .service-icon.orange { background: var(--orange-100); } .service-card:hover .service-icon.purple { background: var(--purple-100); } .service-icon svg { width: 2rem; height: 2rem; transition: transform 0.3s ease; } .service-card:hover .service-icon svg { transform: scale(1.1) rotate(3deg); } .service-icon.blue svg { color: var(--blue-600); } .service-icon.orange svg { color: var(--orange-600); } .service-icon.purple svg { color: var(--purple-600); } .service-title { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1rem; transition: color 0.3s ease; } .service-card:hover .service-title.blue { color: var(--blue-600); } .service-card:hover .service-title.orange { color: var(--orange-600); } .service-card:hover .service-title.purple { color: var(--purple-600); } .service-description { color: var(--slate-600); margin-bottom: 1.5rem; line-height: 1.75; } .service-features { display: flex; flex-direction: column; gap: 0.75rem; } .service-feature { display: flex; align-items: center; color: var(--slate-700); } .service-feature svg { width: 1.25rem; height: 1.25rem; color: var(--green-500); margin-right: 0.5rem; flex-shrink: 0; } /* CTA 区域 */ .cta { padding: 5rem 1rem; background: var(--brand-900); color: white; text-align: center; } .cta-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; } .cta-description { color: var(--brand-100); font-size: 1.125rem; margin-bottom: 2rem; } /* Footer */ .footer { background: var(--slate-900); color: var(--slate-400); padding: 2rem 1rem; text-align: center; } /* 动画 */ @keyframes blob { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -50px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } } .fade-in-up { animation: fadeInUp 0.5s ease-out forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* 滚动条 */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #94a3b8; } /* ========== Auth 页面样式 ========== */ .auth-body { min-height: 100vh; display: flex; flex-direction: column; } .auth-navbar { background: white; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); width: 100%; } .auth-navbar-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center; height: 64px; } .auth-back-link { display: flex; align-items: center; gap: 0.5rem; color: var(--slate-600); } .auth-back-link:hover { color: var(--brand-600); } .auth-back-link svg { width: 1.25rem; height: 1.25rem; } .auth-title { font-size: 1.25rem; font-weight: 700; color: var(--brand-600); } .auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem; } .auth-card { background: white; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); width: 100%; max-width: 28rem; overflow: hidden; } .auth-tabs { display: flex; border-bottom: 1px solid var(--slate-100); } .auth-tab { flex: 1; padding: 1rem; text-align: center; font-weight: 600; cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; transition: all 0.2s ease; color: var(--slate-400); } .auth-tab:hover { color: var(--brand-600); } .auth-tab.active { color: var(--brand-600); border-bottom-color: var(--brand-600); } .auth-form-container { padding: 2rem; } .auth-form { display: flex; flex-direction: column; gap: 1.5rem; } .auth-form.hidden { display: none; } .form-group { display: flex; flex-direction: column; gap: 0.25rem; } .form-label { font-size: 0.875rem; font-weight: 500; color: var(--slate-700); } .form-label .required { color: #ef4444; } .form-input { width: 100%; padding: 0.5rem 1rem; border: 1px solid #cbd5e1; border-radius: 0.5rem; font-size: 1rem; outline: none; transition: all 0.2s ease; } .form-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); } .form-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; } .form-checkbox { display: flex; align-items: center; gap: 0.5rem; color: var(--slate-600); } .form-checkbox input { width: 1rem; height: 1rem; } .form-link { color: var(--brand-600); } .form-link:hover { text-decoration: underline; } .btn-submit { width: 100%; padding: 0.75rem; background: var(--brand-600); color: white; border: none; border-radius: 0.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .btn-submit:hover { background: var(--brand-700); box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); } .btn-submit:active { transform: scale(0.98); } /* 文件上传区域 */ .upload-zone { margin-top: 0.25rem; display: flex; justify-content: center; padding: 1.5rem; border: 2px dashed #cbd5e1; border-radius: 0.5rem; background: var(--slate-50); cursor: pointer; transition: all 0.2s ease; position: relative; } .upload-zone:hover { border-color: var(--brand-500); background: var(--brand-50); } .upload-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; } .upload-placeholder { text-align: center; } .upload-placeholder svg { width: 3rem; height: 3rem; margin: 0 auto 0.5rem; color: var(--slate-400); } .upload-zone:hover .upload-placeholder svg { color: var(--brand-500); } .upload-text { font-size: 0.875rem; color: var(--slate-600); } .upload-text .highlight { color: var(--brand-600); font-weight: 500; } .upload-hint { font-size: 0.75rem; color: var(--slate-400); margin-top: 0.25rem; } .upload-filename { display: none; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--brand-600); font-weight: 500; min-height: 80px; } .upload-filename.show { display: flex; } .upload-placeholder.hidden { display: none; } .form-hint { font-size: 0.75rem; color: var(--slate-400); text-align: center; margin-top: 1rem; }