:root {
  --bp-bg: #030712;
  --bp-bg-2: #07111f;
  --bp-card: rgba(9, 20, 38, 0.82);
  --bp-card-strong: rgba(10, 27, 52, 0.94);
  --bp-border: rgba(56, 189, 248, 0.22);
  --bp-border-strong: rgba(56, 189, 248, 0.45);
  --bp-text: #eaf6ff;
  --bp-muted: #9fb2c8;
  --bp-blue: #3b82f6;
  --bp-cyan: #22d3ee;
  --bp-violet: #8b5cf6;
  --bp-green: #22c55e;
  --bp-red: #ef4444;
  --bp-yellow: #f59e0b;
  --bp-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --bp-glow: 0 0 34px rgba(34, 211, 238, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bp-bg);
}

body {
  min-height: 100vh;
  color: var(--bp-text);
  background:
    radial-gradient(circle at 16% 10%, rgba(37, 99, 235, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.16), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, #050b16 0%, #030712 42%, #020617 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.9), transparent 18%, transparent 82%, rgba(3, 7, 18, 0.9)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.28) 100%);
}

a {
  color: #67e8f9;
  text-decoration: none;
}

a:hover {
  color: #bae6fd;
}

.app-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(3, 7, 18, 0.82);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.36);
}

.navbar-brand {
  letter-spacing: 0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-main {
  display: inline-block;
  color: #eaf6ff;
}

.brand-accent {
  color: var(--bp-cyan);
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.55);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.18rem 0.46rem;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 999px;
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(59, 130, 246, 0.11);
}

.navbar-toggler {
  border-color: rgba(56, 189, 248, 0.36);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(34, 211, 238, 0.18);
}

.main-shell {
  padding-top: 34px;
  padding-bottom: 120px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bp-text);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.text-muted,
.text-secondary {
  color: var(--bp-muted) !important;
}

.text-dark {
  color: var(--bp-text) !important;
}

.lead {
  color: #b8c7d9;
}

.card {
  color: var(--bp-text);
  background:
    linear-gradient(180deg, rgba(15, 35, 66, 0.88), rgba(5, 13, 27, 0.9));
  border: 1px solid var(--bp-border);
  border-radius: 24px;
  box-shadow: var(--bp-shadow);
  backdrop-filter: blur(18px);
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.34);
}

.shadow-sm {
  box-shadow: var(--bp-shadow) !important;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-warning {
  color: #03101e !important;
  border: 0;
  background: linear-gradient(90deg, #3b82f6 0%, #22d3ee 100%);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.28);
}

.btn-primary:hover,
.btn-warning:hover {
  color: #020617 !important;
  background: linear-gradient(90deg, #60a5fa 0%, #67e8f9 100%);
  box-shadow: 0 0 42px rgba(34, 211, 238, 0.42);
}

.btn-success {
  color: #02130a !important;
  border: 0;
  background: linear-gradient(90deg, #22c55e 0%, #22d3ee 100%);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.22);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-light,
.btn-outline-success {
  color: #c7edff;
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(8, 20, 39, 0.52);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-light:hover,
.btn-outline-success:hover {
  color: #03101e;
  border-color: transparent;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.26);
}

.btn-secondary,
.btn:disabled {
  color: #94a3b8 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: rgba(30, 41, 59, 0.7) !important;
  box-shadow: none !important;
}

.form-label,
label {
  color: #c9d8ea;
  font-weight: 650;
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"] {
  color: var(--bp-text) !important;
  background-color: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 14px !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
  color: rgba(159, 178, 200, 0.62) !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
  color: var(--bp-text) !important;
  background-color: rgba(4, 11, 25, 0.94) !important;
  border-color: rgba(34, 211, 238, 0.78) !important;
  box-shadow: 0 0 0 0.18rem rgba(34, 211, 238, 0.14), 0 0 24px rgba(34, 211, 238, 0.16) !important;
}

.form-check-input {
  background-color: rgba(2, 6, 23, 0.72);
  border-color: rgba(56, 189, 248, 0.42);
}

.form-check-input:checked {
  background-color: var(--bp-cyan);
  border-color: var(--bp-cyan);
}

.errorlist {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: #fca5a5;
}

.table {
  --bs-table-color: var(--bp-text);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(56, 189, 248, 0.13);
  --bs-table-hover-color: var(--bp-text);
  --bs-table-hover-bg: rgba(56, 189, 248, 0.075);
  color: var(--bp-text);
  margin-bottom: 0;
}

.table thead th {
  color: #8bdcff;
  border-bottom-color: rgba(56, 189, 248, 0.25);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table td {
  color: #d7e7f7;
}

.badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-bg-secondary {
  color: #c7edff !important;
  background: rgba(59, 130, 246, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.text-bg-light {
  color: #bae6fd !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.text-bg-success {
  color: #bbf7d0 !important;
  background: rgba(34, 197, 94, 0.16) !important;
  border: 1px solid rgba(34, 197, 94, 0.26);
}

.text-bg-danger {
  color: #fecaca !important;
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1px solid rgba(239, 68, 68, 0.26);
}

.text-bg-warning {
  color: #fde68a !important;
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.26);
}

.alert {
  color: var(--bp-text);
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(8, 20, 39, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.alert-danger {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(127, 29, 29, 0.32);
}

.alert-warning {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(120, 53, 15, 0.28);
}

.alert-success {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(20, 83, 45, 0.28);
}

pre {
  white-space: pre-wrap;
  color: #dbeafe;
  background: rgba(2, 6, 23, 0.74);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 18px;
  padding: 16px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 9999;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  color: #b8c7d9;
  background: rgba(5, 13, 27, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
}

.hero-section {
  min-height: calc(100vh - 210px);
  display: flex;
  align-items: center;
}

.hero-kicker {
  color: #60a5fa;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #3b82f6 0%, #22d3ee 58%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 54px rgba(34, 211, 238, 0.22);
}

.hero-subtitle {
  max-width: 780px;
  margin: 22px auto 0;
  color: #d7e7f7;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 650;
}

.hero-subtitle strong {
  color: #22d3ee;
}

.hero-note {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--bp-muted);
  font-size: 1.05rem;
}

.neon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 28px;
  padding: 0.7rem 1.15rem;
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 24px rgba(59, 130, 246, 0.08);
}

.hero-actions {
  margin-top: 34px;
}

.hero-actions .btn {
  padding: 0.86rem 1.5rem;
}

.tech-panel {
  margin-top: 58px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 35, 66, 0.62), rgba(5, 13, 27, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.16), transparent 22rem);
  box-shadow: var(--bp-shadow), var(--bp-glow);
  overflow: hidden;
}

.tech-panel-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  color: #9fb2c8;
  font-size: 0.86rem;
}

.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.75);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(56, 189, 248, 0.12);
}

.tech-step {
  padding: 24px 18px;
  background: rgba(3, 7, 18, 0.76);
}

.tech-step-number {
  color: #22d3ee;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
}

.tech-step-title {
  margin-top: 8px;
  color: var(--bp-text);
  font-weight: 800;
}

.tech-step-text {
  margin-top: 6px;
  color: var(--bp-muted);
  font-size: 0.92rem;
}

.dashboard-stat {
  position: relative;
  overflow: hidden;
}

.dashboard-stat::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.16);
  filter: blur(8px);
}

.display-6 {
  color: #67e8f9;
  font-weight: 900;
  text-shadow: 0 0 32px rgba(34, 211, 238, 0.42);
}

@media (max-width: 991px) {
  .main-shell {
    padding-top: 24px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 34px;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 3.1rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .d-flex.gap-2 {
    gap: 0.5rem !important;
  }
}
