/* ============================================
   DESIGN SYSTEM — Bangkok Silver Landing Page
   ============================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* --- CSS Variables --- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #A8883A;
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-tertiary: #1A1A1A;
  --bg-card: rgba(255,255,255,0.04);
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #777777;
  --border-subtle: rgba(201,168,76,0.15);
  --border-gold: rgba(201,168,76,0.4);
  --glow-gold: rgba(201,168,76,0.25);
  --gradient-gold: linear-gradient(135deg, #C9A84C 0%, #E8D48B 50%, #C9A84C 100%);
  --gradient-cta: linear-gradient(135deg, #C9A84C 0%, #D4B65E 50%, #E8D48B 100%);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-width: 800px;
  --section-padding: 80px 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--text-primary); line-height: 1.2; font-weight: 800; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* --- Decorative Divider --- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 40px auto;
  border-radius: 2px;
}

/* --- Animated Elements --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.pre-headline {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-headline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* --- Floating Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 32px;
  animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================
   CTA BUTTON
   ============================================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: #0A0A0A;
  font-weight: 800;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transition: transform 0.6s;
  transform: translateX(-100%);
}

.cta-btn:hover::before { transform: translateX(100%); }
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.cta-sub {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-sub span { margin: 0 6px; }

/* ============================================
   POLARIZATION SECTION
   ============================================ */
.polarization {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.polarization h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.polarization .warning-text {
  color: #ef4444;
  font-weight: 600;
  margin-bottom: 28px;
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.audience-list li:hover {
  border-color: var(--border-gold);
  background: rgba(201,168,76,0.05);
}

.audience-list .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-list strong { color: var(--text-primary); }

.bottom-note {
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story { background: var(--bg-primary); }

.story h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 28px;
}

.story-text { margin-bottom: 20px; }

.story-text strong { color: var(--text-primary); }

.story-emphasis {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  padding: 24px;
  border-left: 3px solid var(--gold);
  margin: 32px 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --- Photo Gallery --- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-gallery .photo-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
}

.photo-gallery .photo-item.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.photo-gallery .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-gallery .photo-item:hover img { transform: scale(1.05); }

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* --- Jewelry Carousel --- */
.carousel-title {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--gold);
  margin: 48px 0 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.jewelry-carousel {
  position: relative;
  max-width: 520px;
  margin: 0 auto 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
  background: var(--bg-secondary);
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.carousel-dot:hover {
  background: var(--gold-dark);
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.checklist .check { color: #4ade80; font-size: 1.1rem; flex-shrink: 0; }

/* ============================================
   ADMISSION SECTION
   ============================================ */
.admission {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.admission h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }

.admission-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 24px;
}

.admission-box p { margin-bottom: 16px; }
.admission-box p:last-child { margin-bottom: 0; }
.admission-box strong { color: var(--text-primary); }

.highlight-text {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============================================
   OFFER STACK SECTION
   ============================================ */
.offer { background: var(--bg-primary); }

.offer h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}

.offer-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.offer-card:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}
.offer-card:hover::before { opacity: 1; }

.offer-card .card-icon { font-size: 1.8rem; flex-shrink: 0; }

.offer-card .card-content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.offer-card .card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.offer-card .card-value {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: line-through;
  align-self: center;
}

/* --- Price Block --- */
.price-block {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin: 32px 0;
}

.price-crossed {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-real {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-compare {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================
   SCARCITY SECTION
   ============================================ */
.scarcity {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.scarcity h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: 20px; }

.scarcity-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px auto;
  padding: 24px 32px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 400px;
}

.counter-number {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.counter-label {
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.counter-label strong { color: var(--text-primary); display: block; }

.progress-bar-wrap {
  max-width: 400px;
  margin: 20px auto;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 50px;
  width: 73%;
  transition: width 1s ease;
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */
.guarantee { background: var(--bg-primary); text-align: center; }

.guarantee h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: 20px; }

.guarantee-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.guarantee-box .shield { font-size: 3rem; margin-bottom: 16px; }
.guarantee-box p { margin-bottom: 14px; }
.guarantee-box p:last-child { margin-bottom: 0; }
.guarantee-box strong { color: var(--text-primary); }

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
  background: var(--bg-secondary);
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid var(--border-subtle);
}

.final-cta .cta-btn { font-size: 1.05rem; padding: 20px 48px; }

.ps-section {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: left;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.ps-section h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 20px;
}

.path-block {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.path-block.path-a {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}

.path-block.path-b {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
}

.path-block strong { color: var(--text-primary); }

.ps-closing {
  text-align: center;
  margin-top: 24px;
  font-weight: 600;
  color: var(--gold-light);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --section-padding: 60px 16px; }
  body { font-size: 16px; }

  .hero { padding: 100px 16px 60px; min-height: auto; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .sub-headline { font-size: 0.95rem; }

  .cta-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 0.9rem;
  }

  .photo-gallery { grid-template-columns: 1fr; gap: 8px; }
  .photo-gallery .photo-item.featured { grid-column: span 1; }

  .offer-card { flex-direction: column; }
  .offer-card .card-value {
    margin-left: 0;
    align-self: flex-start;
  }

  .scarcity-counter { flex-direction: column; text-align: center; padding: 20px; }
  .counter-label { text-align: center; }

  .ps-section { padding: 24px 20px; }
}

@media (min-width: 1024px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery .photo-item.featured { grid-column: span 3; }
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-white { color: var(--text-primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
