/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Layout helpers */
.ql-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.ql-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(12px);
}

.ql-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.ql-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.ql-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.ql-brand-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: 0.03em;
}

/* Nav */
.ql-nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.ql-nav a {
  color: #cbd5f5;
  text-decoration: none;
  padding: 0.35rem 0.3rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ql-nav a:hover {
  background: rgba(148, 163, 184, 0.16);
  color: #f9fafb;
}

.ql-nav-cta {
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Hero */
.ql-hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.4), transparent 60%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.35), transparent 55%),
    #020617;
}

.ql-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.4rem;
  align-items: center;
}

.ql-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5f3fc;
  margin-bottom: 0.9rem;
}

.ql-hero h1 {
  font-size: clamp(2.1rem, 3.1vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.ql-hero-sub {
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 34rem;
}

.ql-hero-sub a {
  color: #38bdf8;
  text-decoration: none;
}

.ql-hero-sub a:hover {
  text-decoration: underline;
}

.ql-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.7rem;
}

/* Buttons */
.ql-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.ql-btn-primary {
  background: linear-gradient(135deg, #6366f1, #22b083);
  color: #020617;
}

.ql-btn-primary:hover {
  filter: brightness(1.05);
}

.ql-btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  background: transparent;
}

.ql-btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Metrics */
.ql-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.ql-metric {
  min-width: 110px;
}

.ql-metric-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f9fafb;
}

.ql-metric-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Hero right */
.ql-hero-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.9);
  font-size: 0.92rem;
}

.ql-hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.ql-hero-card ul {
  margin-left: 1.2rem;
}

.ql-hero-card li + li {
  margin-top: 0.3rem;
}

.ql-hero-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Sections */
.ql-section {
  padding: 3.6rem 0;
  background: #020617;
}

.ql-section-alt {
  background: #020818;
}

.ql-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  color: #f9fafb;
}

.ql-section-sub {
  max-width: 34rem;
  font-size: 0.98rem;
  color: #cbd5f5;
  margin-bottom: 2rem;
}

/* Split layout */
.ql-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.3rem;
}

/* Pills */
.ql-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ql-pill {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1rem 1rem;
  font-size: 0.9rem;
}

.ql-pill h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* Grid cards */
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.ql-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ql-card {
  background: #020617;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 1.2rem 1.1rem;
  font-size: 0.9rem;
}

.ql-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.ql-card h3 a {
  color: #f9fafb;
  text-decoration: none;
}

.ql-card h3 a:hover {
  text-decoration: underline;
}

.ql-card ul {
  margin-top: 0.5rem;
  margin-left: 1.2rem;
}

.ql-card li + li {
  margin-top: 0.25rem;
}

.ql-tagline {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Steps */
.ql-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.ql-step {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1rem 1rem;
  font-size: 0.9rem;
}

.ql-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.22);
  color: #a5b4fc;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* Contact */
.ql-contact {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.25), #020617 70%);
}

.ql-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.ql-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ql-contact-note {
  font-size: 0.82rem;
  color: #cbd5f5;
}

/* Footer */
.ql-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: #020617;
  padding: 1.3rem 0;
}

.ql-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.ql-footer a {
  color: #38bdf8;
  text-decoration: none;
}

.ql-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .ql-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ql-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ql-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ql-nav {
    display: none; /* keep mobile simple, no JS navigation */
  }

  .ql-header-inner {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ql-grid,
  .ql-grid-3,
  .ql-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ql-hero {
    padding-top: 3.2rem;
  }

  .ql-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
