:root {
  --bg: #050505;
  --bg-soft: #0e0e0e;
  --panel: rgba(22, 22, 22, 0.95);
  --panel-alt: rgba(30, 30, 30, 0.95);
  --panel-soft: rgba(255, 255, 255, 0.025);
  --border: rgba(241, 82, 6, 0.18);
  --border-strong: rgba(241, 82, 6, 0.38);
  --text: #f6f3f1;
  --muted: #aaa3a0;
  --accent: #f15206;
  --accent-soft: rgba(241, 82, 6, 0.1);
  --success: #2fd07d;
  --danger: #ff6464;
  --warning: #f0c36a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(241, 82, 6, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.045), transparent 18%),
    linear-gradient(180deg, #030303 0%, #0b0b0b 44%, #040404 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.05rem;
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 42px;
}

.site-header,
.hero-card,
.panel,
.info-card,
.stat-card {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(25, 25, 25, 0.97), rgba(12, 12, 12, 0.97));
  box-shadow: var(--shadow);
}

.site-header,
.hero-card,
.panel {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span,
.eyebrow,
.muted,
label,
.table-wrap th {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.accent {
  color: var(--accent);
}

.nav-links,
.hero-actions,
.stack-grid,
.auth-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links {
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: #fff6f1;
  background: linear-gradient(135deg, #d64d0a, var(--accent));
  border-color: rgba(255, 255, 255, 0.06);
}

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

.button-ghost {
  color: var(--accent);
  background: rgba(241, 82, 6, 0.08);
  border-color: var(--border);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.hero-grid,
.feature-grid,
.form-grid,
.dashboard-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

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

.hero-copy {
  max-width: 42rem;
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-copy-block {
  display: grid;
  gap: 18px;
}

.hero-actions-spaced {
  margin-top: 6px;
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.hero-stat-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.hero-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.hero-stat-card strong {
  display: block;
  font-size: 1rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-card {
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at center, rgba(241, 82, 6, 0.15), transparent 48%),
    #090909;
}

.logo-card img {
  width: min(100%, 380px);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li,
.signal-row,
.detail-list li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--panel-soft);
}

.feature-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.feature-list span:last-child {
  color: var(--accent);
}

.disclaimer {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  background: rgba(241, 82, 6, 0.08);
  color: #f7c7b2;
}

.landing-disclaimer-panel {
  margin-top: 20px;
}

.landing-disclaimer {
  margin-top: 0;
}

.landing-proof-panel,
.landing-cta-panel {
  margin-top: 20px;
}

.landing-proof-copy {
  margin-bottom: 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(241, 82, 6, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-placeholder {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(241, 82, 6, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.78), rgba(9, 9, 9, 0.96));
}

.testimonial-placeholder::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(241, 82, 6, 0.72), rgba(255, 255, 255, 0.12));
  opacity: 0.55;
}

.disclaimer-stack {
  display: grid;
  gap: 12px;
}

.community-activity {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(360px, calc(100% - 24px));
  padding: 16px 18px 17px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(241, 82, 6, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(19, 19, 19, 0.97), rgba(7, 7, 7, 0.98));
  box-shadow: var(--shadow);
  animation: floatIn 0.35s ease;
}

.community-activity-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.community-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(47, 208, 125, 0.1);
}

.community-activity-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-activity-time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.community-activity strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel {
  backdrop-filter: blur(10px);
}

.info-card,
.stat-card {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.info-card strong,
.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

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

label {
  display: grid;
  gap: 8px;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(241, 82, 6, 0.12);
}

.helper-text {
  color: var(--muted);
  line-height: 1.6;
}

.message-box {
  margin-top: 14px;
  min-height: 24px;
  color: var(--muted);
}

.success-text {
  color: var(--success);
}

.danger-text {
  color: var(--danger);
}

.warning-copy {
  color: #d8c3a7;
}

.dashboard-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.detail-list,
.table-wrap table {
  width: 100%;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 11px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-success {
  color: var(--success);
}

.status-danger {
  color: var(--danger);
}

.status-warn {
  color: var(--warning);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .hero-grid,
  .dashboard-grid,
  .feature-grid,
  .hero-stat-strip,
  .landing-feature-grid-wide,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 1180px);
    padding-top: 10px;
  }

  .site-header,
  .hero-card,
  .panel {
    padding: 18px;
    border-radius: 24px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .nav-links,
  .hero-actions,
  .auth-links {
    width: 100%;
  }

  .community-activity {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
