/* -------------------------------------------------------------------------- */
/* KAMBO & SACRED CEREMONIES - DESIGN SYSTEM & STYLESHEET                     */
/* Fusion of BYOBreath.com (Minimalist Container) & KamboAmor.com (Shamanic)   */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-main: #0a110e;
  --bg-surface: #101c17;
  --bg-card: rgba(18, 32, 26, 0.75);
  --bg-card-hover: rgba(26, 46, 38, 0.9);
  
  --emerald-deep: #163629;
  --emerald-main: #245641;
  --emerald-light: #3d8868;
  --emerald-glow: rgba(61, 136, 104, 0.35);

  --gold-primary: #dfb15b;
  --gold-hover: #f0c776;
  --gold-dark: #9e7a33;
  --gold-glow: rgba(223, 177, 91, 0.25);

  --amethyst-subtle: #795280;
  
  --text-main: #f6f4ee;
  --text-muted: #a3b3a9;
  --text-dark: #121c17;

  --border-light: rgba(246, 244, 238, 0.08);
  --border-gold: rgba(223, 177, 91, 0.22);
  --border-gold-strong: rgba(223, 177, 91, 0.5);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glassmorphism */
  --glass-backdrop: blur(16px) saturate(180%);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px var(--gold-glow);
  --shadow-emerald: 0 0 35px var(--emerald-glow);

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------- */
/* LIGHT MODE THEME OVERRIDES (AUTOMATIC VIA SYSTEM OR MANUAL TOGGLE)         */
/* -------------------------------------------------------------------------- */
:root[data-theme="light"] {
  --bg-main: #f6f3ea;
  --bg-surface: #ebe6d8;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  --emerald-deep: #e1ebe5;
  --emerald-main: #1d4b36;
  --emerald-light: #2c6f4f;
  --emerald-glow: rgba(29, 75, 54, 0.15);

  --gold-primary: #b38224;
  --gold-hover: #966b1a;
  --gold-dark: #6e4e11;
  --gold-glow: rgba(179, 130, 36, 0.2);

  --text-main: #122119;
  --text-muted: #4a5e53;
  --text-dark: #0c1711;

  --border-light: rgba(18, 33, 25, 0.1);
  --border-gold: rgba(179, 130, 36, 0.32);
  --border-gold-strong: rgba(179, 130, 36, 0.65);

  --glass-backdrop: blur(16px) saturate(180%);
  --shadow-card: 0 14px 36px rgba(18, 33, 25, 0.08);
}

:root[data-theme="dark"] {
  --bg-main: #0a110e;
  --bg-surface: #101c17;
  --bg-card: rgba(18, 32, 26, 0.75);
  --bg-card-hover: rgba(26, 46, 38, 0.9);
  
  --emerald-deep: #163629;
  --emerald-main: #245641;
  --emerald-light: #3d8868;
  --emerald-glow: rgba(61, 136, 104, 0.35);

  --gold-primary: #dfb15b;
  --gold-hover: #f0c776;
  --gold-dark: #9e7a33;
  --gold-glow: rgba(223, 177, 91, 0.25);

  --text-main: #f6f4ee;
  --text-muted: #a3b3a9;
  --text-dark: #121c17;

  --border-light: rgba(246, 244, 238, 0.08);
  --border-gold: rgba(223, 177, 91, 0.22);
  --border-gold-strong: rgba(223, 177, 91, 0.5);

  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-main: #f6f3ea;
    --bg-surface: #ebe6d8;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);

    --emerald-deep: #e1ebe5;
    --emerald-main: #1d4b36;
    --emerald-light: #2c6f4f;
    --emerald-glow: rgba(29, 75, 54, 0.15);

    --gold-primary: #b38224;
    --gold-hover: #966b1a;
    --gold-dark: #6e4e11;
    --gold-glow: rgba(179, 130, 36, 0.2);

    --text-main: #122119;
    --text-muted: #4a5e53;
    --text-dark: #0c1711;

    --border-light: rgba(18, 33, 25, 0.1);
    --border-gold: rgba(179, 130, 36, 0.32);
    --border-gold-strong: rgba(179, 130, 36, 0.65);

    --shadow-card: 0 14px 36px rgba(18, 33, 25, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 10% 20%, rgba(36, 86, 65, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(223, 177, 91, 0.08) 0%, transparent 40%),
    var(--bg-main);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--emerald-main);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

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

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Stacked Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0 0.8rem;
  background: rgba(10, 17, 14, 0.94);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

:root[data-theme="light"] .navbar {
  background: rgba(246, 243, 234, 0.94);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .navbar {
    background: rgba(246, 243, 234, 0.94);
  }
}

.nav-container-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.nav-logo-row {
  width: 100%;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 auto;
}

.logo-symbol {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--emerald-main));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  border: 2px solid var(--border-gold);
  overflow: hidden;
  padding: 1px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.68);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.8);
}

.logo-tagline {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 0.25rem;
}

.nav-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.nav-spacer {
  /* Balances the right nav-actions for mathematical centering of nav-links */
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.theme-switch-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-switch-pill:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-glow);
}

.theme-switch-pill .theme-icon {
  color: var(--gold-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: var(--bg-main);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold-primary) 100%);
  box-shadow: 0 8px 30px rgba(223, 177, 91, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-gold-strong);
}

.btn-outline:hover {
  background: rgba(223, 177, 91, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-main), var(--emerald-light));
  color: var(--text-main);
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  background: 
    linear-gradient(to bottom, rgba(10, 17, 14, 0.4), rgba(10, 17, 14, 0.95)),
    url('../assets/images/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 20%, var(--bg-main) 90%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  background: rgba(36, 86, 65, 0.4);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 650px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--gold-primary);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Medicine Section (What is Kambo) */
.medicine-section {
  padding: 7rem 0;
  position: relative;
}

.medicine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.medicine-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-emerald);
}

.medicine-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.medicine-image-wrapper:hover img {
  transform: scale(1.03);
}

.medicine-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 17, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tabs Component */
.tab-buttons {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 8px;
}

.tab-btn.active {
  color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.feature-list {
  list-style: none;
  margin-top: 1.25rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
  font-size: 1rem;
}

.feature-list li i {
  color: var(--gold-primary);
  margin-top: 0.2rem;
}

/* Offerings / Ceremonies Section */
.offerings-section {
  padding: 7rem 0;
  background: rgba(16, 28, 23, 0.5);
  position: relative;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.offering-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offering-header {
  margin-bottom: 1.5rem;
}

.offering-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-top: 0.5rem;
}

.offering-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  flex-grow: 1;
}

.offering-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.offering-features li i {
  color: var(--emerald-light);
}

/* Interactive Safety Screener Section */
.screener-section {
  padding: 7rem 0;
}

.screener-box {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(18, 32, 26, 0.9), rgba(10, 17, 14, 0.95));
  border: 1px solid var(--border-gold-strong);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.screener-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.screener-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-light));
  transition: width 0.3s ease;
}

.screener-step {
  display: none;
}

.screener-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.quiz-question {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.options-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-btn {
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.option-btn:hover {
  background: rgba(223, 177, 91, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.option-btn.selected {
  background: rgba(223, 177, 91, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.screener-result {
  text-align: center;
  padding: 1.5rem 0;
}

.result-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.result-success { color: #4ade80; }
.result-warning { color: #facc15; }

/* Interactive Breathwork Visualizer Widget */
.breath-section {
  padding: 7rem 0;
  background: radial-gradient(circle at center, rgba(36, 86, 65, 0.2) 0%, transparent 70%);
}

.breath-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.breath-circle-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-circle-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--border-gold);
  animation: rotateSlow 40s linear infinite;
}

.breath-circle-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-primary) 0%, var(--emerald-main) 100%);
  box-shadow: 0 0 50px var(--gold-glow);
  transition: transform 4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.breath-circle-wrapper.inhale .breath-circle-inner {
  transform: scale(1.65);
  box-shadow: 0 0 80px rgba(223, 177, 91, 0.8);
}

.breath-circle-wrapper.hold .breath-circle-inner {
  transform: scale(1.65);
  filter: brightness(1.2);
}

.breath-circle-wrapper.exhale .breath-circle-inner {
  transform: scale(1);
  box-shadow: 0 0 30px var(--emerald-glow);
}

.breath-instruction {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-primary);
  min-height: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 7rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--emerald-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-weight: 700;
  border: 1px solid var(--border-gold);
}

.author-details h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
}

.author-details p {
  font-size: 0.85rem;
}

/* Booking Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 17, 14, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-strong);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--gold-primary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .medicine-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-bottom-row {
    display: flex;
    justify-content: space-between;
  }
  
  .nav-spacer {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding-top: 7rem;
  }

  .screener-box {
    padding: 1.75rem;
  }

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