@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("/css/animate.min.css");

/* ════════════════════════════════════════════════════════════════════════════
   RBD — GLOBAL STYLESHEET
   Common design system shared by every page and component.
   Linked globally via nuxt.config.ts → app.head.link.
   Page-specific styles stay in each page/component's own <style> block.
   Source of truth: plan/frontend/design.md
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --primary:      #e85a3d;
  --primary-dk:   #d44a2d;
  --primary-dkr:  #c43a1d;
  --bg:           #ffffff;
  --bg-alt:       #fafbfc;
  --text:         #1a1a1a;
  --text2:        #666666;
  --text3:        #999999;
  --border:       #e5e7eb;
  --success:      #10b981;
  --danger:       #ef4444;
  --radius:       16px;
  --radius-input: 12px;
  --radius-pill:  50px;
  --shadow:       0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ─── Base Reset ─────────────────────────────────────────────────────────── */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f7f6;          /* light gray app background */
  font-family: "Inter", sans-serif;
}

* {
  font-family: "Inter", sans-serif;
}

/* ─── Container ──────────────────────────────────────────────────────────── */
.rbd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ─── Section Header ─────────────────────────────────────────────────────── */
.rbd-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.rbd-section-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--text);
  margin: 0 0 12px;
}

.rbd-section-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  color: var(--text2);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Section Badge (pill + pulsing dot) ─────────────────────────────────── */
.rbd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(232, 90, 61, 0.1);
  border: 1px solid rgba(232, 90, 61, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 16px;
}
.rbd-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.rbd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-input);
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.rbd-btn--primary {
  background: var(--primary);
  color: #fff;
}
.rbd-btn--primary:hover {
  background: var(--primary-dk);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.rbd-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.rbd-btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
}

.rbd-btn--white {
  background: #fff;
  color: var(--primary);
}
.rbd-btn--white:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.rbd-link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* ─── Shared Animations ──────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

@keyframes patternFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-14px, 12px) scale(1.08); }
}
