:root {
  --accent: #9CD230;
  --accent-rgb: 156, 210, 48;
  --accent-text: #000000;
  --bg: #FAF7F2;
  --text: #2C3E50;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(156, 210, 48, 0.2); color: #2C3E50; }

h1, h2, h3, h4, .font-heading {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

img { transition: opacity 0.4s ease; }

/* FAQ Accordion Arrow */
details[open] > summary svg { transform: rotate(180deg); }
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }

/* ═══ CSS REVEAL SYSTEM ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ AMBIENT ANIMATIONS ═══ */

/* CTA Button Pulse */
.cta-pulse {
  position: relative;
  animation: pulse-shadow 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}
.cta-pulse:hover {
  animation: none;
  box-shadow: 0 0 30px 8px rgba(156, 210, 48, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* Floating */
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 8s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out 1s infinite; }
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Dot Pulse */
.dot-pulse { animation: dot-blink 1.5s infinite; }
@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Breathe */
.animate-breathe { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Slow Spin */
@keyframes subtleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin-slow { animation: subtleRotate 20s linear infinite; }

/* ═══ CARD SHIMMER ═══ */
.card-shimmer {
  position: relative;
  overflow: hidden;
}
.card-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s ease;
  z-index: 1;
  pointer-events: none;
}
.card-shimmer:hover::after {
  left: 200%;
}

/* ═══ PROCESS CARD VARIANTS ═══ */
.process-card {
  transition: all 0.4s ease;
  cursor: default;
}
.process-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(156, 210, 48, 0.2);
}
.process-card .step-number { transition: all 0.4s ease; }
.process-card:hover .step-number {
  transform: scale(1.2) translateY(-10px);
  color: rgba(var(--accent-rgb), 0.1);
}

/* Glow */
.process-card-glow:hover {
  background: linear-gradient(145deg, #ffffff, #f8fdf0);
  border-color: rgba(var(--accent-rgb), 0.3);
}

/* Accent bar */
.process-card-accent { position: relative; }
.process-card-accent::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 4px;
  background-color: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.process-card-accent:hover::before { transform: scaleY(1); }

/* Ring */
.process-card-ring:hover {
  box-shadow: 0 0 0 2px var(--accent), 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* Slide */
.process-card-slide { z-index: 1; }
.process-card-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(var(--accent-rgb), 0.03);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: -1;
}
.process-card-slide:hover::after { transform: translateY(0); }

/* ═══ DECORATIVE BACKGROUNDS ═══ */

/* Radial accent glow */
.bg-glow-tl { position: relative; }
.bg-glow-tl::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}

.bg-glow-br { position: relative; }
.bg-glow-br::before {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}

/* Dot pattern */
.bg-dots {
  background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Large watermark text */
.watermark { position: relative; overflow: hidden; }
.watermark::after {
  content: attr(data-watermark);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(0,0,0,0.015);
  white-space: nowrap;
  pointer-events: none; z-index: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.05em;
}

/* Accent line top */
.accent-line-top { position: relative; }
.accent-line-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ═══ STEP FORM ═══ */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Step panel slide transitions */
.step-panel {
  animation: stepFadeIn 0.25s ease-out both;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Option card selected state with checkmark */
.option-card.sf-selected {
  border-color: #9CD230 !important;
  background: linear-gradient(135deg, #f8fdf0, #ffffff) !important;
  box-shadow: 0 8px 25px -5px rgba(156, 210, 48, 0.25), 0 0 0 1px rgba(156, 210, 48, 0.15) !important;
}
.option-card.sf-selected .sf-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Card form field stagger animation */
.sf-field {
  animation: fieldSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--delay, 0s);
}
@keyframes fieldSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp button special styling */
.sf-wa-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: white !important;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.5) !important;
  animation: waPulse 2.5s infinite cubic-bezier(0.66, 0, 0, 1) !important;
  font-size: 1.1rem !important;
  padding: 1rem 2.5rem !important;
  gap: 0.6rem !important;
  letter-spacing: 0.01em !important;
  -webkit-font-smoothing: antialiased !important;
}
.sf-wa-btn svg {
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}
.sf-wa-btn:hover {
  background: linear-gradient(135deg, #22c55e 0%, #128C7E 100%) !important;
  box-shadow: 0 12px 32px -4px rgba(37, 211, 102, 0.6) !important;
  animation: none !important;
  transform: translateY(-2px) scale(1.02) !important;
}
.sf-wa-btn:active {
  transform: translateY(0) scale(0.98) !important;
}
@keyframes waPulse {
  0% { box-shadow: 0 8px 24px -4px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.35); }
  70% { box-shadow: 0 8px 24px -4px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px -4px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* Card form field stagger — faster */
.sf-field {
  animation: fieldSlideUp 0.25s ease-out both;
  animation-delay: var(--delay, 0s);
}

/* Subtle card glow */
.sf-card {
  transition: box-shadow 0.4s ease;
}
.sf-card:hover {
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.12), 0 0 0 1px rgba(156, 210, 48, 0.08);
}