:root{
  --wrap: 1120px;
  --r: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --focus: 0 0 0 3px rgba(79,179,255,.35), 0 0 0 1px rgba(255,255,255,.14) inset;

  /* Default = DARK */
  --bg: #0b0f14;
  --bg2: rgba(11,15,20,.58);
  --panel: rgba(16,23,35,.55);
  --panel2: rgba(16,23,35,.92);
  --border: rgba(255,255,255,.10);

  --text: #e8eef9;
  --muted: rgba(232,238,249,.72);
  --muted2: rgba(232,238,249,.55);

  --accent: #4fb3ff;
  --accent2: #ff3bbd;
  --ok: #29d17d;

  --bodyBg:
    radial-gradient(1100px 520px at 10% 0%, rgba(79,179,255,.18), transparent 60%),
    radial-gradient(900px 560px at 90% 10%, rgba(255,59,189,.14), transparent 55%),
    rgba(11,15,20,1);

  --heroGlow:
    radial-gradient(900px 420px at 15% 10%, rgba(79,179,255,.22), transparent 60%),
    radial-gradient(900px 420px at 85% 20%, rgba(255,59,189,.16), transparent 58%),
    radial-gradient(900px 520px at 55% 80%, rgba(41,209,125,.10), transparent 60%);

  --link: rgba(79,179,255,.95);
}

/* LIGHT OVERRIDES */
html[data-theme="light"]{
  --bg: #f6f8fc;
  --bg2: rgba(246,248,252,.78);
  --panel: rgba(255,255,255,.78);
  --panel2: rgba(255,255,255,.96);
  --border: rgba(15,23,42,.12);

  --text: #0b1220;
  --muted: rgba(11,18,32,.70);
  --muted2: rgba(11,18,32,.52);

  --shadow: 0 18px 50px rgba(2,6,23,.12);
  --focus: 0 0 0 3px rgba(79,179,255,.25), 0 0 0 1px rgba(15,23,42,.10) inset;

  --bodyBg:
    radial-gradient(900px 420px at 8% 0%, rgba(79,179,255,.18), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(255,59,189,.10), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 55%, #f3f6fb 100%);

  --heroGlow:
    radial-gradient(900px 420px at 15% 10%, rgba(79,179,255,.20), transparent 60%),
    radial-gradient(900px 420px at 85% 20%, rgba(255,59,189,.10), transparent 58%),
    radial-gradient(900px 520px at 55% 80%, rgba(41,209,125,.08), transparent 60%);

  --link: rgba(25,110,255,.95);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bodyBg);
}

a{ color: inherit; text-decoration:none; }
.wrap{ width:min(var(--wrap), calc(100% - 32px)); margin:0 auto; }
.muted{ color: var(--muted); }

.eyebrow{
  display:inline-block;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  padding:8px 12px;
  border-radius:999px;
}
html[data-theme="light"] .eyebrow{
  background: rgba(15,23,42,.04);
}

/* Header */
.siteHeader{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px) saturate(140%);
  background: var(--bg2);
  border-bottom:1px solid rgba(255,255,255,.06);
}
html[data-theme="light"] .siteHeader{
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.headerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brandLogo{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
}
html[data-theme="light"] .brandLogo{
  background: rgba(15,23,42,.04);
}

.brandText{ display:flex; flex-direction:column; line-height:1.1; }
.brandText strong{ font-size:16px; letter-spacing:.2px; }
.brandText small{ color:var(--muted2); font-weight:750; }

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color: var(--muted);
  font-weight:850;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
  color: var(--text);
  transform: translateY(-1px);
}
html[data-theme="light"] .nav a:hover{
  background: rgba(15,23,42,.04);
  border-color: rgba(15,23,42,.10);
}

.nav a.isActive{
  background: rgba(79,179,255,.14);
  border-color: rgba(79,179,255,.24);
  color: var(--text);
}
html[data-theme="light"] .nav a.isActive{
  background: rgba(79,179,255,.14);
  border-color: rgba(79,179,255,.24);
}

.nav a:focus-visible{ outline:none; box-shadow: var(--focus); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
html[data-theme="light"] .btn{
  background: rgba(15,23,42,.04);
}

.btn:hover{
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
  filter: brightness(1.03);
}
html[data-theme="light"] .btn:hover{
  background: rgba(15,23,42,.06);
}

.btn:active{ transform: translateY(0px); }
.btn:focus-visible{ outline:none; box-shadow: var(--focus); }

.btn.primary{
  background: linear-gradient(135deg, rgba(79,179,255,.95), rgba(255,59,189,.70));
  border-color: rgba(255,255,255,.14);
}
.btn.primary:hover{ filter: brightness(1.06); }

.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.12);
}
html[data-theme="light"] .btn.ghost{
  border-color: rgba(15,23,42,.12);
}

.ctaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }

.navToggle{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
html[data-theme="light"] .navToggle{
  background: rgba(15,23,42,.04);
}

.navToggle span{
  display:block;
  width:18px; height:2px;
  background: currentColor;
  opacity:.92;
  margin:4px auto;
  border-radius:999px;
}
.navToggle:focus-visible{ outline:none; box-shadow: var(--focus); }

/* Theme toggle */
.themeToggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:44px;
  padding:0 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  font-weight:950;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
  user-select:none;
  white-space:nowrap;
}
html[data-theme="light"] .themeToggle{
  background: rgba(15,23,42,.04);
}
.themeToggle:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  filter: brightness(1.03);
}
html[data-theme="light"] .themeToggle:hover{
  background: rgba(15,23,42,.06);
}
.themeToggle:focus-visible{ outline:none; box-shadow: var(--focus); }
.themeToggle .ico{ font-size:16px; }
.themeToggle .lbl{ font-size:13px; opacity:.92; }

/* Hero */
.hero{
  position:relative;
  padding:46px 0 26px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -40px;
  background: var(--heroGlow);
  filter: blur(12px);
  opacity:.90;
  transform: translate3d(0,0,0);
  animation: heroGlow 16s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes heroGlow{
  0%{ transform: translate3d(-10px,-6px,0) scale(1.02); opacity:.80; }
  100%{ transform: translate3d(10px,6px,0) scale(1.04); opacity:.95; }
}
@media (prefers-reduced-motion: reduce){
  .hero::before{ animation:none; }
}

.heroGrid{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}

.hero h1{
  margin:10px 0 10px;
  font-size:40px;
  line-height:1.05;
  letter-spacing:-.6px;
}

.lead{
  font-size:18px;
  color: var(--muted);
  line-height:1.55;
}

.slogan{
  margin-top:10px;
  font-weight:1000;
  letter-spacing:.2px;
  color: rgba(232,238,249,.92);
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  display:inline-block;
  padding:10px 12px;
  border-radius: 14px;
}
html[data-theme="light"] .slogan{
  color: var(--text);
  background: rgba(15,23,42,.03);
  border-color: rgba(15,23,42,.10);
}

.heroBadges{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(232,238,249,.92);
  font-weight:900;
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
}
html[data-theme="light"] .pill{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  color: rgba(11,18,32,.90);
}

/* Cards / tiles */
.heroCard,
.feature,
.card,
.projectCard{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .heroCard,
html[data-theme="light"] .feature,
html[data-theme="light"] .card,
html[data-theme="light"] .projectCard{
  border-color: rgba(15,23,42,.12);
}

.heroCard{ overflow:hidden; }
.cardTop{
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
html[data-theme="light"] .cardTop{
  border-bottom:1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.01));
}
.cardTitle{ font-weight:1000; letter-spacing:.2px; }
.cardSub{ color:var(--muted2); font-weight:800; margin-top:4px; }

.miniGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  padding:12px 14px 14px;
}
.miniTile{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding:12px;
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, filter .15s ease, border-color .15s ease, box-shadow .15s ease;
}
html[data-theme="light"] .miniTile{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
}
.miniTile:hover{
  transform: translateY(-2px);
  filter: brightness(1.04);
  border-color: rgba(79,179,255,.18);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
html[data-theme="light"] .miniTile:hover{
  box-shadow: 0 16px 42px rgba(2,6,23,.12);
}
.miniTile:focus-visible{ outline:none; box-shadow: var(--focus); }
.miniTitle{ font-weight:1000; }
.miniSub{ color: var(--muted2); font-weight:850; margin-top:4px; }
.miniCta{ margin-top:10px; font-weight:1000; color: var(--link); }

/* Sections */
.section{ padding:30px 0; }
.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
html[data-theme="light"] .section.alt{
  background: rgba(15,23,42,.03);
  border-top:1px solid rgba(15,23,42,.08);
  border-bottom:1px solid rgba(15,23,42,.08);
}

.sectionHead{ margin-bottom:14px; }
.sectionHead h2{ margin:0; font-size:26px; }
.sectionHead p{ margin:6px 0 0; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}

.feature, .card{ padding:14px; }
.feature h3{ margin:0 0 6px; }
.feature p{ margin:0; color: var(--muted); line-height:1.55; }

.projectCard{
  display:block;
  padding:14px;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.projectCard:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
  border-color: rgba(79,179,255,.16);
}
.pcTop{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.pcName{ font-weight:1000; font-size:18px; }
.pcTag{ color: var(--muted2); font-weight:900; }
.pcCta{ display:inline-block; margin-top:10px; color: var(--link); font-weight:1000; }

.note{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  padding:12px 14px;
  color: var(--muted);
}
html[data-theme="light"] .note{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
}

.callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(79,179,255,.18), transparent 55%),
    radial-gradient(600px 220px at 85% 20%, rgba(255,59,189,.14), transparent 55%),
    var(--panel);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .callout{
  border-color: rgba(15,23,42,.12);
}

.callout h2{ margin:0 0 6px; }
.callout p{ margin:0; }

.page{ padding-bottom: 18px; }
.pageHead{ padding:34px 0 14px; }
.pageHead h1{ margin:10px 0 10px; font-size:36px; letter-spacing:-.5px; line-height:1.08; }

.prose{ max-width: 880px; }
.prose h2{ margin:18px 0 8px; }
.prose p{ margin:0 0 10px; color: var(--muted); line-height:1.65; }

.contactBox{
  margin-top:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding:12px;
  background: rgba(0,0,0,.18);
}
html[data-theme="light"] .contactBox{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
}
.contactLink{ display:inline-block; margin-top:4px; font-weight:1000; color: var(--link); }

/* Gratis banner */
.freeBanner{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding:12px 14px;
  background:
    radial-gradient(520px 220px at 10% 0%, rgba(41,209,125,.18), transparent 55%),
    radial-gradient(520px 220px at 90% 10%, rgba(79,179,255,.14), transparent 55%),
    rgba(255,255,255,.04);
}
html[data-theme="light"] .freeBanner{
  border-color: rgba(15,23,42,.10);
  background:
    radial-gradient(520px 220px at 10% 0%, rgba(41,209,125,.14), transparent 55%),
    radial-gradient(520px 220px at 90% 10%, rgba(79,179,255,.12), transparent 55%),
    rgba(15,23,42,.03);
}
.freeTitle{ font-weight:1000; letter-spacing:.2px; }
.freeSub{
  margin-top:4px;
  color: var(--muted);
  font-weight:800;
  line-height:1.45;
}

/* Lists */
.checklist{
  list-style:none;
  margin:0;
  padding:12px 14px 14px;
}
.checklist li{
  padding:8px 0 8px 28px;
  position:relative;
  color: var(--muted);
  font-weight:750;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0; top:6px;
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:999px;
  background: rgba(41,209,125,.14);
  border:1px solid rgba(41,209,125,.22);
  color: rgba(232,238,249,.95);
  font-weight:1000;
}
html[data-theme="light"] .checklist li::before{
  color: rgba(11,18,32,.92);
  background: rgba(41,209,125,.18);
  border-color: rgba(41,209,125,.22);
}

.bullets{
  margin:10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height:1.55;
  font-weight:750;
}
.bullets li{ margin:6px 0; }

/* Footer */
.siteFooter{
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(11,15,20,.48);
  backdrop-filter: blur(14px) saturate(140%);
  padding:18px 0;
}
html[data-theme="light"] .siteFooter{
  background: rgba(246,248,252,.80);
  border-top:1px solid rgba(15,23,42,.10);
}

.footerGrid{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap:12px;
  align-items:start;
}
.footerBrand{ display:flex; align-items:center; gap:10px; }
.footerLogo{
  width:36px;
  height:36px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
}
html[data-theme="light"] .footerLogo{
  background: rgba(15,23,42,.04);
}

.footerLinks{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.footerLinks a{ color: var(--muted); font-weight:900; }
.footerLinks a:hover{ color: var(--text); }
.footerLinks a:focus-visible{ outline:none; box-shadow: var(--focus); border-radius:10px; }
.footerMeta{ text-align:right; font-weight:800; color: var(--muted); }

.footerNote{
  margin-top:10px;
  color: var(--muted);
  font-weight:850;
  line-height:1.45;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  max-width: 520px;
}
html[data-theme="light"] .footerNote{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
}

.mt10{ margin-top:10px; }
.mt20{ margin-top:20px; }

/* Responsive */
@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .miniGrid{ grid-template-columns: 1fr; }
  .footerGrid{ grid-template-columns: 1fr; text-align:left; }
  .footerMeta{ text-align:left; }
  .footerLinks{ justify-content:flex-start; }
  .callout{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 860px){
  .navToggle{ display:inline-block; }
  .nav{
    position:absolute;
    right:16px;
    top:72px;
    flex-direction:column;
    align-items:stretch;
    padding:12px;
    border-radius: 16px;
    border:1px solid rgba(255,255,255,.10);
    background: var(--panel2);
    box-shadow: var(--shadow);
    display:none;
    min-width: 220px;
  }
  html[data-theme="light"] .nav{
    border-color: rgba(15,23,42,.10);
  }
  .nav.isOpen{ display:flex; }
  .nav a{ text-align:left; }
}
