/* ============================================
   SERENEVIBE — Landing Page Theme
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #0b0a1e;
  --bg-alt: #0f0e22;
  --surface: #13122a;
  --gold: #c8956a;
  --gold-dim: rgba(200, 149, 106, 0.18);
  --gold-glow: rgba(200, 149, 106, 0.08);
  --lavender: #a98fc4;
  --lavender-dim: rgba(169, 143, 196, 0.15);
  --white: #f5f0eb;
  --white-dim: rgba(245, 240, 235, 0.6);
  --white-faint: rgba(245, 240, 235, 0.3);
  --border: rgba(200, 149, 106, 0.12);
  --tag-bg: rgba(200, 149, 106, 0.1);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 clamp(28px, 6vw, 80px);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200, 149, 106, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(80px, 12vh, 140px) 0;
  max-width: 560px;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.04;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-sub {
  font-size: 16px;
  color: var(--white-dim);
  max-width: 420px;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--gold);
  width: fit-content;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #0b0a1e;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  width: fit-content;
  box-shadow: 0 4px 24px rgba(200, 149, 106, 0.25);
}

.btn-buy:hover {
  background: #d4a87a;
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(200, 149, 106, 0.35);
}

.btn-buy:active {
  transform: translateY(0);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Hero Visual — Concentric Rings */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 500px;
}

.hero-visual {
  position: relative;
  width: clamp(320px, 38vw, 520px);
  height: clamp(320px, 38vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate 20s linear infinite;
}

.ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(200, 149, 106, 0.15);
  animation-duration: 28s;
}
.ring-2 {
  width: 78%; height: 78%;
  border-color: rgba(200, 149, 106, 0.22);
  animation-duration: 22s;
  animation-direction: reverse;
}
.ring-3 {
  width: 56%; height: 56%;
  border-color: rgba(169, 143, 196, 0.25);
  animation-duration: 16s;
}
.ring-4 {
  width: 34%; height: 34%;
  border-color: rgba(200, 149, 106, 0.35);
  animation-duration: 12s;
  animation-direction: reverse;
}

.core-light {
  position: absolute;
  width: 16%; height: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 149, 106, 0.9) 0%, rgba(200, 149, 106, 0.2) 60%, transparent 100%);
  box-shadow: 0 0 60px 20px rgba(200, 149, 106, 0.25), 0 0 120px 40px rgba(200, 149, 106, 0.08);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}
.p1 { width: 5px; height: 5px; top: 8%; left: 52%; opacity: 0.7; animation: float 4s ease-in-out infinite; }
.p2 { width: 3px; height: 3px; top: 22%; left: 78%; opacity: 0.5; animation: float 5s ease-in-out infinite 0.8s; }
.p3 { width: 4px; height: 4px; top: 65%; left: 92%; opacity: 0.6; animation: float 3.5s ease-in-out infinite 1.2s; }
.p4 { width: 3px; height: 3px; top: 80%; left: 28%; opacity: 0.4; animation: float 4.5s ease-in-out infinite 0.4s; }
.p5 { width: 5px; height: 5px; top: 40%; left: 5%; opacity: 0.5; animation: float 6s ease-in-out infinite 2s; }
.p6 { width: 3px; height: 3px; top: 12%; left: 20%; opacity: 0.3; animation: float 5.5s ease-in-out infinite 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); opacity: inherit; }
  50% { transform: translateY(-12px); }
}

/* --- SECTION SHARED --- */
.section-label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.8;
}

/* --- PHILOSOPHY --- */
.philosophy {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
  background: var(--bg-alt);
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.philosophy h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  color: var(--white);
  margin-bottom: 28px;
  position: sticky;
  top: 80px;
}

.philosophy-body {
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.philosophy-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-unit {
  font-size: 13px;
  color: var(--gold);
  opacity: 0.6;
  margin-top: -4px;
}

.stat-label {
  font-size: 11px;
  color: var(--white-faint);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- FREQUENCIES --- */
.frequencies {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
  position: relative;
}

.frequencies::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(169, 143, 196, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.frequencies h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  color: var(--white);
  text-align: center;
  margin-bottom: 72px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.freq-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.freq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.3s ease;
}

.freq-card:hover {
  border-color: rgba(200, 149, 106, 0.3);
}

.freq-528:hover { border-color: rgba(200, 149, 106, 0.35); }
.freq-888:hover { border-color: rgba(169, 143, 196, 0.35); }

.freq-visual {
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.freq-432 .freq-visual { --card-gold: rgba(200, 149, 106, 0.7); }
.freq-528 .freq-visual { --card-gold: rgba(200, 149, 106, 0.85); }
.freq-888 .freq-visual { --card-gold: rgba(169, 143, 196, 0.85); }

.f-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--card-gold);
  animation: rotate 16s linear infinite;
}
.f-ring-1 { width: 80px; height: 80px; opacity: 0.6; }
.f-ring-2 { width: 56px; height: 56px; opacity: 0.4; animation-duration: 12s; animation-direction: reverse; }
.f-ring-3 { width: 32px; height: 32px; opacity: 0.3; animation-duration: 8s; }

.freq-content { display: flex; flex-direction: column; gap: 8px; }

.freq-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.freq-888 .freq-num { color: var(--lavender); }

.freq-unit {
  font-size: 14px;
  color: var(--gold);
  opacity: 0.5;
  margin-left: 4px;
}
.freq-888 .freq-unit { color: var(--lavender); }

.freq-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
}

.freq-content p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
}

.freq-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
  width: fit-content;
}
.freq-888 .freq-tag { color: var(--lavender); background: var(--lavender-dim); }

/* --- PRODUCT --- */
.product {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
  background: var(--bg-alt);
}

.product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.product-inner { max-width: var(--max-w); margin: 0 auto; }

.product h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.product-body {
  color: var(--white-dim);
  font-size: 16px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 64px;
  line-height: 1.75;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.product-card:hover { border-color: rgba(200, 149, 106, 0.25); }

.product-visual {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-visual-1 { background: linear-gradient(135deg, #0d0b20, #1a1530); }
.p-visual-2 { background: linear-gradient(135deg, #0d0b20, #1a1528); }

.p-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 106, 0.25);
  animation: rotate 20s linear infinite;
}
.p-ring-1 { width: 120px; height: 120px; }
.p-ring-2 { width: 80px; height: 80px; opacity: 0.6; animation-duration: 15s; animation-direction: reverse; }

.p-core {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, rgba(200, 149, 106, 0.3) 60%, transparent 100%);
  box-shadow: 0 0 30px 10px rgba(200, 149, 106, 0.15);
}

.p-visual-2 .p-ring { border-color: rgba(169, 143, 196, 0.3); }
.p-visual-2 .p-core {
  background: radial-gradient(circle, var(--lavender) 0%, rgba(169, 143, 196, 0.3) 60%, transparent 100%);
  box-shadow: 0 0 30px 10px rgba(169, 143, 196, 0.15);
}

.product-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.product-info h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.product-info p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
}

.product-meta {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.product-format, .product-duration {
  font-size: 12px;
  color: var(--white-faint);
  letter-spacing: 0.05em;
}

.product-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 640px;
  margin: 0 auto;
}

.note-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-note p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.65;
}

.product-note strong { color: var(--white); font-weight: 500; }

/* --- CLOSING --- */
.closing {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(200, 149, 106, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 149, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-text { position: relative; z-index: 1; }

.closing-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
}

.closing-attr {
  font-size: 13px;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.closing-visual {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.c-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 106, 0.1);
  animation: rotate 30s linear infinite;
}
.c-r1 { width: 320px; height: 320px; }
.c-r2 { width: 240px; height: 240px; opacity: 0.6; animation-duration: 24s; animation-direction: reverse; }
.c-r3 { width: 160px; height: 160px; opacity: 0.4; animation-duration: 18s; }
.c-r4 { width: 80px; height: 80px; opacity: 0.3; animation-duration: 14s; animation-direction: reverse; }

/* --- FOOTER --- */
footer {
  padding: 60px clamp(28px, 6vw, 80px) 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 13px;
  color: var(--white-faint);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-links span {
  font-size: 13px;
  color: var(--white-faint);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 235, 0.05);
  font-size: 12px;
  color: var(--white-faint);
  opacity: 0.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .hero-left { max-width: 100%; }
  .hero-right { min-height: 300px; }
  .hero-visual { width: 280px; height: 280px; }

  .philosophy-inner { grid-template-columns: 1fr; gap: 32px; }
  .philosophy h2 { position: static; }

  .freq-grid { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 480px) {
  .philosophy-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
}