html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Microsoft JhengHei', sans-serif;
  background-color: #0e0e1a;
  color: #ffffff;
  text-shadow: 1px 1px 3px #000000;
}

header {
  background: #121223;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 24px;
  color: #00ffff;
}

nav a {
  margin-left: -20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px #000000;
  text-decoration: none;
  font-size: 16px;
  padding-right: 60px;
}

nav a:hover {
  color: #00ffff;
}

.parallax {
  background-image: url('https://i.imgur.com/wssFYb0.png'); /* 已替換為你提供的新圖 */
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 40px 100px;
}

.parallax h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #00ffff;
}

.parallax p {
  font-size: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px #000000;
  max-width: 600px;
  margin: 0 auto;
}

.button {
  margin-top: 40px;
  background-color: #00ffff;
  color: #000000;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.button:hover {
  background-color: #00cccc;
}

section {
  padding: 100px 40px;
  border-top: 1px solid #222;
}

section h3 {
  color: #00ffff;
  font-size: 28px;
  margin-bottom: 20px;
}

section p {
  font-size: 18px;
  line-height: 1.8;
  color: #cccccc;
}

.cta-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #00aaff, #0066ff);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 32px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
  box-shadow:
    0 0 12px rgba(0, 153, 255, 0.6),
    0 0 24px rgba(0, 153, 255, 0.4),
    0 0 36px rgba(0, 153, 255, 0.2);
  animation: blueBreath 3s ease-in-out infinite;
  backdrop-filter: blur(2px);
}

.cta-float:hover {
  transform: scale(1.12);
  background: linear-gradient(135deg, #3399ff, #0055cc);
  box-shadow:
    0 0 20px rgba(0, 140, 255, 0.7),
    0 0 40px rgba(0, 140, 255, 0.5),
    0 0 60px rgba(0, 140, 255, 0.3);
}

@keyframes blueBreath {
  0% {
    box-shadow:
      0 0 10px rgba(0, 153, 255, 0.3),
      0 0 20px rgba(0, 153, 255, 0.2),
      0 0 30px rgba(0, 153, 255, 0.1);
  }
  50% {
    box-shadow:
      0 0 20px rgba(0, 153, 255, 0.6),
      0 0 40px rgba(0, 153, 255, 0.4),
      0 0 60px rgba(0, 153, 255, 0.2);
  }
  100% {
    box-shadow:
      0 0 10px rgba(0, 153, 255, 0.3),
      0 0 20px rgba(0, 153, 255, 0.2),
      0 0 30px rgba(0, 153, 255, 0.1);
  }
}

.focus-section {
  position: relative;
  height: 100vh;
  background: #000;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  z-index: 1;
}

.stars {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(#fff 1px, transparent 1px);
  background-size: 4px 4px;
  animation: moveStars 60s linear infinite;
  z-index: 0;
  opacity: 0.15;
}

@keyframes moveStars {
  from {transform: translate(0, 0);}
  to {transform: translate(-50%, -50%);}
}

/* 文字進場動畫 */
.focus-section h2,
.focus-section p,
.focus-button {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease;
  z-index: 2;
  position: relative;
}

.focus-visible h2,
.focus-visible p,
.focus-visible .focus-button {
  opacity: 1;
  transform: translateY(0);
}

/* 發光標題 */
.glow {
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 20px #0ff, 0 0 40px #0ff;
}

/* CTA 按鈕動畫＋脈動效果 */
.focus-button {
  margin-top: 2rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.4rem;
  background-color: #ffcc00;
  border: none;
  border-radius: 12px;
  color: #000;
  cursor: pointer;
  transform: scale(0.8);
  box-shadow: 0 0 0 rgba(255, 204, 0, 0.7);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.focus-visible .focus-button {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.7), 0 0 40px rgba(255, 204, 0, 0.5);
}

.pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5); }
  70% { box-shadow: 0 0 0 25px rgba(255, 204, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* 顯示後 */
.animate-on-scroll.show {
  opacity: 1;
  transform: none;
}

/* 各種動畫效果 */
.fade-up {
  transform: translateY(40px);
}
.fade-up.show {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-40px);
}
.fade-left.show {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(40px);
}
.fade-right.show {
  transform: translateX(0);
}

.zoom-in {
  transform: scale(0.85);
}
.zoom-in.show {
  transform: scale(1);
}

/* 進場延遲效果 */
.delay-1 {
  transition-delay: 0.3s;
}
.delay-2 {
  transition-delay: 0.6s;
}
.delay-3 {
  transition-delay: 0.9s;
}

#life {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#life::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/RLEhlyP.jpeg'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--life-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#life p {
  color: #FFFAF0;
}

#life::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#life > * {
  position: relative;
  z-index: 2;
}

#plan {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#plan::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/1NSRKxj.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--plan-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#plan p {
  color: #FFFAF0;
}

#plan::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#plan > * {
  position: relative;
  z-index: 2;
}

#fund {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#fund::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/HFBYwPZ.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--fund-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#fund p {
  color: #FFFAF0;
}

#fund::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#fund > * {
  position: relative;
  z-index: 2;
}

#center {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#center::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/49GP10y.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--center-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#center p {
  color: #FFFAF0;
}

#center::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#center > * {
  position: relative;
  z-index: 2;
}

#levels {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#levels::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/91TkFDA.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--levels-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#levels p {
  color: #FFFAF0;
}

#levels::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#levels > * {
  position: relative;
  z-index: 2;
}

#foundation {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#foundation::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/qeBrAs5.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--foundation-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#foundation p {
  color: #FFFAF0;
}

#foundation::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#foundation > * {
  position: relative;
  z-index: 2;
}

#future {
  position: relative;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

#future::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://i.imgur.com/Oq4YUI7.png'); /* 換成你的圖 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: var(--future-opacity, 1);
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

#future p {
  color: #FFFAF0;
}

#future::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* 黑色遮罩 */
  z-index: 1;
  pointer-events: none;
}

#future > * {
  position: relative;
  z-index: 2;
}

#future-focus {
  position: relative;
  background: url('https://images.unsplash.com/photo-1496096265110-f83ad7f96608?auto=format&fit=crop&w=1950&q=80') center / cover no-repeat fixed;
  padding: 120px 20px;
  color: white;
  overflow: hidden;
}

#future-focus .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.focus-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.glow {
  font-size: 2rem;
  text-shadow: 0 0 10px #fff, 0 0 20px #00f0ff;
}

#future-focus p {
  color: #FFFAF0;
}

/* 按鈕樣式 */
.focus-button {
  margin-top: 30px;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  background: #00c9ff;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.focus-button:hover {
  transform: scale(1.05);
}

/* 動畫效果 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

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

.highlight-text {
  font-size: 24px;      /* 字體變大 */
  font-weight: bold;    /* 或用 700、800 更粗 */
  line-height: 1.6;     /* 可選：讓行距舒服些 */
}

.container {
  width: 90%;       /* 用百分比，而不是 1200px 這種寫死的寬度 */
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 36px;
}

/* 手機樣式 */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
    padding: 0 16px;
  }

  .container {
    padding: 10px;
  }

  .button {
    font-size: 18px;
  }
}