/* landing-style.css - Design System per la Landing Page di Lancio 'Rivo' */

:root {
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Palette Dark Mode (Default) */
  --bg-dark: #070a13;
  --bg-body-gradient: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  
  --header-bg: rgba(7, 10, 19, 0.8);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-section-alt: rgba(15, 23, 42, 0.3);
  --bg-mockup: #0b1120;
  --bg-mockup-inner: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, #080d1a 100%);
  --bg-footer: #04060b;
  
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-glow: rgba(59, 130, 246, 0.35);
  
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-purple: #8b5cf6;
  
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(59, 130, 246, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-light);
  --shadow-glow: 0 0 35px var(--primary-glow);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  --color-scheme: dark;
}

/* ==========================================================================
   TEMA CHIARO (LIGHT MODE)
   ========================================================================== */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-body-gradient: 
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  
  --header-bg: rgba(255, 255, 255, 0.85);
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-section-alt: #f1f5f9;
  --bg-mockup: #ffffff;
  --bg-mockup-inner: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --bg-footer: #0f172a;
  
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.2);
  
  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.2);
  --accent-purple: #7c3aed;
  
  --text-white: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-glow: rgba(37, 99, 235, 0.3);
  
  --shadow-card: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 12px 40px rgba(37, 99, 235, 0.15);
  
  --color-scheme: light;
}

/* Reset Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  background-image: var(--bg-body-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 20%, #3b82f6 70%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #1e293b 20%, #2563eb 70%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER & NAVBAR --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 3.6vw, 54px);
  list-style: none;
}

.nav-link-item a {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: inline-block;
}

.nav-link-item a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-link-item a:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link-item.active a {
  color: var(--primary);
  font-weight: 600;
}

/* Visibility utilities */
.hide-desktop {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pulsanti Generici */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-light);
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.theme-toggle-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  transform: rotate(15deg);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
  text-align: center;
}

.hero-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  max-width: 960px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Preview Mockup Container */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

[data-theme="light"] .hero-mockup-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero-mockup-screen {
  background: var(--bg-mockup);
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="light"] .mockup-topbar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-tabs {
  display: flex;
  gap: 8px;
}

.mockup-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.mockup-tab-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--primary);
  font-weight: 600;
}

.mockup-view-content {
  padding: 30px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-mockup-inner);
}

.mockup-grid-portal {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  width: 100%;
}

.mockup-portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mockup-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mockup-table th {
  color: var(--text-muted);
  text-align: left;
  padding: 8px 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mockup-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.mockup-status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stile Feed Mobile Presenti Live (Proposta B) */
.mockup-mobile-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

[data-theme="light"] .mockup-feed-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.mockup-feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mockup-feed-info {
  flex: 1;
  min-width: 0;
}

.mockup-feed-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-feed-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-feed-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.mockup-feed-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: inherit;
}

.mockup-evac-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
}

.mockup-tablet-preview {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-tablet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mockup-action-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 24px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

[data-theme="light"] .mockup-action-tile {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

.mockup-action-tile:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* --- STATS & VALUE BAR --- */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-section-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

/* --- PILLARS SHOWCASE (PORTAL + TABLET) --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-tablet {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-portal {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.pillar-card h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.pillar-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
}

.pillar-features {
  list-style: none;
  margin-bottom: 30px;
}

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pillar-features li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- PILLAR MOCKUPS (TABLET & PORTAL) --- */
.pillar-mockup-wrapper {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pillar-render-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0f172a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .pillar-render-frame {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.pillar-card:hover .pillar-render-frame {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.pillar-render-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 764;
  object-fit: cover;
  display: block;
}

/* Tablet Kiosk Mockup */
.kiosk-device-frame {
  width: 100%;
  max-width: 440px;
  background: #0f172a;
  border: 7px solid #1e293b;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

[data-theme="light"] .kiosk-device-frame {
  background: #ffffff;
  border-color: #334155;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.device-camera-dot {
  width: 6px;
  height: 6px;
  background: #475569;
  border-radius: 50%;
  margin: 5px auto 2px;
}

.kiosk-screen-content {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 195px;
}

[data-theme="light"] .kiosk-screen-content {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.kiosk-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}

[data-theme="light"] .kiosk-screen-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.kiosk-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  font-size: 0.78rem;
}

.dot-live {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.kiosk-time {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.72rem;
}

.kiosk-body {
  text-align: center;
  padding: 4px 0;
}

.kiosk-welcome-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.kiosk-welcome-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.kiosk-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kiosk-btn-main {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.kiosk-btn-main i {
  width: 17px;
  height: 17px;
}

.kiosk-btn-sub {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

[data-theme="light"] .kiosk-btn-sub {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.kiosk-btn-sub i {
  width: 17px;
  height: 17px;
}

.kiosk-screen-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: auto;
}

.kiosk-screen-footer i {
  width: 13px;
  height: 13px;
  color: #10b981;
}

.kiosk-stand-base {
  width: 90px;
  height: 8px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .kiosk-stand-base {
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
}

/* Portal Desktop/Browser Mockup */
.portal-device-frame {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

[data-theme="light"] .portal-device-frame {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.portal-frame-bar {
  background: rgba(15, 23, 42, 0.85);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

[data-theme="light"] .portal-frame-bar {
  background: #f1f5f9;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-url-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 200px;
}

[data-theme="light"] .window-url-bar {
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.portal-screen-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 195px;
  background: rgba(15, 23, 42, 0.4);
}

[data-theme="light"] .portal-screen-content {
  background: #ffffff;
}

.portal-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-title-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-screen-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
}

.portal-live-pill {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pulse-green-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.portal-quick-evac {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.portal-quick-evac i {
  width: 12px;
  height: 12px;
}

.portal-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.portal-stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 5px;
  text-align: center;
}

[data-theme="light"] .portal-stat-pill {
  background: #f8fafc;
}

.portal-stat-pill .stat-num {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.portal-stat-pill .stat-lbl {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.portal-mini-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.72rem;
}

[data-theme="light"] .portal-mini-table {
  background: #ffffff;
}

.portal-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  padding: 5px 8px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .portal-table-row {
  border-bottom-color: #f1f5f9;
}

.portal-table-row.header-row {
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.62rem;
  text-transform: uppercase;
}

[data-theme="light"] .portal-table-row.header-row {
  background: #f8fafc;
}

.portal-table-row .row-name {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.portal-table-row .row-name small {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: normal;
}

.portal-table-row .row-ref {
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.badge-in-sede {
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 5px;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
}

.portal-stand-base {
  width: 140px;
  height: 6px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .portal-stand-base {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
}

.pillar-card:hover .kiosk-device-frame,
.pillar-card:hover .portal-device-frame {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

/* --- DETAILED FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* --- COMPARISON TABLE --- */
.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comp-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px;
  table-layout: fixed;
}

.comp-table th {
  padding: 22px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
  background: rgba(15, 23, 42, 0.95);
  vertical-align: middle;
}

[data-theme="light"] .comp-table th {
  background: #f1f5f9;
}

.comp-table th:nth-child(1) {
  width: 28%;
  color: var(--text-white);
}

.comp-table th:nth-child(2) {
  width: 36%;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  border-left: 2px solid rgba(59, 130, 246, 0.4);
  border-right: 2px solid rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .comp-table th:nth-child(2) {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.comp-table th:nth-child(3) {
  width: 36%;
  color: var(--text-muted);
  border-left: 1px solid var(--border-light);
}

.comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  vertical-align: middle;
}

.comp-table tbody tr:last-child td {
  border-bottom: none;
}

.comp-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .comp-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}

.comp-table td:nth-child(2) {
  background: rgba(59, 130, 246, 0.04);
  font-weight: 500;
  border-left: 2px solid rgba(59, 130, 246, 0.4);
  border-right: 2px solid rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .comp-table td:nth-child(2) {
  background: rgba(37, 99, 235, 0.04);
}

.comp-table td:nth-child(3) {
  border-left: 1px solid var(--border-subtle);
}

.comp-bad {
  color: #f87171;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}

.comp-bad i {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.comp-good {
  color: #34d399;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.comp-good i {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

[data-theme="light"] .comp-bad {
  color: #dc2626;
}

[data-theme="light"] .comp-good {
  color: #059669;
}

/* --- PRICING SECTION --- */
.pricing-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto 48px;
  gap: 20px;
}

.pricing-advantage-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.pricing-advantage-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.pricing-adv-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .pricing-adv-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.pricing-advantage-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-white);
}

.pricing-advantage-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 16px 48px -8px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 16px 40px -8px rgba(37, 99, 235, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.pricing-header-block {
  min-height: 90px;
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-plan-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  height: 60px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.price-amount.enterprise-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 8px;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-subtext {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 38px;
  line-height: 1.45;
}

.pricing-subtext strong {
  color: var(--text-white);
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin-bottom: 24px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.pricing-features-list li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
}

/* Extra Site Callout Box */
.pricing-expand-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

[data-theme="light"] .pricing-expand-toggle {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.pricing-expand-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--primary-light);
}

.expand-text-more, .expand-text-less {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.expand-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pricing-expand-toggle:hover .expand-icon-circle {
  transform: scale(1.08);
  background: var(--primary);
  color: #ffffff;
}

.pricing-expand-toggle .expand-text-less {
  display: none;
}

.pricing-expand-toggle.active .expand-text-more {
  display: none;
}

.pricing-expand-toggle.active .expand-text-less {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.pricing-expand-toggle.active .expand-icon-circle {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pricing-collapsible-content {
    display: none;
    animation: fadeIn 0.3s ease;
  }
  .pricing-collapsible-content.expanded {
    display: block;
    margin-top: 14px;
  }
  .pricing-collapsible-content .pricing-features-list {
    margin-bottom: 20px;
  }
}

.pricing-extra-site-box {
  background: rgba(59, 130, 246, 0.09);
  border: 1px dashed rgba(59, 130, 246, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: -10px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

[data-theme="light"] .pricing-extra-site-box {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.35);
}

.extra-site-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.extra-site-header i {
  width: 16px;
  height: 16px;
}

.pricing-extra-site-box p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.pricing-extra-site-box strong {
  color: var(--text-white);
}

[data-theme="light"] .pricing-extra-site-box strong {
  color: #0f172a;
}

/* --- TOUR INTERATTIVO & SIMULATORE LIVE (GRAFICA UFFICIALE PRODOTTO) --- */
.tour-section-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.tour-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.tour-header-phase-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tour-active-step-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-active-step-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.3s ease;
}

.tour-active-step-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tour-steps-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

[data-theme="light"] .tour-steps-nav {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}

.tour-step-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.tour-step-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.tour-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tour-panel.hidden {
  display: none !important;
}

.tour-expl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
}

.tour-expl-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.tour-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.num-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.num-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.num-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.tour-highlight-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.box-blue {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--primary-light);
}

.box-green {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent);
}

.box-red {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* Simulatore Screen Container */
.tour-screen-card {
  background: var(--bg-mockup);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

[data-theme="light"] .tour-screen-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.tour-screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.tour-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

.tour-form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tour-input, .tour-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

[data-theme="light"] .tour-input,
[data-theme="light"] .tour-select {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.tour-input:focus, .tour-select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.tour-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tour-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

.pulse-green {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.pulse-red {
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.tour-footer-cta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- FAQ SECTION --- */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.3s ease;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
.mockup-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid, .pricing-grid, .pricing-advantages-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-section-wrap {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .mockup-grid-portal {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tour-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hide-desktop {
    display: block !important;
  }
  .hide-mobile {
    display: none !important;
  }
  .site-header .container {
    padding: 0 16px;
  }
  .nav-container {
    height: 66px;
  }
  .brand-logo {
    font-size: 1.35rem;
    gap: 8px;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
  .nav-actions .btn-primary {
    padding: 7px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  /* Mockup Screen Mobile Refinements */
  .hero-mockup-screen {
    border-radius: var(--radius-md);
  }
  .mockup-topbar {
    padding: 10px 14px;
    gap: 8px;
  }
  .mockup-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mockup-tab-btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .mockup-view-content {
    padding: 16px 12px;
    min-height: auto;
  }
  .mockup-portal-card {
    padding: 16px 14px;
  }
  .mockup-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  /* Card-based Mobile Visitors Table */
  .mockup-table thead {
    display: none;
  }
  .mockup-table, .mockup-table tbody, .mockup-table tr, .mockup-table td {
    display: block;
    width: 100%;
  }
  .mockup-table tr {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 10px;
  }
  [data-theme="light"] .mockup-table tr {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  .mockup-table td {
    padding: 4px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
  }
  .mockup-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .mockup-table td:first-child {
    font-size: 0.98rem;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 6px;
  }
  .mockup-table td:first-child strong {
    color: var(--primary);
  }
  
  /* Kiosk Reception Tablet View */
  .mockup-tablet-preview {
    padding: 22px 14px;
  }
  .mockup-tablet-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mockup-action-tile {
    padding: 16px 14px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 14px;
  }
  .mockup-action-tile i {
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
  
  /* Tour Step Responsive */
  .tour-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .tour-steps-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .tour-step-btn {
    padding: 10px 6px;
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
  }
  .tour-screen-card {
    padding: 18px 14px;
  }
  .tour-screen-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tour-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 18px;
  }
  .tour-footer-cta .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .tour-steps-nav {
    grid-template-columns: 1fr;
  }
  .tour-step-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .site-header .container {
    padding: 0 10px;
  }
  .brand-logo {
    font-size: 1.25rem;
    gap: 6px;
  }
  .logo-icon {
    width: 30px;
    height: 30px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn-primary {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .theme-toggle-btn, .mobile-menu-toggle {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   COOKIE CONSENT & PRIVACY BANNER (GDPR COMPLIANT)
   ========================================================================== */

/* Banner Livello 1 (Fluttuante in basso a destra) */
.entro-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: calc(100% - 48px);
  max-width: 460px;
  z-index: 9999;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

[data-theme="light"] .entro-cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.entro-cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.entro-cookie-banner-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entro-cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.entro-cookie-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entro-cookie-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.entro-cookie-title-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.entro-cookie-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.entro-cookie-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

[data-theme="light"] .entro-cookie-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.entro-cookie-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.entro-cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.entro-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.entro-cookie-btn {
  font-size: 0.82rem !important;
  padding: 8px 10px !important;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Modal Livello 2 (Personalizzazione Granulare) */
.entro-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.entro-cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.entro-cookie-modal {
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

[data-theme="light"] .entro-cookie-modal {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}

.entro-cookie-modal-overlay.visible .entro-cookie-modal {
  transform: scale(1);
}

body.entro-modal-open {
  overflow: hidden;
}

.entro-cookie-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.entro-cookie-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.entro-modal-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.entro-cookie-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entro-cookie-modal-intro {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.entro-cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entro-cookie-category-card {
  padding: 18px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

[data-theme="light"] .entro-cookie-category-card {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.07);
}

.entro-cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.entro-cookie-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.entro-cookie-cat-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.entro-cookie-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-required {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-optional {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.entro-cookie-category-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Toggle Switch Puro CSS */
.entro-switch-label {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.entro-switch-label.disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.entro-switch-label input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.entro-switch-slider {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

[data-theme="light"] .entro-switch-slider {
  background-color: rgba(0, 0, 0, 0.15);
}

.entro-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.entro-switch-label input:checked + .entro-switch-slider {
  background-color: var(--primary);
}

.entro-switch-label input:checked + .entro-switch-slider:before {
  transform: translateX(20px);
}

/* Modal Footer */
.entro-cookie-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.entro-cookie-modal-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Floating Trigger (Revoca/Modifica scelta) */
.entro-cookie-floating-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

[data-theme="light"] .entro-cookie-floating-trigger {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.entro-cookie-floating-trigger.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.entro-cookie-floating-trigger:hover {
  color: var(--primary-light);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px var(--primary-glow);
  transform: translateY(-2px);
}

/* Responsive per Cookie Banner e Modal */
@media (max-width: 640px) {
  .entro-cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  .entro-cookie-actions {
    grid-template-columns: 1fr;
  }

  .entro-cookie-modal {
    max-height: 94vh;
    padding: 0;
  }

  .entro-cookie-modal-header,
  .entro-cookie-modal-body,
  .entro-cookie-modal-footer {
    padding: 16px 20px;
  }

  .entro-cookie-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .entro-cookie-modal-footer-right {
    flex-direction: column;
    width: 100%;
  }

  .entro-cookie-modal-footer-right .btn,
  .entro-cookie-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }

  .entro-cookie-floating-trigger {
    bottom: 16px;
    left: 16px;
    padding: 7px 12px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   CAROSELLO TOUR MOBILE (SCORRIMENTO ORIZZONTALE SWIPE NATURALE)
   ========================================================================== */
.tour-mobile-wrapper {
  width: 100%;
  margin: 0 auto;
}

.tour-mobile-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 20px 4px;
  margin: 0 -12px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none; /* Firefox */
}

.tour-mobile-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.tour-mobile-step-card {
  flex: 0 0 85%;
  max-width: 340px;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .tour-mobile-step-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.tour-mobile-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tour-mobile-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.tour-mobile-step-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.tour-mobile-step-content {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tour-mobile-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.tour-mobile-step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.35;
  color: var(--text-primary);
}

.tour-mobile-step-content p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.tour-mobile-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.pill-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill-red {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tour-mobile-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

[data-theme="light"] .swipe-hint {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}

.tour-mobile-cta {
  margin-top: 8px;
}


