:root {
  --bg: #09131d;
  --panel: rgba(10, 24, 36, 0.78);
  --panel-strong: #102131;
  --text: #f3f7fb;
  --muted: #9fb2c6;
  --accent: #5dd4a2;
  --accent-2: #f4b860;
  --danger: #ef6a6a;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(1, 7, 14, 0.45);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(93, 212, 162, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(244, 184, 96, 0.1), transparent 25%),
    linear-gradient(180deg, #071019 0%, #0b1824 45%, #0b1420 100%);
  color: var(--text);
  min-height: 100vh;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 25, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav-shell,
.footer-shell,
.hero-grid,
.grid-two,
.grid-three,
.grid-four,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.nav-shell {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}

.hero h1,
.panel h1,
.panel h2 {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.1;
}

.eyebrow,
.lead,
.hint-box,
.site-footer p,
.panel p,
.panel span {
  color: var(--muted);
}

.hero-card,
.panel,
.flash {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card,
.panel {
  padding: 1.5rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.metric:last-child {
  border-bottom: none;
}

.section {
  padding: 2rem 0 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #3c9f82);
  color: #041118;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.small {
  min-height: 36px;
  padding: 0.5rem 1rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.flash {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
}

.flash-success {
  border-color: rgba(93, 212, 162, 0.3);
}

.flash-error {
  border-color: rgba(239, 106, 106, 0.35);
}

.narrow {
  max-width: 760px;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
}

.badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.status-approved {
  background: rgba(93, 212, 162, 0.16);
}

.status-pending {
  background: rgba(244, 184, 96, 0.16);
}

.status-rejected,
.status-suspended {
  background: rgba(239, 106, 106, 0.16);
}

.simple-list,
.steps {
  display: grid;
  gap: 0.8rem;
  padding-right: 1.1rem;
}

.simple-list li {
  display: grid;
  gap: 0.25rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.9rem 0.75rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.hero-actions,
.form-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
}

.footer-shell {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-meta {
  display: flex;
  gap: 1rem;
  color: var(--muted);
}

.code-block {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-three,
  .grid-four,
  .dashboard-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .nav-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}
