/* 大连网巢科技发展有限公司 - 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1a1a2e;
  background: #f8f9fc;
  line-height: 1.6;
}

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

/* 顶部导航 */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #555;
  align-items: center;
}

.nav-links a {
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-links .nav-btn {
  padding: 8px 18px;
  background: #6c5ce7;
  color: white !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links .nav-btn:hover {
  background: #5a4bd1;
}

.nav-links a:hover {
  color: #6c5ce7;
}

/* Hero区域 */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 60px;
  background: linear-gradient(180deg, #f8f9fc 0%, #eef0f8 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  color: #6c5ce7;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #6c5ce7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-outline {
  background: transparent;
  color: #1a1a2e;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  border-color: #6c5ce7;
  color: #6c5ce7;
}

/* 双栏展示区 */
.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}

.dual-card {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dual-card:hover {
  transform: scale(1.02);
}

.dual-card.graphic {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #a55eea 100%);
}

.dual-card.software {
  background: linear-gradient(135deg, #0c2461 0%, #0a3d62 50%, #00d2d3 100%);
}

.dual-card .card-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.dual-card .card-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.2) 0%, transparent 60%);
}

/* 精选案例区 */
.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header .tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f0ff;
  color: #6c5ce7;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: #666;
  font-size: 16px;
}

/* 案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.case-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-cover {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.case-cover.graphic {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #a55eea 100%);
}

.case-cover.software {
  background: linear-gradient(135deg, #0c2461 0%, #0a3d62 50%, #00d2d3 100%);
}

.case-cover .cover-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cover-tags {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cover-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  letter-spacing: 4px;
  white-space: nowrap;
}

.cover-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: white;
  font-weight: 500;
}

.case-body {
  padding: 20px;
}

.case-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-body .desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.case-meta .author {
  font-size: 13px;
  color: #888;
}

.case-meta .link {
  font-size: 14px;
  color: #6c5ce7;
  font-weight: 500;
}

/* 面包屑 */
.breadcrumb {
  padding: 100px 40px 20px;
  font-size: 14px;
  color: #888;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb a {
  color: #6c5ce7;
}

.breadcrumb span {
  margin: 0 8px;
}

/* 详情页 */
.detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 40px 80px;
}

.detail-hero {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}

.detail-hero.graphic {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #a55eea 100%);
}

.detail-hero.software {
  background: linear-gradient(135deg, #0c2461 0%, #0a3d62 50%, #00d2d3 100%);
}

.detail-hero .hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.detail-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.detail-intro {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
}

.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.detail-tags .tag {
  padding: 6px 14px;
  background: #f0f0ff;
  color: #6c5ce7;
  border-radius: 20px;
  font-size: 13px;
}

.info-block {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.info-block h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 8px 0;
  color: #555;
}

.info-list li::before {
  content: "✓";
  color: #00b894;
  font-weight: bold;
  margin-right: 12px;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.person-info .name {
  font-size: 16px;
  font-weight: 600;
}

.person-info .role {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.person-info .phone {
  margin-top: 8px;
  font-size: 14px;
  color: #6c5ce7;
  cursor: pointer;
}

/* 列表页筛选 */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-bar .filter-tag {
  padding: 8px 20px;
  border-radius: 20px;
  background: white;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.filter-bar .filter-tag.active {
  background: #6c5ce7;
  color: white;
  border-color: #6c5ce7;
}

/* 发布页 */
.publish-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}

.publish-price {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.publish-price .price {
  font-size: 48px;
  font-weight: 700;
  color: #6c5ce7;
}

.publish-price .price small {
  font-size: 16px;
  color: #888;
}

.price-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.price-features span {
  font-size: 14px;
  color: #666;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6c5ce7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 8px;
}

.step .label {
  font-size: 14px;
  color: #666;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6c5ce7;
}

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

.upload-area {
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #888;
  cursor: pointer;
  transition: border-color 0.2s;
}

.upload-area:hover {
  border-color: #6c5ce7;
}

.publish-notice {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

.publish-notice h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.publish-notice ul {
  padding-left: 20px;
  color: #666;
  font-size: 14px;
  line-height: 2;
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 40px;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: #6c5ce7;
}

.footer .company-name {
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
}

/* 登录注册页 */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: linear-gradient(180deg, #f8f9fc 0%, #eef0f8 100%);
}

.auth-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.forgot-link {
  font-size: 14px;
  color: #6c5ce7;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
  color: #999;
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #e0e0e0;
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  .dual-section {
    grid-template-columns: 1fr;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .top-bar {
    padding: 12px 20px;
  }
  .nav-links {
    gap: 16px;
  }
}
