:root {
  --accent: #C00F20;
  --accent-rgb: 192, 15, 32;
  --accent-text: #ffffff;
  --bg: #111116;
  --text: #FAF8F5;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

::selection { background: rgba(192, 15, 32, 0.2); color: #FAF8F5; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

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; }

/* ═══ AMBIENT ANIMATIONS — always running, no scroll needed ═══ */

/* CTA Button Pulse — subtle glow breathing */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 15, 32, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(192, 15, 32, 0.15); }
}
.cta-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}
.cta-pulse:hover {
  animation: none;
  box-shadow: 0 0 30px 8px rgba(192, 15, 32, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Floating element — gentle up-down hover */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out 1s infinite; }

/* Card Shimmer — light sweep on hover */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.card-shimmer {
  position: relative;
  overflow: hidden;
}
.card-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(192, 15, 32, 0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card-shimmer:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* Gradient Background Shift — slow ambient color movement */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
}

/* Border Glow — subtle accent border pulse */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(192, 15, 32, 0.08); }
  50% { border-color: rgba(192, 15, 32, 0.25); }
}
.border-glow {
  animation: borderGlow 4s ease-in-out infinite;
}

/* Accent Dot Pulse — for status indicators */
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.dot-pulse {
  animation: dotPulse 2s ease-in-out infinite;
}

/* Subtle Rotate — for decorative elements */
@keyframes subtleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin-slow { animation: subtleRotate 20s linear infinite; }

/* Scale Breathe — for featured cards or icons */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.animate-breathe { animation: breathe 4s ease-in-out infinite; }

/* ═══ CSS REVEAL SYSTEM — bulletproof scroll animations ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Radial accent glow — large soft circle in corner */
.bg-glow-tl { position: relative; }
.bg-glow-tl::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(192, 15, 32, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.bg-glow-br { position: relative; }
.bg-glow-br::before {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(192, 15, 32, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Diagonal section divider */
.section-divider-top { position: relative; }
.section-divider-top::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom right, var(--bg) 49.5%, transparent 50.5%);
  pointer-events: none; z-index: 1;
}

/* Subtle grid pattern overlay */
.bg-grid { position: relative; }
.bg-grid::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(192, 15, 32, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(192, 15, 32, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* Dot pattern overlay */
.bg-dots { position: relative; }
.bg-dots::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(192, 15, 32, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none; z-index: 0;
}

/* Large watermark text */
.watermark { position: relative; overflow: hidden; }
.watermark::before {
  content: attr(data-watermark);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(6rem, 15vw, 14rem); font-weight: 900; white-space: nowrap;
  color: rgba(192, 15, 32, 0.025);
  pointer-events: none; z-index: 0; line-height: 1;
  font-family: Playfair Display, system-ui, sans-serif;
}

/* Gradient fade top/bottom on sections */
.gradient-fade-top { position: relative; }
.gradient-fade-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(192, 15, 32, 0.03), transparent);
  pointer-events: none; z-index: 0;
}

/* Accent line accent at top of section */
.accent-line-top { position: relative; }
.accent-line-top::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 15, 32, 0.3), transparent);
  pointer-events: none; z-index: 1;
}

/* ═══ PROCESS CARD HOVER EFFECTS ═══ */

/* Base hover for all process cards */
.process-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}
.process-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(192, 15, 32, 0.2);
}

/* Variant 1: Color intensification on hover */
.process-card-glow:hover {
  background: linear-gradient(135deg, rgba(192, 15, 32, 0.12) 0%, rgba(192, 15, 32, 0.04) 100%) !important;
  border-color: rgba(192, 15, 32, 0.4) !important;
}

/* Variant 2: Accent left-border reveal */
.process-card-accent:hover {
  border-left: 3px solid var(--accent) !important;
  padding-left: calc(1.5rem - 3px);
}

/* Variant 3: Lift + glow ring */
.process-card-ring:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 2px rgba(192, 15, 32, 0.3), 0 0 30px rgba(192, 15, 32, 0.1);
}

/* Variant 4: Background slide-in */
@keyframes bgSlideIn {
  0% { background-position: -100% 0; }
  100% { background-position: 0% 0; }
}
.process-card-slide {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, transparent 50%, rgba(192, 15, 32, 0.08) 50%);
  background-position: -100% 0;
}
.process-card-slide:hover {
  animation: bgSlideIn 0.4s ease forwards;
}

/* Variant 5: Number highlight — makes step number pop on hover */
.process-card:hover .step-number {
  color: var(--accent) !important;
  opacity: 0.15 !important;
  transform: scale(1.1);
  transition: all 0.4s ease;
}

/* All process cards: smooth number transition */
.process-card .step-number {
  transition: all 0.4s ease;
}


/* === Gemini CSS === */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --color-main: #111116;
  --color-alt: #1D1D23;
  --color-accent: #C00F20;
  --color-accent-text: #ffffff;
}

/* Typography Classes */
.font-heading { font-family: 'Playfair Display', serif; }
.font-body { font-family: 'Lato', sans-serif; }
.font-drama { font-family: 'Playfair Display', serif; font-style: italic; }

/* Scroll 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.active {
  opacity: 1;
  transform: translateY(0);
}

/* Ambient Animations */
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 15, 32, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(192, 15, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 15, 32, 0); }
}
.cta-pulse { animation: ctaPulse 2.5s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

@keyframes dotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 15, 32, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(192, 15, 32, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 15, 32, 0); }
}
.dot-pulse { animation: dotPulse 2s infinite; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.animate-breathe { animation: breathe 3s ease-in-out infinite; }

/* Card Shimmer Effect */
.card-shimmer {
  position: relative;
}
.card-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-25deg);
  transition: 0.6s ease-in-out;
  z-index: 30;
  pointer-events: none;
}
.card-shimmer:hover::before {
  left: 200%;
  transition: 0.8s ease-in-out;
}

/* Process Card Variants */
.process-card { transition: all 0.4s ease; position: relative; overflow: hidden; }
.process-card-glow:hover { background: radial-gradient(circle at center, rgba(192,15,32,0.1) 0%, #1a1a20 60%); }
.process-card-accent::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-accent); transition: width 0.3s ease; }
.process-card-accent:hover::before { width: 4px; }
.process-card-ring:hover { box-shadow: inset 0 0 0 1px var(--color-accent); }
.process-card-slide { z-index: 1; }
.process-card-slide::after { content: ''; position: absolute; inset: 0; background: rgba(192,15,32,0.03); transform: translateY(100%); transition: transform 0.4s ease; z-index: -1; }
.process-card-slide:hover::after { transform: translateY(0); }
.step-number { transition: color 0.4s, transform 0.4s; }
.process-card:hover .step-number { color: rgba(192,15,32,0.15); transform: scale(1.1) translate(10px, -10px); }

/* Decorative Backgrounds */
.bg-glow-tl { position: relative; }
.bg-glow-tl::before { content: ''; position: absolute; top: -20%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(192,15,32,0.06) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.bg-glow-br { position: relative; }
.bg-glow-br::after { content: ''; position: absolute; bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(192,15,32,0.06) 0%, transparent 60%); pointer-events: none; z-index: 0; }

.bg-grid {
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.watermark { position: relative; overflow: hidden; }
.watermark::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  font-family: 'Playfair Display', serif;
  user-select: none;
}

.gradient-fade-top { position: relative; }
.gradient-fade-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(192,15,32,0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

.accent-line-top { border-top: 1px solid rgba(192,15,32,0.2); }

/* Utilities */
.content-relative { position: relative; z-index: 10; }

/* Native Details/Summary Styling */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary svg.chevron { transform: rotate(180deg); }