@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --purple:    #7F77DD;
  --purple-dark: #5A52B5;
  --purple-light: #EDE9FF;
  --peach:     #F5C4B3;
  --teal:      #9FE1CB;
  --coral:     #F4896B;
  --bg:        #FFFFFF;
  --surface:   #F9F8FF;
  --text:      #1A1A2E;
  --muted:     #888780;
  --border:    rgba(127, 119, 221, 0.2);
  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(127, 119, 221, 0.12);
  --shadow-lg: 0 12px 48px rgba(127, 119, 221, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--muted); line-height: 1.7; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

code, .mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.875em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--purple);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--purple) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: opacity 0.15s !important;
}

.nav-cta:hover { opacity: 0.85; text-decoration: none !important; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 16px rgba(127, 119, 221, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(127, 119, 221, 0.5);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: gap 0.15s;
}

.btn-secondary:hover { gap: 10px; text-decoration: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple-light);
  color: var(--purple);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--purple);
  position: relative;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
}

.browser-mock {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  background: var(--surface);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bd-red    { background: #ff5f57; }
.bd-yellow { background: #febc2e; }
.bd-green  { background: #28c840; }

.browser-url {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

.browser-body {
  padding: 20px;
  min-height: 240px;
  position: relative;
}

.demo-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-input {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-blurred {
  position: relative;
}

.demo-blurred::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(200, 200, 200, 0.25);
  border-radius: 6px;
}

.demo-chat {
  background: var(--purple-light);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.demo-chat .blurred-word {
  display: inline-block;
  filter: blur(5px);
  background: rgba(127, 119, 221, 0.2);
  border-radius: 4px;
  padding: 0 2px;
  color: var(--purple);
  user-select: none;
}

.hushh-active-hint {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(127, 119, 221, 0.9);
  color: white;
  font-size: 11px;
  padding: 5px;
  border-radius: 0;
}

.problem {
  background: var(--surface);
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-visual {
  position: relative;
}

.screen-recording-frame {
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recording-header {
  background: #2d2d2d;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recording-dot {
  width: 10px;
  height: 10px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.recording-label {
  color: white;
  font-size: 11px;
  font-weight: 500;
}

.recording-time {
  color: #ff4444;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.recording-body {
  background: #1a1a2e;
  padding: 20px;
  min-height: 180px;
}

.problem-copy h2 { margin-bottom: 16px; }
.problem-copy p  { margin-bottom: 14px; font-size: 1rem; }

.problem-copy .kicker {
  display: inline-block;
  background: rgba(244, 137, 107, 0.15);
  color: var(--coral);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.how-inner {
  text-align: center;
}

.how-inner > p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 16px auto 48px;
}

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

.step-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
}

.step-mini-mock {
  margin-top: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-hover-el {
  background: var(--surface);
  border: 2px dashed rgba(127, 119, 221, 0.7);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
}

.mini-secret-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple-light);
  border: 1.5px solid rgba(127, 119, 221, 0.3);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  font-family: 'JetBrains Mono', monospace;
}

.mini-blurred-text {
  font-size: 13px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
}

.mini-blurred-text .blur-span {
  display: inline-block;
  filter: blur(5px);
  background: rgba(127, 119, 221, 0.2);
  border-radius: 4px;
  padding: 0 2px;
}

.features {
  background: var(--surface);
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text);
}

.feature-text p {
  font-size: 0.875rem;
  line-height: 1.5;
}

.features-visual {
  position: relative;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.compat-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.compat-item:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 12px rgba(127, 119, 221, 0.15);
}

.recording-body { min-height: 0; }

.qb-mock {
  display: flex;
  flex-direction: column;
  font-family: -apple-system, system-ui, sans-serif;
}

.qb-topbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qb-logo-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.qb-logo-dot {
  background: #2CA01C;
  color: white;
  font-size: 8px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qb-logo-text {
  font-size: 11px;
  font-weight: 700;
  color: #2CA01C;
}

.qb-company-name {
  font-size: 10px;
  color: #444;
  font-weight: 500;
  margin-left: auto;
}

.qb-chrome {
  display: flex;
  flex: 1;
}

.qb-sidebar {
  background: #1e2a35;
  width: 88px;
  flex-shrink: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.qb-nav-item {
  padding: 7px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  border-radius: 4px;
  margin: 0 5px;
  cursor: default;
  transition: background-color 0.2s, color 0.2s;
}

.qb-nav-active {
  background: rgba(255,255,255,0.12);
  color: white;
}

.qb-nav-txn-active {
  color: #4ade80;
  background: rgba(44, 160, 28, 0.15);
}

.qb-content {
  flex: 1;
  background: #f5f6f8;
  position: relative;
  overflow: hidden;
  min-height: 186px;
}

.qb-screen {
  position: absolute;
  inset: 0;
  padding: 12px;
  opacity: 1;
  transition: opacity 0.35s;
}

.qb-screen-off {
  opacity: 0;
  pointer-events: none;
}

.qb-screen-title {
  font-size: 9px;
  font-weight: 700;
  color: #1c1c2e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.qb-bank-card {
  background: white;
  border: 1px solid #e0e0e8;
  border-radius: 8px;
  padding: 11px;
}

.qb-card-label {
  font-size: 8px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.qb-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.qb-bank-name {
  font-size: 10px;
  font-weight: 700;
  color: #1c1c2e;
}

.qb-bank-link {
  font-size: 9px;
  color: #2CA01C;
  font-weight: 500;
}

.qb-bank-detail {
  display: flex;
  gap: 24px;
}

.qb-bank-sublabel {
  font-size: 8px;
  color: #999;
  margin-bottom: 2px;
}

.qb-bank-value {
  font-size: 15px;
  font-weight: 700;
  color: #1c1c2e;
  font-family: 'JetBrains Mono', monospace;
  display: inline-block;
  transition: filter 0.35s;
}

.qb-bank-value.qb-hovered {
  outline: 2px dashed rgba(127, 119, 221, 0.75);
  outline-offset: 2px;
  border-radius: 3px;
}

.qb-bank-value.qb-blurred {
  filter: blur(5px);
  user-select: none;
}

.qb-txn-list {
  background: white;
  border: 1px solid #e0e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.qb-txn-header {
  display: grid;
  grid-template-columns: 40px 1fr 72px 78px;
  padding: 6px 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  font-size: 8px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qb-txn-row {
  display: grid;
  grid-template-columns: 40px 1fr 72px 78px;
  padding: 7px 10px;
  font-size: 10.5px;
  color: #1c1c2e;
  border-bottom: 1px solid #f0f0f4;
  align-items: center;
}

.qb-txn-row:last-child { border-bottom: none; }

.qb-txn-highlight { background: rgba(127, 119, 221, 0.04); }

.qb-debit  { color: #e53e3e; font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.qb-credit { color: #2CA01C; font-family: 'JetBrains Mono', monospace; font-size: 10px; }

.qb-blurred-val {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  filter: blur(5px);
  user-select: none;
  background: rgba(127, 119, 221, 0.12);
  border-radius: 3px;
  padding: 0 2px;
}

.hushh-followed {
  margin-top: 9px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s, transform 0.4s;
  letter-spacing: -0.01em;
}

.hushh-followed.visible {
  opacity: 1;
  transform: translateY(0);
}

.qb-cursor {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(127, 119, 221, 0.9);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, left 0.5s cubic-bezier(.4,0,.2,1), top 0.5s cubic-bezier(.4,0,.2,1), transform 0.15s;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.qb-cursor.visible { opacity: 1; }
.qb-cursor.click   { background: rgba(127,119,221,0.25); transform: translate(-50%,-50%) scale(0.75); }

.qb-tip {
  position: absolute;
  background: rgba(26, 26, 46, 0.92);
  color: white;
  font-size: 9.5px;
  padding: 4px 8px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  z-index: 11;
  transition: opacity 0.2s;
}

.qb-tip.visible { opacity: 1; }

.no-data-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--purple-light);
  border: 1.5px solid rgba(127, 119, 221, 0.25);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 0;
}

.no-data-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  margin-top: 4px;
}

.no-data-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.no-data-body {
  font-size: 0.85rem;
  color: var(--purple-dark);
  opacity: 0.75;
  line-height: 1.6;
}

.feature-icon.purple { background: var(--purple-light); color: var(--purple); }
.feature-icon.peach  { background: rgba(245, 196, 179, 0.3); color: #c0643a; }
.feature-icon.teal   { background: rgba(159, 225, 203, 0.3); color: #2a7a5e; }
.feature-icon.coral  { background: rgba(244, 137, 107, 0.15); color: var(--coral); }

.footer-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.footer-cta h2 {
  color: white;
  margin-bottom: 14px;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 32px;
}

.footer-cta .btn-primary {
  background: white;
  color: var(--purple);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-cta .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  color: var(--purple);
}

.footer-tagline {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-style: italic;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

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

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.privacy-section p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.privacy-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.privacy-section ul li {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .nav-links { display: none; }

  .hero-inner,
  .problem-inner,
  .features-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
