:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-elevated-soft: rgba(15, 23, 42, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.2);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-strong: #0ea5e9;
  --accent-secondary: #a855f7;
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --text-faint: #6b7280;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.85);
  --shadow-hero: 0 24px 90px rgba(59, 130, 246, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 42%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header-scrolled {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #38bdf8, #0ea5e9 40%, #22c55e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--text-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: #e5e7eb;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e5f2ff;
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.45);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 2px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

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

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.14;
  margin: 18px 0 12px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.3), transparent 55%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 11px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0b1120;
  box-shadow: var(--shadow-hero);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(56, 189, 248, 0.65);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  background: rgba(30, 64, 175, 0.4);
  border-color: rgba(129, 140, 248, 0.7);
  color: #e5e7eb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--text-faint);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
}

.hero-panel {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.34), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot.red {
  background: #fb7185;
}

.dot.yellow {
  background: #fbbf24;
}

.dot.green {
  background: #34d399;
}

.hero-card-title {
  margin-left: auto;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-body {
  background: radial-gradient(circle at 5% 0, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat {
  padding: 10px 9px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.stat-label {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-trend {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-soft);
}

.stat-trend.up {
  color: #22c55e;
}

.hero-graph {
  position: relative;
  margin-bottom: 12px;
  padding: 10px 10px 9px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.11), rgba(15, 23, 42, 0.96));
  border: 1px dashed rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.hero-graph-line {
  position: relative;
  height: 32px;
  margin-bottom: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.24));
}

.hero-graph-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 50%, rgba(148, 163, 184, 0.35), transparent 55%);
}

.hero-graph-line.accent {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.35));
}

.hero-graph-line.accent::after {
  background: radial-gradient(circle at 0 50%, rgba(56, 189, 248, 0.9), transparent 60%);
}

.hero-graph-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
}

.hero-graph-footer span:last-child {
  color: #22c55e;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-soft);
}

/* Sections */
.section {
  padding: 40px 0 36px;
}

.section-alt {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-head h2 {
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.07), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
}

.feature-card h3,
.scenario-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p,
.scenario-card p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: var(--accent);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.card-list li {
  margin-bottom: 4px;
}

.card-list.small {
  font-size: 12px;
}

/* Architecture */
.architecture {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: flex-start;
}

.architecture-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-step {
  display: flex;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.flow-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(56, 189, 248, 0.7);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.flow-content h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.flow-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.flow-arrow {
  align-self: center;
  font-size: 18px;
  color: var(--accent-secondary);
}

.architecture-panel {
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.08), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-soft);
}

.arch-diagram {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.arch-column h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.arch-column ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-soft);
}

.arch-column li {
  margin-bottom: 3px;
}

.arch-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-faint);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  border-radius: 18px;
  padding: 14px 13px 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.step-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.75);
  color: var(--accent);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.step-body p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  position: relative;
}

.pricing-card-highlight {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 1));
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 24px 70px rgba(56, 189, 248, 0.65);
}

.pricing-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.pricing-tag {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--accent);
}

.pricing-footer {
  margin-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.price {
  font-size: 14px;
  font-weight: 500;
}

.price-note {
  font-size: 11px;
  color: var(--text-faint);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  padding: 10px 12px 8px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}

.contact-info,
.contact-form {
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-info h3,
.contact-form h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.contact-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.contact-lines {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-line {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.contact-line .label {
  width: 52px;
  color: var(--text-faint);
}

.contact-line .value {
  color: var(--text-main);
}

.contact-note {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0 0 10px;
}

.contact-checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-soft);
}

.contact-checklist li {
  margin-bottom: 4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 16px 0 18px;
  background: linear-gradient(to top, #020617, rgba(15, 23, 42, 0.95));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-faint);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.brand-mini .brand-logo {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.brand-mini .brand-name {
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 12px;
}

.footer-right a {
  color: var(--text-soft);
}

.footer-right a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

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

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

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

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

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

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav {
    position: absolute;
    inset: 60px 16px auto 16px;
    border-radius: 18px;
    padding: 10px 12px;
    flex-direction: column;
    gap: 6px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.96);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.nav-open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .section {
    padding: 32px 0 30px;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

