/* ===== 江西玉芈科技 官网样式 ===== */
:root {
  --bg-dark: #060d18;
  --bg-section: #0c1526;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --accent: #c9a227;
  --accent-light: #e8c547;
  --accent-teal: #2dd4bf;
  --gradient: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #2dd4bf 100%);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --header-h: 72px;
  --max-w: 1200px;
  --font: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s, opacity 0.25s; }
address { font-style: normal; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.scrolled {
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

.site-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--gradient);
  color: #0a0f18 !important;
  font-weight: 600;
  border-radius: 999px;
}

.site-nav .nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.55) 0%, rgba(6, 13, 24, 0.92) 70%, var(--bg-dark) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 620px;
  margin: 0 0 36px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: #0a0f18;
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.btn-block { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat strong::after { content: none; }

.stat strong[data-plus]::after { content: "+"; font-size: 0.7em; }

.stat-plain strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plain strong small {
  font-size: 0.55em;
  margin-left: 2px;
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  opacity: 0.6;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--bg-section);
}

.section-label {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -12px;
  padding: 16px 24px;
  background: var(--gradient);
  color: #0a0f18;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}

.about-badge strong { font-size: 0.95rem; }

.about-text h2 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.about-text strong { color: var(--text); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-tags li {
  padding: 8px 16px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
}

/* ===== Services ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, background 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.3);
  background: var(--bg-card-hover);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 28px 32px 32px;
  flex: 1;
}

.service-body-only { padding-top: 32px; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.08);
}

.service-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.service-body > p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.service-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}

/* ===== Solutions ===== */
.solutions {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(45, 212, 191, 0.06) 0%, transparent 60%),
    var(--bg-section);
}

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.tab {
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }

.tab.active {
  color: #0a0f18;
  background: var(--gradient);
  border-color: transparent;
  font-weight: 600;
}

.solution-panels {
  position: relative;
  min-height: 220px;
}

.panel {
  display: none;
  padding: 40px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  animation: fadeIn 0.4s ease;
}

.panel.active { display: block; }

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

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--accent-light);
}

.panel p {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 720px;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-tags span {
  padding: 6px 14px;
  font-size: 0.82rem;
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-teal);
  border-radius: 6px;
}

/* ===== Advantages ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.adv-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.adv-card:hover {
  border-color: rgba(201, 162, 39, 0.25);
  transform: translateY(-4px);
}

.adv-num {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  margin-bottom: 12px;
}

.adv-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.adv-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.process {
  text-align: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process h3 {
  margin: 0 0 36px;
  font-size: 1.2rem;
}

.process-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.process-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0a0f18;
  background: var(--gradient);
  border-radius: 50%;
}

/* ===== Contact ===== */
.contact {
  background:
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
    var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-info > p {
  margin: 0 0 36px;
  color: var(--text-muted);
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-list a:hover { color: var(--accent-light); }

.contact-form {
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 24px;
  font-size: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 162, 39, 0.5);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.form-tip {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #040810;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img { border-radius: 8px; }

.footer-brand strong { display: block; font-size: 0.95rem; }

.footer-brand p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  text-align: center;
}

.footer-beian {
  margin: 8px 0 0;
  font-size: 0.82rem;
}

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

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

.footer-beian span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

.back-top {
  font-size: 0.85rem;
  color: var(--accent);
}

.back-top:hover { color: var(--accent-light); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: rgba(6, 13, 24, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s, opacity 0.35s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

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

  .about-badge {
    right: 12px;
    bottom: -16px;
    padding: 12px 18px;
  }

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

  .panel { padding: 28px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 24px; }

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

  .footer-brand { flex-direction: column; }

  .footer-legal { order: 3; }

  .scroll-hint { display: none; }

  .hero { padding-bottom: 48px; }

  .section { padding: 72px 0; }

  .process-steps { flex-direction: column; align-items: stretch; }

  .process-steps li { justify-content: center; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--max-w)); }

  .hero-actions { flex-direction: column; }

  .btn { width: 100%; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 16px;
  }
}
