/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for design tokens */
:root {
  --color-surface: #fbf9f8;
  --color-surface-dim: #dbd9d9;
  --color-surface-bright: #fbf9f8;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f5f3f3;
  --color-surface-container: #efeded;
  --color-surface-container-high: #eae8e7;
  --color-surface-container-highest: #e4e2e2;

  --color-primary: #2D1B4E;
  /* Deep Purple Ink */
  --color-primary-rgb: 45, 27, 78;
  --color-on-primary: #ffffff;
  --color-accent: #9D81B8;
  /* Glowing Lavender */
  --color-accent-rgb: 157, 129, 184;
  --color-text-dark: #1b1c1c;
  /* Charcoal neutral */
  --color-text-muted: #5e5e5b;
  /* Soft Charcoal */
  --color-outline: rgba(45, 27, 78, 0.15);
  /* Ghost border */
  --color-error: #ba1a1a;

  /* Typography Families */
  --font-serif: 'Libre Caslon Text', serif;
  --font-sans: 'Manrope', sans-serif;

  /* Layout and Spacing */
  --spacing-base: 8px;
  --spacing-xs: 4px;
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --border-radius: 4px;
  /* Soft 0.25rem standard */
  --max-width: 1200px;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-surface);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Base Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(251, 249, 248, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-outline);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(251, 249, 248, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.cta-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Sections General Styling */
section {
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Section with Cool Animations */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #170338;
  /* Dark mode override for Hero as requested */
  color: #ffffff;
  padding-top: 120px;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  mix-blend-mode: color-dodge;
  z-index: 1;
}

/* Glowing orb background animations */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
  animation: orbFloat 15s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(157, 129, 184, 0) 70%);
  top: 10%;
  left: 5%;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2D1B4E 0%, rgba(45, 27, 78, 0) 70%);
  bottom: 10%;
  right: 5%;
  animation-duration: 20s;
  animation-delay: -5s;
}

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

  100% {
    transform: translate(40px, 60px) scale(1.15);
  }
}

/* Particle Canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  animation: fadeInDown 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Animations in Hero Right Side */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 450px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
  opacity: 0;
}

/* Rotating astrological ring in background */
.astrology-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1.5px dashed rgba(157, 129, 184, 0.25);
  border-radius: 50%;
  animation: rotateClockwise 45s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.astrology-ring::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.astrology-ring::after {
  content: '✦  ★  ☾  ☀  ✵  ☾  ✦  ★';
  color: rgba(157, 129, 184, 0.4);
  font-size: 18px;
  letter-spacing: 24px;
  white-space: nowrap;
  text-indent: 12px;
}

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

  to {
    transform: rotate(360deg);
  }
}

/* Floating tarot deck presentation in hero */
.floating-cards-wrapper {
  position: relative;
  width: 240px;
  height: 380px;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.floating-card-container {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.floating-card-container-1 {
  z-index: 3;
  animation: cardFloat1 6s ease-in-out infinite alternate;
}

.floating-card-container-2 {
  z-index: 2;
  animation: cardFloat2 7s ease-in-out infinite alternate;
}

.floating-card-container-3 {
  z-index: 1;
  animation: cardFloat3 6.5s ease-in-out infinite alternate;
}

.floating-card-container-4 {
  z-index: 0;
  animation: cardFloat4 7.5s ease-in-out infinite alternate;
}

.floating-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease;
  cursor: pointer;
  pointer-events: auto;
}

/* Card 1: High Priestess — far left */
.floating-card-1 {
  background-image: url('assets/card_high_priestess_alpha.png');
  transform: rotate(-18deg) translate(-55px, 5px) translateZ(15px);
}


/* Card 2: The Moon — left of center */
.floating-card-2 {
  background-image: url('assets/card_the_moon_alpha.png');
  transform: rotate(-6deg) translate(-18px, -5px) translateZ(8px);
}

/* Card 3: Card Back — right of center */
.floating-card-3 {
  background-image: url('assets/card_back_alpha.png');
  transform: rotate(6deg) translate(18px, 0px) translateZ(0px);
}

/* Card 4: The Star — far right */
.floating-card-4 {
  background-image: url('assets/the_star_rounded_alpha.png');
  background-size: contain;
  background-position: center;
  background-color: transparent;
  transform: rotate(18deg) translate(55px, 10px) translateZ(-10px);
}

/* Floating card container translate-only animations */
@keyframes cardFloat1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-14px) translateX(3px);
  }
}

@keyframes cardFloat2 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-18px) translateX(-2px);
  }
}

@keyframes cardFloat3 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px) translateX(2px);
  }
}

@keyframes cardFloat4 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-16px) translateX(-3px);
  }
}

.floating-card:hover {
  z-index: 10 !important;
  transform: scale(1.08) translateY(-28px) rotate(0deg) !important;
  filter: drop-shadow(0 25px 30px rgba(157, 129, 184, 0.65));
}

/* Buttons Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(157, 129, 184, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* White theme overrides for buttons in dark hero */
.hero-section .btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.hero-section .btn-primary:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero-section .btn-secondary:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Section Title & Header dividers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Dividers with Moon/Dot Glyph */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto;
  max-width: 320px;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background-color: var(--color-outline);
}

.divider-glyph {
  font-size: 14px;
  color: var(--color-accent);
  user-select: none;
}

/* Daily Oracle Tarot Pull Section */
.oracle-section {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-outline);
}

.oracle-deck-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.oracle-cards-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1000px;
  width: 100%;
  max-width: 900px;
}

/* Flip Card container */
.oracle-card-scene {
  width: 200px;
  height: 310px;
  cursor: pointer;
  perspective: 1000px;
}

.oracle-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.oracle-card-scene:hover .oracle-card-inner {
  transform: translateY(-10px) rotateY(10deg);
}

.oracle-card-scene.is-flipped:hover .oracle-card-inner {
  transform: translateY(-10px) rotateY(190deg);
}

.oracle-card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  transition: filter 0.5s ease;
}

.oracle-card-front {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  transform: rotateY(180deg);
}

.oracle-card-back {
  background-image: url('assets/card_back_alpha.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

.oracle-card-glow {
  display: none; /* hidden since we use drop-shadow glow now for organic shape */
}

.oracle-card-scene.is-flipped .oracle-card-inner {
  transform: rotateY(180deg);
}

.oracle-card-scene.is-flipped .oracle-card-front {
  filter: drop-shadow(0 0 25px rgba(157, 129, 184, 0.85)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.oracle-instructions {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-muted);
  font-style: italic;
}

.oracle-reading-panel {
  width: 100%;
  max-width: 600px;
  background-color: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.oracle-reading-panel.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.reading-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.reading-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.reading-text {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text-muted);
}

/* Services / Readings Section */
.services-section {
  background-color: var(--color-surface-container-low);
  border-bottom: 1px solid var(--color-outline);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  background-color: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline);
  border-radius: var(--border-radius);
  padding: 40px var(--spacing-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(45, 27, 78, 0.06);
  border-color: var(--color-accent);
}

.service-icon {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.service-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-price {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  flex-grow: 1;
}

/* Elite Club Section */
.elite-section {
  background-color: #170338;
  color: #ffffff;
  padding: 100px var(--spacing-md);
  text-align: center;
  position: relative;
}

.elite-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(157, 129, 184, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.elite-content {
  max-width: 700px;
  margin: 0 auto;
}

.elite-title {
  color: #ffffff;
  font-size: 42px;
  margin-bottom: 16px;
}

.elite-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 40px;
}

.elite-perks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.perk-item span {
  color: var(--color-accent);
  font-size: 18px;
}

/* Footer styling */
footer {
  background-color: var(--color-surface-container-highest);
  padding: 48px var(--spacing-md);
  border-top: 1px solid var(--color-outline);
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

.copyright {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* MODAL OVERLAYS (Backdrop blur) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
  will-change: opacity, visibility;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Content Box */
.modal-container {
  background-color: var(--color-surface-container-lowest);
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  /* Nicely rounded for dialog container */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--color-outline);
  will-change: transform;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1) translateZ(0);
}

/* Close Icon Button */
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #cbc4d0;
  transition: var(--transition-fast);
  z-index: 5;
}

.modal-close-btn:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* Booking Modal Custom Details (Matches User Mockup) */
.modal-header-section {
  padding: 32px 32px 16px 32px;
}

.modal-product-type {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: #1b1c1c;
  margin-bottom: 2px;
}

.modal-product-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  color: #1b1c1c;
  margin-bottom: 8px;
}

.modal-product-meta {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.modal-amount-label {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: #1b1c1c;
  margin-bottom: 2px;
}

.modal-amount-val {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  color: #1b1c1c;
}

/* Form inputs matching mockup fields exactly */
.modal-form {
  padding: 0 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-row {
  display: flex;
  gap: 12px;
}

.input-code {
  width: 70px;
  flex-shrink: 0;
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbc4d0;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  background-color: #ffffff;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.input-field::placeholder {
  color: #a09da3;
}

.input-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 27, 78, 0.1);
}

.input-field.error {
  border-color: var(--color-error);
  background-color: rgba(186, 26, 26, 0.02);
}

.input-error-msg {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-error);
  margin-top: 4px;
  padding-left: 4px;
  display: none;
}

/* Pay Button */
.btn-pay {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 8px;
}

.btn-pay:hover {
  background-color: #1c1c1c;
  transform: translateY(-1px);
}

.modal-footer-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #8c8990;
  line-height: 18px;
  text-align: left;
  margin-top: 8px;
}

/* Membership plan selection overlay in Modal 2 (Elite Club) */
.plan-selector-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #271a17;
  /* Dark cocoa colored container like the mockup */
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
}

.plan-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: #e5dfda;
  transition: var(--transition-fast);
}

.plan-option-row:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.plan-option-row.selected {
  background-color: rgba(255, 255, 255, 0.08);
}

.plan-radio-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbc4d0;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.plan-option-row.selected .plan-radio-dot {
  border-color: #e59a59;
  /* Orange ring from mockup */
}

.plan-option-row.selected .plan-radio-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e59a59;
  /* Orange dot */
}

.plan-savings-badge {
  font-size: 12px;
  color: #e59a59;
  font-weight: 600;
}

.dropdown-container {
  margin-bottom: 16px;
}

.dropdown-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  display: block;
}

.plan-select-dropdown {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbc4d0;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-dark);
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
}

.plan-select-dropdown:focus {
  border-color: var(--color-primary);
}

/* Success overlay inside modals */
.modal-success-screen {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  z-index: 10;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
}

.modal-success-screen.active {
  display: flex;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(157, 129, 184, 0.15);
  color: var(--color-primary);
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.success-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.success-message {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 22px;
}

/* Mobile responsive media queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    height: 380px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Collapsed by default on mobile */
  }

  .hamburger {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fbf9f8;
    border-bottom: 1px solid var(--color-outline);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .hero-title {
    font-size: 40px;
    line-height: 48px;
  }

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

  .oracle-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* Simple animation utility classes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}