:root {
  --bg-dark: #0b1220;
  --bg-light: #f8fafc;
  --primary: #2563eb;
  --accent: #38bdf8;
  --text-dark: #0f172a;
  --radius: 14px;
}

.rescue-page {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
}

/* HERO */
.rescue-hero {
  position: relative;
  background: radial-gradient(circle at top, #1e3a8a, #020617);
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('/images/grid.svg') center / cover;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 7rem 1.5rem;
}

.eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  opacity: 0.8;
}

h1 span {
  color: var(--accent);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* TRUST */
.trust-strip {
  background: #020617;
  color: #c7d2fe;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
  padding: 1.5rem;
}

/* SECTIONS */
.rescue-section {
  padding: 5rem 1.5rem;
}

.rescue-section.light {
  background: var(--bg-light);
}

.rescue-section.dark {
  background: var(--bg-dark);
  color: #e5e7eb;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.container.narrow {
  max-width: 800px;
}

/* CARDS */
.card,
.compare-card,
.why-card,
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.dark .why-card {
  background: #020617;
  border: 1px solid #1e293b;
}

.pain-cards,
.why-grid,
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37,99,235,0.4);
}

.btn-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.full {
  width: 100%;
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* stagger support */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }


/* HERO VISUALS */
.hero-visuals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mockup {
  position: absolute;
  right: 5%;
  bottom: -60px;
  width: min(520px, 90vw);
  transform: translateY(40px);
  opacity: 0;
  animation: mockupIn 1.2s ease forwards;
  animation-delay: 0.4s;
}

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

/* ORBS */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.orb-blue {
  width: 320px;
  height: 320px;
  background: #2563eb;
  top: 10%;
  left: 10%;
}

.orb-cyan {
  width: 260px;
  height: 260px;
  background: #38bdf8;
  bottom: 20%;
  right: 15%;
}


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