/* ─── ClaimReady Shared Styles ─── */
:root {
  --navy: #0a1628;
  --navy-mid: #132040;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --cream: #faf8f4;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --text: #1e293b;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
  --purple: #7c3aed;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Syne', 'DM Sans', sans-serif; line-height: 1.2; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Disclaimer Banner */
.disclaimer-banner {
  background: var(--purple);
  color: white;
  text-align: center;
  padding: 10px 5%;
  font-size: 0.82rem;
  font-weight: 500;
}
.disclaimer-banner strong { font-weight: 700; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: white; text-decoration: none;
}
.logo span { color: var(--gold); }
.logo:hover { text-decoration: none; }

nav ul {
  list-style: none; display: flex; gap: 1.5rem; align-items: center;
}
nav ul a {
  color: #94a3b8;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
nav ul a:hover { color: white; text-decoration: none; }
nav ul a.active { color: white; }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--gold-light); text-decoration: none !important; }

.nav-secondary {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.85rem !important;
}
.nav-secondary:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5%;
}
.container-narrow {
  max-width: 480px;
  margin: 0 auto;
  padding: 60px 5%;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
  text-decoration: none;
}
.btn-blue {
  background: var(--blue); color: white;
}
.btn-blue:hover {
  background: #1a4fc4;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--cream);
  text-decoration: none;
}
.btn-full { width: 100%; }
.btn-large { padding: 16px 32px; font-size: 1rem; }

/* Cards */
.card {
  background: white;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border);
}
.card-featured {
  border: 2px solid var(--blue);
  position: relative;
}
.card-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--blue); color: white;
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.6px;
}

/* Form Elements */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-weight: 600; font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit; font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-help {
  font-size: 0.8rem; color: var(--gray);
  margin-top: 4px;
}
.form-error {
  font-size: 0.8rem; color: var(--red);
  margin-top: 4px;
}

/* Section labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 540px;
}

/* Page header */
.page-header {
  background: var(--navy);
  color: white;
  padding: 60px 5% 50px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header p {
  color: var(--gray-light);
  font-size: 1rem;
}

/* Footer */
footer {
  background: #070f1e;
  color: var(--gray);
  padding: 40px 5% 24px;
  margin-top: 60px;
}
.footer-disclaimer {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-info {
  background: #dbeafe; color: #1e3a8a;
  border: 1px solid #bfdbfe;
}
.alert-success {
  background: #dcfce7; color: #166534;
  border: 1px solid #bbf7d0;
}
.alert-warning {
  background: #fef3c7; color: #854d0e;
  border: 1px solid #fde68a;
}
.alert-error {
  background: #fee2e2; color: #991b1b;
  border: 1px solid #fecaca;
}

/* Auth pages (login/signup/forgot) */
.auth-page {
  min-height: calc(100vh - 64px - 40px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.auth-sub {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.auth-footer {
  text-align: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--gray);
}

/* Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.service-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.service-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-price-unit {
  font-size: 0.85rem; font-weight: 400; color: var(--gray);
}
.service-desc {
  font-size: 0.88rem; color: var(--gray);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

/* Welcome banner */
.welcome-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: white;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 28px;
}
.welcome-banner h2 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.welcome-banner p {
  color: var(--gray-light);
  font-size: 0.92rem;
}

/* Step indicator (wizard) */
.steps {
  display: flex; gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.step-pill {
  flex: 1; min-width: 80px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--gray);
  text-align: center;
  border: 1px solid var(--border);
}
.step-pill.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  font-weight: 600;
}
.step-pill.done {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* Order summary */
.summary-box {
  background: var(--navy);
  color: white;
  padding: 18px 22px;
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  margin: 18px 0;
}
.summary-label { color: var(--gray-light); font-weight: 600; font-size: 0.9rem; }
.summary-amount {
  font-family: 'Syne', sans-serif;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.6rem;
}

/* Responsive */
@media (max-width: 700px) {
  nav ul { gap: 0.8rem; }
  nav ul a:not(.nav-cta):not(.nav-secondary) { display: none; }
  .container { padding: 40px 5%; }
  .auth-card { padding: 28px 22px; }
}
