/* ============================================================
   BONZOIN Culture Media — 邦卓文化传媒
   ============================================================ */

:root {
  --ink: #0b0e1f;
  --ink-2: #12163a;
  --text: #1e2338;
  --text-dim: #5b6178;
  --line: #e6e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --accent: #4f5bff;
  --accent-2: #7b3ff2;
  --cyan: #29d3e0;
  --grad: linear-gradient(120deg, #4f5bff 0%, #7b3ff2 55%, #b23ff2 100%);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 22, 58, 0.10);
  --font: "Inter", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Language switching ---------- */
.en { display: none; }
body.lang-en .en { display: revert; }
body.lang-en .zh { display: none; }
body.lang-en { --font-cjk-tweak: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-sub { color: var(--text-dim); margin-top: 1rem; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(79, 91, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79, 91, 255, 0.45); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 14, 31, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { color: #fff; font-size: 1.05rem; letter-spacing: 0.02em; }
.logo-text small { color: rgba(255, 255, 255, 0.55); font-size: 0.62rem; letter-spacing: 0.22em; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.nav-links .nav-cta:hover { background: rgba(255, 255, 255, 0.12); }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.lang-toggle {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.15); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(1200px 700px at 75% -10%, #232a6b 0%, var(--ink) 55%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 70px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.orb-1 {
  width: 480px; height: 480px;
  background: #4f5bff;
  top: -140px; right: -80px;
  animation: float 9s ease-in-out infinite;
}
.orb-2 {
  width: 380px; height: 380px;
  background: #7b3ff2;
  bottom: -160px; left: -120px;
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.06); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; }
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 1.3rem;
}
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero-sub {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 2.2rem;
  max-width: 900px;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat strong {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(120deg, #8f9bff, #29d3e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-featured {
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 100%);
  border-color: transparent;
}
.card-featured h3, .card-featured p { color: #fff; }
.card-featured .card-list li { color: rgba(255, 255, 255, 0.75); }
.card-featured .card-list li::before { color: var(--cyan); }
.card-badge {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0b0e1f;
  background: linear-gradient(120deg, #29d3e0, #8f9bff);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: #fff;
}
.card-icon svg { width: 28px; height: 28px; }
.icon-globe { background: linear-gradient(135deg, #29d3e0, #4f5bff); }
.icon-target { background: linear-gradient(135deg, #4f5bff, #7b3ff2); }
.icon-spark { background: linear-gradient(135deg, #7b3ff2, #e04fd0); }

.card h3 { margin-bottom: 0.8rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.3rem; }
.card-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}
.card-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 0.2em;
}

/* ============================================================
   PROCESS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.step {
  position: relative;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(79, 91, 255, 0.35); }
.step-num {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
  line-height: 1;
}
.step h4 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--ink); color: #fff; }
.why-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why h2 { color: #fff; margin-bottom: 1rem; }
.why .section-sub { color: rgba(255, 255, 255, 0.65); margin-bottom: 2rem; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.why-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: background 0.25s, transform 0.25s;
}
.why-item:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.why-item h4 { color: #fff; margin-bottom: 0.4rem; }
.why-item p { color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-card {
  aspect-ratio: 1 / 1.05;
  border-radius: 26px;
  background: #070a20;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 60px rgba(43, 36, 112, 0.5);
  position: relative;
  overflow: hidden;
}
.about-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, transparent 52%, rgba(4, 5, 18, 0.5));
}
.about-card-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0 1.5rem;
}
.about-big {
  font-size: clamp(3.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 46px rgba(143, 155, 255, 0.65), 0 2px 18px rgba(41, 211, 224, 0.25);
}
.about-en { font-size: 1rem; letter-spacing: 0.5em; text-indent: 0.5em; color: #aab4ff; font-weight: 700; }
.about-divider {
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--accent-2));
  margin: 0.7rem 0 0.5rem;
}
.about-card p { opacity: 0.82; font-size: 0.95rem; }
.about-motto {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: rgba(205, 214, 255, 0.55);
  margin-top: 0.9rem;
}
.star { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.about-text h2 { margin-bottom: 1.3rem; }
.about-text > p { color: var(--text-dim); margin-bottom: 1.1rem; font-size: 0.98rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.about-tags > span {
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-soft); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact h2 { margin-bottom: 0.8rem; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-list strong { color: var(--ink); font-size: 0.85rem; letter-spacing: 0.08em; }
.contact-list li > span { color: var(--text-dim); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-note { color: #17a673; font-weight: 600; font-size: 0.92rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 3rem 0 2.2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.4rem;
  font-size: 0.82rem;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .star { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-visual { max-width: 380px; margin: 0 auto; width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: rgba(11, 14, 31, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 6%;
    gap: 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: block; }
  .logo-text small { display: none; }
  body.lang-en .logo-text small.en { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-cta .btn { width: 100%; }
}
