/* ========== 网页端专用样式 ========== */

/* Banner */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e4d7b 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.hero-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-card p {
  font-size: 13px;
  opacity: 0.7;
  margin: 0;
}

/* 服务优势 */
.advantages {
  padding: 80px 0;
  background: var(--bg-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.advantage-item:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.advantage-item .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.advantage-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 业务流程 */
.process {
  padding: 80px 0;
  background: var(--bg);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.process-step .step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 700;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--accent);
  color: #fff;
}

.process-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.process-step p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* CTA悬浮预约 */
.cta-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 0 20px;
  width: auto;
  white-space: nowrap;
  gap: 8px;
}

.cta-float:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* 产品页面 */
.products {
  padding: 80px 0;
}

.product-category {
  margin-bottom: 60px;
}

.product-category h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.product-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-card .product-info {
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2;
}

.product-card .product-info span {
  font-weight: 600;
  color: var(--text);
}

/* 产品对比表 */
.compare-table {
  margin-top: 50px;
  overflow-x: auto;
}

.compare-table table {
  min-width: 800px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  font-weight: 600;
  background: var(--bg-light);
}

/* 办理流程页 */
.flow-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.flow-section:nth-child(even) {
  background: var(--bg);
}

.flow-steps-vertical {
  max-width: 700px;
  margin: 0 auto;
}

.flow-step-v {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}

.flow-step-v:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}

.flow-step-v .step-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  z-index: 1;
}

.flow-step-v .step-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.flow-step-v .step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-step-v .step-body .step-meta {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
}

/* 资料须知 */
.docs-section {
  padding: 80px 0;
}

.doc-category {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}

.doc-category h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.doc-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.doc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-q:hover {
  background: var(--bg-light);
}

.faq-q .arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--text-light);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  padding: 0 20px 16px;
  max-height: 300px;
}

/* 预约页面 */
.booking-section {
  padding: 80px 0;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.booking-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.booking-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.booking-features li .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.booking-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.booking-form-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary);
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.success-message .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--success);
}

.success-message h3 {
  font-size: 22px;
  color: var(--success);
  margin-bottom: 8px;
}

.success-message p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 关于我们 */
.about-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.about-stat {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.about-stat .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.about-stat .label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.cert-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.cert-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.cert-item .cert-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.cert-item p {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 联系我们 */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card .contact-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-container {
  margin-top: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 14px;
  border: 1px dashed var(--border);
}

/* 登录 */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg) 0%, #e8edf3 100%);
  padding: 24px;
}

.login-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-card .login-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.login-card .login-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.login-card .form-group {
  text-align: left;
}

.login-card .login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 12px;
}

.login-card .login-role-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 4px;
}

.login-card .login-role-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.login-card .login-role-tab.active {
  background: var(--bg-white);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* 客户中心 */
.client-center {
  padding: 24px 0 80px;
}

.client-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.client-sidebar .sidebar-menu a,
.client-sidebar .sidebar-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
}

.client-sidebar .sidebar-menu a:hover,
.client-sidebar .sidebar-menu .menu-item:hover,
.client-sidebar .sidebar-menu a.active,
.client-sidebar .sidebar-menu .menu-item.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-weight: 500;
}

.client-main {
  flex: 1;
  margin-left: 32px;
}

.client-layout {
  display: flex;
}

/* 响应式 */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .process-steps { flex-wrap: wrap; gap: 24px; }
  .process-steps::before { display: none; }
  .client-sidebar { display: none; }
  .client-main { margin-left: 0; }
  .doc-list { grid-template-columns: 1fr; }
}
