/* ═══════════════════════════════════════════════
   SOLOFLOW.TOOLS — Global Stylesheet
   Brand: Blue #2454FF + Orange #FF6B2B
   ═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --blue:          #2454FF;
  --blue-dark:     #0B15A3;
  --blue-light:    #4A6FFF;
  --blue-glow:     rgba(36, 84, 255, 0.18);
  --blue-subtle:   rgba(36, 84, 255, 0.10);

  --orange:        #FF6B2B;
  --orange-light:  #FF8F5A;
  --orange-glow:   rgba(255, 107, 43, 0.16);
  --orange-subtle: rgba(255, 107, 43, 0.09);

  --bg:            #05060E;
  --bg-2:          #090B18;
  --bg-3:          #0D1020;
  --surface:       #0F1221;
  --surface-2:     #141728;
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(255, 255, 255, 0.14);

  --text-primary:  #EEF2FF;
  --text-secondary:#8892B0;
  --text-muted:    #4A5470;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  22px;

  --shadow-blue:   0 0 40px rgba(36, 84, 255, 0.20);
  --shadow-orange: 0 0 40px rgba(255, 107, 43, 0.20);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.40);

  --transition: 0.18s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── UTILS ── */
.container       { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.hide-mobile     { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Syne', 'Arial Black', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(28px, 5vw, 40px); }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

.text-gradient {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-lg  { padding: 14px 28px; font-size: 15px; }
.btn-sm  { padding: 9px 20px;  font-size: 14px; }
.btn-xs  { padding: 7px 16px;  font-size: 13px; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(36,84,255,0.35);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 0 36px rgba(36,84,255,0.50);
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,107,43,0.30);
}
.btn-orange:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  box-shadow: 0 0 32px rgba(255,107,43,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-hover);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 14, 0.80);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
}
@media (min-width: 768px) { .nav-burger { display: none; } }
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--bg-2);
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-blue {
  width: 600px; height: 400px;
  background: var(--blue-glow);
  top: -80px; left: 50%;
  transform: translateX(-60%);
}
.hero-glow-orange {
  width: 400px; height: 300px;
  background: var(--orange-glow);
  top: 20px; right: -100px;
}
.hero > .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(36,84,255,0.10);
  border: 1px solid rgba(36,84,255,0.30);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-heading {
  font-size: clamp(40px, 8vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.stat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.stat-dot.blue   { background: var(--blue-light);  box-shadow: 0 0 6px var(--blue); }
.stat-dot.orange { background: var(--orange);       box-shadow: 0 0 6px var(--orange); }
.stat-sep {
  width: 1px; height: 16px;
  background: var(--border);
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section     { padding: 88px 0; }
.section-alt { background: var(--bg-2); padding: 88px 0; }
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 { color: var(--text-primary); }

/* ══════════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* ── Skeleton ── */
.product-card.skeleton {
  height: 160px;
  background: linear-gradient(90deg,
    var(--surface) 0%,
    var(--surface-2) 50%,
    var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-lg);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Product Card ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(36,84,255,0.30);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}
.product-card:hover::before { opacity: 1; }

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-card h3 {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}
.badge-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(36,84,255,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(36,84,255,0.25);
}
.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-rating {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-rating::before {
  content: '★★★★★';
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1px;
}
.product-price {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-get {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  transition: all var(--transition);
  box-shadow: 0 0 16px rgba(36,84,255,0.25);
}
.product-get:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 0 24px rgba(36,84,255,0.45);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 32px 20px;
}
.step-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--surface);
  border: 1px solid rgba(36,84,255,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}
.step-icon svg { width: 24px; height: 24px; }
.step-icon-orange {
  background: rgba(255,107,43,0.08);
  border-color: rgba(255,107,43,0.25);
  color: var(--orange);
}
.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.step-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.step-connector {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  opacity: 0.35;
  flex-shrink: 0;
  margin-top: -32px;
}
@media (max-width: 700px) { .step-connector { display: none; } }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 4px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] { border-color: rgba(36,84,255,0.30); }

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--blue-light);
}
.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 52px 0 36px;
  text-align: center;
}
.footer-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(36,84,255,0.4); }

/* ══════════════════════════════════════════════
   SELECTION
══════════════════════════════════════════════ */
::selection { background: rgba(36,84,255,0.35); color: white; }

/* Price strikethrough */
.price-old {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: line-through;
  opacity: 0.8;
}

/* ── Price group fix ── */
.product-card-bottom {
  justify-content: space-between;
}
.price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-right: auto;
}
.product-price {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.price-old {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: line-through;
  opacity: 0.85;
}

/* ── Price group (Sessione 21 fix) ── */
.price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}
.price-old {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: line-through;
  opacity: 0.85;
}

/* Rimuovi stelle rating */
.product-rating { display: none; }
