/* ============================================
   翡翠原石營銷落地頁 - 奢華暗金風格
   Design: Art Deco Dark Luxury with Gold Accents
   ============================================ */

/* === CSS Variables === */
:root {
  --bg: #0d1a14;
  --bg-card: #112019;
  --bg-secondary: #152a1f;
  --fg: #e8dcc8;
  --fg-muted: #8a9a8e;
  --gold: #c9a84c;
  --gold-light: #e0c872;
  --gold-dark: #9a7d2e;
  --jade: #1fa463;
  --jade-light: #2cc97a;
  --jade-dark: #0f6b3a;
  --font-serif: "Noto Serif SC", "Playfair Display", serif;
  --font-sans: "Noto Sans SC", sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

strong {
  font-weight: 600;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--jade-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--jade); }

/* === Utility Classes === */
.text-white { color: #ffffff; }
.text-gold { color: var(--gold); }
.text-gold-90 { color: rgba(201, 168, 76, 0.9); }
.text-center { text-align: center; }
.text-muted { color: var(--fg-muted); }
.text-xs { font-size: 0.75rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.mt-6 { margin-top: 1.5rem; }

/* === Gold Shimmer Animation === */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 25%, var(--gold) 50%, var(--gold-light) 75%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

/* === Pulse Glow === */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(31, 164, 99, 0.3), 0 0 20px rgba(31, 164, 99, 0.1); }
  50% { box-shadow: 0 0 20px rgba(31, 164, 99, 0.5), 0 0 40px rgba(31, 164, 99, 0.2); }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* === Scroll Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* === Art Deco Corner === */
.art-deco-corner {
  position: relative;
  display: inline-block;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .art-deco-corner { padding: 2rem; }
}

.art-deco-corner::before,
.art-deco-corner::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold);
}

.art-deco-corner::before {
  top: 0; left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.art-deco-corner::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* === Gold Divider === */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin-top: 0.75rem;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: 3rem;
}

.gold-divider::before {
  background: linear-gradient(to right, transparent, var(--gold));
}

.gold-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.gold-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.divider-line {
  height: 1px;
  flex: 1;
  max-width: 5rem;
}

.divider-line.left { background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.5)); }
.divider-line.right { background: linear-gradient(to left, transparent, rgba(201, 168, 76, 0.5)); }

.divider-diamonds {
  display: flex;
  gap: 0.375rem;
}

.diamond {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
}

.diamond.small {
  background: rgba(201, 168, 76, 0.6);
}

/* === SVG Icons === */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-xs { width: 1rem; height: 1rem; flex-shrink: 0; }

@media (min-width: 640px) {
  .icon { width: 1.5rem; height: 1.5rem; }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  top: -5rem;
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5), var(--bg));
}

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-30px); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.hero-subtitle {
  color: rgba(201, 168, 76, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 0.875rem; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tag {
  padding: 0.375rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: rgba(201, 168, 76, 0.9);
  border-radius: 2px;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
}

@media (min-width: 640px) { .tag { font-size: 0.875rem; } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-mouse {
  width: 1.25rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.25rem;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(201, 168, 76, 0.6);
  animation: scrollDot 2s infinite;
}

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

/* ===========================
   CTA Components
   =========================== */
.cta-primary {
  text-align: center;
  padding: 2rem 0;
}

.cta-title {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) { .cta-title { font-size: 1.25rem; } }

.cta-subtitle {
  color: rgba(201, 168, 76, 0.6);
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(to right, #075e54, #128c7e, #075e54);
  border-radius: 2px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.5s;
}

.btn-whatsapp:hover {
  background: linear-gradient(to right, #128c7e, #25d366, #128c7e);
}

@media (min-width: 640px) { .btn-whatsapp { font-size: 1.125rem; } }

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(to right, #00b900, #00c300, #00b900);
  border-radius: 2px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.5s;
}

.btn-line:hover {
  background: linear-gradient(to right, #00c300, #00e000, #00c300);
}

@media (min-width: 640px) { .btn-line { font-size: 1.125rem; } }

.cta-hint {
  color: rgba(201, 168, 76, 0.5);
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* Secondary CTA */
.cta-secondary {
  text-align: center;
  padding: 1.5rem 0;
}

.cta-secondary-text {
  color: rgba(201, 168, 76, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.cta-secondary-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cta-secondary-buttons { flex-direction: row; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 4px;
  color: var(--gold);
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
}

/* ===========================
   SECTIONS (General)
   =========================== */
.section {
  position: relative;
  padding: 4rem 1rem;
}

@media (min-width: 640px) { .section { padding: 5rem 1rem; } }

.section-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-secondary), var(--bg));
  pointer-events: none;
}

.section-inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) { .section-title { font-size: 1.875rem; } }

.section-subtitle {
  font-size: 0.875rem;
  color: rgba(201, 168, 76, 0.7);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 640px) { .section-subtitle { font-size: 1rem; } }

/* ===========================
   PAIN POINTS
   =========================== */
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(17, 32, 25, 0.5);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}

.pain-item:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.pain-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pain-title {
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pain-desc {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===========================
   STORY SECTION
   =========================== */
.story-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.story-image img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

@media (min-width: 640px) { .story-image img { height: 18rem; } }

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent, transparent);
}

.story-image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(232, 220, 200, 0.8);
}

@media (min-width: 640px) { .story-text { font-size: 1rem; } }

/* ===========================
   PRODUCT GALLERY
   =========================== */
.product-grid {
  display: grid;
  gap: 0.75rem;
}

.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.product-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: border-color 0.5s;
  cursor: pointer;
}

.product-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.product-item:hover .product-img-wrap img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-overlay p {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.product-item:hover .product-overlay p {
  transform: translateY(0);
}

/* ===========================
   IDENTIFY JADE
   =========================== */
.identify-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.identify-card {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(17, 32, 25, 0.3);
}

.identify-card-body {
  padding: 1.25rem;
}

.identify-num-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.identify-num {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.875rem;
}

.identify-card-title {
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 600;
  font-size: 1.125rem;
}

.identify-card-desc {
  color: rgba(232, 220, 200, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.identify-card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201, 168, 76, 0.05);
}

.identify-card-images img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

/* ===========================
   ADVANTAGES
   =========================== */
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 2px;
  background: rgba(17, 32, 25, 0.3);
  transition: border-color 0.3s;
}

.advantage-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

@media (min-width: 640px) {
  .advantage-card { flex-direction: row; }
}

.advantage-img {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .advantage-img { width: 10rem; }
}

.advantage-img img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .advantage-img img { height: 100%; }
}

.advantage-content {
  flex: 1;
}

.advantage-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.advantage-num {
  color: var(--gold);
  font-size: 1.25rem;
}

.advantage-title-row h3 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}

.advantage-content p {
  color: rgba(232, 220, 200, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===========================
   FINAL CTA
   =========================== */
.limited-offer-label {
  color: rgba(201, 168, 76, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.offer-value {
  font-size: 1.125rem;
  color: white;
  font-weight: 600;
  margin-top: 0.75rem;
}

@media (min-width: 640px) { .offer-value { font-size: 1.25rem; } }

.offer-detail {
  color: rgba(201, 168, 76, 0.8);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.final-text {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(232, 220, 200, 0.6);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  text-align: center;
}

.footer-text {
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin-top: 1rem;
}

.footer-contact {
  color: rgba(138, 154, 142, 0.5);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ===========================
   FLOATING BOTTOM BAR
   =========================== */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(17, 32, 25, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.floating-bar.visible {
  transform: translateY(0);
}

.floating-bar-inner {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.floating-bar-text {
  flex: 1;
  min-width: 0;
}

.floating-bar-title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-bar-subtitle {
  color: var(--fg-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-bar-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-float-wa {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  background: #128c7e;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.3s;
}

.btn-float-wa:hover { background: #25d366; }

.btn-float-line {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  background: #00b900;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.3s;
}

.btn-float-line:hover { background: #00e000; }
