:root {
  --bg: #070910;
  --bg-soft: #0d1222;
  --panel: #121a30;
  --panel-2: #161f3a;
  --text: #edf1ff;
  --muted: #9ea9c7;
  --primary: #8a68ff;
  --accent: #29dcc8;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(138, 104, 255, 0.2), transparent 55%),
    radial-gradient(850px 450px at 90% 0%, rgba(41, 220, 200, 0.14), transparent 52%),
    var(--bg);
  line-height: 1.65;
}

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

.section-block {
  padding: 5rem 0;
}

.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.navbar {
  padding: 0.95rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-name {
  font-size: 1.08rem;
}

.brand-mark {
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(138, 104, 255, 0.5);
}

.brand-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-45%, -50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffffff;
}

.nav-link {
  color: rgba(238, 242, 255, 0.84) !important;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem !important;
  border-radius: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-menu {
  border: 1px solid var(--border);
  background: #0f172c;
  border-radius: 0.8rem;
}

.dropdown-item {
  color: rgba(240, 244, 255, 0.88);
}

.dropdown-item:hover {
  background: rgba(138, 104, 255, 0.22);
  color: #fff;
}

.btn-glow {
  border: 0;
  color: #070910;
  font-weight: 700;
  border-radius: 0.85rem;
  padding: 0.62rem 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(138, 104, 255, 0.35);
}

.btn-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(138, 104, 255, 0.42);
}

.btn-outline-cool {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  border-radius: 0.85rem;
  padding: 0.62rem 1.1rem;
}

.btn-outline-cool:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-section {
  padding-top: 7.4rem;
  padding-bottom: 4.6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #cfd7ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
}

.hero-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: 0.3px;
}

.hero-title span {
  display: block;
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 20%, var(--accent));
  background-clip: text;
}

.hero-desc {
  color: var(--muted);
  max-width: 40rem;
}

.hero-stats {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 0.95rem;
}

.stat-value {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.stat-label {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.featured-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.featured-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.featured-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.featured-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.featured-body p,
.featured-body time {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.featured-tag {
  font-size: 0.76rem;
  letter-spacing: 0.3px;
  border: 1px solid rgba(41, 220, 200, 0.45);
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.section-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.25;
}

.section-desc {
  color: var(--muted);
  max-width: 44rem;
}

.glass-panel {
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.about-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.45rem 0;
  color: #d8dff4;
}

.feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: absolute;
  top: 0.62rem;
  left: 0;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(41, 220, 200, 0.16);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.work-card,
.news-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 220, 200, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.work-card img {
  height: 260px;
  object-fit: cover;
}

.news-card img {
  height: 205px;
  object-fit: cover;
}

.card-chip {
  display: inline-block;
  font-size: 0.74rem;
  color: #d8e2ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.2rem 0.52rem;
  border-radius: 99px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.process-accordion .accordion-item {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 0.9rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.process-accordion .accordion-button {
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}

.process-accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--panel-2);
  box-shadow: none;
}

.process-accordion .accordion-button:focus {
  box-shadow: none;
}

.process-accordion .accordion-body {
  color: var(--muted);
}

.quote-panel {
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: linear-gradient(140deg, rgba(138, 104, 255, 0.1), rgba(255, 255, 255, 0.02));
  padding: 1.4rem;
}

.quote-text {
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.portrait-box {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
}

.portrait-box img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}

.partners-section .section-desc {
  max-width: 620px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-chip {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  color: #d8dff6;
  font-size: 0.9rem;
}

.links-section {
  background: rgba(255, 255, 255, 0.015);
}

.friend-link {
  display: block;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.72rem 0.4rem;
  color: #e6ebff;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.friend-link:hover {
  color: var(--accent);
  border-color: rgba(41, 220, 200, 0.48);
  transform: translateY(-2px);
}

.site-footer {
  padding-top: 3.2rem;
  padding-bottom: 1.2rem;
  background: #05070d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-text {
  color: var(--muted);
}

.footer-title {
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9da8c9;
  font-size: 0.86rem;
}

.modal-content {
  background: #10172b;
  border: 1px solid var(--border);
  color: var(--text);
}

.form-control,
.form-select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(41, 220, 200, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.form-control::placeholder {
  color: #9ea9c7;
}

@media (max-width: 1199.98px) {
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 6.8rem;
  }

  .featured-card img {
    height: 420px;
  }

  .portrait-box img {
    height: 430px;
  }
}

@media (max-width: 767.98px) {
  .section-block {
    padding: 4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .featured-card img,
  .portrait-box img,
  .about-image {
    height: 320px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}