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

body {
  background-color: #14171c;
  color: #ffffff;
  font-family: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  line-height: 1.6;
}

.container {
  max-width: 600px;
  width: 100%;
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  font-size: 12px;
  color: #e86129;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

h1 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 14px;
  color: #737373;
  font-weight: 300;
}

/* 音波動畫 */
.soundwave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin: 32px 0;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.soundwave .bar {
  width: 3px;
  background: linear-gradient(180deg, #e86129 0%, #e8612980 100%);
  border-radius: 2px;
  animation: pulse 4.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    height: 4px;
  }
  50% {
    height: var(--max-height, 20px);
  }
}

/* App Store Badge */
.app-store-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.app-store-badge a {
  display: block;
  transition: opacity 0.2s;
}

.app-store-badge a:hover {
  opacity: 0.8;
}

.app-store-badge img {
  height: 44px;
  width: auto;
}

/* Phone Mockup */
.phone-showcase {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  max-width: 70%;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25))
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.2));
}

.phone-mockup:hover {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 540px) {
  .phone-mockup {
    width: 220px;
  }
}

.description {
  font-size: 14px;
  font-weight: 300;
  color: #a0a0a0;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.8;
}

.features {
  margin-bottom: 24px;
}

.features-title {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background-color: #1a1d22;
  border-radius: 12px;
  padding: 20px;
}

.feature-name {
  font-size: 14px;
  color: #e86129;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12px;
  color: #737373;
  font-weight: 300;
  line-height: 1.5;
}

/* Stats 區塊 */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  margin-bottom: 48px;
  font-size: 13px;
  color: #737373;
  text-decoration: none;
  transition: opacity 0.2s;
}

.stats:hover {
  opacity: 0.8;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-number {
  font-size: 24px;
  font-weight: 500;
  color: #e86129;
}

.stat-label {
  color: #5a5a5a;
  font-weight: 300;
}

.stat-divider {
  color: #3a3a3a;
}

/* Design Section */
.design-section {
  margin-bottom: 48px;
  text-align: center;
}

.design-title {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 32px;
  text-align: center;
}

.wheel-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.wheel {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.wheel:hover {
  transform: scale(1.05);
}

/* 大底盤 */
.wheel-base {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    #3a3d44 25%,
    #2e3138 70%,
    #42464d 100%
  );
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 凹槽環 */
.wheel-groove {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 68%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, #262830 30%, #2e3138 100%);
}

/* 發光環 */
.wheel-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(192, 224, 255, 0.5);
  box-shadow:
    0 0 12px rgba(192, 224, 255, 0.4),
    inset 0 0 8px rgba(192, 224, 255, 0.1);
  transition: all 0.3s ease;
}

.wheel:hover .wheel-glow {
  border-color: rgba(192, 224, 255, 0.8);
  box-shadow:
    0 0 20px rgba(192, 224, 255, 0.6),
    0 0 40px rgba(192, 224, 255, 0.3),
    inset 0 0 12px rgba(192, 224, 255, 0.2);
}

/* 內圓 */
.wheel-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52%;
  height: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(to bottom, #4f545c 0%, #42464d 100%);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 0.5px solid #555a62;
  transition: all 0.2s ease;
}

.wheel:hover .wheel-inner {
  background: linear-gradient(to bottom, #575c64 0%, #4a4e56 100%);
}

/* 紅點 */
.wheel-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -24px;
  border-radius: 50%;
  background: #e05c28;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.design-text {
  font-size: 14px;
  font-weight: 300;
  color: #a0a0a0;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.design-text p {
  margin-bottom: 16px;
}

.design-text p:last-child {
  margin-bottom: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #2a2d32;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

.links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: #1a1d22;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: background-color 0.2s;
}

.links a:hover {
  background-color: #22262c;
}

.links a::after {
  content: "→";
  color: #737373;
  font-size: 14px;
}

.footer {
  text-align: center;
  font-size: 11px;
  color: #4a4a4a;
}

/* 語言選擇器 */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
}

.lang-toggle {
  background: #1a1d22;
  border: 1px solid #2a2d32;
  color: #737373;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle:hover {
  border-color: #e86129;
  color: #e86129;
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1d22;
  border: 1px solid #2a2d32;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  min-width: 120px;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #a0a0a0;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

.lang-dropdown button:hover {
  background: #22262c;
  color: #ffffff;
}

.lang-dropdown button.active {
  color: #e86129;
}

.lang-dropdown button.active::after {
  content: "✓";
  font-size: 11px;
}

.lang-dropdown button:not(:last-child) {
  border-bottom: 1px solid #2a2d32;
}

.subtle-link {
  color: inherit;
  text-decoration: none;
}

.subtle-link:hover {
  text-decoration: underline;
}
