/* ============================================
   meOwgenda Splash Site
   Gold-themed dark UI
   ============================================ */

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

:root {
  --bg: #1e1e1e;
  --bg-card: #252525;
  --bg-elevated: #2a2a2a;
  --gold: #c8a84e;
  --gold-light: #e0c872;
  --gold-dim: #a08030;
  --text: #e0e0e0;
  --text-muted: #888;
  --text-dim: #666;
  --danger: #e94560;
  --green: #4a4;
  --green-bg: rgba(26, 46, 26, 0.85);
  --green-border: #3a6a3a;
  --blue: #66f;
  --blue-bg: rgba(26, 26, 46, 0.85);
  --blue-border: #3a3a6a;
  --red: #c44;
  --red-bg: rgba(46, 26, 26, 0.85);
  --red-border: #6a3a3a;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Gold Accent Utility ---- */
.gold { color: var(--gold); }

/* ---- Rainbow Text ---- */
.rainbow-text {
  background: linear-gradient(90deg, #ffb3b3, #ffd9b3, #ffffb3, #b3ffb3, #b3d9ff, #d9b3ff, #ffb3e6, #ffb3b3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-scroll 3s linear infinite;
}

@keyframes rainbow-scroll {
  to { background-position: 200% center; }
}

/* ---- Category Color Utilities ---- */
.cat-green { color: #5c5; font-weight: 600; }
.cat-blue  { color: #88f; font-weight: 600; }
.cat-red   { color: #f66; font-weight: 600; }

/* ============================================
   Paw Print Background
   ============================================ */
.paw-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paw {
  position: absolute;
  opacity: 0.04;
  width: 120px;
  filter: grayscale(0.3);
  transition: transform 0.1s linear;
}

.paw-1 { top: 8%;  left: 5%;  transform: rotate(-25deg); }
.paw-2 { top: 35%; left: 75%; transform: rotate(40deg); width: 100px; }
.paw-3 { top: 55%; left: 20%; transform: rotate(-60deg); width: 90px; }
.paw-4 { top: 75%; left: 80%; transform: rotate(15deg); width: 110px; }
.paw-5 { top: 90%; left: 10%; transform: rotate(-35deg); width: 80px; }
.paw-6 { top: 15%; left: 55%; transform: rotate(50deg); width: 70px; }

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.hero-content {
  animation: hero-fade-up 1s ease-out both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 280px;
  height: 280px;
  object-fit: contain;
  animation: logo-float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(200, 168, 78, 0.3));
}

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

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 16px;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ---- CTA Button ---- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 36px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(200, 168, 78, 0.3);
}

.cta-button:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 32px rgba(200, 168, 78, 0.5);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

.apple-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.coming-soon {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Scroll Hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce-down 2s ease-in-out infinite;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%      { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ============================================
   Sections Common
   ============================================ */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.section-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Features Grid
   ============================================ */
.features {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.card-delay-1.visible { transition-delay: 0s; }
.card-delay-2.visible { transition-delay: 0.1s; }
.card-delay-3.visible { transition-delay: 0.2s; }
.card-delay-4.visible { transition-delay: 0.3s; }
.card-delay-5.visible { transition-delay: 0.4s; }
.card-delay-6.visible { transition-delay: 0.5s; }

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(200, 168, 78, 0.1);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-icon-img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(200, 168, 78, 0.2));
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Screenshot Carousel / Phone Mockup
   ============================================ */
.showcase {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
}

.carousel-wrapper {
  max-width: 420px;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  margin: 40px auto 0;
  background: #111;
  border-radius: 44px;
  padding: 14px;
  border: 3px solid #333;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(200, 168, 78, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.phone-frame.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Phone notch */
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19.5;
}

/* Carousel track */
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
  border-radius: 32px;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-slide.enter-right {
  animation: slide-in-right 0.6s ease both;
}

.carousel-slide.enter-left {
  animation: slide-in-left 0.6s ease both;
}

.carousel-slide.exit-left {
  animation: slide-out-left 0.6s ease both;
  z-index: 1;
}

.carousel-slide.exit-right {
  animation: slide-out-right 0.6s ease both;
  z-index: 1;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slide-out-left {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(-30px) scale(0.97); }
}

@keyframes slide-out-right {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(30px) scale(0.97); }
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 0 16px rgba(200, 168, 78, 0.3);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(200, 168, 78, 0.5);
  transform: scale(1.2);
}

/* Carousel labels */
.carousel-labels {
  margin-top: 16px;
  height: 24px;
  position: relative;
}

.carousel-label {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.carousel-label.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Reschedule Demo
   ============================================ */
.reschedule-demo {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pill-row.visible {
  opacity: 1;
}

.pill {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  background: rgba(200, 168, 78, 0.08);
  cursor: default;
  opacity: 0;
  animation: none;
}

.pill-row.visible .pill {
  animation: pill-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pill-row.visible .pill-bounce-1 { animation-delay: 0.1s; }
.pill-row.visible .pill-bounce-2 { animation-delay: 0.25s; }
.pill-row.visible .pill-bounce-3 { animation-delay: 0.4s; }
.pill-row.visible .pill-bounce-4 { animation-delay: 0.55s; }

@keyframes pill-pop {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.pill:hover {
  background: var(--gold);
  color: #1a1a1a;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(200, 168, 78, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 40px;
  border-top: 1px solid #2a2a2a;
}

.footer-logo {
  width: 80px;
  height: 80px;
  opacity: 0.9;
  filter: drop-shadow(0 0 16px rgba(200, 168, 78, 0.2));
}

.footer-heading {
  font-size: 1.8rem;
  margin-top: 16px;
  color: var(--text);
}

.footer-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .carousel-wrapper {
    max-width: 340px;
  }

  .phone-frame {
    border-radius: 36px;
  }

  .phone-screen {
    border-radius: 26px;
  }

  .carousel-slide {
    border-radius: 26px;
  }

  .pill {
    padding: 10px 22px;
    font-size: 1rem;
  }

  .pill-row {
    gap: 10px;
  }

  .paw {
    opacity: 0.025;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .carousel-wrapper {
    max-width: 280px;
  }
}

/* ============================================
   Gold shimmer effect on section titles
   ============================================ */
.section-title .gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-light), var(--gold), var(--gold-light), var(--gold-dim));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 4s ease-in-out infinite;
}

@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============================================
   Glow pulse on hero logo hover
   ============================================ */
.hero-logo:hover {
  filter: drop-shadow(0 0 40px rgba(200, 168, 78, 0.5));
}

/* ============================================
   Smooth entrance for entire page
   ============================================ */
body {
  animation: page-load 0.6s ease-out;
}

@keyframes page-load {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   Privacy Policy Page
   ============================================ */
.policy-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  position: relative;
  z-index: 1;
}

.policy-back {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.policy-back:hover {
  opacity: 0.7;
}

.policy-logo {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
}

.policy-page h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.policy-date {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.policy-page section {
  margin-bottom: 32px;
}

.policy-page h2 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.policy-page p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.policy-page ul {
  list-style: none;
  padding: 0;
}

.policy-page ul li {
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.policy-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.6;
}

.policy-page a {
  color: var(--gold);
  text-decoration: none;
}

.policy-page a:hover {
  text-decoration: underline;
}
