﻿/* ==========================================================================
   BATDENFLOX STUDIO - CORE STYLESHEET
   Niche: News Studio for Video Blogging | Language: Italian (IT)
   ========================================================================== */

:root {
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-light: #E0F2FE;
  --accent: #2563EB;
  --live-red: #EF4444;
  --live-red-dark: #DC2626;
  --dark: #0F172A;
  --dark-surface: #1E293B;
  --text-main: #334155;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-dark: #334155;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-max: 1200px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- BUTTONS & PILLS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
  gap: 0.6rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1D4ED8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-light);
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEE2E2;
  color: var(--live-red-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--live-red);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--dark);
}

.hero-media-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  color: var(--white);
  display: flex;
  justify-content: space-around;
}

.stat-box {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #38BDF8;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

/* --- SECTION GENERAL --- */
.section {
  padding: 5rem 0;
}

.section-bg-alt {
  background-color: var(--bg-light);
}

.section-bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-bg-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-bg-dark .section-subtitle {
  color: #94A3B8;
}

/* --- BENEFITS / VALUE PROP GRID (6+ items) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.benefit-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

/* --- SERVICES & SPECS (4-6 Rich Items) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-img-wrap {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.service-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-features-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-features-list li svg {
  color: #10B981;
  flex-shrink: 0;
}

/* --- HOW IT WORKS (4+ Steps) --- */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 900;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --- ABOUT & IDENTITY SECTION --- */
.about-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.about-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.about-box p {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.cross-border-notice {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 500;
  margin-top: 1.5rem;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: #F59E0B;
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.author-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ ACCORDION --- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.6rem 1.4rem;
}

/* --- LEAD GENERATION FORM SECTION --- */
.lead-form-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--white);
  padding: 5.5rem 0;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.form-info-col h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.form-info-col p {
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.form-perks-list {
  list-style: none;
}

.form-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: #E2E8F0;
  font-size: 0.95rem;
}

.form-perks-list svg {
  color: #38BDF8;
  flex-shrink: 0;
  margin-top: 3px;
}

.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--dark);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.lead-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.lead-form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--dark);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
}

.form-status-box {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status-box.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  display: block;
}

.form-status-box.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
  display: block;
}

.form-privacy-reassurance {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* --- FOOTER --- */
.site-footer {
  background: #090E1A;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer-col p {
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #38BDF8;
}

.operator-legal-block {
  background: #131D31;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid #1E293B;
  font-size: 0.82rem;
  line-height: 1.6;
}

.operator-legal-block strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.82rem;
}

.back-to-top {
  color: #38BDF8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 99999;
  display: none;
  font-size: 0.88rem;
}

.cookie-banner h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.cookie-banner p {
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.cookie-banner a {
  color: #38BDF8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-cookie-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-cookie-decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

/* --- LEGAL PAGES CONTENT LAYOUT --- */
.legal-page-header {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.legal-page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.legal-content-section {
  padding: 4rem 0;
}

.legal-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem;
  line-height: 1.8;
  color: var(--text-main);
}

.legal-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 2rem 0 0.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.6rem;
}

.legal-box p, .legal-box ul {
  margin-bottom: 1.2rem;
}

.legal-box ul {
  padding-left: 1.8rem;
}

.legal-box li {
  margin-bottom: 0.5rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-box, .legal-box {
    padding: 1.8rem;
  }
}
