/* ============================================================
   CAIERFU · Gold Trading — Stylesheet
   ============================================================ */


#about,
#services,
#contact {
  scroll-margin-top: 90px;
}

@media (max-width: 1024px) {
  #about,
  #services,
  #contact {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 640px) {
  #about,
  #services,
  #contact {
    scroll-margin-top: 150px;
  }
}

/* ---------- 手机端线条动画（宽度单调递减，无反弹变粗） ---------- */
@keyframes trailGrowMobile {
  0%   { height: 10px; width: 0.8px; opacity: 0; transform: rotate(0deg); }
  20%  { opacity: 0.5; }
  45%  {
    height: var(--maxH);
    width: 1.8px;
    opacity: 0.85;
    transform: rotate(var(--rot));
  }
  70%  {
    height: var(--maxH);
    width: 1.4px;
    opacity: 0.5;
    transform: rotate(var(--rot));
  }
  100% {
    height: var(--maxH);
    width: 0.6px;
    opacity: 0;
    transform: rotate(var(--rot));
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- CSS Variables ---------- */
:root {
  --blue-deep: #0a1e3c;
  --blue-primary: #12365e;
  --blue-mid: #1b4a7a;
  --blue-soft: #3d6a94;
  --blue-pale: #c2d4e8;
  --blue-whisper: #e6eef8;
  --blue-tint: #eff4fa;

  --white: #ffffff;
  --gray-light: #f8fafd;
  --gray-border: #d8e1ea;
  --text-dark: #0d2340;
  --text-muted: #3a5672;
  --gold: #c9a846;
  --gold-light: #e3cf8f;
  --gold-deep: #b89850;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   LOADING 动画
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #0d2a4f 0%, #081a35 45%, #040e1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-stage {
  position: relative;
  width: 780px;
  height: 780px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 凤凰 ---------- */
.phoenix {
  position: relative;
  width: 330px;
  height: auto;
  z-index: 3;
  transform: translateY(180px) scale(0.4) rotate(-6deg);
  opacity: 0;
  animation: phoenixRise 2s cubic-bezier(0.25, 0.8, 0.3, 1) forwards;
  filter: drop-shadow(0 0 30px rgba(227, 207, 143, 0.6))
          drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.phoenix img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes phoenixRise {
  0% {
    transform: translateY(200px) scale(0.35) rotate(-8deg);
    opacity: 0;
  }
  15% { opacity: 1; }
  75% {
    transform: translateY(15px) scale(1.02) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: translateY(15px) scale(1.02) rotate(2deg);
    opacity: 1;
  }
}

/* ---------- 飞行线条 ---------- */
.trail {
  position: absolute;
  bottom: 24%;
  width: 5.5px;
  background: linear-gradient(to top,
    rgba(201, 168, 70, 0) 0%,
    rgba(201, 168, 70, 0.5) 35%,
    rgba(227, 207, 143, 0.85) 75%,
    rgba(240, 222, 165, 1) 100%
  );
  border-radius: 100px;
  transform-origin: bottom center;
  opacity: 0;
  height: 14px;
  filter: blur(0.4px);
  animation: trailGrow 2s cubic-bezier(0.25, 0.8, 0.3, 1) forwards;
  z-index: 1;
  box-shadow: 0 0 12px rgba(227, 207, 143, 0.5);
}

.trail.left-1  { left: 43%;   animation-delay: 0.02s; --maxH: 480px; --rot: -5deg; }
.trail.left-2  { left: 41%;   animation-delay: 0.04s; --maxH: 456px; --rot: -8deg; }
.trail.left-3  { left: 39%;   animation-delay: 0.06s; --maxH: 430px; --rot: -11deg; }
.trail.left-4  { left: 37%;   animation-delay: 0.08s; --maxH: 400px; --rot: -14deg; }
.trail.left-5  { left: 35%;   animation-delay: 0.10s; --maxH: 366px; --rot: -18deg; }
.trail.left-6  { left: 33%;   animation-delay: 0.12s; --maxH: 330px; --rot: -22deg; }
.trail.left-7  { left: 31%;   animation-delay: 0.14s; --maxH: 294px; --rot: -26deg; }
.trail.left-8  { left: 29%;   animation-delay: 0.17s; --maxH: 258px; --rot: -31deg; }
.trail.left-9  { left: 27%;   animation-delay: 0.20s; --maxH: 224px; --rot: -36deg; }
.trail.left-10 { left: 25%;   animation-delay: 0.23s; --maxH: 192px; --rot: -41deg; }
.trail.left-11 { left: 23%;   animation-delay: 0.26s; --maxH: 164px; --rot: -47deg; }
.trail.left-12 { left: 21%;   animation-delay: 0.29s; --maxH: 138px; --rot: -53deg; }
.trail.left-13 { left: 19%;   animation-delay: 0.32s; --maxH: 115px; --rot: -60deg; }

.trail.right-1  { right: 43%;   animation-delay: 0.02s; --maxH: 480px; --rot: 5deg; }
.trail.right-2  { right: 41%;   animation-delay: 0.04s; --maxH: 456px; --rot: 8deg; }
.trail.right-3  { right: 39%;   animation-delay: 0.06s; --maxH: 430px; --rot: 11deg; }
.trail.right-4  { right: 37%;   animation-delay: 0.08s; --maxH: 400px; --rot: 14deg; }
.trail.right-5  { right: 35%;   animation-delay: 0.10s; --maxH: 366px; --rot: 18deg; }
.trail.right-6  { right: 33%;   animation-delay: 0.12s; --maxH: 330px; --rot: 22deg; }
.trail.right-7  { right: 31%;   animation-delay: 0.14s; --maxH: 294px; --rot: 26deg; }
.trail.right-8  { right: 29%;   animation-delay: 0.17s; --maxH: 258px; --rot: 31deg; }
.trail.right-9  { right: 27%;   animation-delay: 0.20s; --maxH: 224px; --rot: 36deg; }
.trail.right-10 { right: 25%;   animation-delay: 0.23s; --maxH: 192px; --rot: 41deg; }
.trail.right-11 { right: 23%;   animation-delay: 0.26s; --maxH: 164px; --rot: 47deg; }
.trail.right-12 { right: 21%;   animation-delay: 0.29s; --maxH: 138px; --rot: 53deg; }
.trail.right-13 { right: 19%;   animation-delay: 0.32s; --maxH: 115px; --rot: 60deg; }

@keyframes trailGrow {
  0% { height: 14px; width: 3px; opacity: 0; transform: rotate(0deg); }
  20% { opacity: 0.6; }
  45% {
    height: var(--maxH);
    width: 5.5px;
    opacity: 1;
    transform: rotate(var(--rot));
  }
  70% {
    height: var(--maxH);
    width: 4px;
    opacity: 0.55;
    transform: rotate(var(--rot));
  }
  100% {
    height: var(--maxH);
    width: 2px;
    opacity: 0;
    transform: rotate(var(--rot));
  }
}

/* ---------- 光晕 ---------- */
.loader-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(227, 207, 143, 0.26) 0%,
    rgba(201, 168, 70, 0.1) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: glowPulse 2s ease-out forwards;
  z-index: 0;
  pointer-events: none;
}

@keyframes glowPulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  40% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  75% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.04); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

/* ---------- Loading 文字 ---------- */
.loader-text {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: textFade 2s ease forwards;
  white-space: nowrap;
  z-index: 4;
  padding-left: 0.55em;
  text-shadow: 0 0 28px rgba(227, 207, 143, 0.5);
}

@keyframes textFade {
  0% { opacity: 0; letter-spacing: 0.75em; }
  40% { opacity: 1; letter-spacing: 0.55em; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

/* ============================================================
   页面通用
   ============================================================ */
.section-fullwidth {
  width: 100%;
  background-color: var(--white);
  transition: background-color 0.3s ease;
}

.section-fullwidth.section-alt {
  background-color: var(--blue-whisper);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Logo ---------- */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.35s ease;
}

.logo-link:hover { opacity: 0.8; }

.logo-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-wording {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer .logo-icon { height: 42px; }
.footer .logo-wording { height: 28px; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar-fullwidth {
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.nav-links {
  display: flex;
  gap: 2.6rem;
  list-style: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue-deep);
  position: relative;
  padding-bottom: 5px;
  display: inline-block;
  transition: color 0.35s var(--ease-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue-primary);
  transition: width 0.4s var(--ease-smooth);
}

.nav-links a:hover { color: var(--blue-primary); }
.nav-links a:hover::after { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 0;
  gap: 4rem;
}

.hero-content {
  flex: 1 1 460px;
  max-width: 620px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--blue-primary);
  display: inline-block;
  transition: width 0.5s var(--ease-smooth);
}

.hero-eyebrow:hover::before { width: 44px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--blue-deep);
  margin-bottom: 1.8rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.85;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
  transition: all 0.4s var(--ease-smooth);
}

.btn-primary {
  background: var(--blue-deep);
  color: white;
  box-shadow: 0 0 0 rgba(18, 54, 94, 0);
}

.btn-primary:hover {
  background: var(--blue-primary);
  box-shadow: 0 10px 20px -12px rgba(10, 30, 60, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--blue-soft);
  color: var(--blue-primary);
}

.btn-outline:hover {
  border-color: var(--blue-deep);
  background: var(--blue-primary);
  color: white;
  box-shadow: 0 10px 20px -12px rgba(10, 30, 60, 0.3);
}

/* ---------- 金条展示 ---------- */
.hero-visual {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.gold-bar-showcase {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  transition: border-color 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.gold-bar-showcase:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 24px 48px -28px rgba(10, 30, 60, 0.18);
}

.gold-bar-showcase::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(18, 54, 94, 0.1);
  border-radius: 2px;
  pointer-events: none;
  transition: border-color 0.5s var(--ease-smooth);
}

.gold-bar-showcase:hover::before {
  border-color: rgba(18, 54, 94, 0.2);
}

.gold-bar-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.6s var(--ease-smooth), filter 0.6s var(--ease-smooth);
  filter: drop-shadow(0 18px 28px rgba(201, 168, 70, 0.22));
}

.gold-bar-showcase:hover .gold-bar-img {
  transform: scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 24px 36px rgba(201, 168, 70, 0.3));
}

/* ============================================================
   Values / Services
   ============================================================ */
.values-section { padding: 5rem 0; }

.section-header {
  margin-bottom: 4rem;
  max-width: 640px;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue-primary);
  transition: width 0.5s var(--ease-smooth);
}

.section-header:hover .section-tag::before { width: 36px; }

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  line-height: 1.25;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(18, 54, 94, 0.18);
}

.value-item {
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  border-bottom: 1px solid rgba(18, 54, 94, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: default;
  transition: background-color 0.5s var(--ease-smooth);
}

.value-item:nth-child(2n) {
  padding-left: 4.5rem;
  padding-right: 2rem;
  border-left: 1px solid rgba(18, 54, 94, 0.18);
}

.value-item:hover {
  background-color: rgba(210, 227, 244, 0.75);
}

.value-index {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-soft);
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.005em;
}

.value-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 440px;
}

/* ============================================================
   About
   ============================================================ */
.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
}

.about-visual {
  flex: 1 1 380px;
  min-height: 400px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.about-visual:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 24px 48px -28px rgba(10, 30, 60, 0.18);
}

.about-visual-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-smooth);
}

.about-visual:hover .about-visual-img { transform: scale(1.04); }

.about-content { flex: 1 1 380px; }

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  margin-bottom: 1.8rem;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.about-stat-item { display: flex; flex-direction: column; }

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.1;
}

.about-stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-section { padding: 5rem 0; }

.contact-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.contact-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-header p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.contact-form {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-primary);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid rgba(18, 54, 94, 0.25);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  border-radius: 0;
  transition: border-color 0.4s var(--ease-smooth);
}

.form-group input:hover,
.form-group textarea:hover {
  border-bottom-color: rgba(18, 54, 94, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--blue-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8ea4ba;
  font-weight: 300;
}

.form-group textarea { min-height: 90px; }

.contact-form .btn-primary {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
}

.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer-fullwidth {
  width: 100%;
  background-color: var(--blue-deep);
}

.footer {
  padding: 4rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  flex: 0 0 auto;
}

.footer .logo-icon { height: 68px; }
.footer .logo-wording { height: 44px; }

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 4rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.footer-col {
  min-width: 180px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
}

.footer-col p {
  line-height: 1.8;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 1.75rem;
  text-align: center;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}


/* ============================================================
   Fade Up 动画
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式 — Tablet（≤ 1024px）
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 1.75rem; }

  .hero {
    padding: 4rem 0;
    gap: 3rem;
  }

  .hero-title { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
  .section-title { font-size: 2.1rem; }
  .about-content h2 { font-size: 2.1rem; }
  .contact-header h2 { font-size: 2.1rem; }

  .navbar { padding: 1.25rem 0; }
  .nav-links { gap: 2.2rem; font-size: 1.05rem; }

  .loader-stage { width: 640px; height: 640px; }
  .phoenix { width: 280px; }
  .loader-glow { width: 520px; height: 520px; }
  .loader-text { font-size: 1.8rem; }

  .trail.left-1  { --maxH: 400px; }
  .trail.left-2  { --maxH: 380px; }
  .trail.left-3  { --maxH: 356px; }
  .trail.left-4  { --maxH: 332px; }
  .trail.left-5  { --maxH: 306px; }
  .trail.left-6  { --maxH: 276px; }
  .trail.left-7  { --maxH: 246px; }
  .trail.left-8  { --maxH: 216px; }
  .trail.left-9  { --maxH: 188px; }
  .trail.left-10 { --maxH: 160px; }
  .trail.left-11 { --maxH: 138px; }
  .trail.left-12 { --maxH: 116px; }
  .trail.left-13 { --maxH: 96px;  }

  .trail.right-1  { --maxH: 400px; }
  .trail.right-2  { --maxH: 380px; }
  .trail.right-3  { --maxH: 356px; }
  .trail.right-4  { --maxH: 332px; }
  .trail.right-5  { --maxH: 306px; }
  .trail.right-6  { --maxH: 276px; }
  .trail.right-7  { --maxH: 246px; }
  .trail.right-8  { --maxH: 216px; }
  .trail.right-9  { --maxH: 188px; }
  .trail.right-10 { --maxH: 160px; }
  .trail.right-11 { --maxH: 138px; }
  .trail.right-12 { --maxH: 116px; }
  .trail.right-13 { --maxH: 96px;  }
}

/* ============================================================
   响应式 — Tablet 小 & 大手机（≤ 900px）
   ============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 1.5rem; }

  .hero { padding: 3.5rem 0; gap: 2.5rem; }

  .values-list { grid-template-columns: 1fr; }
  .value-item:nth-child(2n) {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    border-left: none;
  }
  .value-item {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(18, 54, 94, 0.18);
  }

  .about-section { gap: 3rem; padding: 4rem 0; }
  .section-title,
  .about-content h2,
  .contact-header h2 { font-size: 2rem; }

  .nav-links { gap: 2rem; font-size: 1rem; }

  .loader-stage { width: 560px; height: 560px; }
  .phoenix { width: 240px; }
  .loader-glow { width: 460px; height: 460px; }
  .loader-text { font-size: 1.6rem; letter-spacing: 0.5em; padding-left: 0.5em; }
  .trail { width: 4.5px; }

  .footer-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: flex-start;
    width: 100%;
  }

  .footer-main {
    gap: 2rem;
  }

  .footer-col {
    min-width: 0;
  }
}

/* ============================================================
   响应式 — 手机（≤ 640px）
   ============================================================ */
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }

  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
  }

  .navbar .logo-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
  }

  .logo-icon { height: 48px; }
  .logo-wording { height: 30px; }

  .nav-links {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
  }

  .hero { padding: 2.5rem 0; gap: 2rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; margin-bottom: 2rem; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 1.5rem; }

  .btn-group { flex-direction: column; width: 100%; }
  .btn { width: 100%; }

  .gold-bar-showcase { padding: 1.5rem; }
  .gold-bar-img { max-width: 100%; }

  .values-section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-title { font-size: 1.75rem; }
  .value-item { padding: 1.75rem 1.5rem; }
  .value-item:nth-child(2n) { padding-left: 1.5rem; padding-right: 1.5rem; }
  .value-title { font-size: 1.3rem; }

  .about-section { padding: 3.5rem 0; gap: 2.5rem; }
  .about-content h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
  .about-visual-img { min-height: 280px; }
  .about-stats { gap: 2rem; margin-top: 2rem; }
  .about-stat-number { font-size: 1.9rem; }

  .contact-section { padding: 3.5rem 0; }
  .contact-form {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-header h2 { font-size: 1.75rem; }
  .contact-form .btn-primary {
    width: 100%;
    justify-self: stretch;
    padding: 1rem 2rem;
  }

  .footer {
    padding: 3rem 0 2rem;
    text-align: center;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
    padding-bottom: 2rem;
  }

  .footer-logo {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
  }

  .footer .logo-icon { height: 56px; }
  .footer .logo-wording { height: 36px; }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .footer-heading { margin-bottom: 0.6rem; }

  .footer-col {
    min-width: 0;
    text-align: center;
  }

  .footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
  }

  /* ============================================
     Loading — 手机端：舞台大 + 线条长
     ============================================ */
  .loader-stage { width: 760px; height: 760px; }
  .phoenix { width: 300px; }
  .loader-glow { width: 680px; height: 680px; }
  .loader-text {
    font-size: 2rem;
    letter-spacing: 0.55em;
    padding-left: 0.55em;
    bottom: 14%;
  }

  /* ============================================
     手机端线条：细但非常长
     ============================================ */
  .trail {
    width: 1.8px;
    bottom: 42%;      /* ← 起点上移到凤凰身体附近 */
    box-shadow: 0 0 4px rgba(227, 207, 143, 0.25);
    filter: blur(0.2px);
    animation-name: trailGrowMobile;
  }

  /* 手机端只显示 7 条线，隐藏后面的 */
  .trail.left-8,
  .trail.left-9,
  .trail.left-10,
  .trail.left-11,
  .trail.left-12,
  .trail.left-13,
  .trail.right-8,
  .trail.right-9,
  .trail.right-10,
  .trail.right-11,
  .trail.right-12,
  .trail.right-13 {
    display: none;
  }

  /* 手机端 7 条线 — 起点靠近凤凰，长度大幅增加 */
  .trail.left-1  { left: 44%;   --maxH: 480px; --rot: -8deg; }
  .trail.left-2  { left: 41%;   --maxH: 435px; --rot: -14deg; }
  .trail.left-3  { left: 38%;   --maxH: 380px; --rot: -20deg; }
  .trail.left-4  { left: 35%;   --maxH: 320px; --rot: -27deg; }
  .trail.left-5  { left: 32%;   --maxH: 255px; --rot: -34deg; }
  .trail.left-6  { left: 29%;   --maxH: 190px; --rot: -42deg; }
  .trail.left-7  { left: 26%;   --maxH: 130px; --rot: -50deg; }

  .trail.right-1  { right: 44%;   --maxH: 480px; --rot: 8deg; }
  .trail.right-2  { right: 41%;   --maxH: 435px; --rot: 14deg; }
  .trail.right-3  { right: 38%;   --maxH: 380px; --rot: 20deg; }
  .trail.right-4  { right: 35%;   --maxH: 320px; --rot: 27deg; }
  .trail.right-5  { right: 32%;   --maxH: 255px; --rot: 34deg; }
  .trail.right-6  { right: 29%;   --maxH: 190px; --rot: 42deg; }
  .trail.right-7  { right: 26%;   --maxH: 130px; --rot: 50deg; }
}

/* ============================================================
   响应式 — 小手机（≤ 420px）
   ============================================================ */
@media (max-width: 420px) {
  .container { padding: 0 1rem; }

  .logo-icon { height: 38px; }
  .logo-wording { height: 24px; }

  .hero-title { font-size: 1.9rem; }
  .hero-desc { font-size: 0.95rem; }
  .section-title { font-size: 1.55rem; }
  .about-content h2 { font-size: 1.55rem; }
  .contact-header h2 { font-size: 1.55rem; }

  /* Loading — 小手机依旧大 */
  .loader-stage { width: 620px; height: 620px; }
  .phoenix { width: 250px; }
  .loader-glow { width: 560px; height: 560px; }
  .loader-text { font-size: 1.8rem; letter-spacing: 0.52em; padding-left: 0.52em; bottom: 16%; }

  /* 极小屏线条依旧保持细 + 长度略缩 */
  .trail {
    width: 1.5px;
    box-shadow: 0 0 3px rgba(227, 207, 143, 0.2);
    filter: blur(0.15px);
  }

  .trail.left-1  { --maxH: 400px; }
  .trail.left-2  { --maxH: 360px; }
  .trail.left-3  { --maxH: 315px; }
  .trail.left-4  { --maxH: 265px; }
  .trail.left-5  { --maxH: 210px; }
  .trail.left-6  { --maxH: 158px; }
  .trail.left-7  { --maxH: 108px; }

  .trail.right-1  { --maxH: 400px; }
  .trail.right-2  { --maxH: 360px; }
  .trail.right-3  { --maxH: 315px; }
  .trail.right-4  { --maxH: 265px; }
  .trail.right-5  { --maxH: 210px; }
  .trail.right-6  { --maxH: 158px; }
  .trail.right-7  { --maxH: 108px; }
}

/* ============================================================
   响应式 — 大桌面（≥ 1440px）
   ============================================================ */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero { padding: 6rem 0; }
  .values-section { padding: 6rem 0; }
  .about-section { padding: 6rem 0; }
  .contact-section { padding: 6rem 0; }
}

/* ============================================================
   大屏禁用 hover 元素抖动 / 动画优化
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--blue-tint); }
::-webkit-scrollbar-thumb { background: var(--blue-soft); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-primary); }

::selection { background: var(--blue-pale); color: var(--blue-deep); }