:root {
  --bg: #0b1220;
  --bg-alt: #101a2e;
  --surface: #16203a;
  --surface-border: #243151;
  --text: #e8ecf6;
  --text-dim: #9aa7c2;
  --accent: #ff7a3d;
  --accent-dim: #c75c2a;
  --blue: #4f7cff;
  --radius: 10px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  text-wrap: balance;
}

p {
  margin: 0 0 16px;
  color: var(--text-dim);
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.18);
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
}

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

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a0e06;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #ff8a52;
}

.btn-ghost {
  border: 1px solid var(--surface-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 124, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 122, 61, 0.14), transparent 40%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 560px;
}

.hero-visual {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--text);
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sections */

section {
  padding: 80px 0;
  border-top: 1px solid var(--surface-border);
}

section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  max-width: 640px;
}

.section-lede {
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Why section */

.why {
  background: var(--bg-alt);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.problem {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
}

.problem-icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
  margin-bottom: 14px;
}

.problem h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.problem p {
  margin: 0;
  font-size: 0.95rem;
}

.why-resolution {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 760px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
}

.features-more {
  margin-top: 36px;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* App preview mockup */

.preview {
  background: var(--bg-alt);
}

.preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 48px;
}

.preview-text .section-lede {
  margin-bottom: 0;
}

.app-preview {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}

.app-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--surface-border);
}

.app-preview-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-border);
}

.app-preview-url {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.app-preview-body {
  display: flex;
}

.app-preview-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 14px;
  border-right: 1px solid var(--surface-border);
}

.sidebar-dot {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--surface-border);
}

.sidebar-dot.active {
  background: var(--accent);
}

.app-preview-main {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 12px 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.18);
}

.status-pending {
  background: #f4c542;
  box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.18);
}

.status-resolved {
  background: #4caf7d;
  box-shadow: 0 0 0 4px rgba(76, 175, 125, 0.18);
}

.row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-text strong {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}

.row-text span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Page hero (sub-pages, e.g. Features) */

.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 15% 0%, rgba(79, 124, 255, 0.16), transparent 45%);
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  max-width: 700px;
}

.page-hero .hero-sub {
  max-width: 640px;
}

.features-full {
  border-top: none;
}

/* Who it's for */

.who {
  background: var(--bg-alt);
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.size-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
}

.size-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 14px;
}

.size-card h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.size-card p {
  margin: 0;
  font-size: 0.92rem;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Contact */

.contact-inner {
  text-align: center;
  max-width: 600px;
}

.contact-inner .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.interest-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.form-field input,
.form-field select {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.interest-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.form-error {
  color: #ff7a3d;
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 320px;
    order: -1;
  }

  .preview-inner {
    grid-template-columns: 1fr;
  }

  .preview-inner .app-preview {
    max-width: 460px;
    margin: 0 auto;
  }

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

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 48px;
  }

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