/* HomeCanvas FX — Landing Page Stylesheet
 * Brand palette derived from official logos:
 *   Navy:  #0f172a (Slate-900)
 *   Deep:  #070d1a
 *   Teal:  #14b8a6 (Teal-500) / #2dd4bf (Teal-400)
 *   White: #ffffff
 */

:root {
  --bg: #070d1a;
  --navy: #0f172a;
  --surface: #111c33;
  --surface-2: #172540;
  --border: rgba(148, 163, 184, 0.14);
  --border-teal: rgba(20, 184, 166, 0.42);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --teal: #14b8a6;
  --teal-bright: #2dd4bf;
  --teal-deep: #0d9488;
  --amber: #f59e0b;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 184, 166, 0.18), transparent 62%),
    radial-gradient(ellipse 55% 40% at 88% 12%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--bg) 38%, #060b16 100%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-wordmark {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 18, 34, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 30px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1;
}

.brand-wordmark .fx {
  color: var(--teal);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.nav-links a {
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px 20px;
  border-top: 1px solid var(--border);
  background: rgba(11, 18, 34, 0.96);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background: var(--surface);
  color: #ffffff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(23, 37, 64, 0.8);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  background: #1e2f52;
  border-color: rgba(148, 163, 184, 0.32);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #042f2e;
  font-weight: 750;
  box-shadow: 0 8px 26px -6px rgba(20, 184, 166, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  border-color: rgba(94, 234, 212, 0.65);
  box-shadow: 0 12px 30px -6px rgba(20, 184, 166, 0.7);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #ffffff;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 58px 0 72px;
}

.hero-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.32);
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal-bright);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.07;
  color: #ffffff;
}

.hero h1 .accent-text {
  background: linear-gradient(115deg, #5eead4 0%, var(--teal-bright) 52%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 28px;
  max-width: 650px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-soft);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-micro {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-micro .check {
  color: var(--teal-bright);
  font-weight: 700;
}

/* ---------- Interactive Showcase Stage ---------- */
.showcase-shell {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    0 32px 90px -20px rgba(0, 0, 0, 0.75),
    0 0 100px -30px rgba(20, 184, 166, 0.3);
}

.compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #060b16;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.stage-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.stage-projected {
  clip-path: inset(0 calc(100% - var(--split, 78%)) 0 0);
  transition: opacity 0.32s ease;
}

.stage-badge {
  position: absolute;
  top: 14px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.stage-badge-left {
  left: 14px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: var(--teal-bright);
}

.stage-badge-right {
  right: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-soft);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 78%);
  width: 2px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.8);
  z-index: 8;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--teal-bright);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65), 0 0 0 5px rgba(20, 184, 166, 0.22);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
  z-index: 10;
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 8px 4px;
}

.theme-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-pill {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-soft);
  padding: 9px 15px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s ease;
}

.theme-pill:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: #ffffff;
}

.theme-pill.active {
  background: rgba(20, 184, 166, 0.16);
  border-color: var(--teal);
  color: var(--teal-bright);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.25);
}

.stage-hint {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage-hint strong {
  color: var(--text-soft);
  font-weight: 600;
}

/* ---------- Section Foundations ---------- */
.section {
  padding: 84px 0;
}

.section-tight {
  padding: 56px 0;
}

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

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
}

.section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Proof Strip ---------- */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.proof-val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.proof-val span {
  color: var(--teal-bright);
}

.proof-lbl {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 3-Step How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  background: linear-gradient(180deg, rgba(19, 30, 51, 0.92), rgba(13, 21, 38, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-3px);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--teal-bright);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  color: #ffffff;
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.step-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--teal-bright);
  font-weight: 600;
}

/* ---------- Hardware Checklist ---------- */
.hardware-box {
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.85), rgba(11, 18, 34, 0.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.hw-card {
  background: rgba(7, 13, 26, 0.65);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.hw-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.hw-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 750;
}

.hw-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.hw-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.install-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(7, 13, 26, 0.8);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.install-cmd-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 240px;
}

.code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  color: var(--teal-bright);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border);
  padding: 9px 13px;
  border-radius: 10px;
  overflow-x: auto;
  max-width: 100%;
}

/* ---------- Features Bento ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat-card {
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.85), rgba(11, 18, 34, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.feat-card:hover {
  border-color: rgba(45, 212, 191, 0.34);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feat-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
}

.feat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.58;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.9), rgba(11, 18, 34, 0.95));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--teal);
  box-shadow: 0 20px 60px -24px rgba(20, 184, 166, 0.45);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.11) 0%, rgba(15, 23, 42, 0.96) 36%);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.plan-badge-live {
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--teal-bright);
}

.plan-badge-soon {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-soft);
}

.plan-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
}

.plan-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 6px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.plan-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plan-list .check {
  color: var(--teal-bright);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(17, 28, 51, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--border-teal);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-bright);
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---------- Final CTA Banner ---------- */
.cta-banner {
  border-radius: 26px;
  padding: 52px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(20, 184, 166, 0.24), transparent 70%),
    linear-gradient(180deg, #13213c 0%, #0d1629 100%);
  border: 1px solid rgba(20, 184, 166, 0.35);
  box-shadow: 0 28px 80px -24px rgba(0, 0, 0, 0.7);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 54px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps-grid,
  .hw-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .hardware-box {
    padding: 24px 18px;
  }
}

@media (max-width: 880px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .stage-badge {
    font-size: 11px;
    padding: 5px 9px;
  }
}
