/* =========================
RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html { scroll-behavior: smooth; }
 
body {
  font-family: 'Roboto', sans-serif;
  color: #111;
  background:#EDEDED;
  line-height: 1.6;
}
 
 
 
/* =========================
HELPERS
========================= */
.center { text-align: center; }
 
.section {
  padding: 100px 6vw;
}
 
/* =========================
BUTTONS
========================= */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
 
.btn-primary {
  background: #0071e3;
  color: #fff;
}
 
.btn-primary:hover {
  background: #005bb5;
  transform: translateY(-2px);
}
 
.btn-secondary {
  background: #f2f2f2;
  color: #111;
}
 
.btn-secondary:hover {
  background: #e5e5e5;
}
 
/* =========================
HEADER & MENU
========================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 85px;
  padding: 0 60px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
 
.logo img { height: 50px; }
 
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
 
nav a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}
 
nav .cta-header {
  background: #0071e3;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
}
 
.hamburger { display: none; }
 
@media (max-width: 900px) {
  nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    display: none;
  }
 
  nav.active { display: flex; }
 
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
 
  .hamburger span {
    width: 24px;
    height: 2px;
    background: #111;
  }
}
 
/* =========================
HERO VIDEO
========================= */
.hero {
  position: relative;
  height: 65vh;
  overflow: hidden;
}
 
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 85vh;
    overflow: visible;
  }
 
  .hero video {
    position: absolute;
    height: 100%;
  }
 
  .hero-content {
    height: auto;
    min-height: 85vh;
    padding-top: 140px;
    padding-bottom: 10px;
    justify-content: center;
  }
 
  .hero-content h1 {
    font-size: 2.2rem;
	  line-height: 3.3rem;
  }
 
  .hero-content p {
    font-size: 1.2rem;
  }
}
 
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
 
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
 
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 16px;
  color: #fff;
}
 
.hero-content p {
  color: #ddd;
  margin-bottom: 32px;
  font-size: 2rem;
}
 
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
 
/* =========================
INTRO SPLIT
========================= */
.split {
  display: flex;
  gap: 60px;
  align-items: center;
}
 
.split > div {
  flex: 1;
}
 
.split img {
  width: 100%;
  border-radius: 18px;
}
 
@media (max-width: 900px) {
  .split { flex-direction: column; }
}
 
/* =========================
FEATURES
========================= */
.features-section {
  background: #0200D4;
  color: #fff;
}
 
.features-intro {
  color: #fff;
  margin-top: 12px;
}
 
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
 
.feature-card {
  background: #00089B;
  padding: 25px;
  border-radius: 18px;
}
 
.feature-icon {
  font-size: 30px;
  margin-bottom: 15px;
}
 
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
}
 
/* =========================
VIDEOS
========================= */
.video-large {
  margin-top: 50px;
}
 
.video-large iframe {
  width: 100%;
  height: 550px;
  border-radius: 18px;
}
 
@media (max-width: 768px) {
  .video-large iframe { height: 320px; }
}
 
/* =========================
FAQ
========================= */
.faq-item {
  background: #f2f2f2;
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  cursor: pointer;
}
 
.faq-question {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
 
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
 
.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}
 
/* =========================
SOFTWARE + VIDEO TUTORIAL
========================= */
.software-section,
.video-tutorial-section {
  padding: 60px 6vw;
}
 
.software-wrapper,
.video-tutorial-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
 
.software-wrapper {
  display: flex;
  gap: 24px;
}
 
.software-text {
  flex: 1;
  background: #f2f2f2;
  padding: 32px;
  border-radius: 18px;
  text-align: left;
}
 
.software-iframe { flex: 2; }
 
.software-iframe iframe {
  width: 100%;
  height: 500px;
  border-radius: 18px;
}
 
.video-tutorial-grid {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
 
.video-thumb iframe {
  width: 100%;
  height: 240px;
  border-radius: 16px;
}
 
@media (max-width: 900px) {
  .software-wrapper,
  .video-tutorial-grid {
    flex-direction: column;
  }
}
 
/* =========================
   VIDEO TUTORIAL SECTION
========================= */
 
.video-tutorial {
  padding: 80px 0;
}
 
.video-tutorial-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
 
.video-tutorial-header h2 {
  margin-bottom: 15px;
}
 
.video-tutorial-header p {
  color: #666;
  font-size: 1.05rem;
}
 
 
 
/* =========================
WHY
========================= */
.why-btn {
  margin-top: 32px;
}
 
/* =========================
CONTACT
========================= */
.request {
  background: #B1B1B1;
  color: #fff;
}
 
.request form {
  max-width: 500px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}
 
.request input,
.request textarea {
  padding: 14px;
  border-radius: 10px;
  border: none;
}
 
/* =========================
FOOTER
========================= */
footer {
  background:  #0A096E;
  padding: 40px 6vw 10px;
  text-align: center;
	font-size: 12px;
	
}
 
footer h6 {
  background:  #0A096E;
  text-align: center;
	font-size: 18px;
	padding: 0
}
 
.footer-products {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 10px;
}
 
.footer-products div {
  max-width: 400px;
	color: #fff;
    transition: transform 0.3s ease;
}
 
.footer-products img {
  width: 100%;
  border-radius: 14px;
	background-color: #0C0B5F;
}
 
.footer-products a {
  display: block;
    text-decoration: none;
    color: inherit;
}
.footer-products a:hover {
 
transform: translateY(-6px) scale(1.05);
}
 
/* bottom bar */
.footer-bottom {
  background: #0A096E;
  color: #ccc;
  padding: 20px;
  font-size: 0.9rem;
	text-align: center;
	  text-decoration: none;
}
 
.footer-bottom a {
  color: #ccc;
  margin-left: 12px;
  text-decoration: underline;
}
 
@media (max-width: 900px) {
  .footer-products { flex-direction: column; }
}
 
/* ============================
   Footer extra – 3 columns
============================ */
 
.footer-extra {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  gap: 100px;              /* spazio reale tra i div */
}
 
.footer-extra-col {
  flex: 1;
  text-align: left;
}
 
.footer-extra-col h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
	color: beige;
}
 
.footer-extra-col p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
	color: aliceblue;
}
 
.footer-extra-col a {
  color: #F7E600;
  margin-left: 12px;
  text-decoration: underline;
}
 
/* Responsive */
@media (max-width: 768px) {
  .footer-extra {
    flex-direction: column;
    gap: 40px;
    padding: 50px 24px;
  }
}
 
/* =========================
CAMPO FORM INVISIBILE PER SPAM
========================= */
 
.hp-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}
 
/* ============================
   Video Placeholder (16:9)
============================ */
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;     /* chiave per eliminare barre nere */
  border-radius: 12px;
  border: medium #000000;
  overflow: hidden;
  background-color: #fff;
}
 
/* immagine preview */
.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* riempie perfettamente */
  display: block;
}
 
/* iframe caricato al click */
.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
 
/* Video grid per tutorial */
.video-tutorial-grid {
  display: flex;
  justify-content: center;
  gap: 20px;            /* spazio tra i video */
  flex-wrap: wrap;       /* responsive: vanno sotto su mobile */
}
 
.video-tutorial-grid .video-thumb {
  flex: 1 1 300px;      /* min 300px, si adatta */
  max-width: 480px;     /* larghezza massima */
}
 
 
/* ============================
   Video size control
============================ */
 
/* Video grandi (sezione VIRGO in Production) */
.video-large {
  width: 85%;          /* riduzione del 15% */
  max-width: 1100px;   /* evita che diventi enorme su schermi grandi */
  margin: 0 auto 60px; /* centrato */
}
 
/* Video tutorial (miniature) */
.video-thumb {
  width: 85%;
  max-width: 480px;
  margin: 0 auto;
}
 
/* Mobile: torna full width */
@media (max-width: 768px) {
  .video-large,
  .video-thumb {
    width: 100%;
  }
}
	
/* =========================
H2 – DESKTOP SIZE
========================= */
@media (min-width: 901px) {
  body h2 {
    font-size: 2.5rem !important;
	  line-height: 2.4rem;
	  
  }
}



/* padding-bottom della sezione video ridotto */
#video.section {
  padding-bottom: 30px;
}

/* margin-bottom dell'ultimo video ridotto */
#video .video-large {
  margin-bottom: 10px;
}
	