/* ==========================================================================
   CABAHÍA.COM — BRIGHT LIGHT THEME / SOFT OPACITY MINIMALIST DESIGN
   - Palette: Pure Crisp White, Silk Emerald, Warm Sage, Deep Pine
   - Focus: Pure Logo, Soft Glass Opacity, Effortless Mail Contact
   ========================================================================== */

:root {
  /* Colors */
  --bg-base: #f9fbf9;
  --bg-gradient-top: #ffffff;
  --bg-gradient-bottom: #eef5f1;

  --brand-forest: #083329;
  --brand-leaf: #1fa963;
  --brand-leaf-soft: #2ecc71;
  --brand-leaf-glow: rgba(31, 169, 99, 0.2);

  --text-main: #083329;
  --text-secondary: rgba(8, 51, 41, 0.65);
  --text-muted: rgba(8, 51, 41, 0.42);

  /* Soft Glassmorphism Tokens */
  --card-bg: rgba(255, 255, 255, 0.68);
  --card-border: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 30px 80px -20px rgba(8, 51, 41, 0.07),
    0 10px 30px -10px rgba(0, 0, 0, 0.03);

  --pill-bg: rgba(8, 51, 41, 0.035);
  --pill-border: rgba(8, 51, 41, 0.09);
  --pill-bg-hover: #ffffff;
  --pill-border-hover: rgba(31, 169, 99, 0.45);
  --pill-shadow-hover: 0 12px 28px -6px rgba(31, 169, 99, 0.16);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 15%, var(--bg-gradient-top) 0%, var(--bg-base) 55%, var(--bg-gradient-bottom) 100%);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   AMBIENT GLOWS & BACKGROUND OPACITY WATERMARK
   ========================================================================== */

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  animation: gentleFloat 22s infinite alternate ease-in-out;
}

.glow-1 {
  top: -10%;
  left: 15%;
  width: 55vw;
  height: 55vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, rgba(31, 169, 99, 0.09) 0%, rgba(168, 222, 195, 0.05) 50%, transparent 70%);
}

.glow-2 {
  bottom: -15%;
  right: 15%;
  width: 65vw;
  height: 65vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(circle, rgba(200, 235, 220, 0.35) 0%, rgba(31, 169, 99, 0.06) 45%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.glow-3 {
  top: 40%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(31, 169, 99, 0.05) 0%, rgba(8, 51, 41, 0.03) 50%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -11s;
}

@keyframes gentleFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -25px) scale(1.05);
  }

  100% {
    transform: translate(-25px, 30px) scale(0.97);
  }
}

/* Giant Low-Opacity Watermark Logo in Background */
.bg-watermark-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125vw;
  max-width: 1500px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.038;
  /* Soft low opacity */
  user-select: none;
  animation: watermarkBreathe 18s ease-in-out infinite alternate;
}

.watermark-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes watermarkBreathe {
  0% {
    transform: translate(-50%, -50%) scale(0.98);
    opacity: 0.032;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 0.046;
  }
}

/* ==========================================================================
   AUDIO TOGGLE (SUBTLE TOP-RIGHT)
   ========================================================================== */

.audio-control-bar {
  position: fixed;
  top: 2rem;
  right: 2.25rem;
  z-index: 10;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(8, 51, 41, 0.08);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: all 0.35s var(--ease-smooth);
}

.audio-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(31, 169, 99, 0.35);
  color: var(--brand-forest);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31, 169, 99, 0.1);
}

.audio-btn svg {
  width: 15px;
  height: 15px;
}

.audio-btn .audio-icon-on {
  display: none;
}

.audio-btn.playing {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(31, 169, 99, 0.45);
  color: var(--brand-leaf);
  box-shadow: 0 4px 16px rgba(31, 169, 99, 0.15);
}

.audio-btn.playing .audio-icon-off {
  display: none;
}

.audio-btn.playing .audio-icon-on {
  display: block;
}

/* ==========================================================================
   PAGE CONTAINER & SOFT CARD
   ========================================================================== */

.page-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
}

.soft-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 36px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 4.25rem 3.5rem 3.75rem;
  text-align: center;
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
  animation: cardFadeIn 1.2s var(--ease-smooth) forwards;
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Logo Box */
.logo-box {
  display: inline-block;
  margin: 0 auto 2.25rem;
}

.cabahia-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(8, 51, 41, 0.04));
  transition: transform 0.4s var(--ease-smooth);
}

.cabahia-logo:hover {
  transform: scale(1.02);
}

/* Status / Coming Soon Wrap */
.status-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
  padding: 0.35rem 0.95rem;
  background: rgba(8, 51, 41, 0.03);
  border: 1px solid rgba(8, 51, 41, 0.05);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-leaf);
  box-shadow: 0 0 8px var(--brand-leaf-soft);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.status-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
}

/* Mail Wrap & Pill */
.mail-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-smooth);
  cursor: pointer;
}

.mail-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-leaf);
  transition: transform 0.3s ease;
}

.mail-address {
  font-variant-numeric: tabular-nums;
}

.copy-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(8, 51, 41, 0.05);
  color: var(--text-muted);
  margin-left: 0.2rem;
  transition: all 0.3s ease;
}

.copy-icon {
  width: 13px;
  height: 13px;
}

/* Hover on Mail Pill */
.mail-pill:hover {
  background: var(--pill-bg-hover);
  border-color: var(--pill-border-hover);
  color: var(--brand-forest);
  transform: translateY(-2px);
  box-shadow: var(--pill-shadow-hover);
}

.mail-pill:hover .mail-icon {
  transform: scale(1.1);
}

.mail-pill:hover .copy-hint {
  background: rgba(31, 169, 99, 0.12);
  color: var(--brand-leaf);
}

/* Copied Toast Notification */
.copied-toast {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  border: 1px solid rgba(31, 169, 99, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-forest);
  box-shadow: 0 8px 24px rgba(31, 169, 99, 0.12);
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
}

.copied-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Footer Note */
.footer-note {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 640px) {
  .page-container {
    padding: 1.5rem 1.25rem;
  }

  .audio-control-bar {
    top: 1.25rem;
    right: 1.25rem;
  }

  .soft-card {
    padding: 3.5rem 1.75rem 3rem;
    border-radius: 28px;
  }

  .cabahia-logo {
    max-width: 250px;
  }

  .mail-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.94rem;
    width: 100%;
    justify-content: center;
  }

  .footer-note {
    bottom: 1.25rem;
    font-size: 0.75rem;
  }
}