
/* --- Public shell + auth cards --- */
.public-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}
.public-topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.public-brand { font-size: 18px; flex-shrink: 0; }
.public-nav { display: flex; gap: 6px; align-items: center; }
.public-nav a {
  color: rgba(15, 23, 42, 0.68);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.public-nav a:hover { text-decoration: none; color: rgba(15, 23, 42, 0.95); background: rgba(15, 23, 42, 0.04); }
.public-nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.public-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 4px;
}
.public-legal-links a {
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
}
.public-legal-links a:hover {
  color: rgba(15, 23, 42, 0.96);
  text-decoration: underline;
}
.public-nav-actions .btn { text-transform: uppercase; letter-spacing: 0.03em; }
.btn-hero-primary { text-transform: uppercase; letter-spacing: 0.03em; }
.price-card .btn { text-transform: uppercase; letter-spacing: 0.03em; }

.public-content { max-width: 920px; margin: 18px auto 60px; padding: 0 18px; }
.public-content.public-full { max-width: none; margin: 0; padding: 0; }
.auth-card { max-width: 720px; margin: 14px auto 0; }
.legal-body { height: auto; min-height: 100%; }
.legal-wrap {
  max-width: 980px;
  margin: 28px auto 60px;
  padding: 0 18px;
}
.legal-header { margin-bottom: 14px; }
.legal-header h1 { margin: 0 0 6px; }
.legal-body-panel { padding: 0; }
.legal-section {
  padding: 20px 24px;
}
.legal-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
}
.legal-section h3 {
  margin: 10px 0 6px;
  font-size: 17px;
}
.legal-section p { margin: 0 0 10px; }
.legal-section ul,
.legal-section ol {
  margin: 0 0 10px 20px;
  padding: 0;
}
.legal-section li { margin-bottom: 6px; }

.btn-lg { padding: 12px 16px; border-radius: 14px; font-weight: 800; }
.btn-block { width: 100%; }

.landing-body { height: auto; min-height: 100%; background: #f8f9fa; --accent: #FF7F50; }

.landing-body .public-topbar {
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  transition: background 0.25s, border-color 0.25s;
}
.landing-body .public-topbar.topbar-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
}
.landing-body .public-brand { color: var(--accent); }
.landing-body .public-nav a { color: var(--text); }
.landing-body .public-nav a:hover { color: var(--accent); background: rgba(15, 23, 42, 0.04); }
.landing-body .public-nav-actions .btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.landing-body .public-nav-actions .btn-ghost:hover { background: rgba(15, 23, 42, 0.04); }
.landing-body .public-nav-actions .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.landing-body .public-nav-actions .btn-primary:hover {
  background: #e5673a;
}

.auth-wrap { display: grid; justify-items: center; padding-top: 24px; }
.auth-panel {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.10);
}
.auth-panel-head { position: relative; background: rgba(255, 255, 255, 0.70); }
.auth-panel-accent {
  height: 5px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 1), rgba(6, 182, 212, 1));
}
.auth-panel-head-inner { padding: 22px 24px 14px; }
.auth-title { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.auth-subtitle { margin: 4px 0 0; color: rgba(15, 23, 42, 0.55); font-weight: 600; font-size: 14px; }
.auth-panel-body { padding: 18px 24px 24px; }

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-field { margin-bottom: 14px; }

.auth-pass { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.auth-pass-toggle {
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.82);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.auth-pass-toggle:hover { background: rgba(2, 6, 23, 0.04); }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 16px; }
.auth-smalllink { color: var(--muted); font-weight: 700; font-size: 13px; }
.auth-smalllink:hover { color: rgba(15, 23, 42, 0.92); text-decoration: underline; }

.auth-check { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 13px; color: rgba(15, 23, 42, 0.78); }
.auth-check input { width: auto; margin: 0; }

.auth-panel-wide { max-width: 520px; }
.auth-divider { border-top: 1px solid rgba(15, 23, 42, 0.10); margin: 18px 0 14px; }
.auth-footer { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-footer a { font-weight: 700; }

/* --- Core components --- */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  animation: rise 220ms ease-out;
}

/* --- Referral program --- */
.referral-hero {
  padding: 16px;
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(400px 160px at 100% 100%, rgba(245, 158, 11, 0.08), transparent 55%);
}
.referral-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.referral-hero-text { flex: 1; min-width: 0; }
.referral-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.referral-stats {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.referral-stat {
  padding: 10px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.70);
  border-radius: 0;
}
.referral-stat:first-child { border-radius: 10px 0 0 10px; }
.referral-stat:last-child { border-radius: 0 10px 10px 0; }
.referral-stat-value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.referral-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}
.referral-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.referral-code-card {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.60);
  padding: 12px;
}
.referral-code-card.used {
  opacity: 0.55;
}
.referral-code-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.referral-code-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.referral-code-value {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--mono, ui-monospace, SFMono-Regular, monospace);
  letter-spacing: 0.03em;
  color: #0f172a;
  padding: 6px 10px;
  background: rgba(2, 6, 23, 0.04);
  border-radius: 8px;
  word-break: break-all;
}
.referral-code-actions {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* --- Landing page --- */
.landing-hero {
  margin-top: -50px;
  padding: 120px 0 72px;
  color: var(--text);
  background: #ffffff;
  overflow: hidden;
}
.landing-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.landing-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.95);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.landing-title {
  margin: 20px 0 18px;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.landing-title-accent {
  color: var(--accent);
}
.landing-rotate {
  display: inline-block;
  transition: opacity 0.3s, transform 0.3s;
}
.landing-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 44ch;
}
.landing-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 127, 80, 0.35);
  text-decoration: none;
}
.landing-price-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 127, 80, 0.08);
  border: 1px solid rgba(255, 127, 80, 0.18);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}

/* Hero visual / mockups */
.landing-visual { position: relative; min-height: 420px; }
.landing-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(320px 220px at 40% 40%, rgba(255, 127, 80, 0.06), transparent 60%);
  filter: blur(16px);
  pointer-events: none;
}
.mock {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.08);
  backdrop-filter: blur(18px);
}
.mock-browser {
  position: absolute;
  right: 0;
  top: 0;
  width: min(520px, 92%);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
}
.mock-top .dot { width: 10px; height: 10px; border-radius: 999px; opacity: 0.95; }
.mock-top .dot.red { background: rgba(239, 68, 68, 0.9); }
.mock-top .dot.yellow { background: rgba(245, 158, 11, 0.9); }
.mock-top .dot.green { background: rgba(34, 197, 94, 0.9); }
.mock-top .mock-title { margin-left: 6px; font-weight: 900; font-size: 13px; color: rgba(255, 255, 255, 0.92); }
.mock-body { padding: 16px; }

/* Invoice mockup inside browser */
.mock-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.mock-inv-logo {
  width: 48px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}
.mock-inv-number { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.mock-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
}
.mock-bar.light { background: rgba(255, 255, 255, 0.14); height: 6px; }
.mock-bar.bold { background: rgba(255, 255, 255, 0.42); }
.mock-bar.w30 { width: 30%; }
.mock-bar.w40 { width: 40%; }
.mock-bar.w50 { width: 50%; }
.mock-bar.w60 { width: 60%; }
.mock-bar.w70 { width: 70%; }
.mock-bar.w80 { width: 80%; }
.mock-inv-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.mock-inv-party { display: flex; flex-direction: column; gap: 5px; }
.mock-inv-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mock-inv-thead {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
}
.mock-inv-thead span {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}
.mock-inv-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-inv-row.alt { background: rgba(255, 255, 255, 0.04); }
.mock-inv-row span {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}
.mock-inv-row span.wide { background: rgba(255, 255, 255, 0.22); }
.mock-inv-row span.bold { background: rgba(255, 255, 255, 0.32); }
.mock-inv-total {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.20);
}

.mock-phone {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 220px;
  height: 340px;
  border-radius: 36px;
  overflow: hidden;
  transform: rotate(-3deg);
}
.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.32);
}
.phone-body { padding: 40px 14px 14px; }
.phone-title { font-weight: 900; font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.phone-field {
  margin-top: 10px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}
.phone-field.short { width: 60%; }
.phone-btn {
  margin-top: 14px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.90);
  opacity: 0.90;
}

/* Trust bar */
.landing-trust {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: none;
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.trust-track {
  --speed: 30s;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track-inner {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 16px 0;
  animation: trust-scroll var(--speed) linear infinite;
}
@keyframes trust-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.58);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 127, 80, 0.65);
}

/* --- Sections --- */
.landing-section { padding: 80px 0; background: transparent; }
.landing-section-bordered {
  border-top: none;
  border-bottom: none;
}
.landing-section-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Section headers (editorial style) */
.section-header { margin-bottom: 48px; }
.section-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.section-kicker-center { justify-content: center; }
.kicker-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.section-header-body {
  padding-top: 16px;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .section-header-body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }
}
.section-title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--text);
  max-width: 600px;
  flex-shrink: 0;
}
.section-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
  flex-shrink: 0;
}

/* --- Bento Grid (4-col "Why Tacito?") --- */
.bento-grid { display: grid; gap: 20px; }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
.bento-3 { grid-template-columns: repeat(3, 1fr); }

.bento-card {
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(245, 245, 240, 0.6);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  transition: box-shadow 0.4s;
}
.bento-card:hover {
  box-shadow: 0 20px 50px rgba(255, 127, 80, 0.06);
}
.bento-card-body { flex: 1; }
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 127, 80, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
}
.bento-card h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text);
}
.bento-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.bento-card-foot {
  padding-top: 20px;
  border-top: none;
  margin-top: 20px;
}
.bento-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.38);
}

/* Bento: Image card */
.bento-card-image {
  position: relative;
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 0;
}
.bento-card-image-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(255, 127, 80, 0.25), transparent 60%),
    radial-gradient(500px 350px at 70% 70%, rgba(255, 99, 71, 0.20), transparent 55%);
  opacity: 0.8;
}
.bento-card-image-overlay {
  position: relative;
  z-index: 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.bento-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #fff;
  margin-bottom: 16px;
}
.bento-card-image-text {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

/* Bento: Stat card */
.bento-card-stat {
  background: rgba(245, 245, 240, 0.6);
  text-align: center;
  align-items: center;
}
.bento-stat-top { margin-bottom: 8px; }
.bento-stat-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}
.bento-stat-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.bento-stat-ring {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto;
}
.bento-stat-ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 127, 80, 0.04);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.6; }
}
.bento-stat-ring-track {
  position: absolute;
  inset: 0;
  border: 12px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
}
.bento-stat-ring-fill {
  position: absolute;
  inset: 0;
  border: 12px solid var(--accent);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-45deg);
}
.bento-stat-value {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}
.bento-stat-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 20px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s;
  margin-top: auto;
}
.bento-stat-btn:hover {
  background: var(--accent);
  text-decoration: none;
  color: #fff;
}

/* Bento: Dark card */
.bento-card-dark {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 36px;
}
.bento-card-dark:hover {
  box-shadow: 0 24px 60px rgba(255, 127, 80, 0.15);
}
.bento-dark-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.bento-dark-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.bento-dark-icon {
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
}
.bento-dark-text {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  color: #fff;
}
.bento-dark-stats { margin-top: auto; padding-top: 20px; }
.bento-dark-stat {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bento-dark-stat:last-child { border-bottom: 0; }
.bento-dark-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 2px;
}
.bento-dark-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* --- Core Features Bento (3-col) --- */
.bento-features-wrap {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  padding: 36px;
}
.bento-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 28px;
  transition: box-shadow 0.35s;
}
.bento-feature-card:hover {
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.06);
}
.bento-feature-wide { grid-column: span 2; }
.bento-feature-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.badge-pink { background: rgba(236, 72, 153, 0.08); color: #db2777; }
.badge-green { background: rgba(16, 185, 129, 0.08); color: #059669; }
.badge-purple { background: rgba(139, 92, 246, 0.08); color: #7c3aed; }
.badge-neutral { background: rgba(15, 23, 42, 0.05); color: rgba(15, 23, 42, 0.65); }
.bento-feature-card h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text);
}
.bento-feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 420px;
}

/* Feature card mini mockups */
.bento-feature-mock {
  margin-top: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(245, 245, 240, 0.5);
  padding: 14px;
  overflow: hidden;
}

/* Invoice list mockup */
.bfm-list-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 8px;
}
.bfm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.bfm-title-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(15, 23, 42, 0.08); }
.bfm-badge-ok {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.bfm-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.bfm-list-row:last-child { border-bottom: 0; }
.bfm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.bfm-avatar.blue { background: rgba(255, 127, 80, 0.12); color: #FF7F50; }
.bfm-avatar.green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.bfm-avatar.orange { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.bfm-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bfm-row-name { height: 8px; width: 70%; border-radius: 4px; background: rgba(15, 23, 42, 0.10); }
.bfm-row-sub { height: 6px; width: 45%; border-radius: 3px; background: rgba(15, 23, 42, 0.05); }
.bfm-row-amount { height: 8px; width: 48px; border-radius: 4px; background: rgba(15, 23, 42, 0.08); flex-shrink: 0; }

/* Upload mockup */
.bfm-upload { display: flex; gap: 12px; }
.bfm-upload-zone {
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 12px;
  border: 2px dashed rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.32);
  font-size: 9px;
  font-weight: 700;
}
.bfm-file-list { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bfm-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.bfm-file-icon { width: 24px; height: 24px; border-radius: 6px; background: rgba(239, 68, 68, 0.08); flex-shrink: 0; }
.bfm-file-name { flex: 1; height: 7px; border-radius: 4px; background: rgba(15, 23, 42, 0.08); }
.bfm-file-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  flex-shrink: 0;
}
.bfm-file-badge.pending { background: rgba(245, 158, 11, 0.12); color: #d97706; }

/* Team mockup */
.bfm-team { display: flex; flex-direction: column; gap: 4px; }
.bfm-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.bfm-team-row:last-child { border-bottom: 0; }
.bfm-team-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bfm-team-name { height: 8px; width: 55%; border-radius: 4px; background: rgba(15, 23, 42, 0.10); }
.bfm-team-role { font-size: 9px; font-weight: 700; color: rgba(15, 23, 42, 0.35); }
.bfm-team-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.bfm-team-badge.owner { background: rgba(255, 127, 80, 0.10); color: #FF7F50; }
.bfm-team-badge.admin { background: rgba(139, 92, 246, 0.10); color: #7c3aed; }
.bfm-team-badge.op { background: rgba(245, 158, 11, 0.10); color: #d97706; }

/* Integration mockup */
.bfm-integrations { display: flex; flex-direction: column; gap: 4px; }
.bfm-integration-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.bfm-integration-item svg { color: var(--accent); flex-shrink: 0; }
.bfm-integration-item span:first-of-type { flex: 1; }
.bfm-connected {
  font-size: 10px;
  font-weight: 800;
  color: #16a34a;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.10);
}

/* --- Pricing --- */
.pricing-single { max-width: 480px; margin: 0 auto; }
.pricing-card {
  border-radius: 32px;
  border: 1px solid rgba(255, 127, 80, 0.18);
  background: #fff;
  box-shadow: 0 20px 60px rgba(255, 127, 80, 0.08);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.pricing-card-head { text-align: center; margin-bottom: 24px; }
.pricing-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 4px;
}
.pricing-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.pricing-val {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pricing-period {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li svg { color: var(--accent); flex-shrink: 0; }
.pricing-cta {
  border-radius: 999px;
  padding: 16px;
  font-size: 15px;
  text-align: center;
}

/* --- Final CTA --- */
.landing-final-cta {
  position: relative;
  text-align: center;
  background: rgba(245, 245, 240, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 36px;
  padding: 64px 36px;
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 127, 80, 0.06), transparent 50%);
  pointer-events: none;
}
.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 20px 0 16px;
}
.final-cta-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
}
.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.final-cta-btn-primary {
  border-radius: 999px;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.final-cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.final-cta-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(15, 23, 42, 0.38);
}
.final-cta-badge svg { color: var(--accent); }

/* --- Footer V2 (compact) --- */
.landing-footer-v2 {
  padding: 0 24px 32px;
}
.landing-footer-v2-inner {
  max-width: 1140px;
  margin: 0 auto;
  background: #0f172a;
  border-radius: 24px;
  padding: 20px 32px;
  color: #fff;
  overflow: hidden;
}
.lfv2-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lfv2-row .brandmark {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
.lfv2-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.lfv2-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.15s;
}
.lfv2-links a:hover { color: #fff; }
.lfv2-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Responsive: Bento grids --- */
@media (max-width: 1080px) {
  .bento-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-card { min-height: 360px; }
}
@media (max-width: 768px) {
  .bento-4 { grid-template-columns: 1fr; }
  .bento-3 { grid-template-columns: 1fr; }
  .bento-feature-wide { grid-column: span 1; }
  .bento-card { min-height: 300px; }
  .lfv2-row { gap: 16px; }
  .landing-final-cta { padding: 40px 20px; }
  .landing-footer-v2 { padding: 0 16px 32px; }
  .landing-footer-v2-inner { padding: 32px 24px; border-radius: 24px; }
}
@media (max-width: 480px) {
  .lfv2-links { margin-left: 0; }
  .lfv2-copy { border-left: none; padding-left: 0; }
  .bento-features-wrap { padding: 20px; border-radius: 20px; }
  .bento-feature-card { padding: 20px; border-radius: 20px; }
  .bento-card { padding: 24px; border-radius: 24px; }
  .pricing-card { padding: 24px 20px; border-radius: 24px; }
}
