/* ============================================================
   DoCredit — Landing styles (B&W + #7b3aed accent)
   Type: Bricolage Grotesque (display) + Hanken Grotesk (UI)
   + JetBrains Mono (micro-labels). Radius: 10px.
   ============================================================ */

:root{
  --bg:#FAFAFA;
  --surface:#FFFFFF;
  --surface-2:#F6F6F7;
  --ink:#0A0A0B;
  --ink-2:#3A3A3E;
  --muted:#76767C;
  --faint:#A8A8AE;
  --line:#E8E8EA;
  --line-2:#F0F0F1;
  --chip:#F4F4F5;

  --r:10px;
  --r-sm:8px;
  --r-pill:999px;

  --shadow-sm:none;
  --shadow:none;
  --shadow-lg:none;

  --maxw:1180px;
  --gut:24px;

  --accent:#7b3aed;
  --accent-2:#6d28d9;
  --accent-rgb:123,58,237;

  --font-display:"Space Grotesk", sans-serif;
  --font:"Hanken Grotesk", sans-serif;
  --font-mono:"JetBrains Mono", monospace;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut);}

/* ---------- Typography helpers ---------- */
.mono{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:500;
}
h1,h2,h3{font-family:var(--font-display);margin:0;font-weight:700;letter-spacing:-.02em;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-mono);font-size:11.5px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);font-weight:500;
}
.eyebrow::before{content:"";width:18px;height:1px;background:var(--accent);opacity:.6;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 20px;border-radius:var(--r);
  font-weight:600;font-size:15px;border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn svg{width:17px;height:17px;}
.btn-dark{background:var(--accent);color:#fff;}
.btn-dark:hover{transform:translateY(-1px);background:var(--accent-2);}
.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{transform:translateY(-1px);border-color:#d6d6d9;}
.btn-sm{height:38px;padding:0 14px;font-size:14px;}
.btn-block{width:100%;}

/* ---------- Pills / badges ---------- */
.pill{
  display:inline-flex;align-items:center;gap:8px;
  height:30px;padding:0 12px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--line);
  font-size:12.5px;font-weight:500;color:var(--ink-2);
}
.pill .tag{
  font-family:var(--font-mono);font-size:9.5px;letter-spacing:.1em;
  background:var(--accent);color:#fff;border-radius:5px;padding:2px 6px;font-weight:600;
}
.dot{width:6px;height:6px;border-radius:50%;background:var(--accent);display:inline-block;}

.badge{
  display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;
  border-radius:var(--r-pill);font-size:11px;font-weight:600;
  border:1px solid var(--line);background:var(--surface-2);color:var(--ink-2);
}
.badge--solid{background:var(--accent);color:#fff;border-color:var(--accent);}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky;top:0;z-index:60;
  background:rgba(250,250,250,.78);backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;transition:border-color .2s ease, background .2s ease;
}
.nav.scrolled{border-color:var(--line);background:rgba(250,250,250,.9);}
.nav-inner{display:flex;align-items:center;gap:18px;height:68px;}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;letter-spacing:-.01em;}
.logo-mark{
  width:32px;height:32px;border-radius:9px;background:var(--accent);color:#fff;
  display:grid;place-items:center;font-family:var(--font-mono);font-weight:700;font-size:12px;letter-spacing:.02em;
}
.nav-links{display:flex;align-items:center;gap:4px;margin:0 auto;}
.nav-links a{
  padding:8px 13px;border-radius:8px;font-size:14.5px;color:var(--ink-2);font-weight:500;
  display:inline-flex;align-items:center;gap:7px;transition:background .15s ease,color .15s ease;
}
.nav-links a:hover{background:var(--chip);color:var(--ink);}
.nav-links .tag{
  font-family:var(--font-mono);font-size:8.5px;letter-spacing:.08em;background:var(--accent);color:#fff;
  border-radius:4px;padding:1px 5px;font-weight:600;
}
.nav-cta{display:flex;align-items:center;gap:10px;}
.nav-cta .signin{font-size:14.5px;font-weight:500;color:var(--ink-2);padding:8px 10px;border-radius:8px;}
.nav-cta .signin:hover{color:var(--ink);}
.nav-toggle{display:none;width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:var(--surface);align-items:center;justify-content:center;color:var(--ink);}
.nav-toggle svg{width:22px;height:22px;}

/* ============================================================
   MOBILE MENU (overlay)
   ============================================================ */
.mnav{position:fixed;inset:0;z-index:200;visibility:hidden;pointer-events:none;}
.mnav.open{visibility:visible;pointer-events:auto;}
.mnav-backdrop{position:absolute;inset:0;background:rgba(10,10,11,.5);opacity:0;transition:opacity .3s ease;backdrop-filter:blur(12px);}
.mnav.open .mnav-backdrop{opacity:1;}
.mnav-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(86vw,360px);
  background:rgba(255,255,255,.85);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .34s cubic-bezier(.4,0,.1,1);
  border-left:1px solid var(--line);
  box-shadow:-10px 0 40px rgba(0,0,0,.08);
}
.mnav.open .mnav-panel{transform:translateX(0);}
.mnav-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);}
.mnav-close{width:42px;height:42px;border-radius:10px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;color:var(--ink);}
.mnav-close svg{width:20px;height:20px;}
.mnav-links{display:flex;flex-direction:column;padding:14px 14px;gap:2px;flex:1;}
.mnav-links a{
  display:flex;align-items:center;gap:14px;padding:15px 14px;border-radius:12px;
  font-size:16px;font-weight:600;color:var(--ink);transition:background .15s ease;
}
.mnav-links a:active,.mnav-links a:hover{background:var(--surface-2);}
.mnav-links a > svg:first-child{width:20px;height:20px;color:var(--accent);flex:0 0 auto;}
.mnav-links a .chev{width:18px;height:18px;color:var(--faint);margin-left:auto;}
.mnav-links a .mtag{
  font-family:var(--font-mono);font-size:10px;letter-spacing:.06em;background:var(--accent);color:#fff;
  border-radius:5px;padding:2px 7px;font-weight:600;
}
.mnav-foot{padding:18px 18px 26px;border-top:1px solid var(--line);}
.mnav-foot .btn{height:52px;font-size:16px;}
.mnav-note{text-align:center;margin:16px 0 0;font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;color:var(--faint);}
body.menu-open{overflow:hidden;}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;overflow:hidden;padding:64px 0 0;
  background: #f5f3ff;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size:60px 60px;
  -webkit-mask-image:radial-gradient(120% 70% at 50% 0%, #000 0%, transparent 72%);
  mask-image:radial-gradient(120% 70% at 50% 0%, #000 0%, transparent 72%);
  opacity:.7;
}
.hero-inner{position:relative;z-index:1;text-align:center;}
.hero h1{
  font-size:clamp(36px,5.6vw,72px);line-height:1.1;letter-spacing:-.03em;font-weight:700;
  margin:22px auto 0;max-width:none;
}
.hero .lead{
  margin:22px auto 0;max-width:54ch;font-size:clamp(16px,1.5vw,19px);color:var(--muted);line-height:1.6;
}
.hero-cta{display:flex;gap:12px;justify-content:center;margin-top:30px;flex-wrap:wrap;}
.hero-chips{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:30px;}
.hero-chips .c{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ink-2);font-weight:500;}
.hero-chips .c svg{width:16px;height:16px;color:var(--accent);}

/* hero app preview */
.hero-stage{position:relative;margin:54px auto -30%;max-width:1080px;}
.appframe{
  position:relative;z-index:2;background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;overflow:hidden;
  box-shadow:0 32px 80px rgba(123,58,237,0.12);
}
.appbar{
  display:flex;align-items:center;gap:14px;height:44px;padding:0 16px;
  border-bottom:1px solid var(--line);background:var(--surface-2);
}
.traffic{display:flex;gap:7px;}
.traffic i{width:11px;height:11px;border-radius:50%;background:#dadade;display:block;}
.appbar .url{
  flex:1;max-width:340px;height:26px;border-radius:7px;background:var(--surface);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--font-mono);font-size:11px;color:var(--muted);
}
.appbar .url svg{width:12px;height:12px;}

/* recreated dashboard inside frame */
.app{display:grid;grid-template-columns:212px 1fr;min-height:430px;}
.app-side{border-right:1px solid var(--line);padding:16px 12px;background:var(--surface);}
.side-brand{display:flex;align-items:center;gap:9px;padding:4px 8px 14px;font-weight:700;font-size:15px;}
.side-brand .logo-mark{width:26px;height:26px;border-radius:8px;font-size:10px;background:var(--accent);}
.side-link{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;
  font-size:13px;color:var(--ink-2);font-weight:500;margin-bottom:2px;
}
.side-link svg{width:16px;height:16px;color:var(--faint);}
.side-link.active{background:var(--accent);color:#fff;}
.side-link.active svg{color:#fff;}
.app-main{padding:18px 20px;background:var(--surface-2);overflow:hidden;}
.app-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px;}
.app-head .t{font-family:var(--font-display);font-size:20px;font-weight:700;}
.app-head .crumb{font-family:var(--font-mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);}
.app-controls{display:flex;gap:8px;}
.ctrl{height:30px;border:1px solid var(--line);background:var(--surface);border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 11px;font-size:11.5px;color:var(--ink-2);font-weight:500;}
.ctrl svg{width:13px;height:13px;}
.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:13px 14px;}
.kpi .l{font-size:11.5px;color:var(--muted);font-weight:500;}
.kpi .v{font-family:var(--font-display);font-size:21px;font-weight:700;letter-spacing:-.02em;margin-top:9px;}
.kpi .s{display:flex;align-items:center;gap:7px;font-size:10.5px;color:var(--faint);margin-top:9px;}
.app-charts{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;margin-top:12px;}
.chartcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px;}
.chartcard .ct{font-size:12.5px;font-weight:600;}
.chartcard .cs{font-size:10.5px;color:var(--muted);margin-top:1px;margin-bottom:10px;}

/* floating chips around hero */
.floaty{position:absolute;z-index:3;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;}
.floaty .ico{width:34px;height:34px;border-radius:9px;background:var(--accent);color:#fff;display:grid;place-items:center;}
.floaty .ico svg{width:17px;height:17px;}
.f-toast{left:-26px;top:120px;display:flex;align-items:center;gap:11px;}
.f-toast .tt{font-size:13px;font-weight:600;}
.f-toast .ts{font-size:11px;color:var(--muted);}
.f-stat{right:-22px;top:300px;width:180px;}
.f-stat .l{font-size:11px;color:var(--muted);font-weight:500;}
.f-stat .v{font-family:var(--font-display);font-size:24px;font-weight:700;margin-top:4px;}
.f-stat .bar{height:6px;border-radius:4px;background:var(--line);margin-top:10px;overflow:hidden;}
.f-stat .bar span{display:block;height:100%;background:var(--accent);width:0;}

/* ============================================================
   Mini charts (SVG)
   ============================================================ */
.spark{width:100%;height:84px;display:block;}
.bars{display:flex;align-items:flex-end;gap:9px;height:96px;padding-top:6px;}
.bars .grp{flex:1;display:flex;gap:4px;align-items:flex-end;justify-content:center;}
.bars .b{width:9px;border-radius:3px 3px 0 0;}
.bars .b.fill{background:var(--accent);}
.bars .b.line{background:rgba(123,58,237,.1);border:1px solid var(--accent);}
.bars-x{display:flex;gap:9px;margin-top:6px;}
.bars-x span{flex:1;text-align:center;font-family:var(--font-mono);font-size:9px;color:var(--faint);}
.legend{display:flex;gap:14px;margin-top:10px;justify-content:center;}
.legend span{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;color:var(--muted);}
.legend i{width:9px;height:9px;border-radius:3px;display:block;}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{padding:48px 0 8px;text-align:center;}
.trust p{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin:0 0 22px;}
.trust-row{display:flex;align-items:center;justify-content:center;gap:42px;flex-wrap:wrap;}
.trust-logo{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:17px;color:var(--faint);letter-spacing:-.01em;filter:grayscale(1);opacity:.72;}
.trust-logo svg{width:18px;height:18px;}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
section{position:relative;}
.section{padding:96px 0;}
.section-head{max-width:680px;}
.section-head.center{margin:0 auto;text-align:center;}
.section-head h2{font-size:clamp(30px,4vw,50px);line-height:1.02;letter-spacing:-.03em;font-weight:800;margin-top:16px;}
.section-head p{margin-top:18px;font-size:18px;color:var(--muted);line-height:1.6;}

/* ---------- 3-up value props ---------- */
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:60px;}
.value{
  background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:36px;text-align:left;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.value:hover{
  border-color:#d0d0d4;transform:translateY(-3px);
  box-shadow:0 16px 40px rgba(0,0,0,0.05);
}
.value .ico{
  width:46px;height:46px;border-radius:10px;background:var(--accent);color:#fff;
  display:grid;place-items:center;margin-bottom:20px;
}
.value .ico svg{width:22px;height:22px;}
.value h3{font-size:20px;font-weight:700;letter-spacing:-.01em;}
.value p{margin-top:9px;color:var(--muted);font-size:15px;line-height:1.6;}
.value .vsep{height:1px;background:var(--line);margin:18px 0;}
.value .vlist{display:flex;flex-direction:column;gap:8px;}
.value .vlist span{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ink-2);font-weight:500;}
.value .vlist svg{width:15px;gensvg:15px;color:var(--accent);}

/* ---------- Alternating feature rows ---------- */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
.feature + .feature{margin-top:110px;}
.feature.rev .f-copy{order:2;}
.feature.rev .f-visual{order:1;}
@media (min-width:981px){
  #app .feature{grid-template-columns:1.4fr 1fr;gap:8px;}
}
.f-copy h3{font-size:clamp(26px,3vw,38px);line-height:1.05;letter-spacing:-.025em;font-weight:800;margin-top:16px;}
.f-copy p{margin-top:16px;color:var(--muted);font-size:16.5px;line-height:1.62;}
.f-copy .flist{margin-top:24px;display:flex;flex-direction:column;gap:14px;}
.f-copy .flist .fi{display:flex;gap:13px;align-items:flex-start;}
.f-copy .flist .fi .ck{
  width:26px;height:26px;border-radius:8px;flex:0 0 auto;display:grid;place-items:center;
  background:var(--accent);color:#fff;margin-top:1px;
}
.f-copy .flist .fi .ck svg{width:14px;height:14px;}
.f-copy .flist .fi b{font-weight:600;font-size:15px;}
.f-copy .flist .fi p{margin-top:2px;font-size:14px;color:var(--muted);}
.f-copy .more{margin-top:26px;}

.f-visual{position:relative;}
#app .f-visual{
  overflow:hidden;aspect-ratio:1.2;
}
#app .f-visual img{
  position:absolute;top:0;left:50%;
  width:185%;max-width:none;height:auto;
  transform:translate(-42%,-6%);
  mix-blend-mode:multiply;
}
#app .f-visual::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:15%;
  background:linear-gradient(to bottom, transparent, var(--bg) 88%);
  pointer-events:none;
}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line);}
.panel-head .ph-t{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;}
.panel-head .ph-t .ico{width:28px;height:28px;border-radius:8px;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;}
.panel-head .ph-t .ico svg{width:15px;height:15px;}
.panel-body{padding:16px;}

/* list rows (cobros / recordatorios) */
.row-item{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:var(--r);margin-bottom:9px;background:var(--surface);}
.row-item:last-child{margin-bottom:0;}
.row-item .av{width:36px;height:36px;border-radius:9px;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;font-family:var(--font-mono);font-size:11px;font-weight:600;color:var(--ink-2);}
.row-item .ri-main{flex:1;min-width:0;}
.row-item .ri-main .n{font-size:14px;font-weight:600;}
.row-item .ri-main .m{font-size:12px;color:var(--muted);}
.row-item .ri-amt{font-family:var(--font-display);font-weight:700;font-size:15px;}

/* calculator panel */
.calc-field{margin-bottom:13px;}
.calc-field label{font-size:12px;color:var(--muted);font-weight:500;display:block;margin-bottom:6px;}
.calc-input{display:flex;align-items:center;height:42px;border:1px solid var(--line);border-radius:var(--r);padding:0 13px;background:var(--surface);font-weight:600;font-size:15px;justify-content:space-between;}
.calc-input .u{font-family:var(--font-mono);font-size:11px;color:var(--faint);font-weight:500;}
.calc-range{height:5px;border-radius:4px;background:var(--line);position:relative;margin:14px 4px 4px;}
.calc-range i{position:absolute;left:0;top:0;bottom:0;width:64%;background:var(--accent);border-radius:4px;}
.calc-range i::after{content:"";position:absolute;right:-8px;top:50%;transform:translateY(-50%);width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--accent);box-shadow:var(--shadow-sm);}
.calc-result{margin-top:6px;padding:14px;border:1px solid var(--accent);border-radius:var(--r);background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:space-between;}
.calc-result .l{font-size:12px;opacity:.7;}
.calc-result .v{font-family:var(--font-display);font-size:26px;font-weight:700;letter-spacing:-.02em;}

/* ============================================================
   SEGMENTS STRIP
   ============================================================ */
.seg-strip{padding-bottom:0 !important;}
.seg-grid{
  display:grid;grid-template-columns:repeat(5,1fr);
  gap:14px;margin-top:36px;
}
.seg{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:9px;padding:22px 14px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  transition:border-color .2s ease,transform .2s ease;
}
.seg:hover{border-color:rgba(123,58,237,.3);transform:translateY(-3px);}
.seg .seg-ico{
  width:48px;height:48px;border-radius:12px;
  background:rgba(123,58,237,.08);color:var(--accent);
  display:grid;place-items:center;flex:0 0 auto;
}
.seg .seg-ico svg{width:24px;height:24px;}
.seg .seg-label{font-family:var(--font-display);font-weight:700;font-size:14px;letter-spacing:-.01em;}
.seg .seg-desc{font-size:12px;color:var(--muted);line-height:1.45;}

/* ============================================================
   MODULES GRID
   ============================================================ */
.modules{background:var(--ink);color:#fff;border-radius:24px;padding:64px;margin-top:0;}
.modules .section-head h2{color:#fff;}
.modules .section-head p{color:rgba(255,255,255,.62);}
.modules .eyebrow{color:rgba(255,255,255,.6);}
.modules .eyebrow::before{background:rgba(255,255,255,.4);}
.mod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:46px;}
.mod{
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);border-radius:var(--r);
  padding:18px;transition:background .2s ease, transform .2s ease, border-color .2s ease;
}
.mod:hover{background:rgba(255,255,255,.08);transform:translateY(-3px);border-color:rgba(255,255,255,.22);}
.mod .ico{width:38px;height:38px;border-radius:9px;background:#fff;color:var(--accent);display:grid;place-items:center;margin-bottom:14px;}
.mod .ico svg{width:19px;height:19px;}
.mod .mn{font-weight:600;font-size:15px;letter-spacing:-.01em;}
.mod .md{font-size:12.5px;color:rgba(255,255,255,.55);margin-top:5px;line-height:1.5;}

/* ============================================================
   FEATURE CARDS 2x2 (like Rambus right column)
   ============================================================ */
.cards2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:54px;}
.fcard{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:border-color .2s ease, transform .2s ease;}
.fcard:hover{border-color:#d0d0d4;transform:translateY(-2px);}
.fcard .fc-top{padding:22px 22px 18px;}
.fcard .fc-top .ico{width:34px;height:34px;border-radius:9px;background:rgba(123,58,237,.08);border:1px solid rgba(123,58,237,.15);display:grid;place-items:center;margin-bottom:14px;color:var(--accent);}
.fcard .fc-top .ico svg{width:17px;height:17px;}
.fcard h3{font-size:18px;font-weight:700;letter-spacing:-.01em;}
.fcard p{margin-top:8px;color:var(--muted);font-size:14px;line-height:1.55;}
.fcard .fc-art{padding:0 22px 22px;}
.mini{border:1px solid var(--line);border-radius:var(--r);background:var(--surface-2);padding:13px;}
.mini-row{display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-bottom:7px;}
.mini-row:last-child{margin-bottom:0;}
.mini-row .mi{width:24px;height:24px;border-radius:7px;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;}
.mini-row .mi svg{width:13px;height:13px;}
.mini-row .mt{flex:1;font-size:12.5px;font-weight:500;}
.mini-row .mb{font-family:var(--font-mono);font-size:10.5px;color:var(--muted);}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:46px 44px;border:1px solid var(--line);border-radius:18px;background:var(--surface);}
.stat{text-align:center;}
.stat .v{font-family:var(--font-display);font-size:clamp(34px,4vw,48px);font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--accent);}
.stat .l{margin-top:10px;font-size:13.5px;color:var(--muted);font-weight:500;}
.stat{border-right:1px solid var(--line);}
.stat:last-child{border-right:none;}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tgrid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;margin-top:54px;}
.quote{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:26px;display:flex;flex-direction:column;}
.quote.big{background:var(--ink);color:#fff;border-color:var(--ink);}
.quote .qmark{font-family:var(--font-display);font-size:46px;line-height:.6;font-weight:800;color:var(--line);height:24px;}
.quote.big .qmark{color:rgba(255,255,255,.22);}
.quote p{font-size:15.5px;line-height:1.6;margin:14px 0 0;flex:1;}
.quote.big p{font-size:20px;font-weight:500;letter-spacing:-.01em;line-height:1.45;}
.quote .who{display:flex;align-items:center;gap:11px;margin-top:22px;}
.quote .who .av{width:38px;height:38px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;font-family:var(--font-mono);font-size:12px;font-weight:600;}
.quote.big .who .av{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff;}
.quote .who .nm{font-size:13.5px;font-weight:600;}
.quote .who .rl{font-size:12px;color:var(--muted);}
.quote.big .who .rl{color:rgba(255,255,255,.6);}

/* ============================================================
   RD / multi-sucursal
   ============================================================ */
.rd{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center;}
.rd-list{margin-top:30px;display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);}
.rd-list .rl{display:flex;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid var(--line);}
.rd-list .rl:last-child{border-bottom:none;}
.rd-list .rl .flag{width:30px;height:30px;border-radius:8px;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;font-family:var(--font-mono);font-size:11px;font-weight:600;}
.rd-list .rl .rn{flex:1;font-size:14.5px;font-weight:600;}
.rd-list .rl .rv{font-family:var(--font-display);font-weight:700;font-size:15px;}
.rd-list .rl .rb{font-family:var(--font-mono);font-size:10.5px;color:var(--muted);}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:52px;align-items:start;}
.pcard{
  border:1px solid var(--line);border-radius:14px;padding:28px 24px;
  background:var(--surface);display:flex;flex-direction:column;gap:0;
  transition:border-color .2s ease, transform .2s ease;
  position:relative;
}
.pcard:hover{border-color:#c8c8cc;transform:translateY(-2px);}
.pcard--featured{
  background:var(--ink);color:#fff;
  border-color:var(--ink);
}
.pcard--featured .pc-list li{color:rgba(255,255,255,.75);}
.pcard--featured .pc-list i{color:#fff;}
.pcard--featured .pc-meta span{color:rgba(255,255,255,.6);}
.pcard--featured .pc-meta i{color:rgba(255,255,255,.5);}
.pc-badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#fff;font-size:11px;font-weight:700;
  font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;
  padding:4px 12px;border-radius:var(--r-pill);
}
.pc-name{font-size:16px;font-weight:700;letter-spacing:-.01em;margin-bottom:16px;}
.pcard--featured .pc-name{color:#fff;}
.pc-price{
  font-family:var(--font-display);font-size:15px;font-weight:700;color:var(--accent);
  display:flex;align-items:baseline;gap:2px;margin-bottom:18px;
}
.pc-price span:first-of-type{font-size:36px;letter-spacing:-.03em;}
.pc-price--custom{font-size:26px;letter-spacing:-.02em;align-items:center;}
.pc-custom-label{font-size:36px;letter-spacing:-.03em;font-weight:700;color:var(--accent);font-family:var(--font-display);}
.pc-period{font-size:13px;font-weight:500;color:var(--muted);font-family:var(--font);}
.pcard--featured .pc-period{color:rgba(255,255,255,.5);}
.pc-meta{
  display:flex;flex-direction:column;gap:7px;
  padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  margin-bottom:18px;
}
.pcard--featured .pc-meta{border-color:rgba(255,255,255,.12);}
.pc-meta span{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:var(--ink-2);font-weight:500;
}
.pc-meta i{width:14px;height:14px;color:var(--muted);}
.pc-list{
  list-style:none;margin:0 0 24px;padding:0;
  display:flex;flex-direction:column;gap:10px;flex:1;
}
.pc-list li{
  display:flex;align-items:flex-start;gap:9px;
  font-size:13.5px;color:var(--ink-2);line-height:1.4;
}
.pc-list i{width:15px;height:15px;color:var(--accent);flex:0 0 auto;margin-top:1px;}

@media(max-width:980px){.pricing-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:620px){.pricing-grid{grid-template-columns:1fr;}}

/* ============================================================
   CTA
   ============================================================ */
.cta{background:var(--ink);color:#fff;border-radius:24px;padding:74px 40px;text-align:center;position:relative;overflow:hidden;}
.cta-bg{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.05) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:radial-gradient(80% 80% at 50% 0%,#000,transparent 75%);mask-image:radial-gradient(80% 80% at 50% 0%,#000,transparent 75%);}
.cta>*{position:relative;z-index:1;}
.cta h2{font-size:clamp(32px,4.4vw,56px);line-height:1.02;letter-spacing:-.03em;font-weight:800;max-width:18ch;margin:0 auto;}
.cta p{margin:20px auto 0;max-width:50ch;color:rgba(255,255,255,.66);font-size:17px;}
.cta .hero-cta{margin-top:32px;}
.cta .btn-dark{background:#fff;color:var(--ink);}
.cta .btn-dark:hover{opacity:.92;}
.cta .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.25);}
.cta .btn-ghost:hover{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.06);}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{display:flex;flex-direction:column;gap:12px;margin-top:48px;}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:box-shadow .2s ease;}
.faq-item:hover{box-shadow:0 4px 12px rgba(0,0,0,0.03);}
.faq-item[open]{border-color:var(--accent);box-shadow:0 4px 12px rgba(123,58,237,0.08);}
.faq-q{
  list-style:none;padding:24px;cursor:pointer;font-size:16px;font-weight:600;color:var(--ink);
  display:flex;align-items:center;justify-content:space-between;gap:16px;user-select:none;
}
.faq-q::-webkit-details-marker{display:none;}
.faq-q svg{width:20px;height:20px;color:var(--muted);transition:transform .3s ease;}
.faq-item[open] .faq-q svg{transform:rotate(180deg);color:var(--accent);}
.faq-a{padding:0 24px 24px;color:var(--ink-2);line-height:1.6;font-size:15.5px;animation:faq-fade .3s ease;}
@keyframes faq-fade{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);}}

/* ============================================================
   FOOTER
   ============================================================ */
.foot{background:var(--ink);color:#fff;padding:96px 0 40px;margin-top:0;border-top:none;}
.foot-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;}
.foot-brand .brand{margin-bottom:18px;color:#fff;}
.foot-brand p{color:rgba(255,255,255,.55);font-size:15px;max-width:32ch;line-height:1.6;}
.foot-brand .socials{display:flex;gap:12px;margin-top:24px;}
.foot-brand .socials a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.06);display:grid;place-items:center;color:rgba(255,255,255,.7);transition:all .2s ease;}
.foot-brand .socials a:hover{background:var(--accent);color:#fff;transform:translateY(-2px);}
.foot-brand .socials a svg{width:18px;height:18px;}
.foot-col h4{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#fff;font-weight:600;margin:0 0 20px;}
.f-chev{display:none;}
.f-links{display:block;}
.foot-col a{display:block;font-size:14.5px;color:rgba(255,255,255,.6);padding:6px 0;transition:color .2s ease;}
.foot-col a:hover{color:#fff;}
.foot-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:72px;padding-top:32px;border-top:1px solid rgba(255,255,255,.1);flex-wrap:wrap;gap:16px;}
.foot-bottom p{font-size:13px;color:rgba(255,255,255,.45);margin:0;}
.foot-bottom .made{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.06em;color:rgba(255,255,255,.45);}
.foot-bottom .made b{color:#fff;font-weight:600;}

/* ============================================================
   ANIMATION
   anim-will-animate is added by JS only to below-fold elements,
   so above-fold content is never hidden (eliminates CLS).
   ============================================================ */
.anim-will-animate{opacity:0;}
.anim{transition:opacity .6s ease,transform .6s ease;}
.anim.visible{opacity:1 !important;transform:none !important;}
.anim-will-animate[data-anim="up"]:not(.visible){transform:translateY(28px);}
.anim-will-animate[data-anim="rise"]:not(.visible){transform:translateY(28px);}
.anim-will-animate[data-anim="slide-l"]:not(.visible){transform:translateX(-36px);}
.anim-will-animate[data-anim="slide-r"]:not(.visible){transform:translateX(36px);}
.anim-will-animate[data-anim="float-l"]:not(.visible){transform:translateX(-24px);}
.anim-will-animate[data-anim="float-r"]:not(.visible){transform:translateX(24px);}
@media (prefers-reduced-motion:reduce){
  .anim,.anim-will-animate{opacity:1 !important;transform:none !important;transition:none !important;}
  html{scroll-behavior:auto;}
  .floaty{animation:none !important;}
}

/* modules expand button */
.mod-expand{display:none;text-align:center;margin-top:18px;}
.mod-expand-btn{
  display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px;
  border-radius:var(--r-pill);border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.8);font-size:14px;font-weight:600;cursor:pointer;
  transition:background .2s ease, border-color .2s ease;
}
.mod-expand-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35);}
.mod-expand-btn svg{width:16px;height:16px;transition:transform .25s ease;}
.mod-expand-btn.open svg{transform:rotate(180deg);}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.mobile-swipe-hint{display:none;}
@media (max-width:980px){
  .nav-links{display:none;}
  .nav-demo{display:none;}
  .nav-toggle{display:flex;}
  .nav-cta{margin-left:auto;}
  .values{grid-template-columns:1fr;gap:22px;}
  .feature{grid-template-columns:1fr;gap:34px;text-align:center;}
  .feature.rev .f-copy{order:1;}
  .feature.rev .f-visual{order:2;}
  #app .f-visual img{transform:translate(-50%,-6%);}
  .f-copy .eyebrow{justify-content:center;}
  .f-copy .flist{text-align:left;max-width:440px;margin:32px auto 0;}
  .mod-grid{grid-template-columns:repeat(3,1fr);}
  .mod-grid .mod:nth-child(n+9){display:none;}
  .mod-grid.expanded .mod:nth-child(n+9){display:flex;flex-direction:column;}
  .mod-expand{display:block;}
  .seg-grid{grid-template-columns:repeat(3,1fr);}
  .cards2{grid-template-columns:1fr 1fr;}
  .tgrid{grid-template-columns:1fr;}
  .rd{grid-template-columns:1fr;gap:34px;}
  .stats{grid-template-columns:1fr 1fr;gap:0;}
  .stat{border-right:none;border-bottom:1px solid var(--line);padding:28px 20px;}
  .stat:nth-child(odd){border-right:1px solid var(--line);}
  .stat:last-child,.stat:nth-last-child(2){border-bottom:none;}
  .foot-top{grid-template-columns:1fr 1fr;gap:30px;}
  .modules{padding:44px 26px;border-radius:18px;}
  .f-stat{right:-8px;}
  .f-toast{left:-8px;}
}
@media (max-width:620px){
  :root{--gut:18px;}
  .section{padding:56px 0;}
  .hero{padding:36px 0 0;}
  .hero-stage .floaty{display:none;}
  .app{grid-template-columns:1fr;}
  .app-side{display:none;}
  .kpi-grid{grid-template-columns:1fr 1fr;}
  .app-charts{grid-template-columns:1fr;}
  .mobile-swipe-hint{
    display:flex;align-items:center;justify-content:center;gap:6px;
    font-size:12px;color:var(--muted);margin-bottom:16px;
    font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.05em;
  }
  .mobile-swipe-hint svg{width:14px;height:14px;opacity:.7;}
  
  .swipe-container{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    margin:0 calc(var(--gut) * -1);
    padding:0 var(--gut) 24px var(--gut);
  }
  .swipe-container::-webkit-scrollbar{display:none;}
  .swipe-container{-ms-overflow-style:none;scrollbar-width:none;}

  .mod-grid{
    display:flex !important;
    gap:16px;
    width:max-content;
  }
  .mod-grid .mod{
    scroll-snap-align:center;
    width:280px;
    flex:0 0 auto;
    white-space:normal;
  }
  .mod-grid .mod:nth-child(n+9){display:block !important;}
  .mod-expand{display:none !important;}
  
  .pricing-grid{
    display:flex !important;
    gap:16px;
    width:max-content;
  }
  .pricing-grid .pcard{
    scroll-snap-align:center;
    width:76vw;
    max-width:320px;
    flex:0 0 auto;
    box-shadow:0 12px 32px rgba(0,0,0,0.06);
  }

  .cards2{
    display:flex !important;
    gap:16px;
    width:max-content;
  }
  .cards2 .fcard{
    scroll-snap-align:center;
    width:calc(100vw - var(--gut) * 2 - 32px);
    flex:0 0 auto;
  }

  .seg-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .stats{grid-template-columns:1fr 1fr;gap:0;}
  .foot-top{grid-template-columns:1fr;gap:0;}
  .foot-brand{margin-bottom:32px;}
  .foot-col{border-top:1px solid rgba(255,255,255,.1);}
  .foot-col:last-of-type{border-bottom:1px solid rgba(255,255,255,.1);}
  .foot-col h4{
    display:flex;justify-content:space-between;align-items:center;
    margin:0;padding:24px 0;cursor:pointer;font-size:12.5px;
  }
  .f-chev{display:block;width:18px;height:18px;transition:transform .25s ease;color:rgba(255,255,255,.6);}
  .foot-col.open .f-chev{transform:rotate(180deg);}
  .f-links{display:none;padding:0 0 20px 0;}
  .foot-col.open .f-links{display:block;}
  .hero-chips-wrap{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    margin:24px calc(var(--gut) * -1) 0;
    padding:0 var(--gut) 12px;
    -webkit-overflow-scrolling:touch;
  }
  .hero-chips-wrap::-webkit-scrollbar{display:none;}
  .hero-chips{
    display:flex;
    gap:12px;
    width:max-content;
    flex-wrap:nowrap;
    margin-top:0;
  }
  .hero-chips .c{
    scroll-snap-align:center;
    flex:0 0 auto;
    font-size:13px;
    background:var(--surface);
    padding:10px 16px;
    border-radius:var(--r-pill);
    border:1px solid var(--line);
    box-shadow:0 6px 16px rgba(0,0,0,0.04);
  }
  .section-head h2{font-size:clamp(24px,7vw,38px);}
  .modules{border-radius:14px;}
  .cta{padding:52px 22px;border-radius:16px;}
  .cta h2{font-size:clamp(26px,7vw,40px);}
  .rd-list .rl{padding:13px 14px;}
  .foot{padding:48px 0 28px;}
  .values{
    display:flex !important;
    gap:16px;
    width:max-content;
  }
  .values .value{
    scroll-snap-align:center;
    width:80vw;
    max-width:320px;
    flex:0 0 auto;
    padding:26px 22px;
  }
  .tgrid{
    display:flex !important;
    gap:16px;
    width:max-content;
  }
  .tgrid .quote{
    scroll-snap-align:center;
    width:calc(100vw - var(--gut) * 2 - 32px);
    flex:0 0 auto;
    white-space:normal;
  }
  /* professional mobile polish */
  .hero h1{font-size:clamp(32px,8.5vw,46px);line-height:1.08;}
  .hero .lead{font-size:15.5px;margin-top:18px;}
  .hero-cta{flex-direction:column;width:100%;gap:10px;margin-top:26px;}
  .hero-cta .btn{width:100%;height:54px;font-size:16px;}
  .hero-stage{margin:32px auto -30%;}
  .appframe{border-radius:12px;box-shadow:0 24px 64px rgba(123,58,237,0.15);}
  .appbar .url{max-width:none;font-size:10px;}
  .pcard{padding:24px 20px;}
  .pcard .btn{height:54px;font-size:16px;}
  .section-head p{font-size:15.5px;margin-top:14px;}
  .f-copy h3{font-size:clamp(24px,7vw,32px);}
  .f-copy p{font-size:15.5px;}
  .value h3{font-size:18px;}
  .mod-expand-btn{width:100%;justify-content:center;}
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:6px;}
}
