@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Permanent+Marker&display=swap');

:root {
  --brand-blue: #0055FF;
  --brand-blue-hover: #0047E0;
  --brand-blue-glow: rgba(0, 85, 255, 0.35);
  --bg-main: #124AC4;
  --bg-card: #1555D0;
  --bg-card-hover: #2062DF;
  --bg-card-inner: #1042B1;
  --border-subtle: #5486E5;
  --border-hover: #77A2ED;
  --text-primary: #FFFFFF;
  --text-secondary: #D7E9FF;
  --text-muted: #B9D8FF;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 72px);
}

/* Typography Utilities */
.font-handwriting {
  font-family: 'Permanent Marker', cursive, sans-serif;
}

/* Touch micro-interactions (150-250ms) */
button, .touch-interactive {
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

button:active, .touch-interactive:active {
  transform: scale(0.97);
}

/* Service Card Styles */
.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--border-hover);
}

/* Stepper Component */
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.step-circle.active {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 0 16px var(--brand-blue-glow);
}

.step-circle.completed {
  background-color: #1A5BDA;
  color: #60A5FA;
  border: 1px solid #70A1F0;
}

.step-circle.inactive {
  background-color: #1555D0;
  color: #B9D8FF;
  border: 1px solid #77A2ED;
}

.step-line {
  flex: 1;
  height: 1px;
  background-color: #6594ED;
  margin: 0 8px;
}

.step-line.active {
  background-color: var(--brand-blue);
}

/* Bottom Bar */
.bottom-nav-bar {
  background-color: rgba(18, 74, 196, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #5C8EE8;
}

/* Primary CTA Button */
.btn-primary-cta {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 85, 255, 0.3);
}

.btn-primary-cta:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: 0 6px 20px rgba(0, 85, 255, 0.45);
}

.btn-primary-cta:active {
  transform: scale(0.98);
}

/* Inputs */
input, textarea, select {
  font-size: 16px !important; /* Prevents iOS auto-zoom */
}

/* Custom Scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth step entry */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
