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

:root {
  --color-primary: #7C3AED;
  --color-on-primary: #FFFFFF;
  --color-secondary: #6366F1;
  --color-accent: #EC4899;
  --color-background: #FAF5FF;
  --color-foreground: #1E1B4B;
  --color-muted: #F7F3FD;
  --color-border: rgba(124, 58, 237, 0.15);
  --color-surface: rgba(255, 255, 255, 0.9);
  --color-surface-hover: rgba(255, 255, 255, 1);
  --color-surface-strong: rgba(255, 255, 255, 0.95);
  --color-glow-primary: rgba(124, 58, 237, 0.12);
  --color-glow-accent: rgba(236, 72, 153, 0.1);
  --color-glow-secondary: rgba(99, 102, 241, 0.08);
  --font-heading: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'DM Sans', 'Noto Sans SC', sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;
}

html, body {
  width: 2160px;
  height: 3840px;
  overflow: hidden;
  background: var(--color-background);
  font-family: var(--font-body);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 2160px;
  height: 3840px;
  position: relative;
  overflow: hidden;
}

/* === Background Effects === */
.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1400px 1400px at 50% 10%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 1000px 1000px at 10% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 900px 900px at 90% 75%, rgba(236, 72, 153, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 800px 800px at 50% 98%, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
  z-index: 0;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite;
}

.bg-orb--1 {
  width: 1000px;
  height: 1000px;
  background: var(--color-glow-primary);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-orb--2 {
  width: 700px;
  height: 700px;
  background: var(--color-glow-accent);
  bottom: 200px;
  right: -150px;
  animation-delay: -4s;
}

.bg-orb--3 {
  width: 600px;
  height: 600px;
  background: var(--color-glow-secondary);
  bottom: 1000px;
  left: -200px;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-50px) scale(1.06); }
}

/* === Grid Pattern === */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

/* === Noise Texture === */
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  z-index: 0;
}

/* === Content Container === */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 160px 180px 120px;
}

/* === Logo Section === */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper {
  width: 400px;
  height: 400px;
  border-radius: 100px;
  background: var(--color-surface-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(124, 58, 237, 0.2);
  box-shadow:
    0 20px 60px rgba(124, 58, 237, 0.15),
    0 8px 24px rgba(124, 58, 237, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: logoEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-wrapper img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

@keyframes logoEntry {
  from { opacity: 0; transform: scale(0.7) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* === Pulse ring around logo === */
.logo-pulse {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 110px;
  border: 2px solid rgba(124, 58, 237, 0.15);
  animation: pulse 3.5s ease-out infinite;
  z-index: 1;
}

.logo-pulse--2 {
  width: 500px;
  height: 500px;
  border-radius: 125px;
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  animation-delay: 1.2s;
}

.logo-pulse--3 {
  width: 560px;
  height: 560px;
  border-radius: 140px;
  border: 1px solid rgba(124, 58, 237, 0.06);
  animation-delay: 2.4s;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* === Brand Name === */
.brand-name {
  font-family: var(--font-heading);
  font-size: 160px;
  font-weight: 700;
  letter-spacing: -3px;
  background: linear-gradient(135deg, #7C3AED 0%, var(--color-accent) 50%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 64px;
  animation: fadeUp 1s ease-out 0.3s both;
}

.brand-tagline {
  font-family: var(--font-cn);
  font-size: 56px;
  font-weight: 400;
  color: rgba(124, 58, 237, 0.7);
  letter-spacing: 16px;
  margin-top: 24px;
  animation: fadeUp 1s ease-out 0.5s both;
}

/* === Hero Divider === */
.hero-divider {
  width: 160px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin-top: 80px;
  margin-bottom: 80px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  animation: fadeUp 1s ease-out 0.6s both;
}

/* === Subtitle === */
.hero-text {
  text-align: center;
  animation: fadeUp 1s ease-out 0.7s both;
}

.hero-subtitle {
  font-family: var(--font-cn);
  font-size: 72px;
  font-weight: 700;
  color: var(--color-foreground);
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero-subtitle span {
  background: linear-gradient(135deg, #7C3AED, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-family: var(--font-cn);
  font-size: 44px;
  font-weight: 400;
  color: rgba(30, 27, 75, 0.6);
  line-height: 1.7;
  max-width: 1500px;
}

/* === Business Cards === */
.cards-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 100px;
  width: 100%;
  max-width: 1700px;
  animation: fadeUp 1s ease-out 0.9s both;
}

.card {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 64px 72px;
  border-radius: 48px;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--color-border);
  box-shadow:
    0 8px 32px rgba(124, 58, 237, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
  animation: cardPulse 9s ease-in-out infinite;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 3s; }
.card:nth-child(3) { animation-delay: 6s; }

@keyframes cardPulse {
  0%, 22.22%, 100% {
    transform: scale(1);
    box-shadow:
      0 8px 32px rgba(124, 58, 237, 0.08),
      0 2px 8px rgba(0, 0, 0, 0.04);
  }
  8%, 14% {
    transform: scale(1.06);
    box-shadow:
      0 32px 100px rgba(124, 58, 237, 0.25),
      0 16px 50px rgba(124, 58, 237, 0.15),
      0 8px 24px rgba(0, 0, 0, 0.08);
    background: var(--color-surface-hover);
  }
}

.card:hover {
  transform: translateY(-6px);
  background: var(--color-surface-hover);
  box-shadow:
    0 20px 60px rgba(124, 58, 237, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 140px;
  height: 140px;
  min-width: 140px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-icon--dev {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.card-icon--ai {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(236, 72, 153, 0.04));
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.card-icon--edu {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.card-icon svg {
  width: 64px;
  height: 64px;
}

.card-content {
  flex: 1;
}

.card-title {
  font-family: var(--font-cn);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 16px;
}

.card-desc {
  font-family: var(--font-cn);
  font-size: 38px;
  font-weight: 400;
  color: rgba(30, 27, 75, 0.55);
  line-height: 1.5;
}

.card-number {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 140px;
  text-align: right;
}

/* === Contact Section === */
.contact-section {
  margin-top: 120px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 80px;
  animation: fadeUp 1s ease-out 1.1s both;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 56px 96px;
  border-radius: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-on-primary);
  box-shadow:
    0 20px 60px rgba(124, 58, 237, 0.25),
    0 8px 24px rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.contact-icon {
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 44px;
  height: 44px;
  stroke: white;
}

.contact-label {
  font-family: var(--font-cn);
  font-size: 32px;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 6px;
}

.contact-value {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 3px;
}

/* === WeChat QR Code === */
.wechat-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wechat-qr {
  width: 300px;
  height: 300px;
  border-radius: 32px;
  background: var(--color-surface-strong);
  border: 2px solid rgba(124, 58, 237, 0.15);
  box-shadow:
    0 12px 40px rgba(124, 58, 237, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wechat-qr:hover {
  transform: scale(1.05);
  box-shadow:
    0 20px 60px rgba(124, 58, 237, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-label {
  font-family: var(--font-cn);
  font-size: 28px;
  font-weight: 500;
  color: rgba(124, 58, 237, 0.8);
  letter-spacing: 4px;
}

/* === Footer === */
.footer-text {
  font-family: var(--font-cn);
  font-size: 30px;
  font-weight: 400;
  color: rgba(124, 58, 237, 0.4);
  letter-spacing: 8px;
}

/* === Decorative Elements === */
.deco-line {
  position: absolute;
  z-index: 0;
}

.deco-line--1 {
  top: 700px;
  right: 0;
  width: 500px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15));
}

.deco-line--2 {
  bottom: 600px;
  left: 0;
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.15), transparent);
}

.deco-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.deco-dot--1 {
  top: 680px;
  right: 500px;
  width: 20px;
  height: 20px;
  background: rgba(124, 58, 237, 0.2);
}

.deco-dot--2 {
  bottom: 580px;
  left: 400px;
  width: 18px;
  height: 18px;
  background: rgba(236, 72, 153, 0.2);
}

.deco-dot--3 {
  top: 1400px;
  left: 140px;
  background: rgba(99, 102, 241, 0.15);
  width: 14px;
  height: 14px;
}

.deco-dot--4 {
  top: 2200px;
  right: 180px;
  background: rgba(124, 58, 237, 0.1);
  width: 12px;
  height: 12px;
}

/* === Particles === */
.particle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle--1 {
  width: 10px; height: 10px;
  background: rgba(124, 58, 237, 0.25);
  top: 12%; left: 8%;
  animation-delay: 0s;
}

.particle--2 {
  width: 8px; height: 8px;
  background: rgba(236, 72, 153, 0.2);
  top: 30%; right: 6%;
  animation-delay: -2s;
}

.particle--3 {
  width: 12px; height: 12px;
  background: rgba(99, 102, 241, 0.18);
  top: 50%; left: 4%;
  animation-delay: -4s;
}

.particle--4 {
  width: 6px; height: 6px;
  background: rgba(124, 58, 237, 0.2);
  top: 72%; right: 10%;
  animation-delay: -1s;
}

.particle--5 {
  width: 9px; height: 9px;
  background: rgba(236, 72, 153, 0.18);
  top: 88%; left: 12%;
  animation-delay: -3s;
}

.particle--6 {
  width: 7px; height: 7px;
  background: rgba(167, 139, 250, 0.15);
  top: 65%; left: 92%;
  animation-delay: -5s;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.5; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 1; }
  50% { transform: translateY(-15px) translateX(-8px); opacity: 0.3; }
  75% { transform: translateY(-40px) translateX(12px); opacity: 0.7; }
}

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

/* === Shimmer on Logo === */
.logo-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  animation: shimmer 5s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* === Floating geometric shapes === */
.geo-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.08;
}

.geo-shape--1 {
  top: 18%;
  right: 8%;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-primary);
  border-radius: 40px;
  transform: rotate(45deg);
  animation: geoSpin 20s linear infinite;
}

.geo-shape--2 {
  bottom: 22%;
  left: 6%;
  width: 160px;
  height: 160px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  animation: geoSpin 25s linear infinite reverse;
}

.geo-shape--3 {
  top: 45%;
  right: 4%;
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-secondary);
  transform: rotate(30deg);
  animation: geoSpin 30s linear infinite;
}

@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb, .particle, .logo-pulse, .logo-wrapper::after, .geo-shape {
    animation: none !important;
  }
  .card { transition: none !important; }
}
