:root {
  --color-bg-base: #F3EFEC;        /* 精品柔和米灰底色 */
  --color-text-title: #0f1c36;      
  --color-text-body: #64748b;        
  --color-navy-dark: #0f1c36;        
  --color-gold-pill: #f7d5a4;        
  --color-gold-pill-hover: #f1c78e;
  --color-gold-text: #c5a880;        

  --font-serif: 'Noto Serif TC', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.serif-font {
  font-family: var(--font-serif);
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-extrabold {
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

.text-dark-custom {
  color: #0f1c36 !important;
}

.text-muted-custom {
  color: #64748b !important;
}

/* ================= 1. HERO 首屏專屬視覺系統 ================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #204375 0%, #162f56 55%, #0f1c36 100%) !important;
  padding-top: calc(84px + 0.8rem);
  padding-bottom: 2.5rem;
  overflow: hidden;
  box-sizing: border-box;
}
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.15) contrast(110%) saturate(105%) drop-shadow(0 0 45px rgba(247, 213, 164, 0.35));
  -webkit-filter: brightness(1.15) contrast(110%) saturate(105%) drop-shadow(0 0 45px rgba(247, 213, 164, 0.35));
  opacity: 0.9;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 40%, rgba(247, 213, 164, 0.08) 0%, rgba(22, 47, 86, 0.32) 50%, rgba(15, 28, 54, 0.75) 100%),
    linear-gradient(180deg, rgba(20, 42, 77, 0.4) 0%, rgba(22, 47, 86, 0.1) 35%, rgba(12, 23, 44, 0.85) 100%);
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-content-box {
  position: relative;
  z-index: 10;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero-main-title {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.hero-main-title .text-white {
  color: #ffffff !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fae2c2 0%, #f7d5a4 50%, #c5a880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(247, 213, 164, 0.35);
}

.hero-sub-description {
  color: #e5e7eb !important;
  font-size: clamp(0.85rem, 1.25vw, 1.05rem);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  text-wrap: balance;
}

.hero-tree-box {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px auto 8px auto;
  overflow: visible;
}
.hero-tree-canvas {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(247, 213, 164, 0.5)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
  opacity: 0.98;
  pointer-events: none;
}

/* ================= 左右兩側環繞浮動 Tab 系統 ================= */
.hero-orbital-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
}

.orbital-tag {
  position: absolute;
  pointer-events: auto;
  animation: floatOrbital 5s ease-in-out infinite alternate;
}

.orbital-tag .tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: rgba(22, 47, 86, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(247, 213, 164, 0.38);
  border-radius: 50px;
  color: #f7d5a4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.tag-pos-1 { top: 48%; left: 8%; animation-delay: 0s; }
.tag-pos-2 { top: 28%; left: 15%; animation-delay: 1.2s; }
.tag-pos-3 { top: 68%; left: 20%; animation-delay: 2.4s; }
.tag-pos-4 { top: 28%; right: 15%; animation-delay: 0.8s; }
.tag-pos-5 { top: 48%; right: 8%; animation-delay: 1.8s; }

@keyframes floatOrbital {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

/* ================= 底部按鈕錨定在樹根位置 ================= */
.hero-cta-group {
  position: absolute;
  bottom: 0; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  gap: 16px;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 460px;
}

.btn-primary-luxury,
.btn-secondary-luxury {
  white-space: nowrap !important;
  flex: 1;
  max-width: 210px;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .hero-cta-group {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 1rem;
    margin-top: 2rem;
  }
  .btn-primary-luxury,
  .btn-secondary-luxury {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   💎 頂級高奢互動按鈕系統
   ========================================================================== */
.btn-primary-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0f1c36 !important;
  background: linear-gradient(135deg, #fae2c2 0%, #f7d5a4 50%, #c5a880 100%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(247, 213, 164, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 12;
}

.btn-primary-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: 0.6s ease;
}

.btn-primary-luxury:hover::before {
  left: 100%;
}

.btn-primary-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(247, 213, 164, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #fff1e0 0%, #f9deba 50%, #d4b58b 100%);
}

.btn-primary-luxury:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary-luxury .btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-luxury:hover .btn-icon-wrap {
  transform: translateX(5px);
}

.btn-secondary-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f7d5a4 !important;
  background: rgba(12, 24, 48, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(247, 213, 164, 0.38);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 12;
}

.btn-secondary-luxury:hover {
  background: rgba(23, 52, 95, 0.88);
  color: #ffffff !important;
  border-color: rgba(247, 213, 164, 0.75);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(247, 213, 164, 0.25), inset 0 0 15px rgba(247, 213, 164, 0.1);
}

.btn-secondary-luxury:active {
  transform: translateY(-1px) scale(0.99);
}

/* ================= 3. 痛點與解法區域 ================= */
.section-contrast {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.contrast-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--color-text-title);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.luxury-editorial-box {
  background: rgba(15, 28, 54, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 28, 54, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-editorial-box:hover {
  border-color: rgba(197, 168, 128, 0.6);
  box-shadow: 0 24px 60px rgba(15, 28, 54, 0.25);
  transform: translateY(-4px);
}

.solution-luxury-box {
  background: linear-gradient(135deg, rgba(20, 38, 70, 0.96) 0%, rgba(12, 23, 44, 0.98) 100%);
  border-color: rgba(197, 168, 128, 0.45);
  box-shadow: 0 20px 50px rgba(15, 28, 54, 0.2), inset 0 0 30px rgba(247, 213, 164, 0.05);
}

.solution-luxury-box:hover {
  border-color: rgba(197, 168, 128, 0.8);
  box-shadow: 0 24px 60px rgba(15, 28, 54, 0.3), inset 0 1px 2px rgba(247, 213, 164, 0.2);
}

.box-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
}

.gold-tag {
  color: #f7d5a4;
}

.box-title {
  font-size: 1.4rem;
}

.luxury-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: auto;
}

.luxury-feature-card {
  background: rgba(10, 18, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.luxury-feature-card:hover {
  background: rgba(22, 38, 64, 0.8);
  border-color: rgba(247, 213, 164, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.35s ease;
}

.luxury-feature-card:hover .feature-icon-wrap {
  transform: scale(1.12) translateY(-2px);
}

.cross-glow {
  background: rgba(203, 213, 225, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(203, 213, 225, 0.2);
}

.gold-glow {
  background: rgba(247, 213, 164, 0.12);
  color: #f7d5a4;
  border: 1px solid rgba(247, 213, 164, 0.35);
}

.feature-content strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.feature-content p {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .luxury-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* ================= 升級版高奢 VS 標誌與 RWD 排版優化 ================= */
.vs-badge-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: auto;
  pointer-events: none;
}

.luxury-vs-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #162f56 0%, #0f1c36 100%);
  color: #f7d5a4;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(247, 213, 164, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(247, 213, 164, 0.2);
  position: relative;
}

.vs-glow-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(247, 213, 164, 0.35);
  animation: rotateVsRing 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateVsRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
  .vs-badge-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 2rem auto !important;
    width: 100% !important;
  }
  
  .luxury-vs-badge {
    width: 52px;
    height: 52px;
    font-size: 0.95rem;
    margin: 0 auto !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(247, 213, 164, 0.15);
  }
}

/* ================= 4. 新一代成長體系 ================= */
.section-framework {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.framework-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--color-text-title);
}

.framework-desc {
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.img-pillar-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 32px 24px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(197, 168, 128, 0.3);
  box-shadow: 0 12px 35px rgba(15, 28, 54, 0.15);
  cursor: pointer;
  background-color: #0f1c36;
}

.pillar-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.pillar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 28, 54, 0.45) 0%, 
    rgba(15, 28, 54, 0.82) 65%, 
    rgba(10, 18, 32, 0.95) 100%
  );
  backdrop-filter: brightness(0.9) contrast(105%);
  -webkit-backdrop-filter: brightness(0.9) contrast(105%);
  z-index: 2;
  transition: background 0.4s ease;
}

.pillar-card-content {
  position: relative;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-pillar-card:hover .pillar-card-bg {
  transform: scale(1.08);
}

.img-pillar-card:hover .pillar-card-content {
  transform: translateY(-8px);
}

.img-pillar-card:hover {
  border-color: rgba(247, 213, 164, 0.7);
  box-shadow: 0 22px 50px rgba(15, 28, 54, 0.4), inset 0 1px 2px rgba(247, 213, 164, 0.2);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(247, 213, 164, 0.12);
  color: #f7d5a4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(247, 213, 164, 0.3);
  transition: all 0.35s ease;
}

.img-pillar-card:hover .pillar-icon-box {
  background: linear-gradient(135deg, #fae2c2 0%, #f7d5a4 50%, #c5a880 100%);
  color: #0f1c36;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(247, 213, 164, 0.35);
}

.img-pillar-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.img-pillar-card:hover .card-title {
  color: #f7d5a4 !important;
}

.img-pillar-card .card-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1199.98px) {
  .framework-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= 5 & 6. 核心理念與轉化雙欄區塊美學 ================= */
.section-philosophy-cta {
  position: relative;
  background-image: 
    linear-gradient(
      90deg, 
      rgba(15, 28, 54, 0.88) 0%, 
      rgba(15, 28, 54, 0.78) 45%, 
      rgba(15, 28, 54, 0.5) 65%, 
      rgba(15, 28, 54, 0.1) 100%
    ), 
    url('../assets/growing.jpg');
  background-size: cover;
  background-position: right bottom; 
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 8rem 0;
  color: #ffffff;
  box-shadow: inset 0 0 80px rgba(15, 28, 54, 0.1);
}

@media (min-width: 1400px) {
  .section-philosophy-cta {
    background-position: 100% bottom;
  }
}

@media (max-width: 991.98px) {
  .section-philosophy-cta {
    background-image: 
      linear-gradient(
        180deg, 
        rgba(15, 28, 54, 0.95) 0%, 
        rgba(15, 28, 54, 0.90) 100%
      ), 
      url('../assets/growing.jpg');
    background-position: center bottom;
    padding: 5rem 1rem;
  }
}

.quote-ambient-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247, 213, 164, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.manifesto-quote {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.85;
  color: #ffffff;
  border-left: 3px solid #f7d5a4;
  padding-left: 20px;
  margin-bottom: 2rem !important;
}

.manifesto-highlight {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  background: linear-gradient(135deg, #fae2c2 0%, #f7d5a4 50%, #c5a880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.cta-banner-card-refined {
  background: rgba(15, 28, 54, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(197, 168, 128, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}

.cta-bg-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 90% 50%, rgba(247, 213, 164, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: 1.15rem;
  letter-spacing: -0.2px;
}

.cta-banner-desc {
  font-size: 0.8rem;
  color: #94a3b8 !important;
  line-height: 1.5;
}

.btn-banner-champagne {
  position: relative;
  background: linear-gradient(135deg, #fae2c2 0%, #f7d5a4 50%, #c5a880 100%);
  color: #0f1c36 !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(247, 213, 164, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-banner-champagne:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(247, 213, 164, 0.55);
  background: linear-gradient(135deg, #fff1e0 0%, #f9deba 50%, #d4b58b 100%);
}

/* ================= 回到頂端按鈕 ================= */
.btn-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 1030;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(15, 28, 54, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.4);
  color: #c5a880;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(15, 28, 54, 0.18);
}

.btn-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-back-to-top:hover {
  background: #0f1c36;
  border-color: #f7d5a4;
  box-shadow: 0 12px 30px rgba(197, 168, 128, 0.28);
  transform: translateY(-4px) scale(1.04);
}

.btn-back-to-top .top-arrow-icon {
  width: 16px;
  height: 16px;
  stroke: #c5a880;
}

.btn-back-to-top .top-label {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.6rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: #f7d5a4;
}

@media (max-width: 767.98px) {
  .btn-back-to-top {
    right: 16px;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ================= Contact Hero Banner & Glass Button ================= */
.contac_banner {
  position: relative;
  overflow: hidden;
}

.contac_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px), 
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: organicGridDrift 20s ease-in-out infinite alternate;
}

@keyframes organicGridDrift {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-10px) scale(1.01); }
}

.contac_banner h1.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.contac_banner h2.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}

.btn-glass-luxury {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(247, 213, 164, 0.45) !important;
  color: #f7d5a4 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-glass-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 213, 164, 0.2), transparent);
  transition: 0.6s ease;
}

.btn-glass-luxury:hover::before {
  left: 100%;
}

.btn-glass-luxury:hover {
  background: rgba(114, 91, 56, 0.35) !important;
  border-color: rgba(247, 213, 164, 0.8) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(114, 91, 56, 0.4);
}

.btn-glass-luxury:hover i {
  animation: naturalBounce 1s ease infinite;
}

@keyframes naturalBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.form-box {
  padding-bottom: 60px;
}

/* ================= 🌿 科技感雙欄聯絡表單 (色彩優化：明亮、不沉重、與 Banner 自然山景相呼應) ================= */
.contact-main-wrapper {
  margin-top: 0;
  /* 採用富有生機的高雅深綠藍漸層，完美呼應上方山景 Banner 的自然基調 */
  background: linear-gradient(135deg, #182836 0%, #0e1721 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  border-radius: 24px;
  overflow: hidden;
  z-index: 10;
  position: relative;
  border: 1px solid rgba(197, 168, 128, 0.35);
}

/* --- Sidebar 側邊欄設計 --- */
.info-sidebar {
  padding: 40px 25px;
  background: rgba(24, 40, 54, 0.55); /* 提高明度，帶有呼吸感與綠藍調 */
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 100%;
  border-right: 1px solid rgba(197, 168, 128, 0.15);
}

.sidebar-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  padding: 35px 25px 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-item.active {
  background: rgba(197, 168, 128, 0.12);
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 0 20px rgba(247, 213, 164, 0.15);
}

.sidebar-item:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 168, 128, 0.4);
}

.sidebar-icon {
  position: absolute;
  top: -15px;
  left: 25px;
  background: linear-gradient(135deg, #c5a880, #725b38);
  width: 46px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  z-index: 2;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(114, 91, 56, 0.3);
}

.sidebar-content h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-content p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
}

.sidebar-item.active .sidebar-content p {
  color: #cbd5e1;
}

.sidebar-item-link {
  text-decoration: none !important;
  display: block;
  color: inherit;
}

/* --- 表單區設計 --- */
.form-container-modern {
  padding: 60px;
  background: transparent;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.form-main-title {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -1px;
}

.form-sub-desc {
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* --- 輸入框優化 (提高明度與通透感) --- */
.modern-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 40, 54, 0.65);
  padding: 14px 20px;
  font-size: 0.95rem;
  color: #fff;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(10px);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.modern-input:focus {
  outline: none;
  border-color: #f7d5a4;
  background: rgba(197, 168, 128, 0.1);
  box-shadow:
    0 0 15px rgba(247, 213, 164, 0.2),
    inset 0 0 10px rgba(247, 213, 164, 0.08);
}

/* --- 驗證碼區域與修復重整 Icon --- */
.modern-captcha-wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}

.captcha-img-area {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(24, 40, 54, 0.65);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.captcha-img-area img {
  border-radius: 4px;
}

/* 修復重整按鈕與 Icon 顯示 */
.captcha-img-area .btn.Regenerate,
.captcha-img-area button {
  background: transparent !important;
  border: none !important;
  color: #f7d5a4 !important;
  font-size: 1.25rem !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.captcha-img-area .btn.Regenerate:hover,
.captcha-img-area button:hover {
  color: #ffffff !important;
  transform: rotate(180deg);
}

/* --- 送出按鈕 --- */
.modern-submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #c5a880, #f7d5a4);
  color: #0f1c36;
  border: none;
  padding: 18px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.3);
}

.modern-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.modern-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 213, 164, 0.5);
  color: #0f1c36;
}

.modern-submit-btn:hover::before {
  left: 100%;
}

/* 自動填入樣式優化 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #182836 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

textarea.modern-input {
  resize: none;
}

@media (max-width: 991px) {
  .form-container-modern {
    padding: 30px;
  }
}