/* /public/assets/css/style.css */

/*
  Velora UI-first Dark (Flat / Calm / Engineered) — retrofit WITHOUT breaking existing templates.

  ✅ Keep existing variable keys used across templates:
     --bg, --ink, --muted, --surface, --surface2, --line, --line2, --shadow1, --shadow2,
     --r, --r2, --max, --a, --a2, --ease, --s*, --dot, --glass, --glass2, --rim, --rim2, --inset, --inset2,
     --icon-scale, --icon-scale-mini

  ✅ Map them to the new SPEC:
     bg: #050505 (flat)
     text: #eaeaea
     secondary: rgba(234,234,234,.74/.62)
     accent: #3ccfd0
     border: rgba(255,255,255,.08/.06)
     card: rgba(255,255,255,.04)
     shadows: short realistic (no glow)

  ✅ Remove forbidden visuals via variables + targeted overrides:
     - no gradients on buttons/cards
     - no halos/glows
     - no heavy section plates / thick dividers
     - background is "system": soft mesh + microgrid/strokes, very subtle

  NOTE: I keep your class structure and only adjust values/visual rules.
*/

:root{
  /* ============================================================
     TOKENS (SPEC) — remap existing keys to the new design system
     ============================================================ */

  /* Base */
  --bg:#050505;              /* SPEC: --bg0/--bg1 */
  --ink:#eaeaea;             /* SPEC: --text */
  --muted:rgba(234,234,234,.74);   /* SPEC: --body */
  --muted2:rgba(234,234,234,.62);  /* SPEC: --body2 (new helper; old code can ignore) */

  /* Surfaces */
  --surface:rgba(255,255,255,.04);   /* SPEC: --card */
  --surface2:rgba(255,255,255,.04);  /* keep same to avoid seams */

  /* Borders */
  --line:rgba(255,255,255,.06);   /* SPEC: --borderSoft */
  --line2:rgba(255,255,255,.08);  /* SPEC: --border */

  /* Shadows (short, realistic) */
  --shadow1:0 10px 26px rgba(0,0,0,.38); /* SPEC: --shadow */
  --shadow2:0 6px 18px rgba(0,0,0,.32);  /* SPEC: --shadow2 */

  /* Radii (SPEC) */
  --r:16px;  /* base */
  --r2:14px; /* secondary */

  /* Container */
  --max:1120px;

  /* Accent (single) */
  --a:#3ccfd0;  /* SPEC: --accent */
  --a2:#3ccfd0; /* keep same; if needed later we can introduce opacity variants */

  /* Spacing scale: keep as-is for layout stability */
  --s1:6px; --s2:10px; --s3:14px; --s4:18px; --s5:24px; --s6:32px; --s7:44px; --s8:64px;

  /* Dots/strokes opacity (very subtle) */
  --dot: rgba(255,255,255,.06);

  /* Material system — FLAT (no gradients) */
  --glass:rgba(255,255,255,.04);   /* replaces previous gradient */
  --glass2:rgba(255,255,255,.04);  /* replaces previous gradient */
  --rim:rgba(255,255,255,.08);
  --rim2:rgba(60,207,208,.22);

  /* Insets — ultra subtle (anti-seam) */
  --inset:0 1px 0 rgba(255,255,255,.03) inset;
  --inset2:0 1px 0 rgba(255,255,255,.035) inset, 0 0 0 1px rgba(255,255,255,.02) inset;

  /* Icon fitting (keep) */
  --icon-scale:1.62;
  --icon-scale-mini:1.42;

  /* Motion */
  --ease:cubic-bezier(.2,.8,.2,1);

  /* New helpers (do not break old templates) */
  --card: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.08);
  --borderSoft: rgba(255,255,255,.06);
  --shadow: 0 10px 26px rgba(0,0,0,.38);
  --shadowSoft: 0 6px 18px rgba(0,0,0,.32);

  --t:160ms;
  --anti: 0 0 0 1px rgba(255,255,255,.02) inset; /* GPU seam killer */
}

*{box-sizing:border-box}
html,body{height:100%}

/* Typography base */
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:var(--ink);

  /* Base solid background; all effects are in fixed overlays (banding-safe) */
  background:var(--bg);
  position:relative;

  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}

/* Sticky header stays in normal flow -> no artificial top padding */
.main{padding-top:0}

/* ============================================================
   SYSTEM BACKGROUND — 2 layers (mesh + microgrid/strokes)
   No vignettes, no section plates, very low opacity.
   ============================================================ */

/* Layer 1: soft mesh lighting */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;

  background:
    radial-gradient(900px 520px at 18% 22%, rgba(60,207,208,.085), transparent 62%),
    radial-gradient(760px 520px at 82% 28%, rgba(255,255,255,.040), transparent 64%),
    radial-gradient(820px 560px at 70% 84%, rgba(60,207,208,.055), transparent 66%),
    radial-gradient(640px 520px at 26% 86%, rgba(255,255,255,.030), transparent 66%);
  filter: blur(26px);
  opacity:.75;
  transform: translate3d(0,0,0);
  will-change: transform;
}

/* Layer 2: microgrid + subtle “strokes” */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;

  background:
    /* microgrid */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 34px
    ),
    /* faint accent strokes (not blobs) */
    radial-gradient(820px 240px at 22% 38%, rgba(60,207,208,.055), transparent 66%),
    radial-gradient(760px 220px at 78% 62%, rgba(60,207,208,.040), transparent 68%);
  opacity:.20;
  transform: translate3d(0,0,0);
  will-change: transform;
}

/* very slow drift */
@media (prefers-reduced-motion: no-preference){
  @keyframes veloraDrift{
    0%   { transform: translate3d(0,0,0); }
    50%  { transform: translate3d(-14px, 10px, 0); }
    100% { transform: translate3d(0,0,0); }
  }
  body::before{ animation: veloraDrift 40s linear infinite; }
  body::after{ animation: veloraDrift 58s linear infinite; }
}

/* ============================================================
   Type styles (keep your class names)
   ============================================================ */

.h1{
  font-size:clamp(34px,4.2vw,54px);
  line-height:1.06;
  margin:var(--s3) 0 var(--s3);
  letter-spacing:-.035em;
  font-weight:780;
}
.h2{
  font-size:clamp(22px,2.6vw,32px);
  line-height:1.18;
  margin:0 0 var(--s2);
  letter-spacing:-.02em;
  font-weight:720;
}
.lead{
  font-size:18px;
  line-height:1.72;
  color:var(--muted);
  margin:0;
  max-width:70ch;
}
.muted{color:var(--muted)}
.small, small{ color:var(--muted2); font-size:13px; line-height:1.45; }

/* Pills / kicker — flat */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(60,207,208,.22);
  background: rgba(255,255,255,.02);
  box-shadow: none;
}

/* Sections: unified canvas (no plates, no borders) */
.section{padding:var(--s8) 0}
.section--alt{
  position:relative;
  border-top:none;
  border-bottom:none;
  background:transparent;
  overflow:visible;
}
.section--alt:before{ content:none; }
.section__head{margin-bottom:var(--s4)}

/* Utilities used in templates */
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.dot{opacity:.55;margin:0 8px}

.grid{display:grid;gap:12px}
.grid--4{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){
  .grid--4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:540px){
  .grid--4{grid-template-columns:1fr}
}

/* ------------------------------------------------------------ */
/* Header + Navigation                                            */
/* ------------------------------------------------------------ */

.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(5,5,5,.62);
  border-bottom:1px solid var(--borderSoft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header__inner{
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{display:flex;align-items:center;gap:12px;min-width:170px}
.brand__logo{
  width:auto;
  height:42px;
  max-width:190px;
  object-fit:contain;
  object-position:left center;
  border-radius:0;
  background: transparent;
  border:0;
  box-shadow:none;
}
.brand__text{
  font-weight:650;
  letter-spacing:-.01em;
  font-size:13px;
  color: rgba(234,234,234,.80);
  display:none;
}

.nav{display:flex;align-items:center;gap:14px}
.nav__link{
  position:relative;
  color: rgba(234,234,234,.68);
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.nav__link:hover{
  background: rgba(255,255,255,.03);
  color: rgba(234,234,234,.92);
  transform: translateY(-1px);
  box-shadow:none;
}

/* Active pill indicator (no halo) */
.nav__link{z-index:0}
.nav__link:before{z-index:-1}
.nav__link.is-active{
  background:transparent;
  color: rgba(234,234,234,.94);
  box-shadow:none;
}
.nav__link.is-active:before{
  content:"";
  position:absolute;
  inset:4px 6px;
  border-radius:999px;
  background: rgba(60,207,208,.08);
  border:1px solid rgba(60,207,208,.22);
  box-shadow:none; /* no halo */
  pointer-events:none;
}

.nav__drop{position:relative}
.nav__drop > summary{list-style:none;cursor:pointer}
.nav__drop > summary::-webkit-details-marker{display:none}
.nav__drop[open] > .nav__menu{display:block}

.nav__menu{
  position:absolute;
  top:46px;
  left:0;
  min-width:240px;
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow1);
  padding:8px;
  display:none;
}
.nav__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 12px;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
  color: rgba(234,234,234,.70);
  border:1px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.nav__item:hover{
  background: rgba(255,255,255,.03);
  border-color: var(--borderSoft);
  color: rgba(234,234,234,.92);
  transform: translateY(-1px);
}

.header__right{display:flex;align-items:center;gap:10px}

.lang{position:relative}
.lang__btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:10px;
  padding:7px 10px;
  font-weight:650;
  font-size:12px;
  cursor:pointer;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease);
  color: rgba(234,234,234,.74);
}
.lang__btn:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
.lang__chev{opacity:.7;margin-left:4px}

.lang__menu{
  position:absolute;
  top:46px;
  right:0;
  min-width:180px;
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow1);
  padding:8px;
  display:none;
}
.lang__menu.is-open{display:block}
.lang__item{
  display:block;
  padding:8px 10px;
  border-radius:14px;
  font-weight:650;
  font-size:12px;
  color: rgba(234,234,234,.70);
  border:1px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.lang__item:hover{
  background: rgba(255,255,255,.03);
  border-color: var(--borderSoft);
  color: rgba(234,234,234,.92);
  transform: translateY(-1px);
}

.burger{
  display:none;
  gap:6px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.burger:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
.burger span{width:18px;height:2px;background:rgba(234,234,234,.78);border-radius:2px}

.mobile{display:none;border-bottom:1px solid var(--borderSoft);background: rgba(5,5,5,.74);backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
.mobile.is-open{display:block}
.mobile__inner{padding:14px 0;display:flex;flex-direction:column;gap:10px}
.mobile__group{
  padding:12px;
  border-radius:16px;
  border:1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow2), var(--anti);
}
.mobile__title{
  font-weight:850;
  color: rgba(234,234,234,.62);
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:8px;
}
.mobile__link{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--borderSoft);
  background: rgba(255,255,255,.02);
  font-weight:750;
  font-size:14px;
  color: rgba(234,234,234,.72);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.mobile__link:hover{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
  color: rgba(234,234,234,.92);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------ */
/* Hero variants                                                  */
/* ------------------------------------------------------------ */

.hero2{padding-top:var(--s2)}
.hero2__grid{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:24px;
  align-items:start;
  margin-top:var(--s5);
}

.asidebox{
  border:1px solid var(--border);
  border-radius:var(--r);
  background: var(--card);
  box-shadow: var(--shadow1), var(--anti);
  padding:18px 18px;
  position:relative;
  overflow:hidden;
}
.asidebox:before{ content:none; }
.asidebox > *{position:relative;}
.asidebox__t{font-weight:900;letter-spacing:-.01em;margin-bottom:8px}
.asidebox__p{color:var(--muted);line-height:1.72;margin-top:10px}

.hero{
  position:relative;
  padding:96px 0 88px;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size:14px 14px;
  mask-image:radial-gradient(circle at 50% 38%, #000 0%, transparent 62%);
  pointer-events:none;
  opacity:.45; /* quieter */
}
.hero__inner{
  position:relative;
  max-width:860px;
  margin:0 auto;
  text-align:center;
}
.hero .h1{
  font-size:clamp(38px,5.2vw,64px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.hero .lead{
  font-size:18px;
  max-width:64ch;
  margin:0 auto;
}

/* ------------------------------------------------------------ */
/* Divider strip (quiet, no gradients)                            */
/* ------------------------------------------------------------ */

.divider{padding:28px 0}
.divider__inner{
  display:flex;
  align-items:center;
  gap:14px;
}
.divider__line{
  height:1px;
  flex:1 1 auto;
  background: var(--borderSoft);
}
.divider__icons{
  display:flex;
  gap:16px;
  align-items:center;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow2), var(--anti);
  position:relative;
  overflow:hidden;
}
.divider__icons:before{ content:none; }

.picon{
  width:42px;height:42px;
  border-radius:16px;
  border:1px solid var(--borderSoft);
  background: rgba(255,255,255,.02);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.picon svg{display:block}

/* Icons fill the box (PNG inner whitespace compensated via scale) */
.picon img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  padding:0;
  object-fit:contain;
  opacity:1;
  filter:none;
  transform:scale(var(--icon-scale));
  transform-origin:50% 50%;
  mix-blend-mode:normal;
}

/* ------------------------------------------------------------ */
/* “Card” system used in templates (grid cards on VPN/Business)   */
/* ------------------------------------------------------------ */

.card{
  border:1px solid var(--border);
  border-radius:var(--r);
  background: var(--card);
  box-shadow: var(--shadow1), var(--anti);
  padding:18px;
  position:relative;
  overflow:hidden;

  transform: translateZ(0);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease),
    background var(--t) var(--ease);
}
.card:before{ content:none; }
.card > *{position:relative}

.card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow2), var(--anti);
  filter:none;
}
.card:active{
  transform: translateY(0);
}

.card--center{
  max-width:860px;
  margin:0 auto;
  text-align:center;
  padding:26px 22px;
}
.card--center .actions{justify-content:center}

.card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.icon{
  width:44px;height:44px;
  border-radius:16px;
  border:1px solid var(--borderSoft);
  background: rgba(255,255,255,.02);
  display:grid;
  place-items:center;
  box-shadow: var(--shadow2), var(--anti);
  overflow:hidden;
}
.icon img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  padding:0;
  object-fit:contain;
  opacity:1;
  filter:none;
  transform:scale(var(--icon-scale));
  transform-origin:50% 50%;
  mix-blend-mode:normal;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color: rgba(234,234,234,.78);
  font-weight:850;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:none;
}
.card:hover .badge{
  border-color: rgba(60,207,208,.30);
  background: rgba(60,207,208,.08);
  color: rgba(234,234,234,.90);
  box-shadow:none;
}

.card__title{
  font-weight:900;
  letter-spacing:-.01em;
  margin-bottom:8px;
}
.card__text{
  color:var(--muted);
  line-height:1.72;
}

/* ------------------------------------------------------------ */
/* Framework + Product list                                       */
/* ------------------------------------------------------------ */

.framework{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.fw{
  border:1px solid var(--border);
  border-radius:var(--r);
  background: var(--card);
  box-shadow: var(--shadow1), var(--anti);
  padding:18px;
  display:grid;
  grid-template-columns:50px 1fr;
  gap:12px;
  position:relative;
  overflow:hidden;
  transition:transform var(--t) var(--ease),box-shadow var(--t) var(--ease),border-color var(--t) var(--ease),background var(--t) var(--ease);
}
.fw:before{ content:none; }
.fw > *{position:relative;}
.fw:hover{
  transform:translateY(-4px);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow2), var(--anti);
}
.fw__n{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  font-weight:900;
  color: rgba(234,234,234,.88);
  border:1px solid rgba(60,207,208,.28);
  background: rgba(60,207,208,.08);
}
.fw__t{font-weight:850;letter-spacing:-.01em}
.fw__d{margin-top:6px;color:var(--muted);line-height:1.7}

.plist{display:grid;gap:12px}
.plist__row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px 20px;
  border:1px solid var(--border);
  border-radius:var(--r);
  background: var(--card);
  box-shadow: var(--shadow1), var(--anti);
  position:relative;
  overflow:hidden;
  transition:transform var(--t) var(--ease),box-shadow var(--t) var(--ease),background var(--t) var(--ease),border-color var(--t) var(--ease);
}
.plist__row:before{ content:none; }
.plist__row > *{position:relative;}
.plist__row:hover{
  transform:translateY(-4px);
  box-shadow: var(--shadow2), var(--anti);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}

.plist__icon{
  width:44px;height:44px;border-radius:16px;
  border:1px solid var(--borderSoft);
  background: rgba(255,255,255,.02);
  display:grid;place-items:center;
  flex:0 0 auto;
  box-shadow: var(--shadow2), var(--anti);
  overflow:hidden;
}
.plist__icon svg{display:block}

/* product icon fills the box */
.plist__icon img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  padding:0;
  object-fit:contain;
  opacity:1;
  filter:none;
  transform:scale(var(--icon-scale));
  transform-origin:50% 50%;
  mix-blend-mode:normal;
}

.plist__l{min-width:0}
.plist__name{font-weight:900;letter-spacing:-.01em}
.plist__line{margin-top:6px;color:var(--muted);line-height:1.72;max-width:70ch}

.chip{
  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,.02);
  color: rgba(234,234,234,.74);
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.chip--muted{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  color:var(--muted2);
}

/* ------------------------------------------------------------ */
/* Business panel (home/business hero uses panel/pill/mini)       */
/* ------------------------------------------------------------ */

.panel{
  border:1px solid var(--border);
  border-radius:var(--r);
  background: var(--card);
  box-shadow: var(--shadow1), var(--anti);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.panel:before{ content:none; }
.panel > *{position:relative}
.panel--glow{
  border-color: rgba(255,255,255,.10);
  box-shadow: var(--shadow2), var(--anti);
}

.panel__row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}
.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,.02);
  color: rgba(234,234,234,.72);
  font-weight:850;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.panel__cards{
  display:grid;
  gap:10px;
}
.mini{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  padding:12px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow2), var(--anti);
  transition:transform var(--t) var(--ease),border-color var(--t) var(--ease),background var(--t) var(--ease);
}
.mini:hover{
  transform:translateY(-2px);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow2), var(--anti);
}
.mini__icon{
  width:44px;height:44px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.mini__icon img{
  width:100%;
  height:100%;
  padding:0;
  object-fit:contain;
  opacity:1;
  filter:none;
  transform:scale(var(--icon-scale-mini));
  transform-origin:50% 50%;
  mix-blend-mode:normal;
}

.mini__title{font-weight:900;letter-spacing:-.01em;margin-top:2px}
.mini__text{color:var(--muted);line-height:1.65;margin-top:4px;font-size:14px}

/* ------------------------------------------------------------ */
/* Split / Footer / Cookie / Buttons                              */
/* ------------------------------------------------------------ */

.split2{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:18px;
  align-items:start;
}
.bullets{margin:14px 0 0;padding-left:18px;color:var(--muted);line-height:1.76}

.footer{
  border-top:1px solid var(--borderSoft);
  background: transparent;
}
.footer__grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:22px;
  padding:40px 0 24px;
}
.footer__name{font-weight:900}
.footer__tagline{color:var(--muted);margin-top:8px;line-height:1.72;max-width:46ch}
.footer__title{font-weight:900;margin-bottom:10px}
.footer__link{display:block;color:rgba(234,234,234,.70);padding:7px 0}
.footer__link:hover{color:rgba(234,234,234,.92)}
.footer__bottom{
  padding:18px 0 24px;
  border-top:1px solid var(--borderSoft);
  color:rgba(234,234,234,.60);
}
.footer__bottom--center{text-align:center}

.cookie{
  position:fixed;
  left:0;right:0;bottom:0;
  padding:16px 0;
  z-index:60;
}
.cookie__card{
  max-width:var(--max);
  margin:0 auto;
  border:1px solid var(--border);
  border-radius:var(--r);
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow1);
  padding:16px;
}
.cookie__title{font-weight:900;margin-bottom:6px}
.cookie__text{color:var(--muted);line-height:1.7}
.cookie__prefs{display:grid;gap:10px;margin:12px 0}
.switch{display:flex;align-items:center;gap:10px;color:rgba(234,234,234,.72);font-weight:900}
.switch input{display:none}
.switch__ui{width:44px;height:26px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.03);position:relative}
.switch__ui:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:rgba(255,255,255,.06);box-shadow: var(--shadow2);transition:left var(--t) var(--ease)}
.switch input:checked + .switch__ui{background:rgba(60,207,208,.10);border-color:rgba(60,207,208,.22)}
.switch input:checked + .switch__ui:after{left:21px}
.cookie__actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie__links{margin-top:10px;color:rgba(234,234,234,.62);font-size:13px}

/* Buttons — keep class names, remove gradients/halo */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;
  border-radius:14px; /* keep geometry from templates */
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(234,234,234,.92);
  font-weight:900;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease);
  box-shadow: var(--shadow2);
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow: var(--shadow2), var(--anti);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  filter:none;
}
.btn:active{transform:translateY(0)}
.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(60,207,208,.18), var(--shadow2);
}

.btn--primary{
  border-color: rgba(60,207,208,.42);
  background: rgba(60,207,208,.10); /* no gradient */
  color: rgba(234,234,234,.92);
}
.btn--primary:hover{
  box-shadow: var(--shadow2), var(--anti);
  border-color: rgba(60,207,208,.58);
  background: rgba(60,207,208,.12);
}

.btn--ghost{background:rgba(255,255,255,.02)}
.btn--soft{
  background:rgba(255,255,255,.02);
  border-color: var(--borderSoft);
  color: rgba(234,234,234,.78);
}
.btn--soft:hover{
  background:rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
}

/* ------------------------------------------------------------ */
/* Responsive                                                     */
/* ------------------------------------------------------------ */

@media (max-width:980px){
  .nav{display:none}
  .burger{display:flex}
  .footer__grid{grid-template-columns:1fr 1fr;gap:14px}
  .hero2__grid{grid-template-columns:1fr;gap:14px}
  .framework{grid-template-columns:1fr}
  .split2{grid-template-columns:1fr}
}
@media (max-width:768px){
  .hero{padding:72px 0 64px}
  .hero .h1{font-size:clamp(34px,7vw,46px)}
}
@media (max-width:540px){
  .footer__grid{grid-template-columns:1fr}
  .brand{min-width:unset}
  .brand__text{display:none}
  .plist__row{flex-direction:column}
}

/* ============================================================ */
/* AUTH MODAL (MVP UI)                                           */
/* ============================================================ */

html.is-modal-open,
body.is-modal-open{
  overflow:hidden;
}

.authm{
  position:fixed;
  inset:0;
  z-index:100;
  display:block;

  /* Important: when modal is not open (hidden or no .is-open),
     it must NOT block clicks on the page. */
  pointer-events:none;
}
.authm[hidden]{ display:none !important; }
.authm.is-open{ pointer-events:auto; }

.authm__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
  backdrop-filter:saturate(1.05) blur(10px);
  opacity:0;
  transition:opacity .16s var(--ease);
}

.authm__dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-46%);
  width:min(520px, calc(100vw - 32px));
  border-radius:var(--r);
  border:1px solid var(--border);
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow1);
  overflow:hidden;
  opacity:0;
  transition:opacity .16s var(--ease), transform .16s var(--ease);
}

.authm.is-open .authm__backdrop{ opacity:1; }
.authm.is-open .authm__dialog{
  opacity:1;
  transform:translate(-50%,-50%);
}

.authm__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 10px;
  border-bottom:1px solid var(--borderSoft);
}
.authm__title{
  font-weight:900;
  letter-spacing:-.01em;
}
.authm__x{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(234,234,234,.80);
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:grid;
  place-items:center;
  transition:transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}
.authm__x:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}

.authm__tabs{
  display:flex;
  gap:8px;
  padding:12px 14px 0;
}
.authm__tab{
  flex:1 1 auto;
  border:1px solid var(--borderSoft);
  background: rgba(255,255,255,.02);
  color: rgba(234,234,234,.72);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:900;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.authm__tab:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.03); }
.authm__tab.is-active{
  background: rgba(60,207,208,.10);
  border-color: rgba(60,207,208,.22);
  color: rgba(234,234,234,.92);
}

.authm__body{ padding:14px; }
.authm__row{ display:grid; gap:8px; margin:12px 0; }
.authm__label{ font-weight:900; font-size:13px; color: rgba(234,234,234,.78); }
.authm__input{
  width:100%;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius:14px;
  padding:12px 12px;
  color: rgba(234,234,234,.92);
  outline:none;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.authm__input:focus{
  border-color: rgba(60,207,208,.42);
  background: rgba(255,255,255,.03);
  box-shadow: 0 0 0 3px rgba(60,207,208,.14);
}
.authm__hint{
  color: rgba(234,234,234,.62);
  font-size:13px;
  line-height:1.55;
}
.authm__actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}
.authm__actions .btn{ width:100%; }

.authm__error{
  margin-top:10px;
  color:#ffd2d2;
  background:rgba(255,80,80,.08);
  border:1px solid rgba(255,80,80,.18);
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  display:none;
}
.authm__error.is-show{ display:block; }

/* ============================================================ */
/* Checkout bits that were present in your dump (keep as-is)     */
/* ============================================================ */

.checkout{max-width:760px;margin:0 auto;}
.checkout__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;}
@media (max-width: 860px){.checkout__grid{grid-template-columns:1fr;}}
.co-card{background:var(--surface);border:1px solid var(--line2);border-radius:var(--r);box-shadow:var(--shadow1), var(--anti);padding:18px;}
.co-title{font-size:18px;font-weight:650;letter-spacing:-.01em;margin:0 0 10px;}
.co-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--line);}
.co-row:first-of-type{border-top:none;padding-top:0;}
.co-k{color:var(--muted);font-size:13px;}
.co-v{font-size:14px;}
.co-total{font-size:18px;font-weight:700;}
.co-methods{display:grid;gap:10px;margin-top:8px;}
.co-method{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:14px;padding:12px 12px;background:rgba(255,255,255,.02);}
.co-pill{font-size:12px;color:var(--muted);padding:4px 8px;border:1px solid var(--line);border-radius:999px;}
.co-hint{color:var(--muted);font-size:13px;margin-top:10px;line-height:1.45;}
.co-ok{margin-top:10px;color:var(--muted);font-size:13px;}
.co-ok b{color:var(--ink);}
