/* ============================================
   HERO.CSS — Hero Section, URL Input, Mode/Voice Selectors
   Vaivox Design System
   ============================================ */

/* ── Hero ───────────────────────────────────── */
.hero {
  padding: 36px 24px 36px;
  text-align: center;
  max-width: 740px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 100px;
  background: rgba(200,165,80,0.06);
  border: 1px solid rgba(200,165,80,0.15);
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.7rem; font-weight: 500;
  color: #a07830; letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.7);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-family: 'Sora', var(--sans), sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px;
  color: #1a1a2e; margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 .grad-cap {
  font-size: 1.15em;
}
.hero h1 .grad {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  background: linear-gradient(135deg, #c8a550 0%, #dbc078 50%, #a07830 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.hero-sub {
  font-size: 1.12rem; color: #64648c; line-height: 1.65;
  max-width: 500px; margin: 0 auto;
  font-family: 'Inter', var(--sans), sans-serif; font-weight: 400;
  animation: fadeUp 0.6s ease 0.2s both;
}

/* ── Demo button with animated glowing border ── */
.demo-btn-glow {
  position: relative;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  backdrop-filter: blur(6px);
  z-index: 1;
}
.demo-btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: conic-gradient(
    from var(--btn-angle, 0deg),
    transparent 0%,
    rgba(200,165,80,0.8) 25%,
    rgba(220,185,100,0.9) 50%,
    rgba(200,165,80,0.8) 75%,
    transparent 100%
  );
  z-index: -2;
  animation: rotateBorder 3s linear infinite;
}
.demo-btn-glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 100px;
  background: rgba(10,8,16,0.95);
  z-index: -1;
}
.demo-btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(200,165,80,0.4);
}

/* ── Trust bar ─────────────────────────────── */
.trust-bar {
  display: flex; justify-content: center; gap: 48px;
  padding: 48px 24px 0;
  max-width: 660px; margin: 0 auto;
  animation: fadeUp 0.6s ease 0.3s both;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 1.5rem; font-weight: 800;
  color: #1a1a2e;
}
.trust-label {
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.62rem; color: #64648c;
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 3px;
}

/* ── Hero form card (Dark + Gold) ──────────── */
.hero-form-card {
  background: linear-gradient(150deg, rgba(18,14,28,0.92) 0%, rgba(8,6,14,0.97) 100%);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(200,165,80,0.25);
  border-top: 1px solid rgba(220,185,100,0.6);
  border-left: 1px solid rgba(200,165,80,0.4);
  border-radius: 18px 18px 0 0;
  border-bottom: none;
  padding: 30px 34px;
  box-shadow:
    inset 0 1px 1px rgba(220,185,100,0.15),
    0 14px 40px rgba(0,0,0,0.4),
    0 0 80px rgba(200,165,80,0.08);
  text-align: left;
  animation: fadeUp .55s ease both;
  max-width: 100%; margin: 0 auto;
  position: relative; z-index: 10;
  transition: transform .3s, box-shadow .3s;
}
.hero-form-card-bottom {
  background: linear-gradient(150deg, rgba(14,10,22,0.93) 0%, rgba(6,4,10,0.97) 100%);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(200,165,80,0.25);
  border-left: 1px solid rgba(200,165,80,0.4);
  border-top: none;
  border-radius: 0 0 18px 18px;
  padding: 16px 34px 24px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.4);
  max-width: 100%; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-form-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(200,165,80,0.08),
    0 20px 60px rgba(0,0,0,0.35),
    0 0 120px rgba(200,165,80,0.1);
}

/* Revert inputs and labels inside the dark hero card */
.hero-form-card label { color: #ffffff; }
.hero-form-card input[type="text"], .hero-form-card select, .hero-form-card .cs-selected {
  background: rgba(0,0,0,0.7); border: 1px solid rgba(200,165,80,0.15);
  border-radius: 10px; color: #e8ecf5; box-shadow: none;
}
.hero-form-card input:focus, .hero-form-card select:focus, .hero-form-card .custom-select.open .cs-selected {
  background: rgba(0,0,0,0.7); border-color: rgba(220,185,100,0.5);
  box-shadow: 0 0 0 3px rgba(200,165,80,.1), 0 0 20px rgba(200,165,80,.06);
}
.hero-form-card input::placeholder { color: #7a7a8a; }
/* Animated gold glow border */
.hero-form-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 19px 19px 0 0;
  background: linear-gradient(135deg, rgba(220,185,100,0.4) 0%, transparent 40%, transparent 60%, rgba(200,165,80,0.3) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}
.hero-form-card:hover::before { opacity: 1; }
/* Gold glow behind card */
.hero-form-card::after {
  content: '';
  position: absolute; inset: -20px;
  border-radius: 30px;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,165,80,0.12) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}
.hero-form-label {
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.63rem; color: #ffffff;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px; font-weight: 500;
}
.hero-form-label::before { content:''; width:18px; height:1px; background:rgba(200,165,80,0.5); }

/* ── Start / Translate Button ──────────────── */
.btn-translate {
  width:100%; border:none; border-radius:12px;
  font-family:var(--sans); font-size:1.05rem; font-weight:700; letter-spacing:.02em;
  padding:17px 28px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px; margin-top:10px;
  background: linear-gradient(135deg, #c8a550, #a07830);
  color: #fff;
  box-shadow: 0 0 30px rgba(200,165,80,0.25), 0 4px 20px rgba(0,0,0,0.3);
  transition: all .3s;
  position: relative; overflow: hidden;
}
.btn-translate::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmerBtn 3s ease-in-out infinite;
}
.btn-translate:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 0 60px rgba(200,165,80,.4), 0 8px 30px rgba(0,0,0,.3); }
.btn-translate:active:not(:disabled) { transform:translateY(0); }
.btn-translate:disabled { opacity:.45; cursor:not-allowed; background:#8a7040; }

/* ── Video preview ──────────────────────────── */
.yt-preview {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(160deg, rgba(14,12,20,0.96) 0%, rgba(6,5,10,0.98) 100%);
  border: 1px solid rgba(200,165,80,0.2);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%);
  width: 90%; box-sizing: border-box;
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 20px;
  transition: max-height 0.45s ease-out, opacity 0.3s ease-out 0.05s, padding 0.35s ease-out;
  z-index: 1;
}
.yt-preview.visible {
  max-height: 80px; opacity: 1;
  padding: 14px 20px;
}
.yt-preview-thumb {
  width: 80px; height: 45px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(200,165,80,0.2);
}
.yt-preview-info { flex: 1; min-width: 0; }
.yt-preview-title {
  font-size: 0.82rem; font-weight: 600; color: #f1f5f9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.yt-preview-channel {
  font-family: var(--mono); font-size: 0.68rem; color: #94a3b8;
}
.yt-preview-ok {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── Mode selector (sipario dentro il box) ──── */
.mode-selector {
  background: linear-gradient(160deg, rgba(24,18,42,0.95) 0%, rgba(10,8,16,0.97) 100%);
  border-left: 1px solid rgba(200,165,80,0.25);
  border-right: 1px solid rgba(200,165,80,0.25);
  border-top: none; border-bottom: none;
  border-radius: 0;
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 12px; margin: 0 auto;
  width: 90%; box-sizing: border-box;
  transition: max-height 0.45s ease-out 0.1s, opacity 0.35s ease-out 0.15s, padding 0.4s ease-out 0.1s, margin 0.35s ease-out 0.1s;
}
.mode-selector.visible {
  max-height: 210px; opacity: 1;
  padding: 10px 12px; margin: 0 auto;
}
/* Grid 2 colonne — il 5° elemento (Study) occupa l'intera riga in basso */
.mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mode-option:nth-child(5) { grid-column: 1 / -1; }
.mode-option {
  min-width: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(200,165,80,0.05);
  border: 1px solid rgba(200,165,80,0.12);
  border-radius: 10px; cursor: pointer;
  transition: all 0.25s;
}
.mode-option:hover { background: rgba(200,165,80,0.1); border-color: rgba(200,165,80,0.25); }
.mode-option.active {
  background: rgba(200,165,80,0.15);
  border-color: rgba(200,165,80,0.4);
}
.mode-option input[type="radio"] { display: none; }
.mode-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(200,165,80,0.25);
  transition: all 0.2s;
}
.mode-option.active .mode-dot {
  background: #c8a550; border-color: #c8a550;
  box-shadow: 0 0 8px rgba(200,165,80,0.4);
}
.mode-icon { color: #94a3b8; flex-shrink: 0; transition: color 0.2s; }
.mode-option.active .mode-icon { color: #d4b96a; }
.mode-text {
  font-size: 0.74rem; color: #94a3b8; font-weight: 500; transition: color 0.2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.mode-option.active .mode-text { color: #d4b96a; }

/* ── Voice gender toggle (v2 style) ──────────── */
.form-row-inline {
  display: flex; gap: 12px; margin-top: 14px;
}
.voice-toggle {
  display: flex; gap: 3px;
  background: rgba(0,0,0,0.4); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06); padding: 3px;
  margin-top: 6px;
}
.voice-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 15px; border: none; border-radius: 8px;
  background: transparent; color: #94a3b8;
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.74rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s; white-space: nowrap;
}
.voice-btn.active {
  background: rgba(200,165,80,0.15); color: #d4b96a;
  box-shadow: 0 0 12px rgba(200,165,80,0.1);
}
.voice-btn:not(.active):hover { color: #cbd5e1; }
.voice-btn svg { flex-shrink: 0; }

/* ── How it works ───────────────────────────── */
.how-section {
  padding: 90px 24px 70px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.section-tag {
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #a07830; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.section-tag::before, .section-tag::after {
  content: ''; width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, #a07830);
}
.section-tag::after { background: linear-gradient(90deg, #a07830, transparent); }

.how-section h2 {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 2.2rem; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 12px; color: #1a1a2e;
}
.how-section h2 .grad {
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.how-sub { font-size: 0.95rem; color: #64648c; margin-bottom: 44px; }

/* ── Steps Flow (Circular design) ──────────── */
.steps-flow {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 960px; margin: 0 auto;
}
.step-circle {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; flex: 1; max-width: 260px;
}
.step-circle-ring {
  width: 145px; height: 145px; border-radius: 50%;
  border: 2px solid rgba(200,165,80,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(160deg, rgba(24,18,42,0.95), rgba(10,8,16,0.98));
  box-shadow:
    0 0 40px rgba(200,165,80,0.1),
    0 14px 35px rgba(0,0,0,0.45),
    0 6px 16px rgba(0,0,0,0.3),
    inset 0 0 30px rgba(200,165,80,0.04);
  transition: all 0.4s ease;
}
.step-circle-ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(200,165,80,0.12);
  animation: circleGlow 3s ease-in-out infinite;
}
.step-circle-ring::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(200,165,80,0.06);
}
.step-circle:hover .step-circle-ring {
  border-color: rgba(200,165,80,0.55);
  box-shadow:
    0 0 60px rgba(200,165,80,0.15),
    0 18px 45px rgba(0,0,0,0.5),
    0 0 100px rgba(200,165,80,0.06),
    inset 0 0 30px rgba(200,165,80,0.08);
  transform: scale(1.06);
}
.step-circle-inner {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.step-circle-inner svg { color: #c8a550; }
.step-circle-img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  opacity: 0.88;
  transition: opacity 0.4s, transform 0.4s;
}
.step-circle:hover .step-circle-img {
  opacity: 1;
  transform: scale(1.05);
}
.step-circle-num {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 1.1rem; font-weight: 800;
  color: #1a1a2e;
  margin-top: 16px; margin-bottom: 8px;
}
.step-circle h3 {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 1rem; font-weight: 700;
  color: #1a1a2e; margin-bottom: 6px;
}
.step-circle p {
  font-size: 0.82rem; color: #64648c; line-height: 1.5;
  max-width: 200px;
}

/* Connector arrows between circles */
.step-connector {
  display: flex; align-items: center; justify-content: center;
  width: 60px; flex-shrink: 0;
  margin-top: 60px; /* center with circle */
}
.step-connector svg { width: 60px; height: 24px; }

@keyframes circleGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* ── Languages ──────────────────────────────── */
.lang-section {
  padding: 30px 24px 70px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.lang-section h2 {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 2rem; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 8px; color: #1a1a2e;
}
.lang-section h2 .grad {
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lang-sub { font-size: 0.9rem; color: #64648c; margin-bottom: 30px; }
.lang-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 30px;
}
.lang-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: 'Inter', var(--sans), sans-serif; font-size: 0.8rem;
  color: #e8ecf5;
  transition: all 0.2s;
}
.lang-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-color: rgba(200,165,80,0.35);
}
.lang-chip img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; }
.lang-more {
  border-color: rgba(200,165,80,0.35); color: var(--accent);
  cursor: pointer;
}

/* ── Pricing ────────────────────────────────── */
.pricing-section {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px 70px;
  text-align: center;
}
.pricing-section h2 {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 2.2rem; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 8px; color: #1a1a2e;
}
.pricing-section h2 .grad {
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing-sub {
  font-size: 0.92rem; color: #64648c; margin-bottom: 36px;
}

/* Free row */
.pricing-free-row { margin-bottom: 18px; }
.pricing-free-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.pricing-free-left { text-align: left; }
.pricing-free-features { flex: 1; }
.pricing-free-cta { flex-shrink: 0; }

.p-card {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 28px 24px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-grid-4 .p-card {
  display: flex;
  flex-direction: column;
}
.pricing-grid-4 .p-card .p-smart-check { margin-top: auto; }
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}
.p-card.featured {
  border-color: rgba(200,165,80,0.45);
  border-top: 2px solid rgba(200,165,80,0.7);
  box-shadow: 0 2px 0 rgba(200,165,80,0.2), 0 8px 50px rgba(200,165,80,0.15), 0 24px 60px rgba(0,0,0,0.4);
}
.p-card.pro {
  border: 3px solid #c8a550;
  box-shadow:
    0 0 40px rgba(200,165,80,0.25),
    0 0 80px rgba(200,165,80,0.1),
    0 20px 50px rgba(0,0,0,0.35);
}
.p-card.pro:hover {
  box-shadow:
    0 0 40px rgba(200,165,80,0.2),
    0 0 80px rgba(200,165,80,0.1),
    0 24px 60px rgba(0,0,0,0.4);
}
.p-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px;
  background: linear-gradient(135deg, #c8a550, #a07830);
  color: #fff; box-shadow: 0 0 20px rgba(200,165,80,0.4);
  white-space: nowrap;
}
.p-plan {
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #94a3b8; margin-bottom: 6px;
}
.p-price {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 2rem; font-weight: 800;
  color: #fff; margin-bottom: 4px;
}
.p-price span { font-size: 0.85rem; color: #94a3b8; font-weight: 500; }
.p-desc {
  font-size: 0.82rem; color: #94a3b8; margin-bottom: 18px; line-height: 1.4;
}
.p-features {
  list-style: none; margin-bottom: 20px; flex: 1;
}
.p-features li {
  font-family: 'Inter', var(--sans), sans-serif; font-size: 0.82rem; color: #e8ecf5;
  padding: 5px 0; display: flex; align-items: center; gap: 8px;
}
.p-features li::before {
  content: '\2713'; color: #22c55e; font-weight: 700; font-size: 0.75rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34,197,94,0.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.p-features li.disabled { color: #94a3b8; opacity: 0.45; }
.p-features li.disabled::before { content: '\2014'; color: #94a3b8; background: rgba(107,122,153,0.1); }
.pricing-free-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 24px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .pricing-free-features-grid { grid-template-columns: 1fr; }
}
.p-features li.g-sep {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pricing-free-features-grid li.g-sep {
  border-top: 0; padding-top: 0; margin-top: 0;
}
.p-smart-check {
  margin: 16px 0 14px;
  padding: 12px 14px;
  background: rgba(200,165,80,0.06);
  border-left: 2px solid rgba(200,165,80,0.45);
  border-radius: 6px;
  font-family: 'Inter', var(--sans), sans-serif;
  font-size: 0.78rem; line-height: 1.45;
  color: #cfd3df;
}
.p-smart-check strong {
  color: #c8a550; font-weight: 700;
  display: block; margin-bottom: 3px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.p-btn {
  width: 100%; border: none; border-radius: 10px;
  font-family: 'Inter', var(--sans), sans-serif; font-size: 0.92rem; font-weight: 700;
  padding: 13px; cursor: pointer; transition: all 0.25s;
  text-align: center;
}
.p-btn-accent {
  background: linear-gradient(135deg, #c8a550, #a07830);
  color: #fff; box-shadow: 0 0 20px rgba(200,165,80,0.2);
}
.p-btn-accent:hover { box-shadow: 0 0 35px rgba(200,165,80,0.35); transform: translateY(-1px); }
.p-btn-outline {
  background: rgba(200,165,80,0.08); color: #c8a550;
  border: 1px solid rgba(200,165,80,0.25);
}
.p-btn-outline:hover { background: rgba(200,165,80,0.15); }

/* Grid */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 18px;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr); gap: 14px;
}

/* ── CTA Section ────────────────────────────── */
.cta-section {
  max-width: 820px; margin: 80px auto 0; padding: 0 24px 100px;
  text-align: center;
}
.cta-card {
  background:linear-gradient(160deg, rgba(28,18,45,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border:1px solid rgba(200,165,80,0.18); border-top: 1px solid rgba(200,165,80,0.45);
  border-radius: 20px; padding: 56px 40px;
  box-shadow: 0 2px 0 rgba(200,165,80,0.18), 0 8px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse 40% 40% at 50% 50%, rgba(200,165,80,0.05), transparent);
  animation: rotateSlow 20s linear infinite; pointer-events: none;
}
.cta-title {
  font-family: var(--sans); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; color: #c8a550; letter-spacing: -0.5px; margin-bottom: 12px;
}
.cta-sub { font-family: var(--sans); font-size: 0.95rem; color: #f0f0f0; margin-bottom: 28px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000; font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  padding: 13px 28px; border-radius: 10px; border: none; cursor: pointer;
  transition: opacity .2s; text-decoration: none;
}
.cta-btn:hover { opacity: 0.85; }

/* ── Download App Section ───────────────────── */
.download-section {
  max-width: 820px; margin: 80px auto 0; padding: 0 24px;
  text-align: center;
}
.download-card {
  background: linear-gradient(160deg, rgba(28,18,45,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.18);
  border-top: 1px solid rgba(200,165,80,0.4);
  border-radius: 20px; padding: 48px 40px;
  box-shadow: 0 2px 0 rgba(200,165,80,0.12), 0 8px 32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative; overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute; top: -60%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(200,165,80,0.07), transparent);
  pointer-events: none;
}
.download-title {
  font-family: var(--sans); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--text); letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.download-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.download-sub {
  font-family: var(--sans); font-size: 0.95rem; color: var(--muted);
  margin-bottom: 40px; line-height: 1.6;
}
.download-platforms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 560px; margin: 0 auto;
}
.download-platform {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.download-platform:hover {
  border-color: rgba(200,165,80,0.35);
  box-shadow: 0 0 24px rgba(200,165,80,0.1);
  transform: translateY(-3px);
}
.download-platform-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.download-platform-icon.android { background: rgba(164,198,57,0.12); }
.download-platform-icon.ios     { background: rgba(255,255,255,0.06); }
.download-platform-name {
  font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--text);
}
.download-steps {
  list-style: none; text-align: left; width: 100%;
}
.download-steps li {
  font-family: var(--sans); font-size: 0.78rem; color: var(--muted);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.download-steps li::before {
  content: attr(data-step);
  font-family: var(--mono); font-size: 0.65rem; font-weight: 700;
  color: var(--accent); background: rgba(200,165,80,0.1);
  border: 1px solid rgba(200,165,80,0.2);
  border-radius: 50%; width: 18px; height: 18px; min-width: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.download-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,165,80,0.1); border: 1px solid rgba(200,165,80,0.25);
  border-radius: 20px; padding: 4px 12px;
  font-family: var(--mono); font-size: 0.65rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}

/* ── Sound Waves emanating from central box ─── */
.sound-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.sw-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  border: 1.5px solid rgba(200,165,80,0.35);
  border-radius: 24px;
  opacity: 0;
  animation: swPulse 4s ease-out infinite;
}
.sw-ring-1 {
  width: calc(100% + 40px); height: calc(100% + 40px);
  animation-delay: 0s;
}
.sw-ring-2 {
  width: calc(100% + 40px); height: calc(100% + 40px);
  animation-delay: 0.8s;
}
.sw-ring-3 {
  width: calc(100% + 40px); height: calc(100% + 40px);
  animation-delay: 1.6s;
}
.sw-ring-4 {
  width: calc(100% + 40px); height: calc(100% + 40px);
  animation-delay: 2.4s;
}
.sw-ring-5 {
  width: calc(100% + 40px); height: calc(100% + 40px);
  animation-delay: 3.2s;
}

@keyframes swPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
    border-color: rgba(200,165,80,0.4);
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 0;
    border-color: rgba(200,165,80,0.05);
  }
}

/* ── Summary report card (legacy inline, nascosto) ── */
.summary-report-card { display: none !important; }

/* ── Speed benchmark strip (circular tiles) ─── */
.bench-section {
  padding: 20px 24px 90px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.bench-section .section-tag { color: #a07830; }
.bench-title {
  font-family: 'Sora', var(--sans), sans-serif; font-size: 2.2rem; font-weight: 800;
  letter-spacing: -1px; margin: 0 0 12px; color: #1a1a2e;
}
.bench-title .grad {
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.bench-sub {
  font-size: 0.95rem; color: #64648c; margin: 0 0 44px;
}
.bench-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 24px; max-width: 980px; margin: 0 auto;
  flex-wrap: wrap;
}
.bench-tile {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  flex: 1 1 0; min-width: 180px; max-width: 230px;
}
.bench-ring {
  width: 145px; height: 145px; border-radius: 50%;
  border: 2px solid rgba(200,165,80,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(160deg, rgba(24,18,42,0.95), rgba(10,8,16,0.98));
  box-shadow:
    0 0 40px rgba(200,165,80,0.1),
    0 14px 35px rgba(0,0,0,0.45),
    0 6px 16px rgba(0,0,0,0.3),
    inset 0 0 30px rgba(200,165,80,0.04);
  transition: all 0.4s ease;
}
.bench-ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(200,165,80,0.12);
  animation: circleGlow 3s ease-in-out infinite;
}
.bench-ring::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(200,165,80,0.06);
}
.bench-tile:hover .bench-ring {
  border-color: rgba(200,165,80,0.55);
  box-shadow:
    0 0 60px rgba(200,165,80,0.15),
    0 18px 45px rgba(0,0,0,0.5),
    0 0 100px rgba(200,165,80,0.06),
    inset 0 0 30px rgba(200,165,80,0.08);
  transform: scale(1.06);
}
.bench-ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.bench-img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  opacity: 0.92;
  transition: opacity 0.4s, transform 0.4s;
}
.bench-tile:hover .bench-img {
  opacity: 1;
  transform: scale(1.05);
}
.bench-time {
  font-family: 'Sora', var(--sans), sans-serif;
  font-size: 1.95rem; font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -1px;
  line-height: 1;
  margin-top: 18px; margin-bottom: 6px;
}
.bench-time span {
  font-size: 0.85rem; font-weight: 700;
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-left: 3px;
}
.bench-label {
  font-family: 'Sora', var(--sans), sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.bench-desc {
  font-size: 0.78rem; color: #64648c; line-height: 1.4;
  max-width: 190px;
}
@media (max-width: 900px) {
  .bench-grid { gap: 32px 20px; }
  .bench-tile { flex: 0 1 calc(50% - 20px); max-width: none; }
  .bench-title { font-size: 1.75rem; }
  .bench-ring { width: 130px; height: 130px; }
}
@media (max-width: 520px) {
  .bench-section { padding: 10px 16px 64px; }
  .bench-grid { gap: 28px 14px; }
  .bench-ring { width: 108px; height: 108px; }
  .bench-time { font-size: 1.55rem; margin-top: 14px; }
  .bench-label { font-size: 0.85rem; }
  .bench-desc { font-size: 0.7rem; }
}

/* ── CSP-safe hover rules (migrated from inline handlers) ── */
.navbar-center-links a:hover { color: #e8ecf5 !important; }
#paste-btn:hover { background: rgba(200,165,80,0.25) !important; }
.footer-bottom a[href^="mailto"]:hover { color: #a855f7 !important; }
#demo-modal-close-btn:hover { opacity: 1 !important; }
