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

:root {
  --bg:        #000000;
  --bg2:       #080808;
  --bg3:       #0d0d0d;
  --bg4:       #111111;
  --bg5:       #161616;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.11);
  --border3:   rgba(255,255,255,0.18);
  --text:      #ffffff;
  --text-2:    #a1a1aa;
  --text-3:    #52525b;
  --text-4:    #3f3f46;
  --accent:    #6366f1;
  --accent-h:  #818cf8;
  --green:     #22c55e;
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 99px; }

/* ── CONTAINER ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.08;
  color: var(--text);
}
.section-sub {
  font-size: 1.0625rem; color: var(--text-2);
  line-height: 1.75; max-width: 520px; margin-top: 16px;
}
.section-header { margin-bottom: 80px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 16px auto 0; }
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #71717a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 500; font-size: 0.875rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  font-family: inherit; letter-spacing: -0.1px; white-space: nowrap;
}
.btn-primary {
  background: #fff; color: #000;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-primary:hover { background: #e4e4e7; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--text);
  border-color: var(--border2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--border3); }
.btn-glass {
  background: rgba(255,255,255,0.05); color: var(--text);
  border-color: var(--border2);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.09); border-color: var(--border3); }
.btn-outline {
  background: transparent; color: var(--text-2);
  border-color: var(--border2);
}
.btn-outline:hover { color: var(--text); border-color: var(--border3); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 8px 14px; font-size: 0.8125rem; border-radius: 7px; }
.btn-lg { padding: 13px 24px; font-size: 0.9375rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}
.nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  height: 60px; display: flex; align-items: center; gap: 0;
}
.logo {
  font-size: 1.125rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; text-decoration: none;
  margin-right: 44px; flex-shrink: 0; isolation: isolate;
}
.logo img { display: block; image-rendering: -webkit-optimize-contrast; }
.logo-dot { color: var(--accent-h); }

.nav-links { display: flex; list-style: none; gap: 0; margin: 0; }
.nav-links > li { position: relative; }
.nav-links a {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 13px; border-radius: 7px;
  color: var(--text-2); text-decoration: none;
  font-size: 0.875rem; font-weight: 450;
  transition: color 0.15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: var(--r-lg); padding: 8px; min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.18s ease; pointer-events: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all;
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 9px;
  color: var(--text); text-decoration: none;
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); }
.dropdown-item strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.dropdown-item span { font-size: 0.78rem; color: var(--text-3); }
.di-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 800; color: #fff;
}
.finxa-icon-sm { background: var(--bg5); border: 1px solid var(--border); }
.luxra-icon-sm  { background: var(--bg5); border: 1px solid var(--border); }
.chat-icon-sm   { background: var(--bg5); border: 1px solid var(--border); }
.track-icon-sm  { background: var(--bg5); border: 1px solid var(--border); }

.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 99px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; position: relative;
  padding: 160px 32px 0; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(99,102,241,0.15), transparent 70%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.07); top: -200px; left: 50%; transform: translateX(-50%); }
.orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.05); top: 100px; right: -100px; }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 5px 5px 6px; border-radius: 99px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  font-size: 0.8125rem; font-weight: 500; color: var(--text-2);
  margin-bottom: 36px; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-eyebrow:hover { border-color: var(--border3); background: rgba(255,255,255,0.07); }
.eyebrow-pill {
  background: var(--accent); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px;
  padding: 2px 8px; border-radius: 99px;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 800; letter-spacing: -3.5px; line-height: 1.02;
  color: var(--text); margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1875rem; color: var(--text-2);
  max-width: 500px; margin: 0 auto 40px; line-height: 1.7;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-footnote { font-size: 0.8125rem; color: var(--text-4); }

/* Dashboard Screenshot */
.hero-screenshot {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  margin-top: 72px; padding: 0 0 0;
}
.screenshot-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 200px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.2), transparent 70%);
  pointer-events: none; z-index: 0;
}
.dashboard-mock {
  position: relative; z-index: 1;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(99,102,241,0.08), 0 0 0 1px rgba(255,255,255,0.04);
}
.dm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: var(--bg4);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.dm-topbar-left { display: flex; align-items: center; gap: 12px; }
.dm-logo { font-size: 0.8125rem; font-weight: 700; color: #818cf8; letter-spacing: -0.3px; }
.dm-logo span { color: #a5b4fc; }
.dm-breadcrumb { font-size: 0.75rem; color: var(--text-4); }
.dm-topbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dm-search { width: 140px; height: 26px; background: var(--bg5); border-radius: 6px; border: 1px solid var(--border); }
.dm-avatar { width: 26px; height: 26px; background: linear-gradient(135deg,#6366f1,#4f46e5); border-radius: 50%; }

.dm-body { display: flex; height: 400px; }
.dm-sidebar {
  width: 52px; background: var(--bg4); border-right: 1px solid var(--border);
  padding: 14px 8px; display: flex; flex-direction: column; gap: 4px;
}
.dm-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 6px;
}
.dnav-active { background: rgba(99,102,241,0.15); }
.dicon { width: 14px; height: 14px; border-radius: 3px; background: #27272a; flex-shrink: 0; }
.dnav-active .dicon { background: rgba(99,102,241,0.6); }
.dlabel { height: 8px; border-radius: 99px; background: #1f1f1f; flex: 1; display: none; }
.dlabel.short { width: 60%; }

.dm-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; background: var(--bg3); }

.dm-kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.dm-kpi {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.kpi-label { height: 8px; border-radius: 99px; background: #1f1f1f; width: 50%; }
.kpi-value { height: 20px; border-radius: 6px; }
.v1 { background: rgba(99,102,241,0.25); width: 70%; }
.v2 { background: rgba(34,197,94,0.2); width: 55%; }
.v3 { background: rgba(251,191,36,0.2); width: 65%; }
.kpi-delta { height: 7px; border-radius: 99px; width: 40%; }
.kpi-delta.positive { background: rgba(34,197,94,0.2); }
.kpi-delta.negative { background: rgba(239,68,68,0.2); }

.dm-row-2 { display: grid; grid-template-columns: 1.8fr 1fr; gap: 10px; flex: 1; }
.dm-chart-card, .dm-activity-card, .dm-table-card {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; overflow: hidden;
}
.dc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dc-title { height: 10px; border-radius: 99px; background: #1f1f1f; width: 80px; }
.dc-title.wide { width: 120px; }
.dc-controls { display: flex; gap: 5px; }
.dc-pill { height: 18px; width: 36px; border-radius: 99px; background: #1a1a1a; }

.dc-chart { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.dc-bars { display: flex; align-items: flex-end; gap: 5px; height: 100px; }
.dc-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(99,102,241,0.18);
  transition: background 0.3s;
}
.dc-bar.active { background: rgba(99,102,241,0.5); }

.dm-activity-list { display: flex; flex-direction: column; gap: 10px; }
.dm-act-item { display: flex; align-items: center; gap: 8px; }
.act-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.act-dot.green { background: rgba(34,197,94,0.6); }
.act-dot.blue  { background: rgba(59,130,246,0.6); }
.act-dot.purple { background: rgba(139,92,246,0.6); }
.act-line { height: 8px; border-radius: 99px; background: #1f1f1f; flex: 1; }
.act-line.short { width: 60%; flex: none; }

.dm-table-card { flex-shrink: 0; }
.dm-table-rows { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.dtr { display: flex; align-items: center; gap: 10px; }
.dtr-a { width: 24px; height: 24px; border-radius: 50%; background: #1f1f1f; flex-shrink: 0; }
.dtr-b { height: 9px; border-radius: 99px; background: #1a1a1a; flex: 1; }
.dtr-b.short { max-width: 60%; }
.dtr-c { height: 18px; width: 52px; border-radius: 99px; flex-shrink: 0; }
.green-tag  { background: rgba(34,197,94,0.15); }
.blue-tag   { background: rgba(59,130,246,0.15); }
.purple-tag { background: rgba(139,92,246,0.15); }

/* Hero logos strip */
.hero-logos-strip {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  padding: 32px 0 64px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.logos-label { font-size: 0.78rem; color: var(--text-4); font-weight: 500; letter-spacing: 0.3px; margin-bottom: 20px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logos-row span {
  font-size: 0.875rem; font-weight: 600;
  color: #27272a; letter-spacing: -0.2px;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.logos-row span:hover { color: var(--text-4); }

/* ── METRICS STRIP ── */
.metrics-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 0;
}
.metrics-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.metric-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 64px; gap: 6px; text-align: center; flex: 1;
}
.metric-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -2px; color: var(--text);
}
.metric-label { font-size: 0.875rem; color: var(--text-3); font-weight: 400; }
.metric-divider { width: 1px; height: 64px; background: var(--border); flex-shrink: 0; }

/* ── BENTO GRID ── */
.bento { background: var(--bg); }
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.bento-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  display: flex; flex-direction: column;
}
.bento-card:hover { border-color: var(--border2); background: var(--bg4); }
.bento-card-content { padding: 36px; }
.bento-big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.bento-big .bento-card-content { padding: 40px; }
.bento-ai, .bento-mobile { grid-column: span 1; }
.bento-cloud, .bento-security, .bento-strategy { grid-column: span 1; }

.bento-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--bg5); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--text-2);
}
.bento-icon-purple { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.2); color: #a78bfa; }
.bento-icon-cyan   { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.2); color: #67e8f9; }
.bento-icon-green  { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #86efac; }
.bento-icon-amber  { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2); color: #fbbf24; }
.bento-icon-rose   { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.2); color: #fb7185; }

.bento-card h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 10px; }
.bento-card p  { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* Code visual */
.bento-visual.code-visual {
  background: var(--bg4); border-left: 1px solid var(--border);
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: center;
  font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.78rem; line-height: 1.9;
}
.cv-line { white-space: pre; }
.cv-purple { color: #c084fc; }
.cv-white  { color: #e2e8f0; }
.cv-green  { color: #86efac; }
.cv-blue   { color: #93c5fd; }
.cv-yellow { color: #fde68a; }
.cv-gray   { color: #3f3f46; }

/* AI visual */
.ai-visual { padding: 24px 32px 32px; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.ai-bubble { display: flex; align-items: flex-start; gap: 8px; }
.ai-bubble-out { flex-direction: row-reverse; }
.aib-dot { width: 24px; height: 24px; border-radius: 50%; background: rgba(139,92,246,0.2); border: 1px solid rgba(139,92,246,0.3); flex-shrink: 0; }
.aib-lines { display: flex; flex-direction: column; gap: 5px; flex: 1; padding-top: 4px; }
.aib-line { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.07); }
.aib-line.short { width: 60%; }
.ai-bubble-out .aib-lines .aib-line { background: rgba(139,92,246,0.12); margin-left: auto; }

/* Mobile visual */
.mobile-visual { display: flex; justify-content: center; padding: 20px 32px 32px; margin-top: auto; }
.mv-phone {
  width: 90px; background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 16px; padding: 10px 8px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.mv-screen { display: flex; flex-direction: column; gap: 7px; }
.mv-bar { height: 8px; border-radius: 99px; background: #1f1f1f; }
.mv-card-sm { height: 32px; border-radius: 7px; }
.mv-c1 { background: rgba(99,102,241,0.18); }
.mv-c2 { background: rgba(34,197,94,0.12); }
.mv-row { display: flex; gap: 4px; justify-content: center; margin-top: 4px; }
.mv-dot { width: 5px; height: 5px; border-radius: 50%; background: #1f1f1f; }
.mv-dot.active { background: #6366f1; }

/* Cloud visual */
.cloud-visual { padding: 20px 32px 32px; display: flex; align-items: center; justify-content: center; margin-top: auto; }
.cv-lines-svg { width: 100%; max-width: 200px; }

/* Security visual */
.security-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 32px 32px; margin-top: auto; }
.sv-shield { position: relative; display: flex; align-items: center; justify-content: center; }
.sv-check { position: absolute; }
.sv-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sv-tags span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.15);
  color: #fbbf24;
}

/* ── PRODUCTS ── */
.products { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Feature row */
.product-feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 56px;
  padding: 56px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.pfr-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px; margin-bottom: 24px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
}
.flagship-badge { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border2); }
.pfr-name-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pfr-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 800; color: #fff;
}
.finxa-icon { background: var(--bg4); }
.luxra-icon  { background: var(--bg4); }
.chat-icon   { background: var(--bg4); }
.track-icon  { background: var(--bg4); }

.pfr-icon img,
.di-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.pfr-name-row h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 2px; }
.pfr-tag { font-size: 0.8rem; color: var(--text-3); }
.pfr-desc { color: var(--text-2); font-size: 0.9625rem; line-height: 1.75; margin-bottom: 24px; }
.pfr-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pfr-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-2);
}
.pfr-features li svg { color: var(--green); flex-shrink: 0; }

/* pfr visual */
.pfr-visual { background: var(--bg4); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.pfr-screenshot { display: flex; flex-direction: column; }
.pss-header {
  display: flex; align-items: center; gap: 20px;
  padding: 12px 18px; background: var(--bg5); border-bottom: 1px solid var(--border);
}
.pss-logo { font-size: 0.8125rem; font-weight: 700; color: #818cf8; }
.pss-logo span { color: #a5b4fc; }
.pss-tabs { display: flex; gap: 2px; }
.pss-tab {
  font-size: 0.75rem; color: var(--text-3); padding: 5px 10px;
  border-radius: 6px; cursor: pointer;
}
.pss-tab.active { background: rgba(99,102,241,0.12); color: #818cf8; }
.pss-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pss-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.pss-kpi { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.pss-kl { height: 7px; border-radius: 99px; background: #1f1f1f; width: 55%; margin-bottom: 7px; }
.pss-kv { height: 18px; border-radius: 5px; }
.pss-kv1 { background: rgba(99,102,241,0.3); width: 70%; }
.pss-kv2 { background: rgba(34,197,94,0.25); width: 55%; }
.pss-kv3 { background: rgba(251,191,36,0.22); width: 65%; }
.pss-chart { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.pss-chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.pss-chart-bars > div {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(99,102,241,0.15);
}
.pss-chart-bars > div.active { background: rgba(99,102,241,0.45); }
.pss-rows { display: flex; flex-direction: column; gap: 7px; }
.pss-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; }
.pss-ra { width: 20px; height: 20px; border-radius: 50%; background: #1f1f1f; flex-shrink: 0; }
.pss-rb { height: 8px; border-radius: 99px; background: #1a1a1a; flex: 1; }
.pss-rb.short { max-width: 60%; }
.pss-rc { height: 18px; width: 48px; border-radius: 99px; flex-shrink: 0; }
.rc-green  { background: rgba(34,197,94,0.15); }
.rc-blue   { background: rgba(59,130,246,0.15); }
.rc-purple { background: rgba(139,92,246,0.15); }

/* 3-col product cards */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.product-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--border2); }
.pc-header { display: flex; flex-direction: column; gap: 16px; }
.pc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 99px; align-self: flex-start;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase;
}
.luxra-badge { background: rgba(139,92,246,0.1); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.chat-badge  { background: rgba(6,182,212,0.08); color: #67e8f9; border: 1px solid rgba(6,182,212,0.2); }
.track-badge { background: rgba(34,197,94,0.08); color: #86efac; border: 1px solid rgba(34,197,94,0.2); }
.pc-icon-row { display: flex; align-items: center; gap: 12px; }
.pc-icon-row h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 2px; }
.pc-icon-row span { font-size: 0.78rem; color: var(--text-3); }
.product-card > p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.pc-features {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin: 0; flex: 1;
}
.pc-features li {
  font-size: 0.84rem; color: var(--text-3);
  padding-left: 14px; position: relative; line-height: 1.5;
}
.pc-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-4);
}

/* ── ABOUT ── */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-desc { color: var(--text-2); font-size: 0.9625rem; line-height: 1.8; margin-bottom: 18px; }
.about-code { margin-top: 36px; }

/* code card */
.code-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.code-card-header {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--bg4);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.code-title { font-size: 0.75rem; color: var(--text-3); margin-left: 6px; font-family: 'SF Mono', monospace; }
.code-body { padding: 24px 28px; overflow-x: auto; }
code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.8125rem; line-height: 2; white-space: pre; }
.c-purple { color: #c084fc; } .c-blue { color: #7dd3fc; }
.c-green  { color: #86efac; } .c-orange { color: #fdba74; } .c-gray { color: #3f3f46; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.why-card:hover { border-color: var(--border2); background: var(--bg4); }
.why-num { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; color: var(--text-4); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.why-card h4 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 8px; }
.why-card p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* ── CONTACT / CTA ── */
.contact { background: var(--bg2); }
.cta-box {
  position: relative; overflow: hidden;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--r-xl); padding: 80px;
}
.cta-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.1), transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin: 10px 0 16px; }
.cta-sub { font-size: 1.0625rem; color: var(--text-2); max-width: 540px; line-height: 1.75; margin-bottom: 56px; }

.cta-split { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; align-items: start; }
.cta-info { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.cta-meta { display: flex; align-items: flex-start; gap: 14px; }
.cta-meta-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--bg4); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); flex-shrink: 0;
}
.cta-meta strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.cta-meta span   { font-size: 0.85rem; color: var(--text-2); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-2); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: var(--r-sm); color: var(--text);
  font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-success {
  display: none; margin-top: 14px; padding: 14px 16px;
  background: rgba(34,197,94,0.07); border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--r-sm); color: var(--green);
  font-size: 0.875rem; font-weight: 500;
  align-items: center; gap: 8px;
}
.form-success.show { display: flex; }

/* ── FOOTER ── */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-top {
  display: flex; gap: 80px; margin-bottom: 64px;
  align-items: flex-start;
}
.footer-brand { flex: 0 0 220px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand > p { font-size: 0.875rem; color: var(--text-3); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); text-decoration: none;
  transition: all 0.15s;
}
.footer-social a:hover { color: var(--text); border-color: var(--border2); background: var(--bg4); }
.footer-cols { display: flex; gap: 64px; flex: 1; justify-content: flex-end; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.875rem; color: var(--text-2);
  text-decoration: none; transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

/* Active nav link */
.nav-links a.active { color: var(--text); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--text-4);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .bento-big { grid-column: span 3; }
  .bento-ai, .bento-mobile { grid-column: span 1; }
  .bento-cloud, .bento-security, .bento-strategy { grid-column: span 1; }
  .product-feature-row { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .cta-split { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { gap: 48px; }
  .footer-cols { gap: 40px; }
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-big { grid-template-columns: 1fr; }
  .bento-big .bento-visual.code-visual { border-left: none; border-top: 1px solid var(--border); }
  .products-grid { grid-template-columns: 1fr; }
  .metrics-grid { flex-wrap: wrap; }
  .metric-item { padding: 32px 40px; }
  .metric-divider { display: none; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 88px 0; }
  .nav-links, .nav-right .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
    padding: 32px 24px; gap: 4px; z-index: 199;
  }
  .nav-links.open a { font-size: 1.1rem; padding: 12px 4px; }
  .nav-links.open .dropdown { display: none; }
  .hero-title { font-size: 3rem; letter-spacing: -2px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-screenshot { margin-top: 48px; }
  .dm-body { height: 260px; }
  .dm-kpi-row { grid-template-columns: repeat(2,1fr); }
  .dm-row-2 { grid-template-columns: 1fr; }
  .dm-activity-card { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-big { grid-column: span 1; }
  .product-feature-row { padding: 32px; }
  .cta-box { padding: 48px 28px; }
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-cols { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .metrics-grid { grid-template-columns: 1fr 1fr; display: grid; }
  .metric-divider { display: none; }
  .bento-card-content { padding: 28px; }
  .logos-row { gap: 24px; }
}
