/* =========================================================
   TOKENS & MODERN SYSTEM
   ========================================================= */
:root {
  --bg-dark: #07080C;
  --bg-darker: #040508;
  --panel-glass: rgba(13, 17, 28, 0.7);
  --panel-glass-border: rgba(130, 71, 229, 0.15);
  --panel-glass-hover-border: rgba(0, 242, 254, 0.35);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-neon: #8247E5; /* Polygon Violet */
  --accent-cyan: #00F2FE; /* Cyber Cyan */
  --accent-cyan-glow: rgba(0, 242, 254, 0.12);
  --accent-neon-glow: rgba(130, 71, 229, 0.2);
  --verified: #10B981; /* Modern Emerald */

  --sans: "Outfit", "Public Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --col: 1240px;
  --gutter: clamp(24px, 4vw, 56px);
}

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Cyber Grid Backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(130, 71, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 71, 229, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
}

/* Animated Ambient Orb 1 */
body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, var(--accent-neon-glow) 0%, transparent 70%);
  z-index: -2;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-orb-1 15s ease-in-out infinite alternate;
}
@keyframes pulse-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 80px) scale(1.1); }
}

.orb-bottom {
  position: fixed;
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  z-index: -2;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-orb-2 15s ease-in-out infinite alternate;
}
@keyframes pulse-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -60px) scale(1.15); }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.shell {
  max-width: var(--col);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   MASTHEAD
   ========================================================= */
nav.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(130, 71, 229, 0.15);
}
nav.masthead .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand .mark {
  width: 54px;
  height: 54px;
  background: #FFFFFF;
  border: 1px solid rgba(130, 71, 229, 0.15);
  border-radius: 50%;
  padding: 6px;
  display: grid;
  place-items: center;
  box-shadow: 0px 1px 3px rgba(130, 71, 229, 0.15);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.brand .mark:hover {
  transform: scale(1.06);
}
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }

.brand .word {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-top: 3px;
}

/* ENTRAR — High Tech Pill Cta */
.stamp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--accent-neon);
  background: rgba(130, 71, 229, 0.1);
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 15px rgba(130, 71, 229, 0.15);
}
.stamp-cta:hover {
  background: var(--accent-neon);
  color: #FFFFFF;
  transform: translateY(-1.5px);
  box-shadow: 0 0 25px rgba(130, 71, 229, 0.4), 0 0 10px var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.stamp-cta:active {
  transform: scale(0.97);
}
.stamp-cta--ghost {
  background: transparent;
  border-color: rgba(130, 71, 229, 0.35);
  color: var(--text-muted);
  box-shadow: none;
}
.stamp-cta--ghost:hover {
  background: rgba(130, 71, 229, 0.12);
  border-color: rgba(130, 71, 229, 0.6);
  color: var(--text-primary);
  box-shadow: none;
}

/* Language Switch Button */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(13, 17, 28, 0.5);
  border: 1px solid rgba(130, 71, 229, 0.3);
  border-radius: 50%;
  color: var(--accent-cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(130, 71, 229, 0.1);
}
.lang-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(130, 71, 229, 0.15);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transform: scale(1.05);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px);
  text-align: center;
  position: relative;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.hero .eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-cyan); }
}

.hero .hero-logo {
  margin: clamp(24px, 4vw, 36px) auto clamp(20px, 3vw, 28px);
  width: clamp(140px, 20vw, 200px);
  aspect-ratio: 1;
  background: #FFFFFF;
  border: 1px solid rgba(130, 71, 229, 0.15);
  border-radius: 50%;
  padding: clamp(16px, 2.5vw, 24px);
  display: grid;
  place-items: center;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(130, 71, 229, 0.2);
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.hero .hero-logo:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 242, 254, 0.25);
  border-color: var(--accent-cyan);
}
.hero .hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero .hero-logo::before {
  content: "";
  position: absolute;
  inset: -10% -14%;
  background: radial-gradient(closest-side, rgba(130,71,229,0.25), transparent 70%);
  z-index: -1;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(to right, #FFFFFF 60%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .italic {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  margin: 24px auto 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text-secondary);
  max-width: 32ch;
  line-height: 1.4;
}

.hero .meta {
  margin-top: clamp(28px, 4vw, 40px);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero .meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 12px;
  border-radius: 20px;
}
.hero .meta .sep { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }

/* =========================================================
   SPECIMEN
   ========================================================= */
.specimen-wrap {
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(130, 71, 229, 0.15);
}
.specimen {
  position: relative;
  background: var(--panel-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--panel-glass-border);
  padding: 32px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(130, 71, 229, 0.05);
  border-radius: 20px;
  max-width: 760px;
  margin-inline: auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.specimen:hover {
  border-color: var(--panel-glass-hover-border);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 242, 254, 0.1);
}
.specimen::before, .specimen::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent-cyan);
  border-style: solid;
  pointer-events: none;
}
.specimen::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 12px;
}
.specimen::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 12px;
}
.specimen .corner-tag {
  position: absolute;
  top: 12px;
  right: 20px;
  padding: 3px 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
}
.specimen-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.specimen-head .left {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.specimen-head .right {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-neon);
  text-transform: uppercase;
}

.specimen .label {
  margin-top: 20px;
  font-family: var(--sans);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.specimen .digits {
  margin-top: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.5;
  word-break: break-all;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}
.specimen .verified {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.verified .seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--verified);
  color: var(--verified);
  background: rgba(16, 185, 129, 0.08);
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}
.verified .seal::before { content: "✓"; font-family: var(--sans); font-style: normal; font-size: 13px; }
.verified .when {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   SECTIONS §
   ========================================================= */
section.chapter {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid rgba(130, 71, 229, 0.15);
}
.chapter-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
}
.chapter-title {
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.chapter-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.chapter-lead {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-secondary);
  max-width: 56ch;
}

/* =========================================================
   §01 — USE CASES
   ========================================================= */
.uc-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  background: transparent;
  border: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .uc-grid { grid-template-columns: repeat(4, 1fr); } }

.uc {
  background: var(--panel-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-glass-border);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.uc:hover {
  background: rgba(16, 22, 35, 0.85);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.3),
    0 0 20px rgba(0, 242, 254, 0.1);
}
.uc .ico {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
  transition: transform 0.3s ease;
}
.uc:hover .ico {
  transform: scale(1.1);
}
.uc .ico svg { width: 100%; height: 100%; }
.uc h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.uc p {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   §02 — HOW IT WORKS
   ========================================================= */
.how-grid {
  margin-top: 48px;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .how-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

.diagram {
  background: rgba(16, 22, 35, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-glass-border);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.diagram::before {
  content: "FIG. 1 — CICLO DE VIDA";
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}
.diagram svg { width: 100%; height: auto; display: block; }

.stepline { counter-reset: step; }
.stepline .row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}
.stepline .row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.stepline .row::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}
.stepline h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.stepline .micro {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =========================================================
   §03 — STANDARDS
   ========================================================= */
.std-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  background: transparent;
  border: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .std-grid { grid-template-columns: repeat(3, 1fr); } }

.std {
  background: var(--panel-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-glass-border);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.std:hover {
  background: rgba(16, 22, 35, 0.85);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.3),
    0 0 20px rgba(0, 242, 254, 0.1);
}
.std .badge-big {
  width: 90px; height: 90px;
  margin: 0 auto 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}
.std:hover .badge-big {
  transform: rotate(5deg) scale(1.05);
}
.std.is-primary .badge-big {
  background: var(--accent-neon);
  color: #FFFFFF;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px rgba(130, 71, 229, 0.4);
}
.std .badge-big svg { width: 44px; height: 44px; }
.std .code {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.std .name {
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.std .one {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 30ch;
  margin-inline: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.foot {
  padding-block: 44px 28px;
  border-top: 1px solid rgba(130, 71, 229, 0.15);
  background: var(--bg-darker);
  text-align: center;
}
footer.foot .logo-sm {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
}
footer.foot .logo-sm img { width: 100%; height: 100%; object-fit: contain; }
footer.foot p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
footer.foot p + p { margin-top: 8px; }
footer.foot a { color: var(--accent-cyan); border-bottom: 1px dotted var(--accent-cyan); }
footer.foot a:hover { color: var(--accent-neon); border-bottom-color: var(--accent-neon); }
footer.foot .rule { margin: 20px auto; height: 1px; background: rgba(255, 255, 255, 0.05); max-width: 280px; }

/* =========================================================
   MODAL (EXACTLY AS IN LOGIN.JPG — light-themed Material 3)
   ========================================================= */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-mask.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: #FEF7FF;
  background-image: radial-gradient(circle at 50% 0%, #F8F2FC 0%, #FEF7FF 60%);
  border: 1px solid rgba(103, 80, 164, 0.05);
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  padding: 36px 28px 28px;
  position: relative;
  box-shadow:
    0px 1px 3px 1px rgba(0, 0, 0, 0.15),
    0px 1px 2px 0px rgba(0, 0, 0, 0.30);
  animation: rise 0.4s cubic-bezier(.2,.8,.2,1);
  text-align: center;
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal .close {
  position: absolute;
  top: 14px; right: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #79747E;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal .close:hover { background: rgba(103, 80, 164, 0.08); color: #6750A4; }

.modal .mhead .modal-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  background: #FFFFFF;
  border: 1px solid rgba(103, 80, 164, 0.10);
  border-radius: 50%;
  padding: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0px 1px 3px rgba(103, 80, 164, 0.10);
}
.modal .mhead .modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.modal .mhead .modal-logo:hover img { transform: scale(1.06); }

.modal .mhead h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #1D1B20;
  letter-spacing: -0.005em;
}
.modal .mhead p {
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.45;
  color: #49454F;
  max-width: 36ch;
  margin-inline: auto;
}

.modal .options { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid #E8DEF8;
  border-radius: 100px !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #6750A4;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.2,.8,.2,1);
}
.opt:hover {
  background: rgba(103, 80, 164, 0.06);
  border-color: #6750A4;
}
.opt:active { transform: scale(0.98); }
.opt .ico { width: 20px; height: 20px; display: grid; place-items: center; flex-shrink: 0; }
.opt .ico svg { width: 20px; height: 20px; display: block; }

.opt.wallet {
  color: #6750A4;
  border-color: #E8DEF8;
}
.opt.wallet:hover {
  background: rgba(103, 80, 164, 0.08);
  border-color: #6750A4;
}

.modal .err {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F9DEDC;
  color: #410E0B;
  font-family: 'Roboto', sans-serif;
  font-size: 12.5px;
  display: none;
  text-align: left;
}
.modal .err.show { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .reveal > * {
    opacity: 0;
    transform: translateY(14px);
    animation: revealIn 0.7s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .reveal > *:nth-child(1) { animation-delay: 0.05s; }
  .reveal > *:nth-child(2) { animation-delay: 0.18s; }
  .reveal > *:nth-child(3) { animation-delay: 0.32s; }
  .reveal > *:nth-child(4) { animation-delay: 0.46s; }
  .reveal > *:nth-child(5) { animation-delay: 0.60s; }
}
@keyframes revealIn { to { opacity: 1; transform: translateY(0); } }

::selection { background: var(--accent-neon); color: #FFFFFF; }
