html { font-size: 16px; height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #0f172a;
  color: #e2e8f0;
  font-family: "Segoe UI", Arial, sans-serif;
}

main {
  flex: 1 0 auto;
  padding-bottom: 24px;
}

.navbar { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.navbar-brand { letter-spacing: 0.5px; }
.container { max-width: 1100px; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  align-items: stretch;
  gap: 24px;
  padding: 48px 0;
}
.hero-content {
  background: linear-gradient(135deg,#111827,#1f2937);
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.hero-visual {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.hero h1 { font-size: 2.6rem; margin-bottom: 12px; color: #fff; }
.hero .lead { color: #cbd5e1; margin-bottom: 20px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; color: #a5b4fc; font-size: 0.85rem; }
.hero-actions .btn { margin-right: 12px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
  margin: 16px 0 40px 0;
}
.feature-card {
  background: #111827;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.feature-card h3 { color: #38bdf8; }
.feature-card p { color: #cbd5e1; }
.feature-card a { color: #a5b4fc; font-weight: 600; text-decoration: none; }

.card-glow {
  background: #0b1224;
  border: 1px solid #1f2937;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 16px;
}

.result-card {
  background: #0b1224;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  border: 1px solid #1f2937;
}
.result-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.result-meta { color: #94a3b8; font-size: 0.9rem; }
.badge-soft { background: #1e293b; color: #e2e8f0; border-radius: 999px; padding: 4px 10px; }

.form-panel {
  background: #0b1224;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  border: 1px solid #1f2937;
}

label { color: #e2e8f0; }
.form-control, .form-select {
  background: #111827;
  color: #e2e8f0;
  border: 1px solid #1f2937;
}
.form-control:focus, .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 0.15rem rgba(56,189,248,0.25);
}

.btn-primary { background: linear-gradient(135deg,#2563eb,#38bdf8); border: none; }
.btn-outline-light { border-color: #94a3b8; color: #e2e8f0; }

.table-dark { --bs-table-bg: #0b1224; --bs-table-striped-bg: #111827; }

/* Profile page */
.profile-page { background: linear-gradient(180deg, #0f172a 0%, #0b1224 60%, #0f172a 100%); padding: 6px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.profile-header h2 { color: #f8fafc; letter-spacing: -0.4px; }
.profile-card {
  background: radial-gradient(circle at 10% 20%, rgba(59,130,246,0.09), transparent 25%), #0b1224;
  border: 1px solid #1f2937;
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
}
.profile-card h4 { color: #f1f5f9; }
.profile-card .form-label { color: #cbd5e1; font-weight: 600; }
.profile-card .form-control, .profile-card .form-select, .profile-card textarea {
  background: #0f172a;
  border-color: #1f2937;
  color: #e2e8f0;
}
.profile-card .form-control:focus, .profile-card .form-select:focus, .profile-card textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 0.15rem rgba(56,189,248,0.25);
}
.profile-card .text-muted { color: #94a3b8 !important; }
.profile-alert { border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.bg-opacity { background: rgba(255,255,255,0.06); }
.payment-card {
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
