/* =========================
   ROOT & RESET
   ========================= */

:root{
  --bg:#0b0c10;
  --panel:#11131a;
  --card:#141824;
  --text:#e9eaf0;
  --muted:#b6b9c6;
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;

  /* new: consistent radii & motion tokens (safe defaults) */
  --r-sm:12px;
  --r-md:18px;
  --r-lg:22px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: .15s;
  --t-med: .22s;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(255,255,255,.07), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
.link:hover{ text-decoration:underline; }
[hidden]{ display:none !important; }

.muted{ color:var(--muted); }

/* new: accessible focus */
:focus-visible{
  outline:2px solid rgba(124,92,255,.65);
  outline-offset:3px;
  border-radius:10px;
}

/* =========================
   LAYOUT
   ========================= */

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

/* =========================
   HEADER & NAV
   ========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(11,12,16,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:800;
  background: rgba(124,92,255,.2);
  border:1px solid rgba(124,92,255,.4);
}

.brand-name{
  font-weight:650;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  gap:22px;
  align-items:center;
}

.nav a{ opacity:.85; transition: opacity var(--t-fast) var(--ease); }
.nav a:hover{ opacity:1; }

.nav-toggle{
  display:none;
  font-size:22px;
  background:none;
  border:0;
  color:var(--text);
  cursor:pointer;
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(124,92,255,.55);
  background: rgba(124,92,255,.22);
  font-weight:650;

  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.btn:hover{
  background: rgba(124,92,255,.32);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.btn:active{ transform: translateY(0); }

.btn-sm{
  padding:10px 14px;
  border-radius:12px;
}

.btn-ghost{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.btn-ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* =========================
   MOBILE NAV
   ========================= */

.nav-mobile{ display:none; }

@media (max-width:880px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }

  .nav-mobile.is-open{
    display:grid;
    background: rgba(11,12,16,.96);
    border-top:1px solid var(--line);
    padding:12px 0;
  }

  .nav-mobile.is-open a{
    padding:14px 18px;
    border-bottom:1px solid var(--line);
    opacity:.95;
  }
}

/* =========================
   HERO (BASE)
   ========================= */

.hero{ padding:64px 0 28px; }

.hero-grid{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:22px;
}

h1{
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
  margin:0 0 14px;
}

.lead{
  font-size:17px;
  max-width:60ch;
  margin-bottom:20px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}

/* =========================
   HERO PRO (NEXT-LEVEL)
   ========================= */

.hero.hero-pro{
  position: relative;
  padding: 74px 0 34px;
  overflow: hidden;
}

/* optional compact modifier used on some pages */
.hero.hero-compact{ padding: 64px 0 28px; }

.hero-bg{
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 18% 20%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(700px 420px at 70% 90%, rgba(124,92,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.26));
  filter: saturate(1.05);
}

.hero-pro-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.hero-pro-left{
  max-width: 62ch;
}

.hero-eyebrow{
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  opacity: .95;
  margin-bottom: 14px;
}

.hero-title{
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  margin: 0 0 14px;
}

.hero-title-accent{
  display:inline-block;
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(255,255,255,.92));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.hero-sub{
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 60ch;
}

.hero-pro-actions{
  margin-top: 6px;
}

.hero-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 16px;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  color: rgba(233,234,240,.92);

  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.chip:hover{
  transform: translateY(-1px);
  background: rgba(124,92,255,.12);
  border-color: rgba(124,92,255,.28);
}

/* Right highlight card */
.hero-pro-right{
  display:flex;
  justify-content:flex-end;
}

.hero-highlight{
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(520px 280px at 50% -10%, rgba(124,92,255,.20), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow:
    0 26px 70px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
}

.hero-highlight-top{
  padding: 22px 22px 10px;
  display:flex;
  justify-content:center;
}

.hero-logo{
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 8px;
  background: rgba(11,12,16,.9);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.hero-highlight-body{
  padding: 4px 26px 24px;
  text-align:center;
}

.hero-mini{
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-highlight-title{
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-highlight-text{
  margin: 0 auto;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-highlight-cta{
  margin-top: 14px;
}

/* =========================
   SECTIONS & CARDS
   ========================= */

.section{ padding:36px 0; }

.section-head{ margin-bottom:16px; }

h2{
  font-size:clamp(22px,2.6vw,30px);
  margin:0;
}

h3{
  margin:0 0 6px;
  font-size:18px;
}

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

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.card{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;

  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(124,92,255,.20);
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
}

/* =========================
   SPLIT BLOCK
   ========================= */

.split{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:18px;
}

/* =========================
   FEATURE GRID
   ========================= */

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

.feature{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;

  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}

.feature:hover{
  transform: translateY(-2px);
  border-color: rgba(124,92,255,.18);
}

.feature .t{
  font-weight:700;
  font-size:13px;
}

.feature .d{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

/* =========================
   KPI PILLS
   ========================= */

.kpis{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.kpi{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-size:13px;
}

/* =========================
   FOOTER
   ========================= */

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

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.4fr;
  gap:28px;
  align-items:start;
}

.footer-title{
  font-weight:700;
  margin-bottom:10px;
}

.site-footer a{
  opacity:.9;
}

.site-footer a:hover{
  opacity:1;
  text-decoration:underline;
}

.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* =========================
   FLOATING WHATSAPP BUTTON
   ========================= */

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;

  width:64px;
  height:64px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#ffffff;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.15);

  box-shadow:0 10px 24px rgba(0,0,0,.25);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.whatsapp-float:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}

.whatsapp-float img{
  width:22px;
  height:22px;
  object-fit:contain;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:880px){
  .hero-grid,
  .grid-3,
  .grid-2,
  .split{
    grid-template-columns:1fr;
  }

  /* Hero Pro stacks */
  .hero.hero-pro{ padding: 58px 0 26px; }
  .hero-pro-grid{ grid-template-columns:1fr; }
  .hero-pro-right{ justify-content: stretch; }
  .hero-highlight{ width: 100%; }

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

  .footer-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:420px){
  .feature-grid{
    grid-template-columns:1fr;
  }

  .whatsapp-float{
    width:56px;
    height:56px;
    right:14px;
    bottom:14px;
  }

  .whatsapp-float img{
    width:20px;
    height:20px;
  }
}

/* =========================
   PILL (INLINE BADGE / INFO BLOCK)
   ========================= */

.pill{
  display:inline-block;
  padding:10px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-size:14px;
  line-height:1.55;
  color:var(--muted);
}

/* =========================
   BULLETS (FEATURE LIST)
   ========================= */

.bullets{
  list-style:none;
  margin:14px 0 16px;
  padding:0;
  display:grid;
  gap:8px;
}

.bullets li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  color:var(--muted);
}

.bullets li::before{
  content:"→";
  color:var(--accent);
  flex-shrink:0;
  margin-top:1px;
}

/* =========================
   CTA SECTION
   ========================= */

.cta{
  padding:42px 0;
}

.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  background:
    radial-gradient(700px 280px at 60% -20%, rgba(124,92,255,.20), transparent 60%),
    rgba(255,255,255,.03);
  border:1px solid rgba(124,92,255,.20);
  border-radius:22px;
  padding:32px 28px;
}

.cta-box h2{
  margin:0 0 8px;
}

.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  flex-shrink:0;
}

@media (max-width:880px){
  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================
   SIGNAL CLUSTER
   ========================= */

.signal-cluster{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  background:
    radial-gradient(400px 200px at 20% -20%, rgba(124,92,255,.18), transparent 60%),
    rgba(255,255,255,.03);
}

.signal-title{
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:12px;
}

.signal-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.signal-tags span{
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  opacity:.9;
  transition: all var(--t-fast) var(--ease);
}

.signal-tags span:hover{
  opacity:1;
  transform: translateY(-1px);
  background: rgba(124,92,255,.18);
  border-color: rgba(124,92,255,.4);
}

/* =========================
   UNIFIED AVATAR SYSTEM (FIXED FALLBACK)
   ========================= */

/* Container */
.person-avatar,
.founder-avatar,
.hero-highlight .avatar{
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative; /* IMPORTANT for initials overlay */
  background: radial-gradient(
    circle at top left,
    rgba(140, 120, 255, 0.18),
    rgba(0, 0, 0, 0.85)
  );

  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Image sits above initials (so no overlap when image loads) */
.person-avatar img,
.founder-avatar img,
.hero-highlight .avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%) contrast(1.05);
  position: relative;
  z-index: 2;
}

/* Initials underneath image; visible when img is hidden (onerror) */
.person-initials{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:800;
  letter-spacing:.02em;
  color: rgba(233,234,240,.92);
  z-index: 1;
  padding:10px;
  line-height:1.05;
}

/* Optional: subtle life on hover */
.person-avatar:hover img,
.founder-avatar:hover img{
  filter: grayscale(0%) contrast(1.05);
}

/* =========================
   REDUCED MOTION (SAFE)
   ========================= */

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
  }
}
