/* ============================================================
   Radiance Berry — 昆明良瑞芒网络科技有限公司
   Computer Systems Design & Network Technology
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --berry: #E63986;
  --berry-deep: #C41E6B;
  --purple: #6A0572;
  --purple-deep: #4A0350;
  --gold: #FFB347;
  --gold-warm: #FF9A1F;
  --cream: #FFF5F0;
  --charcoal: #2D2D2D;
  --white: #FFFFFF;
  --berry-soft: #FAD1E4;
  --purple-soft: #E8D5EB;
  --radius: 24px;
  --radius-sm: 12px;
  --radius-lg: 48px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--berry);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--berry-deep);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }

p {
  margin-bottom: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Focus --- */
:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--berry);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10001;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(45, 45, 45, 0.08);
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  z-index: 1001;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .en {
  font-size: 1.15rem;
  color: var(--berry);
}

.logo-text .cn {
  font-size: 0.65rem;
  color: var(--purple);
  font-weight: 500;
}

/* --- Desktop Nav --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--berry-soft);
  color: var(--berry);
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta a {
  background: var(--berry);
  color: var(--white) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta a:hover,
.nav-cta a:focus-visible {
  background: var(--berry-deep);
  transform: translateY(-1px);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--charcoal);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
  position: absolute;
}

.hamburger span:nth-child(1) { transform: translateY(-8px); }
.hamburger span:nth-child(3) { transform: translateY(8px); }

.hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* --- Sections --- */
.section {
  position: relative;
  padding: 100px 32px;
  overflow: hidden;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--berry);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 3px;
  background: var(--berry);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title .highlight {
  color: var(--berry);
}

.section-desc {
  font-size: 1.15rem;
  color: #5A5A5A;
  max-width: 640px;
}

/* --- Blobs & Decorative Shapes --- */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.15;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--berry);
  top: -200px;
  right: -150px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  bottom: -100px;
  left: -100px;
}

.blob-3 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blob-4 {
  width: 350px;
  height: 350px;
  background: var(--berry);
  top: -80px;
  left: 10%;
}

.blob-5 {
  width: 450px;
  height: 450px;
  background: var(--purple);
  bottom: -120px;
  right: 5%;
}

.blob-solid {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.blob-solid-1 {
  width: 800px;
  height: 800px;
  background: var(--berry);
  top: -400px;
  right: -200px;
}

.blob-solid-2 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  bottom: -300px;
  left: -150px;
}

.blob-solid-3 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: 100px;
  left: -100px;
}

/* --- Floating Circles --- */
.floating-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-circles .circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--berry);
  opacity: 0.12;
  animation: floatCircle 20s linear infinite;
}

.floating-circles .circle:nth-child(1) {
  width: 180px; height: 180px;
  top: 15%; left: 8%;
  border-color: var(--berry);
  animation-duration: 22s;
}

.floating-circles .circle:nth-child(2) {
  width: 120px; height: 120px;
  top: 60%; left: 75%;
  border-color: var(--purple);
  animation-duration: 18s;
  animation-delay: -5s;
}

.floating-circles .circle:nth-child(3) {
  width: 90px; height: 90px;
  top: 25%; left: 55%;
  border-color: var(--gold);
  animation-duration: 16s;
  animation-delay: -10s;
}

.floating-circles .circle:nth-child(4) {
  width: 140px; height: 140px;
  top: 70%; left: 20%;
  border-color: var(--berry);
  animation-duration: 24s;
  animation-delay: -3s;
}

.floating-circles .circle:nth-child(5) {
  width: 100px; height: 100px;
  top: 40%; left: 35%;
  border-color: var(--purple);
  animation-duration: 20s;
  animation-delay: -8s;
}

@keyframes floatCircle {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(30px, -20px) rotate(90deg); }
  50%  { transform: translate(-15px, 25px) rotate(180deg); }
  75%  { transform: translate(-25px, -15px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 32px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 700px at 20% 30%, rgba(230, 57, 134, 0.07), transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 70%, rgba(106, 5, 114, 0.06), transparent 70%),
    radial-gradient(ellipse 500px 400px at 60% 20%, rgba(255, 179, 71, 0.05), transparent 70%),
    var(--cream);
}

.hero .blob {
  filter: blur(80px);
  opacity: 0.1;
}

.hero .blob:nth-of-type(1) {
  width: 700px; height: 700px;
  background: var(--berry);
  top: -150px; right: -100px;
}

.hero .blob:nth-of-type(2) {
  width: 500px; height: 500px;
  background: var(--gold);
  bottom: -100px; left: -100px;
}

.hero .blob:nth-of-type(3) {
  width: 400px; height: 400px;
  background: var(--purple);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--berry-soft);
  color: var(--berry);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--berry);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.hero-title .line-accent {
  color: var(--berry);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #5A5A5A;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--berry);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(230, 57, 134, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--berry-deep);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(230, 57, 134, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--berry);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--berry-soft);
  color: var(--berry-deep);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(255, 179, 71, 0.3);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-warm);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 179, 71, 0.4);
}

/* --- Hero Visual --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.hero-circles-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  animation: heroCirclePulse 6s ease-in-out infinite;
}

.hero-circle:nth-child(1) {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 40%, var(--berry), var(--purple-deep));
  top: 0;
  left: 0;
  opacity: 0.85;
  animation-delay: 0s;
}

.hero-circle:nth-child(2) {
  width: 72%;
  height: 72%;
  background: var(--white);
  top: 14%;
  left: 14%;
  animation-delay: -2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle:nth-child(3) {
  width: 48%;
  height: 48%;
  background: radial-gradient(circle at 50% 50%, var(--gold), #FF8C00);
  top: 26%;
  left: 26%;
  animation-delay: -4s;
}

.hero-circle-inner {
  text-align: center;
  padding: 20px;
}

.hero-circle-inner .berry-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 4px;
}

.hero-circle-inner .brand-cn {
  font-size: 0.7rem;
  color: #666;
  font-weight: 500;
}

@keyframes heroCirclePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* --- Split Panel Section --- */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-panel.reverse {
  direction: rtl;
}

.split-panel.reverse > * {
  direction: ltr;
}

.split-panel-text {
  position: relative;
}

.split-panel-text h2 {
  margin-bottom: 20px;
}

.split-panel-text .body-text {
  font-size: 1.1rem;
  color: #5A5A5A;
  margin-bottom: 28px;
}

.split-panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

/* --- Overlapping Circle Clusters --- */
.circle-cluster {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.circle-cluster .cluster-circle {
  position: absolute;
  border-radius: 50%;
}

.circle-cluster .cc-bg {
  width: 85%;
  height: 85%;
  background: radial-gradient(circle at 45% 40%, var(--purple-soft), var(--purple));
  top: 7.5%;
  left: 7.5%;
  opacity: 0.15;
}

.circle-cluster .cc-mid {
  width: 60%;
  height: 60%;
  background: var(--white);
  top: 5%;
  right: 5%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-cluster .cc-front {
  width: 45%;
  height: 45%;
  background: radial-gradient(circle at 50% 50%, var(--berry), var(--berry-deep));
  bottom: 5%;
  left: 8%;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(230, 57, 134, 0.25);
}

.circle-cluster .cc-accent {
  width: 28%;
  height: 28%;
  background: var(--gold);
  top: 2%;
  left: 2%;
  opacity: 0.85;
}

.circle-cluster .cc-icon {
  font-size: 3rem;
  color: var(--white);
}

.circle-cluster .cc-mid .cc-stat {
  text-align: center;
}

.circle-cluster .cc-mid .cc-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--berry);
  line-height: 1;
}

.circle-cluster .cc-mid .cc-label {
  display: block;
  font-size: 0.85rem;
  color: #777;
  font-weight: 500;
  margin-top: 4px;
}

/* --- Counters Section --- */
.counters-section {
  background:
    radial-gradient(ellipse 700px 500px at 30% 50%, rgba(230, 57, 134, 0.05), transparent 70%),
    radial-gradient(ellipse 500px 400px at 70% 50%, rgba(106, 5, 114, 0.04), transparent 70%),
    var(--white);
  padding: 80px 32px;
  position: relative;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-item {
  position: relative;
  z-index: 2;
}

.counter-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--berry);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 0.95rem;
  color: #777;
  font-weight: 500;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -60px;
  right: -60px;
  opacity: 0.06;
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:nth-child(1)::before { background: var(--berry); }
.service-card:nth-child(2)::before { background: var(--purple); }
.service-card:nth-child(3)::before { background: var(--gold); }
.service-card:nth-child(4)::before { background: var(--berry); }

.service-card:hover::before {
  opacity: 0.12;
  transform: scale(1.3);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card:nth-child(1) .service-card-icon { background: var(--berry-soft); color: var(--berry); }
.service-card:nth-child(2) .service-card-icon { background: var(--purple-soft); color: var(--purple); }
.service-card:nth-child(3) .service-card-icon { background: #FFF0D5; color: #D4850A; }
.service-card:nth-child(4) .service-card-icon { background: var(--berry-soft); color: var(--berry); }

.service-card h3 {
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #5A5A5A;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info .body-text {
  font-size: 1.1rem;
  color: #5A5A5A;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: var(--berry-soft);
  color: var(--berry);
}

.contact-detail:nth-child(2) .contact-detail-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.contact-detail:nth-child(3) .contact-detail-icon {
  background: #FFF0D5;
  color: #D4850A;
}

.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-weight: 500;
  color: var(--charcoal);
}

.contact-detail-value a {
  color: var(--charcoal);
}

.contact-detail-value a:hover {
  color: var(--berry);
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--berry);
  opacity: 0.03;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.contact-form-wrap::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.03;
  bottom: -60px;
  left: -60px;
  pointer-events: none;
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E8E8E8;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #FAFAFA;
  color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(230, 57, 134, 0.08);
  background: var(--white);
}

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

.form-group .required {
  color: var(--berry);
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  display: none;
  position: relative;
  z-index: 1;
}

.form-status.success {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.form-status.error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 72px 32px 32px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--berry);
  opacity: 0.04;
  top: -300px;
  right: -100px;
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.04;
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-text .en {
  color: var(--gold);
}

.footer-brand .logo-text .cn {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 0;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--gold);
}

/* --- Legal Pages (Privacy & TOS) --- */
.legal-page {
  padding: calc(var(--nav-height) + 60px) 32px 80px;
  background:
    radial-gradient(ellipse 600px 400px at 20% 10%, rgba(230, 57, 134, 0.04), transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(106, 5, 114, 0.03), transparent 70%),
    var(--cream);
  min-height: 100vh;
}

.legal-page .section-inner {
  max-width: 820px;
}

.legal-page h1 {
  margin-bottom: 32px;
  color: var(--berry);
}

.legal-page .last-updated {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 40px;
  font-style: italic;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--purple);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--charcoal);
}

.legal-content a {
  color: var(--berry);
  text-decoration: underline;
}

.legal-content .company-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--berry);
}

.legal-content .company-block p {
  margin-bottom: 6px;
  font-weight: 500;
}

.legal-content .company-block p:last-child {
  margin-bottom: 0;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-40px);
}

.animate-on-scroll.from-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(40px);
}

.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.9);
}

.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

/* --- 404 Page --- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 40px 32px;
  background: var(--cream);
}

.not-found-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--berry);
  line-height: 1;
  opacity: 0.2;
}

.not-found h1 {
  margin-top: -30px;
  margin-bottom: 16px;
}

.not-found p {
  color: #777;
  max-width: 400px;
  margin-bottom: 32px;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-circles-stack {
    max-width: 340px;
  }

  .split-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-panel.reverse {
    direction: ltr;
  }

  .split-panel-visual {
    min-height: 280px;
    order: -1;
  }

  .split-panel.reverse .split-panel-visual {
    order: -1;
  }

  .section-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-title {
    text-align: center;
  }

  .section-label {
    margin-left: auto;
    margin-right: auto;
    display: table;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 999;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .nav-list a {
    font-size: 1.2rem;
    padding: 14px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .section {
    padding: 64px 20px;
  }

  .hero {
    padding: calc(var(--nav-height) + 24px) 20px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-circles-stack {
    max-width: 260px;
  }

  .circle-cluster {
    max-width: 300px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .counter-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-page {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr;
  }

  .hero-circles-stack {
    max-width: 220px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Print --- */
@media print {
  .site-header,
  .hamburger,
  .hero-visual,
  .blob,
  .floating-circles,
  .contact-form-wrap,
  .site-footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
  }
}
