/* ==========================================================================
   SITO PRONTO — PREMIUM BLACK/ORANGE AGENCY THEME (v6)
   Palette: Dark Charcoal/Black + Orange Accent + White
   ========================================================================== */

:root {
  --bg-body: #050505;
  --bg-section: #0A0A0A;
  --bg-card: #0F0F0F;
  --bg-elevated: #141414;
  --bg-border: #1E1E1E;
  --bg-border-light: #2A2A2A;

  /* Main Orange Accent */
  --accent: #F97316;
  --accent-dark: #EA580C;
  --accent-soft: rgba(249, 115, 22, 0.08);
  --accent-glow: rgba(249, 115, 22, 0.25);
  --accent-glow-strong: rgba(249, 115, 22, 0.45);

  --white: #FFFFFF;
  --gray-100: #F4F4F5;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;

  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe5a;
  
  --red: #EF4444;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
  --radius: 12px;
  --radius-lg: 16px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--gray-400);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: none; white-space: nowrap;
}
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: 14px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-body);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
}
.btn-whatsapp:hover {
  background: #1EBE55;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  background: transparent; color: var(--white); border: 1px solid var(--bg-border-light);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-soft);
}
.glow-btn {
  box-shadow: 0 0 20px var(--accent-glow);
}
.glow-btn:hover {
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

/* ====== 1. TOP BAR ====== */
.top-bar {
  background: var(--bg-card); border-bottom: 1px solid var(--bg-border);
  padding: 8px 0; font-size: 13px; color: var(--gray-400); text-align: center;
}
.top-bar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

/* ====== 2. HEADER ====== */
.header {
  position: sticky; top: 0; width: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--bg-border); z-index: 100;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; min-height: 70px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 64px; width: auto; object-fit: contain; } 
.nav-desktop { display: none; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--gray-400); padding: 4px 0; position: relative;
}
.nav-link:hover { color: var(--white); }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); border-radius: 2px; transition: var(--transition-fast);
}
.nav-link:hover::after { width: 100%; }
.btn-header-cta { 
  display: none; padding: 10px 22px; font-size: 13px; border-radius: 10px; 
  background: var(--accent); color: var(--bg-body); font-weight: 700;
  transition: var(--transition);
}
.btn-header-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.mobile-menu-btn {
  font-size: 24px; color: var(--white); display: flex; align-items: center;
  justify-content: center; width: 44px; height: 44px; border-radius: 10px;
}
.mobile-menu-btn:hover { background: var(--bg-elevated); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .btn-header-cta { display: inline-flex; }
  .mobile-menu-btn { display: none; }
}
@media (max-width: 1023px) {
  .header-inner { position: relative; justify-content: space-between; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}

.mobile-nav {
  position: fixed; top: 0; left: 0; width: 100%; height: 0;
  background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(20px);
  overflow: hidden; z-index: 99;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { height: 100vh; }
.mobile-nav-inner {
  padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav-link {
  font-size: 22px; font-weight: 700; color: var(--white); padding: 14px 0;
  border-bottom: 1px solid var(--bg-border);
}
.mobile-nav-link:hover { color: var(--accent); }
.mobile-cta { margin-top: 24px; justify-content: center; width: 100%; }

/* ====== 3. HERO ====== */
.hero {
  position: relative; padding: 40px 0 80px; overflow: hidden; text-align: left;
}
@media (min-width: 992px) {
  .hero { padding: 50px 0 120px; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
}
.hero-glow {
  position: absolute; top: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600;
  color: var(--white); margin-bottom: 24px;
}
.hero-badge i { color: #10B981; } /* Green check */
.hero-title {
  font-size: 40px; font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.5px;
}
.hero-highlight {
  color: var(--accent); white-space: nowrap;
}
@media (min-width: 480px) { .hero-title { font-size: 46px; } }
@media (min-width: 768px) { .hero-title { font-size: 56px; } }
@media (min-width: 992px) { .hero-title { font-size: 64px; } }
.hero-subtitle {
  font-size: 17px; color: var(--gray-400); margin-bottom: 32px; line-height: 1.6; max-width: 600px;
}
.hero-ctas {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 16px;
}
@media (min-width: 480px) { .hero-ctas { flex-direction: row; align-items: center; } }
.hero-trust {
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; margin-top: 16px;
}
@media (min-width: 480px) { .hero-trust { flex-direction: row; gap: 20px; margin-top: 0; } }
.trust-item {
  display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gray-400);
}
.trust-item i { color: var(--accent); }

/* Hero Mockups */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; margin-top: 40px; }
@media (min-width: 992px) { .hero-visual { margin-top: 0; justify-content: flex-end; } }
.mockup-wrap { position: relative; width: 100%; max-width: 520px; height: 360px; }
@media (min-width: 480px) { .mockup-wrap { height: 400px; } }

/* Floating Badges */
.floating-badge {
  position: absolute; z-index: 10; background: var(--white); color: #000;
  padding: 10px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 10px; animation: float-badge 5s ease-in-out infinite;
}
.badge-left { bottom: 20%; left: -30px; animation-delay: 0.5s; }
.badge-right { top: 30%; right: -20px; animation-delay: 1.5s; }
.badge-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.badge-icon { 
  width: 36px; height: 36px; border-radius: 50%; background: rgba(16, 185, 129, 0.1); 
  color: #10B981; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.badge-text { text-align: left; }
.badge-text strong { display: block; font-size: 14px; font-weight: 800; line-height: 1; margin-bottom: 2px; }
.badge-text span { font-size: 11px; color: #666; font-weight: 500; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 480px) {
  .floating-badge { transform: scale(0.85); padding: 8px 10px; }
  .badge-left { left: 0px; bottom: 10%; }
  .badge-right { right: -10px; top: 15%; }
}

.laptop-frame {
  position: absolute; top: 0; left: 0; width: 82%; z-index: 2;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.laptop-screen {
  background: #121212; border: 8px solid #111; border-bottom: 0;
  border-top-left-radius: 12px; border-top-right-radius: 12px;
  aspect-ratio: 16/10; overflow: hidden;
}
.laptop-base {
  height: 8px; background: linear-gradient(to bottom, #333, #111);
  border-bottom-left-radius: 6px; border-bottom-right-radius: 6px;
}
.mock-site {
  width: 100%; height: 100%; background: #0A0A0A; font-family: var(--font);
  color: #FFF; overflow: hidden; display: flex; flex-direction: column;
}
.mock-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px; background: #111; border-bottom: 1px solid #222;
}
.mock-logo { font-size: 7px; font-weight: 900; letter-spacing: -0.2px; }
.mock-links { display: flex; gap: 8px; font-size: 4.5px; font-weight: 500; color: #888; }
.mock-btn-sm {
  background: var(--accent); color: #000; padding: 2.5px 7px; border-radius: 3px; font-size: 4px; font-weight: 800; letter-spacing: 0.5px;
}
.mock-hero {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 14px;
  background: radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid #1A1A1A; flex: 1;
}
.mock-hero-content { width: 55%; text-align: left; }
.mock-tag {
  font-size: 4px; font-weight: 800; letter-spacing: 0.5px; color: var(--accent); display: block; margin-bottom: 3px;
}
.mock-title { font-size: 9px; font-weight: 900; line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.2px; }
.mock-subtitle { font-size: 5px; color: #888; margin-bottom: 6px; }
.mock-cta-group { display: flex; gap: 4px; }
.mock-cta {
  display: inline-block; background: var(--accent); color: #000; padding: 3px 6px;
  border-radius: 2px; font-size: 4px; font-weight: 800;
}
.mock-cta-outline {
  display: inline-block; background: transparent; color: #FFF; border: 1px solid #333;
  padding: 2px 5px; border-radius: 2px; font-size: 4px; font-weight: 800;
}
.mock-hero-image { width: 38%; height: 38px; position: relative; }
.mock-img-placeholder {
  width: 100%; height: 100%; background: linear-gradient(135deg, #222, #111);
  border-radius: 4px; border: 1px solid #333; position: relative; overflow: hidden;
}
.mock-img-placeholder::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
}
.mock-features { display: flex; gap: 6px; padding: 10px 14px; background: #080808; }
.mock-f-card {
  flex: 1; background: #111; border: 1px solid #1A1A1A; border-radius: 3px; padding: 6px;
}
.mock-f-icon { width: 8px; height: 8px; background: rgba(249, 115, 22, 0.2); border-radius: 2px; margin-bottom: 4px; }
.mock-f-line { width: 100%; height: 2.5px; background: #333; border-radius: 1px; margin-bottom: 2px; }
.mock-f-line.short { width: 60%; background: #222; }

.phone-frame {
  position: absolute; bottom: 0; right: 0; width: 28%; z-index: 3;
  border-radius: 16px; overflow: hidden; border: 4px solid #111;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7); animation: phone-float 4s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-screen {
  aspect-ratio: 9/16; background: #111; overflow: hidden;
}
.mock-site-mobile { width: 100%; height: 100%; background: #0A0A0A; font-family: var(--font); color: #fff; display: flex; flex-direction: column; }
.mock-mob-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px; background: #111; border-bottom: 1px solid #222;
}
.mock-mob-logo { font-size: 6px; font-weight: 900; letter-spacing: -0.2px; }
.mock-mob-hero {
  padding: 10px; text-align: left; background: radial-gradient(circle at 80% 0%, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid #1A1A1A;
}
.mock-mob-hero .mock-title { font-size: 10px; font-weight: 900; line-height: 1.1; margin-bottom: 4px; }
.mock-mob-hero .mock-subtitle { font-size: 5px; color: #888; margin-bottom: 8px; }
.mock-mob-img {
  width: 100%; height: 35px; background: linear-gradient(135deg, #222, #111);
  border-radius: 4px; border: 1px solid #333; margin-bottom: 8px;
}
.mock-mob-cta {
  display: inline-flex; align-items: center; gap: 3px; background: var(--whatsapp); color: #fff;
  padding: 3.5px 8px; border-radius: 3px; font-size: 5px; font-weight: 800; width: 100%; justify-content: center;
}
.mock-mob-grid { display: flex; gap: 4px; padding: 8px 10px; }
.mock-mob-card { flex: 1; height: 25px; background: #111; border: 1px solid #1A1A1A; border-radius: 3px; }

.floating-stat, .floating-msg {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1px solid var(--bg-border);
  border-radius: 12px; padding: 10px 14px; z-index: 4; text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); font-size: 11px;
  animation: card-float 5s ease-in-out infinite;
}
.floating-stat { top: 20px; right: 10%; }
.floating-msg { bottom: 30px; left: -5%; animation-delay: -2.5s; }
.floating-stat i { color: var(--accent); font-size: 16px; }
.floating-msg i { color: var(--whatsapp); font-size: 16px; }
.floating-stat strong, .floating-msg strong { color: var(--white); display: block; font-size: 13px; }
.floating-stat span, .floating-msg span { color: var(--gray-500); font-size: 10px; }
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 480px) { .floating-stat, .floating-msg { display: none; } }

/* ====== SHARED SECTION STYLES ====== */
.section { padding: 80px 0; border-top: 1px solid var(--bg-border); background: var(--bg-body); }
.section-dark { background: var(--bg-section); }
@media (min-width: 768px) { .section { padding: 100px 0; } }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; line-height: 1.2; }
@media (min-width: 768px) { .section-title { font-size: 40px; } }
.section-desc { font-size: 17px; color: var(--gray-400); margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ====== PROBLEMA ====== */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px;
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(5, 1fr); } }
.problem-card {
  background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: var(--transition);
}
.problem-card:hover { border-color: rgba(239, 68, 68, 0.4); }
.problem-icon {
  width: 44px; height: 44px; margin: 0 auto 12px; background: rgba(239, 68, 68, 0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--red);
}
.problem-card p { font-size: 13px; color: var(--gray-300); font-weight: 500; line-height: 1.4; }
.solution-box {
  background: var(--accent-soft); border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-lg); padding: 28px 32px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.solution-box i { font-size: 24px; color: var(--accent); }
.solution-box p { font-size: 16px; color: var(--gray-300); }
.solution-box strong { color: var(--accent); }


/* ====== SETTORI ====== */
.sectors-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-card {
  background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center; transition: var(--transition);
}
.sector-card:hover {
  border-color: rgba(249, 115, 22, 0.4); box-shadow: 0 0 40px var(--accent-glow); transform: translateY(-4px);
}
.sector-icon {
  width: 60px; height: 60px; margin: 0 auto 20px; background: var(--accent-soft);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--accent); transition: var(--transition);
}
.sector-card:hover .sector-icon { background: var(--accent); color: var(--bg-body); box-shadow: 0 0 20px var(--accent-glow); }
.category-name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.category-desc { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* ====== DEMO GALLERY ====== */
.demo-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px;
}
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--bg-border); color: var(--gray-400);
  padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: rgba(249,115,22,0.4); color: var(--white); }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

.template-gallery {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 992px) { .template-gallery { grid-template-columns: 1fr 1fr; gap: 32px; } }

.template-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.template-card:hover { border-color: rgba(249, 115, 22, 0.4); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

.template-visual {
  height: 280px; position: relative; background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid #111;
}
.tv-nav {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 24px;
}
.tv-logo { font-size: 14px; font-weight: 900; color: #fff; letter-spacing: 1px; }
.tv-btn { background: #fff; color: #000; font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 6px; text-transform: uppercase; }

.tv-content { padding: 24px; }
.tv-tag { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: #fff; margin-bottom: 8px; display: block; text-transform: uppercase; }
.tv-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; max-width: 80%; }

.template-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.template-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--bg-border); padding-bottom: 12px; }
.meta-tag { background: rgba(255,255,255,0.05); color: var(--gray-300); font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px; }
.meta-icon { font-size: 12px; font-weight: 600; color: var(--accent); }

.template-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.template-desc { font-size: 14px; color: var(--gray-400); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.template-link { 
  align-self: center; display: inline-flex; justify-content: center; align-items: center; gap: 10px; 
  padding: 12px 32px; border-radius: 30px; 
  font-size: 14px; font-weight: 700; color: var(--white); 
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none; transition: var(--transition); 
  margin-top: auto; 
}
.template-link i { color: var(--accent); transition: transform 0.3s ease; }
.template-link:hover { border-color: var(--accent); color: var(--white); box-shadow: 0 0 20px rgba(249,115,22,0.2); }
.template-link:hover i { transform: translateX(5px); }


/* ====== COSA INCLUDE ====== */
.includes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 640px) { .includes-grid { grid-template-columns: repeat(3, 1fr); } }
.include-card {
  background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; transition: var(--transition);
}
.include-card:hover { border-color: rgba(249, 115, 22, 0.4); transform: translateY(-2px); }
.include-icon {
  width: 44px; height: 44px; margin: 0 auto 12px; background: var(--accent-soft);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
}
.include-card h4 { font-size: 14px; font-weight: 700; color: var(--white); }


/* ====== COME FUNZIONA ====== */
.timeline {
  max-width: 600px; margin: 0 auto; position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--bg-border));
}
.timeline-step {
  display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; position: relative;
}
.timeline-step:last-child { margin-bottom: 0; }
.step-number {
  width: 36px; height: 36px; background: var(--accent); color: var(--bg-body);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; flex-shrink: 0;
  position: absolute; left: -40px;
  box-shadow: 0 0 20px var(--accent-glow);
}
.step-content h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.step-content p { font-size: 15px; color: var(--gray-500); }


/* ====== VANTAGGI ====== */
.benefits-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition);
  display: flex; align-items: flex-start; gap: 16px;
}
.benefit-card:hover { border-color: rgba(249, 115, 22, 0.4); transform: translateY(-2px); }
.benefit-icon {
  width: 44px; height: 44px; background: var(--accent-soft); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); flex-shrink: 0;
}
.benefit-text h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.benefit-text p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* ====== TESTIMONIANZE ====== */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(249, 115, 22, 0.3); }
.testimonial-stars { margin-bottom: 16px; color: #F59E0B; font-size: 14px; display: flex; gap: 2px; }
.testimonial-card > p {
  font-size: 15px; color: var(--gray-300); line-height: 1.6; margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; background: var(--bg-elevated); color: var(--white);
  border: 1px solid var(--bg-border-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.testimonial-author strong { color: var(--white); font-size: 14px; display: block; }
.testimonial-author span { color: var(--gray-500); font-size: 12px; }


/* ====== FAQ ====== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--bg-border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: rgba(249, 115, 22, 0.3); }
.faq-item.active { border-color: rgba(249, 115, 22, 0.4); }
.faq-header {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--white);
  background: var(--bg-card); cursor: pointer; text-align: left;
}
.faq-header i {
  color: var(--accent); font-size: 12px; transition: transform 0.3s ease;
}
.faq-item.active .faq-header i { transform: rotate(180deg); }
.faq-body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-body p {
  padding: 0 22px 18px; font-size: 14px; color: var(--gray-400); line-height: 1.7;
}

/* ====== PRICING ====== */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1100px; margin: 0 auto 48px;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: 16px; padding: 40px 24px; display: flex; flex-direction: column;
  position: relative; transition: var(--transition-fast); text-align: left;
}
.pricing-card:hover { transform: translateY(-5px); border-color: rgba(249,115,22,0.3); }
.pricing-card-popular {
  background: linear-gradient(180deg, #111, #0a0a0a);
  border: 1px solid var(--accent); box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000; font-size: 13px; font-weight: 800;
  padding: 4px 16px; border-radius: 20px; letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-header { margin-bottom: 32px; border-bottom: 1px solid var(--bg-border); padding-bottom: 24px; }
.pricing-header h3 { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: 1px; }
.price { font-size: 36px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.pricing-subtitle { font-size: 14px; color: var(--gray-400); line-height: 1.5; min-height: 42px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--gray-300); margin-bottom: 16px; line-height: 1.4;
}
.pricing-features li i { color: var(--accent); font-size: 14px; margin-top: 3px; }
.pricing-note {
  font-size: 13px; color: var(--gray-500); font-style: italic; margin-bottom: 24px; text-align: center;
}
.pricing-cta { width: 100%; justify-content: center; }

.pricing-disclaimer {
  max-width: 700px; margin: 0 auto 40px; text-align: center; color: var(--gray-400); font-size: 14px; line-height: 1.6;
}
.pricing-disclaimer .small-text { font-size: 12px; color: var(--gray-500); margin-top: 8px; }

.maintenance-box {
  max-width: 600px; margin: 0 auto; background: rgba(249, 115, 22, 0.05);
  border: 1px dashed rgba(249, 115, 22, 0.3); border-radius: 12px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center;
}
@media (min-width: 640px) {
  .maintenance-box { flex-direction: row; text-align: left; justify-content: space-between; }
}
.maintenance-content h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.maintenance-price { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.maintenance-content p { font-size: 14px; color: var(--gray-400); line-height: 1.5; }

/* ====== CTA SECTION ====== */
.cta-section {
  position: relative; padding: 120px 0; text-align: center; overflow: hidden;
  background: var(--bg-body); border-top: 1px solid var(--bg-border);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: 36px; font-weight: 900; color: var(--white); margin-bottom: 16px; letter-spacing: -1px;
}
@media (min-width: 768px) { .cta-title { font-size: 48px; } }
.cta-subtitle {
  font-size: 18px; color: var(--gray-400); max-width: 600px; margin: 0 auto 40px; line-height: 1.6;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-section); border-top: 1px solid var(--bg-border); padding-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 52px; width: auto; object-fit: contain; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--gray-400); transition: var(--transition-fast); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--bg-border); padding: 24px 0; font-size: 13px;
  color: var(--gray-600); text-align: center; background: var(--bg-body);
}

/* ====== FLOATING WA ====== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
  background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--white); z-index: 90;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6); }

/* Strict Mobile Fixes */
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-title { font-size: 36px; }
  .wa-float { width: 50px; height: 50px; font-size: 26px; bottom: 16px; right: 16px; }
  .cta-section { padding: 80px 0; }
  .cta-title { font-size: 30px; }
  .logo-img { height: 52px; } 
}
@media (max-width: 390px) {
  .hero-title { font-size: 32px; }
  .btn-xl { padding: 16px 32px; font-size: 16px; width: 100%; }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
