/* ==========================================================================
   PERSAPURA "COMING SOON" - LUXURY SENSORY EXPERIENCE
   Design Language: Obsidian, Liquid Gold, Ethereal Glass & Mist
   ========================================================================== */

:root {
  --bg-dark: #060508;
  --bg-card: rgba(18, 16, 25, 0.65);
  --bg-card-hover: rgba(26, 22, 36, 0.85);
  --gold-primary: #C5A059;
  --gold-bright: #F0D598;
  --gold-deep: #7D612B;
  --gold-glow: rgba(197, 160, 89, 0.25);
  --text-main: #EDEDEE;
  --text-muted: #9E9AA7;
  --text-dim: #676371;
  --border-gold: rgba(197, 160, 89, 0.22);
  --border-gold-hover: rgba(240, 213, 152, 0.55);
  --font-arabic-heading: 'Amiri', serif;
  --font-body: 'Readex Pro', sans-serif;
  --font-latin: 'Cinzel', serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.8;
  selection-background-color: var(--gold-primary);
  selection-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(197, 160, 89, 0.4);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Interactive Canvas & Background Effects
   -------------------------------------------------------------------------- */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Glowing Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-1 {
  top: -10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, rgba(6, 5, 8, 0) 70%);
}

.glow-2 {
  bottom: 10%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 55, 133, 0.12) 0%, rgba(6, 5, 8, 0) 70%);
  animation-delay: -7s;
}

.glow-3 {
  top: 45%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 107, 43, 0.1) 0%, rgba(6, 5, 8, 0) 70%);
  animation-delay: -12s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(40px, -30px) scale(0.95); }
}

/* Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Sound Experience Floating Toggle
   -------------------------------------------------------------------------- */
.audio-control-wrapper {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 100;
}

.audio-toggle {
  background: rgba(18, 16, 25, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.audio-toggle:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 25px var(--gold-glow);
  transform: translateY(-2px);
}

.audio-icon {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.audio-icon .bar {
  width: 2.5px;
  background: var(--gold-primary);
  border-radius: 2px;
  height: 4px;
  transition: height 0.3s ease;
}

.audio-toggle.playing .bar-1 { animation: soundBar 0.9s ease-in-out infinite alternate; }
.audio-toggle.playing .bar-2 { animation: soundBar 1.2s ease-in-out infinite alternate 0.2s; }
.audio-toggle.playing .bar-3 { animation: soundBar 0.8s ease-in-out infinite alternate 0.4s; }
.audio-toggle.playing .bar-4 { animation: soundBar 1.1s ease-in-out infinite alternate 0.1s; }

@keyframes soundBar {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.page-container {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header & Mystery Seal
   -------------------------------------------------------------------------- */
.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.brand-seal-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  cursor: pointer;
}

.seal-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.4) 0%, transparent 70%);
  filter: blur(10px);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.1); }
}

.brand-seal {
  position: relative;
  width: 100%;
  height: 100%;
}

.seal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.seal-ring {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 1;
  transition: var(--transition-smooth);
}

.outer-ring {
  stroke-dasharray: 4, 3;
  animation: rotateSlow 40s linear infinite;
  transform-origin: center;
}

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

.seal-symbol-p {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-smooth);
}

.seal-core {
  fill: var(--gold-bright);
  opacity: 0.9;
  filter: drop-shadow(0 0 8px var(--gold-bright));
}

.brand-seal-wrapper:hover .seal-symbol-p {
  stroke: var(--gold-bright);
  filter: drop-shadow(0 0 10px var(--gold-glow));
  transform: scale(1.04);
  transform-origin: center;
}

.brand-logotype-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand-logotype {
  font-family: var(--font-latin);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 12px;
  text-indent: 12px; /* to balance trailing letter spacing */
  background: linear-gradient(135deg, #ECCB8D 0%, #FFFFFF 35%, #C5A059 65%, #DFBA73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.35));
  margin: 0;
  line-height: 1.1;
  transition: var(--transition-smooth);
}

.brand-logotype:hover {
  filter: drop-shadow(0 0 35px rgba(240, 213, 152, 0.6));
}

.subtle-badge {
  display: inline-block;
  font-family: var(--font-latin);
  letter-spacing: 4px;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(18, 16, 25, 0.6);
  backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Hero Titles & Poetic Copy
   -------------------------------------------------------------------------- */
.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.main-title {
  font-family: var(--font-arabic-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.gold-shimmer {
  background: linear-gradient(135deg, #A88647 0%, #F5E2B3 45%, #C5A059 70%, #E8D19E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(197, 160, 89, 0.25);
}

.poetic-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 680px;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 60px;
}

/* --------------------------------------------------------------------------
   Sensory Note Cards (Olfactory Dimensions)
   -------------------------------------------------------------------------- */
.sensory-notes-container {
  width: 100%;
  margin-bottom: 65px;
}

.section-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  font-family: var(--font-arabic-heading);
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.sub-line {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin-top: 8px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  width: 100%;
}

.note-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 34px 26px;
  text-align: right;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
  overflow: hidden;
  outline: none;
}

.note-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.note-card:hover,
.note-card.active {
  transform: translateY(-6px);
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 160, 89, 0.15);
}

.note-card:hover::before,
.note-card.active::before {
  opacity: 1;
}

.note-number {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-latin);
  font-size: 1.1rem;
  color: var(--gold-deep);
  opacity: 0.7;
}

.note-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.note-name {
  font-family: var(--font-arabic-heading);
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 4px;
  font-weight: 700;
}

.note-latin {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.8rem;
  color: var(--gold-primary);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.note-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 300;
}

.note-hint {
  font-size: 0.82rem;
  color: var(--gold-bright);
  background: rgba(197, 160, 89, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  border-right: 2px solid var(--gold-primary);
}

/* --------------------------------------------------------------------------
   Customer Imagination Interactive Poll
   -------------------------------------------------------------------------- */
.imagination-section {
  width: 100%;
  max-width: 850px;
  margin-bottom: 70px;
}

.imagination-box {
  background: rgba(14, 12, 20, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.imagination-title {
  font-family: var(--font-arabic-heading);
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.imagination-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.imagination-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.vibe-btn {
  background: rgba(22, 19, 31, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 50px;
  padding: 12px 22px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.vibe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: var(--transition-smooth);
}

.vibe-btn:hover {
  border-color: var(--gold-bright);
  color: #fff;
  background: rgba(35, 30, 48, 0.9);
}

.vibe-btn.active {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
}

.vibe-btn.active .vibe-dot {
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

.vibe-feedback {
  font-family: var(--font-arabic-heading);
  font-size: 1.15rem;
  color: var(--gold-bright);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Countdown Section
   -------------------------------------------------------------------------- */
.countdown-section {
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-label {
  font-family: var(--font-arabic-heading);
  font-size: 1.25rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.countdown-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-card {
  width: 80px;
  height: 80px;
  background: rgba(18, 16, 25, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(197, 160, 89, 0.05);
  position: relative;
  overflow: hidden;
}

.count-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.count-digit {
  font-family: var(--font-latin);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.count-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 300;
}

.count-separator {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 24px;
  opacity: 0.6;
  animation: blinkSeparator 1.5s infinite;
}

@keyframes blinkSeparator {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.2; }
}

/* --------------------------------------------------------------------------
   VIP Invitation & Waitlist Form
   -------------------------------------------------------------------------- */
.vip-invitation-section {
  width: 100%;
  max-width: 680px;
  margin-bottom: 40px;
}

.vip-card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 19, 31, 0.85) 0%, rgba(13, 11, 18, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold-hover);
  border-radius: 24px;
  padding: 46px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(197, 160, 89, 0.12);
  overflow: hidden;
}

.vip-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vip-title {
  font-family: var(--font-arabic-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.vip-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.gold-text {
  color: var(--gold-bright);
}

.vip-form {
  width: 100%;
}

.input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(8, 7, 12, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 60px;
  padding: 6px 8px;
  transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.3);
}

.vip-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  text-align: right;
}

.vip-input::placeholder {
  color: var(--text-dim);
}

.vip-submit-btn {
  background: linear-gradient(135deg, #C5A059 0%, #E5C788 50%, #A88647 100%);
  color: #0c0a10;
  border: none;
  outline: none;
  border-radius: 50px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
  white-space: nowrap;
}

.vip-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(240, 213, 152, 0.5);
  filter: brightness(1.1);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.vip-submit-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

.privacy-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Success Message */
.vip-success-message {
  padding: 20px;
  animation: fadeIn 0.6s ease forwards;
}

.success-icon {
  font-size: 2.2rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--gold-bright);
}

.success-title {
  font-family: var(--font-arabic-heading);
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.success-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.page-footer {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  text-align: center;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}

.footer-divider::before,
.footer-divider::after {
  content: '';
  height: 1px;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.divider-diamond {
  color: var(--gold-primary);
  padding: 0 14px;
  font-size: 0.85rem;
}

.footer-quote {
  font-family: var(--font-arabic-heading);
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Mobile & Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-container {
    padding: 50px 16px 60px;
  }

  .audio-control-wrapper {
    top: 16px;
    left: 16px;
  }

  .audio-text {
    display: none;
  }

  .audio-toggle {
    padding: 8px 12px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .poetic-lead {
    font-size: 1.05rem;
    margin-bottom: 40px;
  }

  .input-wrapper {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }

  .vip-input {
    width: 100%;
    background: rgba(8, 7, 12, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 14px 20px;
  }

  .vip-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .count-card {
    width: 65px;
    height: 65px;
  }

  .count-digit {
    font-size: 1.7rem;
  }

  .cursor-glow {
    display: none;
  }
}
