/* ==========================================================================
   RWMS Enterprise Web Design System (site.css)
   Registration Workflow Management System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;

  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-50: #fffbeb;

  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-50: #fff1f2;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 50px -10px rgba(37, 99, 235, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: #ffffff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navigation */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.top-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: center;
}

.top-bar a {
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 600;
  color: #fbbf24;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--slate-950);
  letter-spacing: -0.025em;
}

.brand-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--primary-100);
  color: var(--primary-700);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-600);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-outline-primary {
  border: 1px solid var(--primary-300);
  color: var(--primary-700);
  background: var(--primary-50);
}

.btn-outline-primary:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
}

.btn-dark {
  background: var(--slate-900);
  color: #ffffff;
  border: 1px solid var(--slate-800);
}

.btn-dark:hover {
  background: var(--slate-950);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: 0.75rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 0.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: var(--slate-700);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, #dbeafe 0%, #ffffff 70%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--primary-200);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-pill .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--slate-950);
  max-width: 960px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Stats Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .stats-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  font-family: var(--font-sans);
}

.stat-item:nth-child(1) .stat-value { color: var(--primary-600); }
.stat-item:nth-child(2) .stat-value { color: var(--emerald-600); }
.stat-item:nth-child(3) .stat-value { color: var(--amber-600); }
.stat-item:nth-child(4) .stat-value { color: var(--primary-700); }

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Dashboard Mockup Component */
.mockup-container {
  margin-top: 3.5rem;
  border-radius: 1.25rem;
  background: var(--slate-900);
  padding: 0.75rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), var(--shadow-glow);
  border: 1px solid var(--slate-700);
}

.mockup-inner {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 0.2rem 1rem;
  border-radius: 9999px;
  color: var(--slate-600);
}

.mockup-body {
  padding: 1.5rem;
}

/* Section Common */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: var(--slate-950);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow {
  color: var(--primary-400);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-950);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--slate-400);
}

/* Before vs After Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compare-card {
  border-radius: 1rem;
  padding: 2.25rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.compare-card.bad {
  border-top: 4px solid var(--rose-500);
}

.compare-card.good {
  border-top: 4px solid var(--emerald-500);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.compare-card.good::before {
  content: "RECOMMENDED SOLUTION";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--emerald-100);
  color: var(--emerald-700);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.compare-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bad .compare-icon {
  background: var(--rose-50);
  color: var(--rose-600);
}

.good .compare-icon {
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.compare-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.compare-check {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.bad .compare-check { color: var(--rose-500); }
.good .compare-check { color: var(--emerald-500); }

/* 10-Stage Pipeline Interactive Component */
.pipeline-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .pipeline-layout {
    grid-template-columns: 360px 1fr;
  }
}

.pipeline-nav {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem;
  max-height: 600px;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .pipeline-nav {
    border-bottom: none;
    border-right: 1px solid var(--slate-200);
  }
}

.pipeline-step-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  text-align: left;
  transition: all 0.15s ease;
  margin-bottom: 0.35rem;
  border: 1px solid transparent;
}

.pipeline-step-btn:hover {
  background: #ffffff;
  border-color: var(--slate-200);
}

.pipeline-step-btn.active {
  background: #ffffff;
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--slate-200);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.active .step-number {
  background: var(--primary-600);
  color: #ffffff;
}

.step-text {
  min-width: 0;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
  display: block;
}

.pipeline-detail-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stage-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.stage-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-950);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.stage-desc {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.stage-outputs-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.stage-outputs-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.stage-outputs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-tag {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0.375rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.feature-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--primary-100);
}

.feature-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.625rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ROI Calculator Component */
.roi-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .roi-card {
    grid-template-columns: 1.2fr 1fr;
  }
}

.roi-controls {
  padding: 2.5rem;
}

.roi-slider-group {
  margin-bottom: 2rem;
}

.roi-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.roi-label {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.9375rem;
}

.roi-value-pill {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.2rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--primary-200);
}

.slider-input {
  width: 100%;
  height: 0.5rem;
  background: var(--slate-200);
  border-radius: 9999px;
  outline: none;
  -webkit-appearance: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: var(--primary-600);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  transition: all 0.15s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-results {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0f172a 100%);
  color: #ffffff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roi-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.roi-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.roi-kpi-val {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--emerald-500);
  font-family: var(--font-mono);
}

.roi-kpi-lbl {
  font-size: 0.8125rem;
  color: var(--slate-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card.featured {
  border: 2px solid var(--primary-600);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.featured-tag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-600);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
}

.pricing-target {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.pricing-sub {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.pricing-feature-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.15s ease;
}

.faq-item:hover {
  border-color: var(--primary-300);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  text-align: left;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.2s ease;
  color: var(--primary-600);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.5rem;
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.25rem;
  position: relative;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Form inputs */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--slate-300);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--slate-900);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Footer */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--slate-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--slate-850);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
