/* =============================================
   VITA OLTRE LA MORTE – LANDING PAGE STYLESHEET
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent: #FF0000;
  --accent-glow: rgba(255, 0, 0, 0.25);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(0, 0, 0, 0.85);
  --toggle-bg: rgba(255, 255, 255, 0.15);
  --toggle-thumb: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.55);
  --transition: 300ms ease-in-out;
}

[data-theme="light"] {
  --bg: #ffffff;
  --text: #000000;
  --text-muted: rgba(0, 0, 0, 0.55);
  --accent: #FF0000;
  --accent-glow: rgba(255, 0, 0, 0.15);
  --card-bg: rgba(0, 0, 0, 0.03);
  --card-border: rgba(0, 0, 0, 0.1);
  --header-bg: rgba(255, 255, 255, 0.9);
  --toggle-bg: rgba(0, 0, 0, 0.12);
  --toggle-thumb: #000000;
  --hero-overlay: rgba(255, 255, 255, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

em {
  font-style: italic;
  color: var(--accent);
}

strong {
  font-weight: 700;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 18px 40px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border: 2px solid var(--text);
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Pulse animation */
@keyframes pulse-cta {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(255, 0, 0, 0);
  }
}

.pulse {
  animation: pulse-cta 6s ease-in-out infinite;
}

/* ---------- HEADER ---------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
}

.logo-icon {
  color: var(--accent);
  font-size: 20px;
}

.nav-minimal {
  display: flex;
  gap: 32px;
}

.nav-minimal a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-minimal a:hover {
  color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 64px;
  height: 32px;
  background: var(--toggle-bg);
  border-radius: 16px;
  padding: 2px;
  transition: background var(--transition);
  border: 1px solid var(--card-border);
}

.toggle-thumb {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform var(--transition);
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(32px);
}

.icon-sun,
.icon-moon {
  font-size: 14px;
  position: absolute;
  line-height: 1;
}

.icon-moon {
  left: 8px;
}

.icon-sun {
  right: 8px;
}

@media (max-width: 768px) {
  .nav-minimal {
    display: none;
  }

  .logo-text {
    font-size: 14px;
  }
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.png') center/cover no-repeat;
  transition: filter var(--transition);
}

[data-theme="light"] .hero-bg {
  filter: brightness(0.9) saturate(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  transition: background var(--transition);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text);
  max-width: 660px;
  margin: 1.5rem auto;
  opacity: 0.9;
}

.hero-micro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* Scarcity bar */
.scarcity-bar {
  margin: 2rem auto 0;
  max-width: 420px;
  text-align: left;
}

.scarcity-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.scarcity-label strong {
  color: var(--accent);
}

.dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

.scarcity-track {
  height: 4px;
  background: var(--card-bg);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.scarcity-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s ease;
}

/* Countdown */
.countdown-wrap {
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-block span {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  transition: color 0.2s;
}

.countdown-block label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

@keyframes tick-flash {
  0% {
    color: var(--accent)
  }

  100% {
    color: var(--text)
  }
}

.countdown-block span.ticking {
  animation: tick-flash 0.3s ease;
}

.countdown-sep {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  font-size: 24px;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* ---------- VIDEO ---------- */
#video {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

#video h2 {
  text-align: center;
}

.vsl-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.vsl-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #080808;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: transform 0.3s ease;
}

[data-theme="light"] .vsl-placeholder {
  background: #f0f0f0;
}

.vsl-placeholder:hover {
  transform: scale(1.01);
}

.vsl-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.play-btn {
  width: 80px;
  height: 80px;
  color: var(--accent);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.play-btn svg {
  width: 100%;
  height: 100%;
}

/* ---------- STORY ---------- */
#story h2 {
  margin-bottom: 1.5rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.story-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.story-list li {
  padding: 8px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash {
  color: var(--accent);
  font-weight: 700;
}

.story-question {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-muted);
}

.open-loop {
  margin-top: 2rem;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--card-bg);
  border-radius: 0 4px 4px 0;
}

.open-loop p {
  margin: 0;
  font-size: 16px;
}

.story-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.story-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.card-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.story-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- TESTIMONIALS ---------- */
#testimonials {
  text-align: center;
}

#testimonials h2 {
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.testimonial-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--text);
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- DISCOVER ---------- */
#discover {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

#discover h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .discover-grid {
    grid-template-columns: 1fr;
  }
}

.discover-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.discover-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.di-icon {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.discover-item h3 {
  font-size: 17px;
}

.discover-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- SCIENCE ---------- */
.science-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .science-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.science-points {
  margin: 2rem 0;
}

.science-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}

.sp-line {
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.science-point p {
  margin: 0;
  font-size: 16px;
}

.science-disclaimer {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.science-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brain-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.brain-card:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.brain-pulse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.15);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  animation: pulse-ring 2s ease-in-out infinite;
}

.brain-pulse.blue {
  background: rgba(80, 120, 255, 0.15);
  border-color: #5078ff;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(255, 0, 0, 0);
  }
}

.metric {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 4px;
  line-height: 1;
}

.brain-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- PRICING ---------- */
#pricing {
  text-align: center;
}

#pricing h2 {
  margin-bottom: 2.5rem;
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.price-old {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-new {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.pricing-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.scarcity-pricing {
  background: rgba(255, 0, 0, 0.08);
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 2rem;
  text-align: left;
  font-size: 14px;
}

.scarcity-pricing p {
  margin-bottom: 6px;
}

.scarcity-pricing p:last-child {
  margin: 0;
}

.mini-scarcity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

.mini-scarcity strong {
  color: var(--text);
}

#pricing .btn-primary {
  width: 100%;
  margin-bottom: 12px;
  font-size: 16px;
}

.pricing-micro {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ---------- FAQ ---------- */
#faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--card-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.35s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  transition: max-height 0.6s ease-in-out, padding 0.35s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* ---------- GUARANTEE ---------- */
#guarantee {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.guarantee-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.guarantee-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 1.5rem;
}

#guarantee h2 {
  margin-bottom: 1rem;
}

#guarantee p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 1rem;
}

.guarantee-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px !important;
  color: var(--text) !important;
  margin-bottom: 2rem !important;
}

.guarantee-box .btn-secondary {
  margin-top: 0.5rem;
}

/* ---------- NEWSLETTER ---------- */
#newsletter {
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 1.5rem;
}

#newsletter h2 {
  margin-bottom: 1rem;
}

#newsletter p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  padding: 16px 20px;
  border-radius: 4px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  width: 100%;
}

.newsletter-msg {
  margin-top: 1rem !important;
  font-size: 14px !important;
  font-weight: 600;
}

.newsletter-msg.success {
  color: #4caf50 !important;
}

.newsletter-msg.error {
  color: #f44336 !important;
}

/* ---------- FOOTER ---------- */
#footer {
  padding: 60px 0 30px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
}

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

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 600px;
  opacity: 0.6;
}

/* ---------- STICKY CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: 12px 16px;
  display: none;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.sticky-cta a {
  display: block;
  width: 100%;
  font-size: 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #B30000;
  /* Less aggressive red compared to #FF0000 */
  border-color: #B30000;
}

.sticky-cta a:hover {
  background: #CC0000;
  border-color: #CC0000;
}

@keyframes highlight-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  33% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.5);
    background: #FF3333;
  }

  66% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    background: var(--accent);
  }

  100% {
    transform: scale(1);
  }
}

.highlight-pulse-anim {
  animation: highlight-pulse 1s ease-in-out;
}


@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}

/* ---------- Header scroll effect ---------- */
#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--accent);
  color: #fff;
}