:root {
  --bg: #070708;
  --bg-2: #0f1012;
  --accent: #ff3b4e;
  --text: #f7f7f7;
  --muted: #a8a8a8;
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #050506;
  color: var(--text);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 70% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(900px 700px at -10% 30%, rgba(255, 59, 78, 0.12), transparent 55%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 6px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(5, 5, 6, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 140px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.stat {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 10px;
}

.stat strong {
  font-size: 20px;
  display: block;
}

.section {
  padding: 64px 0;
}

.section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.ribbon {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.portfolio-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px;
  min-height: 140px;
  color: var(--muted);
  display: grid;
  place-content: center;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.qr-box {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
  width: min(320px, 100%);
}

.qr-box h4 {
  color: #e24a55;
  font-size: 20px;
}

.qr-box img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  background: #f2f2f2;
}

.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.stagger > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.15s; }
.stagger > *:nth-child(3) { animation-delay: 0.25s; }
.stagger > *:nth-child(4) { animation-delay: 0.35s; }
.stagger > *:nth-child(5) { animation-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }
}
