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

:root {
  --fj-bg: #f4f5fb;
  --fj-surface: #ffffff;
  --fj-surface-soft: #f8fafc;
  --fj-border-subtle: rgba(148, 163, 184, 0.45);
  --fj-accent: #2563eb;
  --fj-accent-soft: rgba(37, 99, 235, 0.08);
  --fj-accent-strong: #0f766e;
  --fj-text: #0f172a;
  --fj-text-soft: #4b5563;
  --fj-radius-lg: 20px;
  --fj-radius-pill: 999px;
  --fj-shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.16);
  --fj-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fj-max-width: 1120px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--fj-font);
  background: radial-gradient(circle at top, #e5f0ff 0, #f9fafb 45%, #f3f4f6 100%);
  color: var(--fj-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--fj-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88));
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.2rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-orb {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0, #38bdf8, #2563eb 55%, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.6);
}

.logo-orb.small {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  font-size: 0.75rem;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
  color: #0f172a;
}

.logo-text span:last-child {
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  transition: width 0.16s ease-out;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--fj-radius-pill);
  padding: 0.5rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.65rem 1.5rem;
  font-size: 0.92rem;
}

.btn-xs {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.6);
}

.btn-ghost {
  background: white;
  border-color: rgba(148, 163, 184, 0.7);
  color: #111827;
}

.btn-ghost:hover {
  background: #f9fafb;
}

/* Loading state */
.btn.is-loading {
  position: relative;
}

.btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.7);
  border-top-color: rgba(15, 23, 42, 0.2);
  margin-right: 0.25rem;
  animation: spin 0.7s linear infinite;
}

/* HERO */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-layout-b .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-gradient-bg {
  position: absolute;
  inset: -180px -40px auto;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 0.85rem;
  color: #020617;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: #1f2933;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a);
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-meta span {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eef2ff;
}

/* HERO PANEL */
.hero-panel {
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #e5e7eb;
  box-shadow: var(--fj-shadow-soft);
  padding: 1.2rem 1.15rem 1.1rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 60%);
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.panel-subtitle {
  font-size: 0.78rem;
  color: #9ca3af;
}

.panel-tag {
  font-size: 0.72rem;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: #e0f2fe;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.metric-card {
  padding: 0.6rem 0.65rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.metric-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.1rem;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.metric-change {
  font-size: 0.7rem;
  color: #9ca3af;
}

.metric-change.positive {
  color: #4ade80;
}

.panel-table {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.96);
  position: relative;
  z-index: 1;
}

.panel-table-head,
.panel-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
}

.panel-table-head {
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.2), transparent 70%);
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.panel-table-row:nth-child(odd) {
  background: rgba(15, 23, 42, 0.98);
}

.panel-table-row:nth-child(even) {
  background: rgba(17, 24, 39, 0.98);
}

.panel-table-row span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.status-pill {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  border: 1px solid;
}

.status-locked {
  background: rgba(22, 163, 74, 0.2);
  border-color: rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.7rem 0.55rem;
  font-size: 0.72rem;
  color: #e5e7eb;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  margin-top: 0.1rem;
  position: relative;
  z-index: 1;
}

.panel-footer-pill {
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.spark-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4ade80, #16a34a);
}

/* Sections */
.section {
  padding: 3.2rem 0 0.4rem;
}

.section-light {
  background: #f9fafb;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  margin-bottom: 1.8rem;
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.4rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.feature-card {
  border-radius: var(--fj-radius-lg);
  padding: 1.1rem 1.05rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.feature-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fj-accent-soft);
  border: 1px solid rgba(191, 219, 254, 0.9);
  margin-bottom: 0.65rem;
}

.feature-card h3 {
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
}

.feature-card p {
  font-size: 0.86rem;
  color: #4b5563;
  margin: 0 0 0.6rem;
}

.feature-tag {
  font-size: 0.78rem;
  color: #2563eb;
}

/* Split / workflow */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.timeline li {
  font-size: 0.88rem;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.bullet {
  margin-top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #2563eb, #0ea5e9);
}

/* UI Shell */
.ui-shell {
  border-radius: 20px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(31, 41, 55, 0.9);
  color: #e5e7eb;
  box-shadow: var(--fj-shadow-soft);
}

.ui-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: #020617;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

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

.ui-header .red {
  background: #f97373;
}

.ui-header .yellow {
  background: #fde68a;
}

.ui-header .green {
  background: #4ade80;
}

.ui-title {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-left: 0.35rem;
}

.ui-body {
  padding: 0.85rem 0.8rem 0.9rem;
}

.ui-columns {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.05fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.ui-column {
  font-size: 0.78rem;
}

.ui-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid;
  margin-bottom: 0.2rem;
}

.pill-ghost {
  border-color: rgba(75, 85, 99, 0.9);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.pill-soft {
  border-color: rgba(56, 189, 248, 0.7);
  color: #a5f3fc;
  background: rgba(8, 47, 73, 0.7);
}

.ui-change {
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-bottom: 0.22rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.ui-change.positive {
  color: #bbf7d0;
  border-color: rgba(22, 163, 74, 0.8);
}

.ui-change.negative {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.8);
}

.ui-change.neutral {
  color: #e5e7eb;
}

.ui-flag {
  font-size: 0.72rem;
  padding: 0.18rem 0.45rem;
  border-radius: 8px;
  background: rgba(120, 113, 108, 0.18);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  margin-bottom: 0.22rem;
}

.ui-table {
  margin-top: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  overflow: hidden;
  font-size: 0.75rem;
}

.ui-table-head,
.ui-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr 0.9fr;
  padding: 0.45rem 0.6rem;
}

.ui-table-head {
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 1));
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ui-table-row:nth-child(odd) {
  background: rgba(15, 23, 42, 0.98);
}

.ui-table-row:nth-child(even) {
  background: rgba(17, 24, 39, 0.98);
}

.pill-green {
  border-color: rgba(34, 197, 94, 0.8);
  background: rgba(22, 163, 74, 0.2);
  color: #bbf7d0;
}

.pill-amber {
  border-color: rgba(245, 158, 11, 0.8);
  background: rgba(245, 158, 11, 0.18);
  color: #fed7aa;
}

.ui-footer {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: #9ca3af;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.why-card {
  border-radius: 18px;
  padding: 1.1rem 1.05rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
  font-size: 0.88rem;
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

/* CTA */
.section-cta {
  background: radial-gradient(circle at top, #e0edff 0, #e5f0ff 35%, #ffffff 100%);
}

.section-cta .container {
  padding-bottom: 2.4rem;
}

.cta-inner {
  border-radius: 24px;
  padding: 1.7rem 1.6rem;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  box-shadow: 0 26px 60px rgba(30, 64, 175, 0.45);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
  color: #eff6ff;
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.cta-inner p {
  margin: 0;
  font-size: 0.96rem;
  color: #e0ecff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.cta-note {
  font-size: 0.8rem;
  color: #dbeafe;
}

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

.faq-item {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.faq-q {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.faq-a {
  font-size: 0.86rem;
  color: #4b5563;
}

/* Contact */
.section-contact {
  background: #f9fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #374151;
}

.contact-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.contact-highlights li::before {
  content: "•";
  color: #2563eb;
  margin-top: 0.1rem;
}

.contact-card {
  border-radius: 22px;
  padding: 1.25rem 1.15rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.82rem;
  color: #4b5563;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-family: var(--fj-font);
  background: #ffffff;
  color: #111827;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.3);
  border-color: rgba(37, 99, 235, 0.85);
}

.form-footnote {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0.2rem 0 0;
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  min-height: 1.1em;
  transition: color 0.18s ease-out;
}

.form-status.pending {
  color: #2563eb;
}

.form-status.success {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.4rem 0 1.7rem;
  background: #ffffff;
  margin-top: 2.4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.82rem;
  color: #6b7280;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-brand {
  font-weight: 500;
  color: #111827;
}

.footer-dot {
  opacity: 0.6;
}

/* Animations */
.fade-in-up,
.float-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.float-in {
  transform: translateY(16px) scale(0.98);
}

.fade-in-up.in-view,
.float-in.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout-b .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    order: -1;
    margin-bottom: 1.5rem;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .ui-columns {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 768px) {
  .feature-grid,
  .why-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 2.6rem;
  }
  .hero {
    padding-top: 2.6rem;
  }
}

.logo img,
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

