/* ═══════════════════════════════════════════════════════════════
   VYNEX wow.css — Visual polish layer
   Loads after style.css to enrich without risking regression.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Global polish ─────────────────────────────────────────── */
::selection { background: rgba(96,165,250,0.35); color: #fff; }
html { scroll-behavior: smooth; }

/* Scrollbar custom (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e293b, #334155);
  border-radius: 8px;
  border: 2px solid #0a0e1a;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

/* Focus ring accessibile e bello */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, details:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 8px;
  transition: outline-offset .15s ease;
}

/* ─── Animated gradient orb dietro hero ───────────────────── */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 55vw; height: 55vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, rgba(139,92,246,0.14) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: wow-orb-a 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -25%; right: -15%;
  width: 50vw; height: 50vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, rgba(99,102,241,0.1) 40%, transparent 70%);
  filter: blur(70px);
  z-index: 0;
  animation: wow-orb-b 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wow-orb-a {
  0%   { transform: translate(0,0) scale(1);   opacity: .9; }
  50%  { transform: translate(8vw,5vh) scale(1.15); opacity: 1; }
  100% { transform: translate(-3vw,8vh) scale(.95); opacity: .75; }
}
@keyframes wow-orb-b {
  0%   { transform: translate(0,0) scale(1);    opacity: .8; }
  50%  { transform: translate(-6vw,-4vh) scale(1.1); opacity: 1; }
  100% { transform: translate(4vw,-8vh) scale(.9);  opacity: .7; }
}
.hero-inner { position: relative; z-index: 1; }

/* ─── Mockup 3D tilt + float continuo ─────────────────────── */
.hero-visual {
  perspective: 1400px;
  position: relative;
}
.mockup-card {
  transform-style: preserve-3d;
  transform:
    rotateY(-10deg)
    rotateX(5deg)
    translateZ(0);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s ease;
  animation: wow-mockup-float 8s ease-in-out infinite;
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(96,165,250,.08),
    0 0 60px rgba(59,130,246,.15);
  will-change: transform;
}
.hero-visual:hover .mockup-card {
  transform: rotateY(-6deg) rotateX(2deg) translateZ(30px) scale(1.02);
  box-shadow:
    0 40px 100px rgba(0,0,0,.7),
    0 0 0 1px rgba(96,165,250,.18),
    0 0 100px rgba(59,130,246,.25);
}
@keyframes wow-mockup-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* Glow pulse sul bottone "Genera" dentro mockup */
.mockup-card > div[style*="linear-gradient(135deg,var(--blue)"] {
  position: relative;
  animation: wow-cta-pulse 2.8s ease-in-out infinite;
}
@keyframes wow-cta-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(59,130,246,.35); }
  50%      { box-shadow: 0 4px 28px rgba(59,130,246,.65), 0 0 40px rgba(139,92,246,.3); }
}

/* ─── Button micro-interactions (shimmer + press) ─────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .25s ease;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }

/* ─── Card entrance: scale+blur → focus ───────────────────── */
.vnx-fade-in {
  opacity: 0;
  transform: translateY(24px) scale(.97);
  filter: blur(6px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease;
}
.vnx-fade-in.vnx-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger: ogni card della stessa row parte 120ms dopo la precedente */
.pain-grid .pain-card:nth-child(2),
.features-grid .feature-card:nth-child(2),
.target-grid .target-card:nth-child(2),
.pricing-grid .pricing-card:nth-child(2) { transition-delay: .12s; }
.pain-grid .pain-card:nth-child(3),
.features-grid .feature-card:nth-child(3),
.pricing-grid .pricing-card:nth-child(3) { transition-delay: .24s; }
.features-grid .feature-card:nth-child(4) { transition-delay: .36s; }
.features-grid .feature-card:nth-child(5) { transition-delay: .48s; }
.features-grid .feature-card:nth-child(6) { transition-delay: .60s; }

/* Card 3D tilt lieve on hover */
.pain-card, .feature-card, .target-card, .pricing-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .4s ease;
  will-change: transform;
}
.pain-card:hover, .feature-card:hover, .target-card:hover {
  transform: translateY(-4px) rotateX(2deg) scale(1.015);
  box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(96,165,250,.2);
}
.pricing-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(96,165,250,.25);
}
.pricing-card.popular { position: relative; }
.pricing-card.popular::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,.6), rgba(139,92,246,.6), rgba(236,72,153,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .8;
  animation: wow-border-spin 6s linear infinite;
  pointer-events: none;
}
@keyframes wow-border-spin {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ─── Flow animation section (input → AI → 3 docs) ────────── */
.flow-stage {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
}
.flow-stage-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(180deg, rgba(15,23,42,.5), rgba(15,23,42,.2));
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}
.flow-stage-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(59,130,246,.1), transparent 60%);
  pointer-events: none;
}
.flow-box {
  background: rgba(4,6,15,.7);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  z-index: 1;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-box-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
}
.flow-box-content {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
}
.flow-arrow {
  color: #60a5fa;
  font-size: 22px;
  animation: wow-flow-arrow 2.4s ease-in-out infinite;
  position: relative; z-index: 1;
}
.flow-arrow:nth-of-type(2) { animation-delay: .8s; }
@keyframes wow-flow-arrow {
  0%, 100% { opacity: .3; transform: translateX(-4px); }
  50%      { opacity: 1;  transform: translateX(2px); }
}
.flow-ai {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(96,165,250,.5);
  animation: wow-ai-pulse 2s ease-out infinite;
  margin: 0 auto;
  position: relative; z-index: 1;
}
@keyframes wow-ai-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(96,165,250,.55); }
  70%  { box-shadow: 0 0 0 24px rgba(96,165,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(96,165,250,0); }
}
.flow-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative; z-index: 1;
}
.flow-doc {
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(16px);
  animation: wow-doc-in .5s ease forwards;
}
.flow-doc:nth-child(1) { animation-delay: 1.0s; }
.flow-doc:nth-child(2) { animation-delay: 1.4s; }
.flow-doc:nth-child(3) { animation-delay: 1.8s; }
.flow-doc::before {
  content: "✓";
  display: inline-flex;
  width: 20px; height: 20px;
  align-items: center; justify-content: center;
  background: rgba(16,185,129,.15);
  color: #10b981;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
@keyframes wow-doc-in {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 860px) {
  .flow-stage-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  @keyframes wow-flow-arrow {
    0%, 100% { opacity: .3; transform: rotate(90deg) translateX(-4px); }
    50%      { opacity: 1;  transform: rotate(90deg) translateX(2px); }
  }
}

/* ─── Logo wordmark animato (sulle pagine che usano .logo-img) ── */
.logo-img {
  filter: drop-shadow(0 0 12px rgba(96,165,250,.35));
  transition: filter .3s ease, transform .3s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(139,92,246,.6));
  transform: scale(1.03);
}

/* ─── Highlight word animato nel hero-title ───────────────── */
.hero-title .highlight {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6, #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: wow-highlight-shift 6s ease-in-out infinite;
}
@keyframes wow-highlight-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION REDESIGN — Il problema / Per chi è / Prezzi
   ═══════════════════════════════════════════════════════════ */

/* ─── Bento "Il problema" ─────────────────────────────────── */
.bento-problem {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}
.bento-head { text-align: center; margin-bottom: 48px; }
.bento-head .section-label { margin-bottom: 14px; }
.bento-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.bento-head h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #f472b6, #a78bfa, #60a5fa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15,23,42,.6), rgba(15,23,42,.3));
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 22px;
  padding: 32px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
  backdrop-filter: blur(12px);
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(96,165,250,.13),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: rgba(96,165,250,.3);
  transform: translateY(-3px);
}

.bento-big { grid-column: 1; grid-row: 1 / span 2; min-height: 360px; }
.bento-stat { grid-column: 2; grid-row: 1; }
.bento-quote { grid-column: 2; grid-row: 2; }

.bento-big-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 999px;
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.bento-big-kicker::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: wow-blink 1.6s ease-in-out infinite;
}
@keyframes wow-blink { 50% { opacity: .3; } }

.bento-big-number {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: .95;
  background: linear-gradient(135deg, #f472b6, #a78bfa 40%, #60a5fa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -.04em;
  margin: 0 0 4px;
}
.bento-big-unit {
  font-size: 18px;
  font-weight: 600;
  color: #cbd5e1;
  margin: 0 0 18px;
}
.bento-big-desc {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 420px;
}

/* Sparkline chart (CSS-only bars) */
.bento-spark {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: auto;
}
.bento-spark span {
  flex: 1;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
  border-radius: 4px 4px 0 0;
  opacity: .25;
  transform-origin: bottom;
  transform: scaleY(.2);
  animation: wow-spark-grow 2s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes wow-spark-grow {
  to { transform: scaleY(var(--h, 1)); opacity: .85; }
}

.bento-stat-num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.bento-stat-num .sfx {
  display: inline-block;
  font-size: .6em;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  vertical-align: super;
  margin-left: 4px;
}
.bento-stat-label {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.bento-quote blockquote {
  font-size: 17px;
  line-height: 1.55;
  color: #e2e8f0;
  margin: 0 0 16px;
  font-weight: 500;
  position: relative;
  padding-left: 22px;
}
.bento-quote blockquote::before {
  content: "\201C";
  position: absolute;
  left: -2px; top: -8px;
  font-size: 48px;
  color: rgba(96,165,250,.4);
  font-family: Georgia, serif;
  line-height: 1;
}
.bento-quote cite {
  font-style: normal;
  font-size: 12px;
  color: #64748b;
  display: block;
}
.bento-quote cite strong { color: #94a3b8; font-weight: 700; }

.bento-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.bento-mini {
  position: relative;
  padding: 18px 20px;
  background: rgba(15,23,42,.5);
  border: 1px solid rgba(96,165,250,.1);
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color .3s ease, transform .3s ease;
}
.bento-mini:hover {
  border-color: rgba(96,165,250,.3);
  transform: translateY(-2px);
}
.bento-mini-time {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #f472b6;
  padding: 4px 8px;
  background: rgba(236,72,153,.1);
  border: 1px solid rgba(236,72,153,.25);
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-big { grid-column: 1; grid-row: auto; min-height: auto; }
  .bento-stat, .bento-quote { grid-column: 1; grid-row: auto; }
  .bento-big-number { font-size: 80px; }
  .bento-mini-row { grid-template-columns: 1fr; }
}

/* ─── Split "Per chi è" ───────────────────────────────────── */
.split-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.split-head { text-align: center; margin-bottom: 56px; }
.split-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #f1f5f9;
  margin: 8px 0 0;
  line-height: 1.15;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  perspective: 1800px;
}
.split-card {
  position: relative;
  padding: 40px 36px 44px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.35));
  border: 1px solid rgba(96,165,250,.15);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s ease;
  will-change: transform;
}
.split-card-left {
  transform: rotateY(4deg);
  background-image:
    linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.35)),
    radial-gradient(circle at top right, rgba(59,130,246,.2), transparent 60%);
}
.split-card-right {
  transform: rotateY(-4deg);
  background-image:
    linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.35)),
    radial-gradient(circle at top left, rgba(139,92,246,.22), transparent 60%);
}
.split-card-left:hover {
  transform: rotateY(0deg) translateZ(20px);
  border-color: rgba(96,165,250,.4);
}
.split-card-right:hover {
  transform: rotateY(0deg) translateZ(20px);
  border-color: rgba(167,139,250,.4);
}

.split-avatar {
  width: 80px; height: 80px;
  border-radius: 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.split-card-left .split-avatar {
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(96,165,250,.1));
  border: 1px solid rgba(59,130,246,.3);
  box-shadow: 0 10px 30px rgba(59,130,246,.2);
}
.split-card-right .split-avatar {
  background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(167,139,250,.1));
  border: 1px solid rgba(139,92,246,.3);
  box-shadow: 0 10px 30px rgba(139,92,246,.2);
}
.split-avatar svg { width: 44px; height: 44px; }

.split-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.split-card p.split-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 28px;
}

.split-meter {
  background: rgba(4,6,15,.6);
  border: 1px solid rgba(96,165,250,.1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.split-meter-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: baseline;
}
.split-meter-top span:first-child {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}
.split-meter-num {
  font-size: 26px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -.02em;
}
.split-meter-num em {
  font-style: normal;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 4px;
}
.split-meter-bar {
  height: 8px;
  background: rgba(4,6,15,.8);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.split-meter-fill {
  height: 100%;
  border-radius: 100px;
  width: 0;
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.split-card-left .split-meter-fill {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 12px rgba(96,165,250,.5);
}
.split-card-right .split-meter-fill {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  box-shadow: 0 0 12px rgba(167,139,250,.5);
}
.split-card.vnx-visible .split-meter-fill {
  width: var(--fill, 100%);
}

.split-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.split-card-left .split-pill {
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.3);
  color: #93c5fd;
}
.split-card-right .split-pill {
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
  color: #c4b5fd;
}
.split-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-card-left, .split-card-right { transform: none; }
}

/* ─── Pricing premium ─────────────────────────────────────── */
.pricing-premium {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.pricing-premium-head { text-align: center; margin-bottom: 24px; }
.pricing-premium-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #f1f5f9;
  margin: 8px 0;
  letter-spacing: -.01em;
}
.pricing-premium-head p {
  color: #94a3b8;
  font-size: 15px;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.6;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  position: relative;
}
.pricing-toggle button {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color .3s ease;
}
.pricing-toggle button.active { color: #fff; }
.pricing-toggle-slider {
  position: absolute;
  top: 4px; left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 100px;
  z-index: 1;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 4px 16px rgba(59,130,246,.4);
}
.pricing-toggle[data-period="yearly"] .pricing-toggle-slider {
  transform: translateX(100%);
}
.pricing-save-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.35);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: .04em;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 44px;
}
.pp-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.4));
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 22px;
  padding: 36px 28px 32px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .4s ease;
}
.pp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,165,250,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.pp-card-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 16px;
}
.pp-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.pp-card-price-num {
  font-size: clamp(44px, 5.2vw, 56px);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
  letter-spacing: -.03em;
}
.pp-card-price-period {
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}
.pp-card-billed {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 20px;
  min-height: 18px;
}
.pp-card-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(96,165,250,.1);
}
.pp-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
}
.pp-features li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 50%;
  background-image:
    linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}
.pp-features li strong { color: #f1f5f9; font-weight: 700; }

.pp-card-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.pp-card-cta.ghost {
  color: #cbd5e1;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(96,165,250,.25);
}
.pp-card-cta.ghost:hover {
  background: rgba(15,23,42,.85);
  border-color: rgba(96,165,250,.5);
  transform: translateY(-1px);
}
.pp-card-cta.primary {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 6px 20px rgba(59,130,246,.4);
}
.pp-card-cta.primary::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.2,.8,.2,1);
}
.pp-card-cta.primary:hover::after { left: 150%; }
.pp-card-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59,130,246,.55);
}

/* Centerpiece Pro */
.pp-card-popular {
  transform: scale(1.06);
  border-color: rgba(96,165,250,.4);
  background:
    linear-gradient(180deg, rgba(30,41,59,.8), rgba(15,23,42,.5)),
    radial-gradient(circle at top, rgba(59,130,246,.15), transparent 60%);
  box-shadow:
    0 30px 70px rgba(0,0,0,.5),
    0 0 0 1px rgba(96,165,250,.15),
    0 0 60px rgba(59,130,246,.1);
  z-index: 2;
}
.pp-card-popular:hover { transform: scale(1.06) translateY(-6px); }
.pp-card-popular::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    rgba(59,130,246,.8),
    rgba(139,92,246,.8),
    rgba(236,72,153,.7),
    rgba(59,130,246,.8)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: wow-conic-spin 6s linear infinite;
  pointer-events: none;
}
@keyframes wow-conic-spin { to { transform: rotate(360deg); } }

.pp-card-popular .pp-card-name {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pp-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(59,130,246,.5);
  z-index: 3;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pp-card-popular { transform: none; }
  .pp-card-popular:hover { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════════════════════
   SUB-PAGE COMPONENTS (prezzi / come-funziona / chi-siamo / blog)
   ═══════════════════════════════════════════════════════════ */

/* ─── Sub-hero (breadcrumb + title + gradient orbs) ───────── */
.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 48px;
  text-align: center;
  isolation: isolate;
}
.sub-hero::before, .sub-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.sub-hero::before {
  top: -40%; left: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(59,130,246,.25), transparent 65%);
  animation: wow-orb-a 18s ease-in-out infinite alternate;
}
.sub-hero::after {
  top: -20%; right: -15%;
  width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(236,72,153,.16), rgba(139,92,246,.1) 40%, transparent 70%);
  animation: wow-orb-b 22s ease-in-out infinite alternate;
}
.sub-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(96,165,250,.2);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.sub-hero-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s ease;
}
.sub-hero-breadcrumb a:hover { color: #60a5fa; }
.sub-hero-breadcrumb .sep { color: #475569; }
.sub-hero-breadcrumb strong { color: #f1f5f9; font-weight: 600; }
.sub-hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 100px;
  color: #60a5fa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sub-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.02em;
  max-width: 860px;
  margin-left: auto; margin-right: auto;
}
.sub-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: wow-highlight-shift 6s ease-in-out infinite;
}
.sub-hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 680px;
}

/* ─── Glass prose page (chi-siamo / come-funziona / legal) ─ */
.prose-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.prose-card {
  background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.3));
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 22px;
  padding: 48px 48px 40px;
  margin-bottom: 24px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.prose-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,.4), transparent);
}
.prose-card h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 18px;
  letter-spacing: -.01em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 14px;
}
.prose-card h2 .prose-num {
  font-size: .7em;
  color: #60a5fa;
  font-weight: 900;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 12px;
  padding: 4px 12px;
  letter-spacing: 0;
}
.prose-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 24px 0 10px;
  line-height: 1.35;
}
.prose-card p, .prose-card li {
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 15.5px;
  margin: 0 0 14px;
}
.prose-card ul, .prose-card ol {
  padding-left: 0;
  list-style: none;
  margin: 14px 0 18px;
}
.prose-card ul li, .prose-card ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.prose-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 50%;
  background-image:
    linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
}
.prose-card ol { counter-reset: prose-ol; }
.prose-card ol li {
  counter-increment: prose-ol;
  padding-left: 36px;
}
.prose-card ol li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 7px;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.prose-card strong { color: #f1f5f9; font-weight: 700; }
.prose-card a { color: #60a5fa; text-decoration: none; border-bottom: 1px solid rgba(96,165,250,.3); transition: border-color .2s ease; }
.prose-card a:hover { border-color: #60a5fa; }
.prose-card code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .88em;
  padding: 2px 8px;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 6px;
  color: #93c5fd;
}
.prose-card blockquote {
  margin: 24px 0;
  padding: 20px 26px;
  background: rgba(15,23,42,.6);
  border-left: 3px solid #60a5fa;
  border-radius: 12px;
  color: #e2e8f0;
  font-style: italic;
  line-height: 1.75;
  font-size: 16px;
  position: relative;
}
.prose-card blockquote em { font-style: italic; color: #e2e8f0; }
.prose-card table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(96,165,250,.15);
  background: rgba(15,23,42,.4);
}
.prose-card table th {
  background: rgba(59,130,246,.1);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(96,165,250,.2);
}
.prose-card table td {
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 14px;
  border-bottom: 1px solid rgba(96,165,250,.08);
}
.prose-card table tr:last-child td { border-bottom: none; }
.prose-card table tr:hover td { background: rgba(59,130,246,.03); }

@media (max-width: 640px) {
  .prose-card { padding: 32px 24px; }
}

/* ─── Timeline step (come-funziona) ───────────────────────── */
.timeline-stage {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 60px;
  position: relative;
}
.timeline-stage::before {
  content: "";
  position: absolute;
  left: 55px;
  top: 24px; bottom: 80px;
  width: 2px;
  background: linear-gradient(180deg, rgba(96,165,250,.4), rgba(139,92,246,.4), rgba(236,72,153,.3), transparent);
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-left: 0;
}
.timeline-step-marker {
  position: relative;
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
}
.timeline-step-num {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid rgba(96,165,250,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  background-image:
    linear-gradient(135deg, #0f172a, #1e293b),
    linear-gradient(135deg, #3b82f6, #8b5cf6);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  z-index: 1;
  position: relative;
}
.timeline-step-num span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -.02em;
}
.timeline-step-time {
  position: absolute;
  top: 90px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 100px;
  padding: 3px 10px;
}
.timeline-step-body {
  background: linear-gradient(180deg, rgba(15,23,42,.6), rgba(15,23,42,.35));
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(12px);
  min-height: 104px;
  transition: border-color .3s ease, transform .3s ease;
}
.timeline-step-body:hover {
  border-color: rgba(96,165,250,.35);
  transform: translateY(-2px);
}
.timeline-step-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.timeline-step-body p, .timeline-step-body li {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.timeline-step-body blockquote {
  margin: 14px 0 10px;
  padding: 14px 18px;
  background: rgba(4,6,15,.5);
  border-left: 3px solid #60a5fa;
  border-radius: 10px;
  font-style: italic;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.65;
}
.timeline-step-body code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .85em;
  padding: 2px 7px;
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 5px;
  color: #93c5fd;
}
.timeline-step-body ol, .timeline-step-body ul {
  padding-left: 20px;
  margin: 10px 0;
}
.timeline-step-body li { margin-bottom: 6px; }

@media (max-width: 640px) {
  .timeline-stage::before { left: 27px; top: 22px; }
  .timeline-step { grid-template-columns: 56px 1fr; gap: 12px; }
  .timeline-step-marker { width: 56px; padding-top: 8px; }
  .timeline-step-num { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
  .timeline-step-time { top: 56px; font-size: 10px; padding: 2px 7px; }
  .timeline-step-body { padding: 20px 18px; }
}

/* ─── Comparison table (come funziona — manuale vs vynex) ── */
.compare-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.65), rgba(15,23,42,.35));
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(96,165,250,.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.compare-table th {
  padding: 20px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(96,165,250,.2);
  background: rgba(59,130,246,.06);
}
.compare-table th:nth-child(2) { color: #fca5a5; }
.compare-table th:nth-child(3) {
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.15));
  color: #93c5fd;
}
.compare-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(96,165,250,.06);
}
.compare-table td:first-child { font-weight: 600; color: #f1f5f9; }
.compare-table td:nth-child(2) { color: #94a3b8; }
.compare-table td:nth-child(3) {
  background: linear-gradient(90deg, rgba(59,130,246,.05), transparent);
  color: #f1f5f9;
  font-weight: 600;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr.total td {
  background: linear-gradient(180deg, rgba(4,6,15,.6), transparent);
  font-size: 16.5px;
  font-weight: 800;
  border-top: 1px solid rgba(96,165,250,.15);
}
.compare-table tr.total td:nth-child(2) { color: #f87171; }
.compare-table tr.total td:nth-child(3) {
  background: linear-gradient(90deg, rgba(16,185,129,.15), transparent);
  color: #6ee7b7;
}

@media (max-width: 640px) {
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13.5px; }
}

/* ─── Founder card (chi-siamo) ────────────────────────────── */
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(139,92,246,.06));
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 22px;
  margin: 24px 0 8px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(96,165,250,.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.founder-avatar {
  width: 200px; height: 240px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 24px 50px rgba(59,130,246,.35), 0 0 0 1px rgba(255,255,255,.05) inset;
  letter-spacing: -.04em;
  overflow: hidden;
  position: relative;
}
.founder-avatar-photo {
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  animation: wow-avatar-ring 8s linear infinite;
}
@keyframes wow-avatar-ring {
  0%   { background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899); }
  33%  { background: linear-gradient(135deg, #8b5cf6, #ec4899, #3b82f6); }
  66%  { background: linear-gradient(135deg, #ec4899, #3b82f6, #8b5cf6); }
  100% { background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899); }
}
.founder-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 21px;
  display: block;
  filter: contrast(1.03) saturate(1.05);
}

@media (max-width: 640px) {
  .founder-avatar { width: 160px; height: 200px; }
}
.founder-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 4px;
}
.founder-info .founder-role {
  font-size: 13px;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.founder-info p {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 12px;
}
.founder-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.founder-stack span {
  padding: 4px 10px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .founder-avatar { margin: 0 auto; }
  .founder-stack { justify-content: center; }
}

/* ─── Mission / Values cards ───────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.mission-card {
  padding: 24px;
  background: rgba(4,6,15,.5);
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 16px;
  transition: border-color .3s ease, transform .3s ease;
}
.mission-card:hover {
  border-color: rgba(96,165,250,.35);
  transform: translateY(-3px);
}
.mission-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid rgba(96,165,250,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.mission-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 8px;
}
.mission-card p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* ─── Blog article reading experience ─────────────────────── */
.article-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  width: 0;
  z-index: 999;
  transition: width .1s linear;
  box-shadow: 0 0 10px rgba(96,165,250,.6);
}

.article-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 32px;
  text-align: left;
  position: relative;
}
.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 100px;
  color: #93c5fd;
  font-size: 12.5px;
  font-weight: 600;
}
.article-meta .dot {
  width: 3px; height: 3px; border-radius: 50%; background: #60a5fa;
}
.article-hero h1 {
  font-size: clamp(32px, 4.8vw, 50px);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.article-hero .article-sub {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.85;
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}
.article-body > *:first-child::first-letter {
  float: left;
  font-size: 3.8em;
  line-height: .9;
  margin: 6px 12px 0 0;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 900;
}
.article-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 40px 0 16px;
  line-height: 1.25;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 18px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 4px;
  background: linear-gradient(180deg, #60a5fa, #a78bfa);
  border-radius: 4px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 28px 0 12px;
  line-height: 1.35;
}
.article-body p { margin: 0 0 18px; color: #cbd5e1; }
.article-body strong { color: #f1f5f9; font-weight: 700; }
.article-body a { color: #60a5fa; text-decoration: none; border-bottom: 1px solid rgba(96,165,250,.3); }
.article-body a:hover { border-color: #60a5fa; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 20px; color: #cbd5e1; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 26px 20px 30px;
  background: linear-gradient(90deg, rgba(59,130,246,.08), transparent);
  border-left: 4px solid #60a5fa;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.7;
  position: relative;
}
.article-body blockquote::before {
  content: "\201C";
  position: absolute;
  left: 8px; top: -8px;
  font-size: 48px;
  color: rgba(96,165,250,.3);
  font-family: Georgia, serif;
  line-height: 1;
}
.article-body code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .88em;
  padding: 2px 7px;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 6px;
  color: #93c5fd;
}
.article-body pre {
  background: rgba(4,6,15,.7);
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 12px;
  padding: 18px 22px;
  overflow-x: auto;
  margin: 20px 0;
}
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(96,165,250,.15);
}
.article-body th {
  background: rgba(59,130,246,.08);
  color: #cbd5e1;
  padding: 12px 16px;
  text-align: left;
  font-size: 13.5px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(96,165,250,.15);
}
.article-body td {
  padding: 12px 16px;
  font-size: 14.5px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(96,165,250,.08);
}

.article-cta {
  max-width: 760px;
  margin: 20px auto;
  padding: 0 24px;
}
.article-cta-inner {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(139,92,246,.12));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}
.article-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(96,165,250,.15), transparent 60%);
  pointer-events: none;
}
.article-cta-inner h3 {
  font-size: 24px;
  color: #f1f5f9;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.article-cta-inner p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 500px;
}

.article-back {
  text-align: center;
  padding: 20px 24px 60px;
}
.article-back a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 100px;
  transition: all .2s ease;
  display: inline-block;
}
.article-back a:hover {
  background: rgba(96,165,250,.1);
  border-color: rgba(96,165,250,.5);
}

/* ─── Blog index cards ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.blog-card {
  display: block;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(15,23,42,.6), rgba(15,23,42,.3));
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 20px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(96,165,250,.3), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.blog-card:hover::before { opacity: 1; }
.blog-card-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}
.blog-card h2 {
  font-size: 19px;
  color: #f1f5f9;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -.005em;
}
.blog-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.blog-card-more {
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.blog-card:hover .blog-card-more { gap: 10px; }

/* ═══════════════════════════════════════════════════════════
   HERO SPACING FIX — eliminate the dead zone under navbar
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: auto !important;
  align-items: flex-start !important;
  padding-top: 28px !important;
}
@media (max-width: 768px) {
  .hero { padding-top: 20px !important; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL VERTICAL VYNEX RAILS (all pages) + scroll parallax
   ═══════════════════════════════════════════════════════════ */
/* Rail = fixed viewport-height column that clips its scrolling content.
   Rail content = long repeating "VYNEX · " stream that marquee-loops.
   Left rail scrolls upward, right rail scrolls downward — opposite
   directions in continuous infinite loop. No parallax, no scroll JS. */
.page-brand-rail {
  position: fixed;
  top: 0;
  height: 100vh;
  width: clamp(40px, 5vw, 70px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: .18;
  filter: drop-shadow(0 0 18px rgba(96,165,250,.18));
}
.page-brand-rail.is-left  { left: 2vw; }
.page-brand-rail.is-right { right: 2vw; }

.page-brand-rail .rail-track {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #60a5fa, #a78bfa 45%, #f472b6 100%);
  background-size: 100% 260%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  will-change: transform, background-position;
  animation: wow-vyn-shimmer 9s ease-in-out infinite;
}
.page-brand-rail.is-left  .rail-track { animation: wow-vyn-shimmer 9s ease-in-out infinite, rail-loop-up   42s linear infinite; }
.page-brand-rail.is-right .rail-track { animation: wow-vyn-shimmer 9s ease-in-out infinite, rail-loop-down 42s linear infinite; animation-delay: -4s, 0s; }

@keyframes rail-loop-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes rail-loop-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

@media (max-width: 860px) {
  .page-brand-rail { display: none; }
}

/* Hide rails entirely on authenticated app pages (dashboard/genera/
   account/documento) — set via {% block body_class %}no-rails{% endblock %}
   on those templates. */
body.no-rails .page-brand-rail { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   LOGO UPGRADE — glyph + gradient wordmark + glow
   ═══════════════════════════════════════════════════════════ */
.vnx-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.vnx-logo:hover { transform: translateY(-1px) scale(1.02); }
.vnx-logo .vnx-glyph {
  width: 20px;
  height: 30px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(96,165,250,.4));
  transition: filter .3s ease, transform .3s ease;
}
.vnx-logo:hover .vnx-glyph {
  filter: drop-shadow(0 0 12px rgba(167,139,250,.6));
  transform: rotate(-3deg);
}
.vnx-logo .vnx-word {
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa 55%, #f472b6);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 0 8px rgba(96,165,250,.25));
  transition: filter .3s ease, letter-spacing .3s ease;
}
.vnx-logo:hover .vnx-word {
  filter: drop-shadow(0 0 14px rgba(167,139,250,.5));
  letter-spacing: 3.5px;
}

/* ═══════════════════════════════════════════════════════════
   NAV link hover polish — animated underline, active state
   ═══════════════════════════════════════════════════════════ */
.vnx-nav #nav-links-desktop a {
  position: relative;
  transition: color .2s ease;
}
.vnx-nav #nav-links-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  border-radius: 2px;
}
.vnx-nav #nav-links-desktop a:hover { color: #f1f5f9 !important; }
.vnx-nav #nav-links-desktop a:hover::after { transform: scaleX(1); }
.vnx-nav #nav-links-desktop a[aria-current="page"] {
  color: #60a5fa !important;
}
.vnx-nav #nav-links-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION — shared pattern (index/prezzi/come-funziona)
   ═══════════════════════════════════════════════════════════ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 8px;
}
.faq-accordion details {
  background: rgba(4,6,15,.55);
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-accordion details[open] {
  border-color: rgba(96,165,250,.4);
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.4));
}
.faq-accordion details:hover { border-color: rgba(96,165,250,.3); }
.faq-accordion summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.45;
  letter-spacing: -.005em;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2));
  border: 1px solid rgba(96,165,250,.35);
  border-radius: 50%;
  background-image:
    linear-gradient(135deg, rgba(59,130,246,.2), rgba(139,92,246,.2)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background-image .2s ease;
}
.faq-accordion details[open] summary::after {
  transform: rotate(135deg);
  background-image:
    linear-gradient(135deg, rgba(59,130,246,.3), rgba(139,92,246,.3)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.faq-accordion .faq-answer {
  padding: 0 22px 20px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.75;
  animation: faq-slide-in .35s cubic-bezier(.2,.8,.2,1);
}
.faq-accordion .faq-answer p { margin: 0 0 10px; }
.faq-accordion .faq-answer p:last-child { margin: 0; }
.faq-accordion .faq-answer code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .88em;
  padding: 2px 7px;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 6px;
  color: #93c5fd;
}
.faq-accordion .faq-answer strong { color: #f1f5f9; font-weight: 700; }
.faq-accordion .faq-answer a {
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px solid rgba(96,165,250,.3);
}
@keyframes faq-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* app pages polish removed 2026-04-22 — now source-of-truth in style.css */

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES REDESIGN (registrati / accedi)
   ═══════════════════════════════════════════════════════════ */

/* Minimal single-column auth: matches home nav logo exactly (text "VYNEX"
   letter-spaced blue span, no SVG). Dark orbs soft in background, centered
   glass card with the form. No testimonials / stats rumor here — signup
   pages convert better with fewer distractions. */
.auth-scene {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #04060f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 40px;
  isolation: isolate;
}
.auth-scene::before,
.auth-scene::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: .8;
}
.auth-scene::before {
  top: -20%; left: -10%;
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(59,130,246,.18), transparent 65%);
  animation: wow-orb-a 22s ease-in-out infinite alternate;
}
.auth-scene::after {
  bottom: -25%; right: -12%;
  width: 50vw; height: 50vw; max-width: 680px; max-height: 680px;
  background: radial-gradient(circle, rgba(139,92,246,.12), transparent 70%);
  animation: wow-orb-b 26s ease-in-out infinite alternate;
}

/* Vertical VYNEX wordmark divider — top-to-bottom centered.
   Stacks letters (V / Y / N / E / X) using writing-mode so each stays upright.
   Gradient blu→viola→rosa animated (same as home .highlight) + glow pulse
   so it feels alive behind the glass form. */
.auth-vertical-brand {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 900;
  letter-spacing: 22px;
  line-height: 1;
  background: linear-gradient(180deg, #60a5fa, #a78bfa 45%, #f472b6 100%);
  background-size: 100% 260%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  opacity: .28;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: wow-vyn-shimmer 8s ease-in-out infinite, wow-vyn-glow 4.5s ease-in-out infinite;
  will-change: background-position, filter;
  filter: drop-shadow(0 0 28px rgba(96,165,250,.22));
}
.auth-vertical-brand.is-left  { left: 4vw; }
.auth-vertical-brand.is-right { right: 4vw; animation-delay: -4s, -2s; }

@media (max-width: 720px) {
  .auth-vertical-brand { display: none; }
}
@keyframes wow-vyn-shimmer {
  0%, 100% { background-position: 50% 0%; }
  50%      { background-position: 50% 100%; }
}
@keyframes wow-vyn-glow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(96,165,250,.18)); }
  50%      { filter: drop-shadow(0 0 44px rgba(167,139,250,.35)); }
}

.auth-top-back {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
  z-index: 2;
  transition: color .2s ease;
}
.auth-top-back:hover { color: #cbd5e1; }
.auth-top-switch {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  z-index: 2;
  transition: color .2s ease;
}
.auth-top-switch:hover { color: #60a5fa; }

.auth-intro {
  width: 100%;
  max-width: 480px;
  text-align: center;
  margin-bottom: 28px;
  z-index: 1;
}
.auth-intro h1 {
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.auth-intro h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.auth-intro p {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.auth-card-new {
  width: 100%;
  max-width: 480px;
  padding: 32px 32px 28px;
  background: linear-gradient(180deg, rgba(15,23,42,.78), rgba(15,23,42,.52));
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.auth-card-new::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,.5), transparent);
}

.auth-card-new .alert-error {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 10px;
  color: #fca5a5;
  font-size: 13.5px;
}

.auth-card-new .auth-divider-new {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #64748b;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.auth-card-new .auth-divider-new::before,
.auth-card-new .auth-divider-new::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(96,165,250,.15);
}

.auth-trustrow {
  width: 100%;
  max-width: 480px;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: #64748b;
  font-size: 12px;
  z-index: 1;
}
.auth-trustrow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-trustrow span::before {
  content: "";
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

.auth-form-new .form-group-new {
  margin-bottom: 16px;
}
.auth-form-new label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.auth-form-new input[type=text],
.auth-form-new input[type=email],
.auth-form-new input[type=password] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  background: rgba(4,6,15,.6);
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease;
  outline: none;
}
.auth-form-new input:focus {
  border-color: rgba(96,165,250,.55);
  background: rgba(4,6,15,.85);
}
.auth-form-new input::placeholder { color: #475569; }

.pw-meter {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.pw-meter span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(96,165,250,.1);
  transition: background .25s ease;
}
.pw-meter[data-score="1"] span:nth-child(-n+1),
.pw-meter[data-score="2"] span:nth-child(-n+2),
.pw-meter[data-score="3"] span:nth-child(-n+3),
.pw-meter[data-score="4"] span:nth-child(-n+4) { background: #60a5fa; }
.pw-meter[data-score="1"] span:nth-child(-n+1) { background: #ef4444; }
.pw-meter[data-score="2"] span:nth-child(-n+2) { background: #f59e0b; }
.pw-meter[data-score="3"] span:nth-child(-n+3) { background: #60a5fa; }
.pw-meter[data-score="4"] span:nth-child(-n+4) { background: #10b981; }
.pw-meter-label {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 6px;
  letter-spacing: .02em;
}

.auth-form-new .terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 22px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
  cursor: pointer;
}
.auth-form-new .terms input[type=checkbox] {
  margin-top: 3px;
  accent-color: #60a5fa;
  flex-shrink: 0;
}
.auth-form-new .terms a { color: #93c5fd; text-decoration: none; border-bottom: 1px solid rgba(96,165,250,.3); }
.auth-form-new .terms a:hover { border-color: #60a5fa; }

.auth-cta-new {
  width: 100%;
  display: block;
  padding: 15px 20px;
  text-align: center;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(59,130,246,.38);
  transition: transform .15s ease, box-shadow .3s ease;
}
.auth-cta-new::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.26), transparent);
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.2,.8,.2,1);
}
.auth-cta-new:hover::after { left: 150%; }
.auth-cta-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(59,130,246,.55);
}

.auth-trust-new {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 12px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
}
.auth-trust-new strong { color: #cbd5e1; font-weight: 700; }
.auth-trust-new a { color: #93c5fd; text-decoration: none; }

.auth-switch-new {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.auth-switch-new a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.auth-switch-new a:hover { border-color: #60a5fa; }

@media (max-width: 920px) {
  .auth-scene { grid-template-columns: 1fr; }
  .auth-left-new { padding: 40px 28px 24px; gap: 24px; }
  .auth-right-new { padding: 24px 20px 48px; }
  .auth-stats-new { max-width: none; }
}
@media (max-width: 480px) {
  .auth-card-new { padding: 28px 22px 24px; border-radius: 20px; }
  .auth-left-new h1 { font-size: 30px; }
}

/* ═══════════════════════════════════════════════════════════
   VOICE DICTATION UX (demo page)
   ═══════════════════════════════════════════════════════════ */

.voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid rgba(236,72,153,0.4);
  background: rgba(236,72,153,0.08);
  color: #f472b6;
  user-select: none;
}
.voice-btn[hidden] { display: none !important; }
.voice-btn:hover {
  background: rgba(236,72,153,0.15);
  border-color: rgba(236,72,153,0.6);
}
.voice-btn.recording {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.55);
  color: #fca5a5;
  animation: wow-voice-pulse 1.6s ease-in-out infinite;
}
@keyframes wow-voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.45); }
  50%      { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}
.voice-btn .voice-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.voice-btn.recording .voice-dot {
  animation: wow-blink 1s ease-in-out infinite;
}
.voice-status {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
}
.voice-status.active {
  display: block;
  background: rgba(236,72,153,0.08);
  border: 1px solid rgba(236,72,153,0.25);
  color: #fbcfe8;
}
.voice-status.warn {
  display: block;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fde68a;
}
.voice-status.error {
  display: block;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}

/* ═══════════════════════════════════════════════════════════
   APP PAGES MINIMAL REWRITE (dashboard / genera / account)
   Notion / Linear / ChatGPT feel — spacing over borders,
   one primary action per screen, max-width 900px centered.
   ═══════════════════════════════════════════════════════════ */

/* .app-main rules moved to style.css (source-of-truth) — removed !important overrides that shadowed layout changes */

.mini-hero {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.mini-hero-text h1 {
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.mini-hero-sub {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}
.mini-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(59,130,246,.35);
  transition: transform .15s ease, box-shadow .25s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.mini-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(59,130,246,.5);
}

.usage-block {
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.4));
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.usage-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
}
.usage-number {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: #f1f5f9;
  letter-spacing: -.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.usage-number small {
  font-size: 22px;
  color: #64748b;
  font-weight: 600;
}
.usage-sub {
  color: #94a3b8;
  font-size: 13.5px;
  margin-top: 8px;
}
.usage-progress {
  height: 6px;
  background: rgba(96,165,250,.1);
  border-radius: 100px;
  overflow: hidden;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
  align-self: center;
}
.usage-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 100px;
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}

.section-title-min {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #cbd5e1;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-min .count-pill {
  padding: 2px 10px;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 100px;
  font-size: 12px;
  color: #93c5fd;
  font-weight: 700;
}

.doc-list-min {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(15,23,42,.5);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.doc-row:hover {
  border-color: rgba(96,165,250,.35);
  background: rgba(15,23,42,.75);
  transform: translateX(2px);
}
.doc-row-left { min-width: 0; flex: 1; }
.doc-row-title {
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-row-date {
  color: #64748b;
  font-size: 12.5px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.doc-row-arrow {
  color: #475569;
  transition: color .2s ease, transform .2s ease;
  font-size: 20px;
}
.doc-row:hover .doc-row-arrow { color: #60a5fa; transform: translateX(4px); }

.empty-new {
  padding: 64px 24px;
  text-align: center;
  background: rgba(15,23,42,.4);
  border: 1px dashed rgba(96,165,250,.2);
  border-radius: 20px;
}
.empty-new-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.15));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
}
.empty-new h3 {
  font-size: 20px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 8px;
}
.empty-new p {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 380px;
}
.empty-new .mini-hero-cta { font-size: 14.5px; padding: 12px 20px; }

/* COMPOSER (genera) — ChatGPT-style */
.composer {
  max-width: 760px;
  margin: 0 auto;
}
.composer-hero {
  text-align: center;
  margin-bottom: 32px;
}
.composer-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.composer-hero .sub {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 560px;
}
.composer-shell {
  background: linear-gradient(180deg, rgba(15,23,42,.78), rgba(15,23,42,.5));
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 22px;
  padding: 10px 0 14px;
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.composer-shell:focus-within {
  border-color: rgba(96,165,250,.55);
  box-shadow: 0 0 0 4px rgba(96,165,250,.12);
}
.composer-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,.5), transparent);
}
.composer-mandante {
  padding: 10px 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.composer-mandante label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}
.composer-mandante input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  padding: 6px 0 !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  outline: none !important;
  font-family: inherit !important;
}
.composer-mandante input::placeholder { color: #475569; }
.composer-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 200px;
  max-height: 440px;
  padding: 12px 18px !important;
  background: transparent !important;
  border: none !important;
  color: #f1f5f9 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-family: inherit !important;
  resize: none !important;
  outline: none !important;
}
.composer-textarea::placeholder { color: #475569; font-style: italic; }
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 18px 0;
  border-top: 1px solid rgba(96,165,250,.08);
  margin-top: 6px;
}
.composer-counter {
  font-size: 12px;
  color: #64748b;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.composer-counter.warn { color: #f59e0b; }
.composer-generate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, opacity .2s ease;
  box-shadow: 0 8px 22px rgba(59,130,246,.35);
}
.composer-generate:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59,130,246,.55);
}
.composer-generate:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}
.composer-hint {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: #64748b;
}
.composer-hint kbd {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 6px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #93c5fd;
  margin: 0 2px;
}

/* Output after generation */
.composer-output {
  max-width: 880px;
  margin: 28px auto 0;
  animation: mini-fade-in .4s ease;
}
.composer-output-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.composer-output-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0;
  letter-spacing: -.01em;
}
.composer-output-head .cliente-chip {
  display: inline-flex;
  padding: 4px 11px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 100px;
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}
.composer-output-head .reset-btn {
  padding: 8px 14px;
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.25);
  color: #93c5fd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.composer-output-head .reset-btn:hover { background: rgba(96,165,250,.18); }
.doc-tabs-min {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(4,6,15,.55);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}
.doc-tabs-min button {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 100px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .25s ease;
}
.doc-tabs-min button:hover { color: #cbd5e1; }
.doc-tabs-min button.active {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,130,246,.35);
}
.doc-panel { display: none; animation: mini-fade-in .3s ease; }
.doc-panel.active { display: block; }
.doc-panel pre {
  background: rgba(4,6,15,.6);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 14px;
  padding: 20px 22px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  max-height: 520px;
  overflow-y: auto;
  margin: 0;
}
.doc-panel .doc-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.doc-panel .doc-action-btn {
  padding: 8px 14px;
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.25);
  color: #93c5fd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-panel .doc-action-btn:hover { background: rgba(96,165,250,.18); }
.doc-panel .rigenera-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 10px;
  animation: mini-fade-in .25s ease;
}
.doc-panel .rigenera-row input {
  flex: 1;
  padding: 9px 12px;
  background: rgba(4,6,15,.6);
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.doc-panel .rigenera-row button {
  padding: 9px 16px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.limit-compact {
  max-width: 560px;
  margin: 40px auto;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(139,92,246,.08));
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 22px;
  text-align: center;
}
.limit-compact h2 { font-size: 22px; font-weight: 800; color: #f1f5f9; margin: 0 0 10px; }
.limit-compact p { color: #94a3b8; font-size: 14.5px; line-height: 1.65; margin: 0 0 22px; }

/* ACCOUNT — plan card + user info + advanced collapsible */
.acct-plan {
  padding: 32px;
  background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(139,92,246,.14));
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.acct-plan::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(96,165,250,.2), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.acct-plan-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
  position: relative;
}
.acct-plan-name {
  font-size: 30px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  position: relative;
}
.acct-plan-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.acct-plan-feats li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(4,6,15,.45);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 100px;
  font-size: 12.5px;
  color: #cbd5e1;
}
.acct-plan-feats li::before {
  content: "";
  width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.acct-plan-cta {
  padding: 13px 22px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(59,130,246,.4);
  transition: transform .15s ease, box-shadow .25s ease;
  white-space: nowrap;
  position: relative;
}
.acct-plan-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59,130,246,.55); }
.acct-plan-cta.ghost { background: rgba(15,23,42,.6); border: 1px solid rgba(96,165,250,.3); box-shadow: none; color: #cbd5e1; }

.acct-block {
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(15,23,42,.4));
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 20px;
  margin-bottom: 16px;
}
.acct-block h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 18px;
}
.acct-field { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; }
.acct-field label { font-size: 12px; font-weight: 600; color: #64748b; letter-spacing: .04em; text-transform: uppercase; }
.acct-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px !important;
  background: rgba(4,6,15,.6) !important;
  border: 1px solid rgba(96,165,250,.15) !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none !important;
}
.acct-field input:focus {
  border-color: rgba(96,165,250,.55) !important;
  box-shadow: 0 0 0 3px rgba(96,165,250,.15);
}
.acct-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease;
  margin-top: 4px;
}
.acct-save:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(59,130,246,.4); }

.acct-advanced {
  margin-top: 12px;
  padding: 18px 22px;
  background: rgba(15,23,42,.5);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: 14px;
}
.acct-advanced > summary {
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acct-advanced > summary::-webkit-details-marker { display: none; }
.acct-advanced > summary::after { content: "+"; font-size: 20px; color: #60a5fa; transition: transform .25s ease; line-height: 1; }
.acct-advanced[open] > summary::after { transform: rotate(45deg); }
.acct-advanced-body { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(96,165,250,.08); }
.acct-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(96,165,250,.06);
}
.acct-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.acct-row:first-of-type { padding-top: 0; }
.acct-row .lbl h4 { font-size: 14px; color: #f1f5f9; font-weight: 700; margin: 0 0 4px; }
.acct-row .lbl p { font-size: 12.5px; color: #94a3b8; margin: 0; line-height: 1.5; }
.acct-row .act a, .acct-row .act button {
  padding: 8px 14px;
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.25);
  color: #93c5fd;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.acct-row .act a:hover, .acct-row .act button:hover { background: rgba(96,165,250,.16); border-color: rgba(96,165,250,.4); }
.acct-danger-zone {
  margin-top: 20px;
  padding: 18px 20px;
  background: rgba(127,29,29,.08);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 14px;
}
.acct-danger-zone h4 { font-size: 14px; color: #fca5a5; font-weight: 700; margin: 0 0 10px; }
.acct-danger-zone p { font-size: 12.5px; color: #94a3b8; line-height: 1.55; margin: 0 0 14px; }
.acct-danger-zone label { font-size: 11.5px; color: #64748b; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 4px; font-weight: 600; }
.acct-danger-zone input {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px;
  background: rgba(4,6,15,.7);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  font-family: inherit;
}
.acct-danger-zone input:focus { border-color: rgba(239,68,68,.55); box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.acct-danger-zone .btn-danger-sm {
  width: 100%;
  padding: 10px 14px;
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.acct-danger-zone .btn-danger-sm:hover { background: rgba(220,38,38,.3); color: #fff; }

@keyframes mini-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .acct-plan { grid-template-columns: 1fr; text-align: left; }
  .mini-hero { align-items: flex-start; }
  .usage-block { flex-direction: column; align-items: flex-start; }
  .usage-progress { max-width: none; }
}

/* ─── Reduce motion (accessibility) ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
