:root {
  --primary: #7c3aed;
  --primary-dark: #6425c9;
  --primary-light: #f4f0ff;
  --accent: #ec4899;
  --ink: #14121f;
  --muted: #6b6579;
  --border: #ece9f3;
  --bg: #ffffff;
  --bg-soft: #faf9fd;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 28px;
  --max: 1120px;
  --shadow: 0 20px 40px -20px rgba(76, 29, 149, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

.bg-glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 700px;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(500px 380px at 85% 0%, rgba(236, 72, 153, 0.14), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topnav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--muted); }
.topnav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 24px 44px -18px rgba(76, 29, 149, 0.4); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-link { color: var(--primary); padding-inline: 4px; font-weight: 700; }

/* Hero */
.hero { padding-block: 88px 60px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow, .section-eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.grad-text {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 480px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* Hero visual — phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 280px;
  border-radius: 40px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 40px 70px -30px rgba(20, 18, 31, 0.45);
  position: relative;
}
.phone-notch {
  width: 90px;
  height: 18px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: var(--bg-soft);
  border-radius: 30px;
  padding: 26px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; padding: 0 4px 6px; }
.app-gear { color: var(--muted); }
.app-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.app-card--active { border-color: var(--primary); box-shadow: 0 0 0 1.5px var(--primary); }
.app-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.app-card-icon--muted { background: #f1f0f4; color: var(--muted); }
.app-card-title { font-size: 12.5px; font-weight: 700; }
.app-card-title em { color: #ea580c; font-style: normal; font-size: 9px; font-weight: 800; margin-left: 4px; }
.app-card-sub { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.app-banner {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 4px;
}
.app-banner-title { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); }
.app-banner-sub { font-size: 10.5px; color: var(--primary-dark); opacity: 0.8; margin-top: 2px; }

.floating-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px -14px rgba(20, 18, 31, 0.3);
}
.chip-1 { top: 18%; left: -6%; }
.chip-2 { bottom: 14%; right: -8%; color: var(--primary-dark); }

/* Pillars */
.pillars { padding-block: 76px; }
.pillars .wrap, .features .wrap { text-align: center; }
.pillars h2, .features h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin: 0 auto 44px; max-width: 620px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon { font-size: 28px; margin-bottom: 14px; }
.pillar h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features (how it works) */
.features { padding-block: 76px; background: var(--bg-soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 15px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Security */
.security { padding-block: 84px; background: var(--ink); color: #fff; }
.security-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.section-eyebrow--light { background: rgba(255,255,255,0.1); color: #d8c9ff; }
.security h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 16px; }
.security p { color: #b9b3c6; font-size: 16px; margin: 0 0 26px; max-width: 460px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 18px;
  border-radius: 14px;
}
.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-node {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  min-width: 110px;
}
.flow-node--from, .flow-node--to { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.flow-node--pix { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.flow-arrow { color: #8a80a0; font-size: 18px; }

/* Final CTA */
.cta-final { padding-block: 88px; text-align: center; }
.cta-final h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.cta-final p { color: var(--muted); margin: 0 0 30px; font-size: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 26px; }
.footer-inner { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .pillar-grid, .grid { grid-template-columns: 1fr; }
  .security-inner { grid-template-columns: 1fr; }
  .security-visual { justify-content: flex-start; }
  .topnav { display: none; }
  .chip-1, .chip-2 { display: none; }
}
