/* ==========================================================================
   NEW ELECTRON G. by Oliviero Grasseni - Modern Design System & Stylesheet
   Typography: Syne (Headings) + Plus Jakarta Sans (Body) + JetBrains Mono (Tech)
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #070a13;
  --bg-surface: #0d1424;
  --bg-card: #121c33;
  --bg-card-hover: #172442;
  --bg-elevated: #1c2b4d;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Brand Accents */
  --accent-red: #e63946;
  --accent-red-hover: #c90025;
  --accent-red-glow: rgba(230, 57, 70, 0.25);
  
  --accent-blue: #2563eb;
  --accent-cyan: #38bdf8;
  --accent-blue-glow: rgba(37, 99, 235, 0.25);
  
  --accent-gold: #f59e0b;
  --accent-green: #10b981;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(56, 189, 248, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-red: 0 0 30px rgba(230, 57, 70, 0.3);
  --shadow-glow-blue: 0 0 30px rgba(37, 99, 235, 0.3);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1240px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-light);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Section Header Styles */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
}

.section-badge.badge-security {
  color: var(--accent-red);
  background: rgba(230, 57, 70, 0.1);
  border-color: rgba(230, 57, 70, 0.25);
}

.section-badge.badge-drone {
  color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.section-badge.badge-contact {
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4d5e 0%, var(--accent-red) 100%);
  box-shadow: 0 6px 22px rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius-lg);
}

/* Top Announcement Bar */
.top-bar {
  background-color: #04060c;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-accent {
  background: rgba(230, 57, 70, 0.15);
  color: #ff6b77;
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.badge-drone {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-contact a:hover {
  color: var(--accent-cyan);
}

.top-contact .location {
  color: var(--text-muted);
}

.top-privacy-link {
  color: var(--accent-cyan);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-portal-link {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.top-portal-link:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-1px);
}

.top-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Language Selector Dropdown */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
  z-index: 1050;
}

.lang-current-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-current-btn:hover,
.lang-selector-dropdown.open .lang-current-btn {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.lang-chevron {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.lang-selector-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(13, 20, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 0.4rem;
  min-width: 165px;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 2000;
}

.lang-selector-dropdown.open .lang-menu {
  display: flex;
}

.lang-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-option .flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.lang-option.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Pulsante Richiedi Consulenza compatto a destra della lingua */
.top-cta-btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  gap: 0.35rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.35);
  margin-left: 0.5rem;
  margin-inline-start: 0.5rem;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
  color: #fff;
}

.top-cta-btn:hover {
  background: linear-gradient(135deg, #ff4d5e 0%, var(--accent-red) 100%);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.5);
  transform: translateY(-1px);
  color: #fff;
}

.top-cta-btn .top-cta-icon {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.top-cta-btn:hover .top-cta-icon {
  transform: translateX(2px);
}

[dir="rtl"] .top-cta-btn:hover .top-cta-icon {
  transform: translateX(-2px);
}

/* Header & Sticky Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(7, 10, 19, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-image-wrapper {
  height: 48px;
  background: #ffffff;
  padding: 3px 8px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-image-wrapper {
  transform: scale(1.03);
}

.site-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo-wrap {
  height: 58px;
  padding: 4px 10px;
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2.25rem;
  margin-inline-start: 2.25rem;
}

/* Pulsante Richiedi Consulenza compatto (ridotto del 50%) */
.nav-cta-desktop {
  font-size: 0.8rem;
  padding: 0.38rem 0.85rem;
  gap: 0.4rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3);
}

.nav-cta-desktop .nav-arrow-icon {
  font-size: 0.75rem;
}

.nav-cta-mobile {
  display: none;
}

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

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(230, 57, 70, 0.12);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.12);
  bottom: -150px;
  right: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

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

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hero Feature Card */
.visual-card {
  background: rgba(13, 20, 36, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan), var(--accent-blue));
}

.card-header-tech {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.tech-tag {
  color: var(--text-muted);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-green);
  font-weight: 600;
}

.live-indicator .dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.hero-pillar-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pillar-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.security-glow {
  background: rgba(230, 57, 70, 0.15);
  color: #ff6b77;
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.drone-glow {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.pillar-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.pillar-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pillar-divider {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.card-footer-tech {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-spec {
  display: flex;
  flex-direction: column;
}

.tech-spec span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
}

.tech-spec small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* About / Oliviero Grasseni Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.profile-header-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.98) 0%, rgba(18, 28, 48, 0.95) 100%);
  border-bottom: 1px solid var(--border-medium);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.profile-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.profile-avatar-seal {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(230, 57, 70, 0.25) 100%);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.profile-header-banner .experience-badge {
  position: static;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 57, 70, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.exp-years {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ff6b77;
  line-height: 1;
}

.exp-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: var(--font-mono);
}

.profile-details {
  padding: 1.5rem;
}

.profile-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-weight: 500;
}

.profile-cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cert-pill {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
}

.countries-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
}

.countries-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.countries-box p {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.country-tag {
  font-size: 0.775rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(230, 57, 70, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.lead-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-red);
  padding-left: 1.25rem;
}

.story-paragraphs p {
  margin-bottom: 1.25rem;
  font-size: 1.025rem;
  line-height: 1.75;
}

.story-paragraphs strong {
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.val-item {
  display: flex;
  gap: 0.85rem;
}

.val-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.val-item h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.val-item p {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Services Sections Common */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.security-bg {
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
}

.drone-bg {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* 5-Step Analytical Methodology */
.methodology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
}

.methodology-header {
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.method-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.method-title-box h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.steps-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.flow-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.flow-step.highlight-step {
  background: rgba(230, 57, 70, 0.08);
  border-color: rgba(230, 57, 70, 0.35);
}

.step-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  border: 1px solid var(--border-medium);
}

.highlight-step .step-circle {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

.flow-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.flow-step p {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Services Grids */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-red);
  transition: height var(--transition-normal);
}

.service-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(230, 57, 70, 0.12);
  color: #ff6b77;
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-category {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.service-checklist li {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-checklist li i {
  color: var(--accent-red);
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Tabs Filtering for Drones */
.tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tabs-nav {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem;
  border-radius: var(--border-radius-full);
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-light);
}

.tab-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* Drone Cards Grid */
.drone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.drone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.drone-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.drone-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.drone-type-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-icon-round {
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.drone-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.drone-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.drone-spec-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-val {
  color: var(--text-light);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.card-bullet-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-bullet-list li {
  font-size: 0.825rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.1rem;
}

.card-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  line-height: 1;
}

.drone-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Process Timeline Section */
.process-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.timeline-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.timeline-item p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Certifications & EASA Section */
.certifications-section {
  padding: 6rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.cert-box {
  background: linear-gradient(135deg, #0d162b 0%, #15223f 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cert-box::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.15);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.cert-mini-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.cert-title {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
}

.cert-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 850px;
}

.easa-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.easa-card {
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
}

.easa-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.easa-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-blue);
  color: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.easa-card-top h4 {
  font-size: 1.05rem;
}

.easa-card p {
  font-size: 0.875rem;
  line-height: 1.5;
}

.assurance-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.assure-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.assure-item i {
  color: var(--accent-green);
}

/* Video Section */
.video-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container-box {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.video-container-box:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2);
}

.main-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-hover-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(7, 10, 19, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--accent-cyan);
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 10;
}

.video-container-box.playing .video-hover-badge {
  opacity: 0;
  transform: translateY(-6px);
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.video-caption i {
  color: var(--accent-red);
}

/* Sottotitoli WebVTT eleganti */
video::cue {
  background: rgba(7, 10, 19, 0.88);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.925rem;
  border-radius: var(--border-radius-sm);
  padding: 0.25rem 0.6rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

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

.faq-chevron {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  background: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-title {
  font-size: 2.15rem;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.c-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.c-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.c-point h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.c-point a, .c-point p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.4;
}

.c-point a:hover {
  color: var(--accent-cyan);
}

.c-hint {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.trust-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.trust-box i {
  font-size: 1.5rem;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.trust-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.trust-box p {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Contact Form */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(7, 10, 19, 0.9);
}

.form-group select option {
  background-color: var(--bg-card);
  color: var(--text-light);
}

.error-msg {
  font-size: 0.75rem;
  color: #ff6b77;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--accent-red);
}

.form-group.has-error .error-msg {
  display: block;
}

/* Checkbox Privacy */
.form-privacy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-sm);
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-cyan);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

.checkmark::after {
  content: "✓";
  color: white;
  font-size: 0.75rem;
  display: none;
  font-weight: bold;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.privacy-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.privacy-link, .cookie-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-feedback.error {
  display: block;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #ff6b77;
}

/* Footer */
.site-footer {
  background-color: #03050a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand-col .footer-brand {
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.f-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links li a i {
  font-size: 0.65rem;
  color: var(--accent-red);
}

.footer-links li a:hover {
  color: var(--text-light);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-contact-list li i {
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.footer-contact-list li a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
}

.footer-legal a:hover {
  color: var(--accent-cyan);
}

.legal-sep {
  color: var(--border-medium);
}

/* ==========================================================================
   COOKIE BANNER (Floating Bottom Bar)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(7, 10, 19, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
  padding: 1.5rem 0;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.cookie-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.cookie-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-light);
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   MODALS (Privacy, Cookie Policy, Cookie Settings)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card-lg {
  max-width: 820px;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.modal-header h3 {
  font-size: 1.2rem;
  color: var(--text-light);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.65;
}

.modal-lead-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.2);
}

.modal-footer-split {
  justify-content: space-between;
  align-items: center;
}

.footer-btn-group {
  display: flex;
  gap: 0.75rem;
}

/* Legal Text Flow (Privacy & Cookie Policy) */
.legal-text-flow h4 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.35rem;
}

.legal-text-flow h4:first-of-type {
  margin-top: 0;
}

.legal-text-flow p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legal-text-flow ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-text-flow li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.legal-text-flow strong {
  color: var(--text-light);
}

.legal-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.legal-notice-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Legal Table */
.legal-table-responsive {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-subtle);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.legal-table th, .legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table th {
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-heading);
  color: var(--text-light);
  font-weight: 600;
}

.legal-table td {
  color: var(--text-secondary);
}

.tag-no-consent {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
}

.tag-consent {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
}

/* Cookie Preferences Categories */
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-category-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
}

.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.cat-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cat-title-box h4 {
  font-size: 1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-required {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-sm);
}

.badge-optional {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-sm);
}

.cat-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* iOS Style Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
  border-radius: 26px;
  border: 1px solid var(--border-medium);
}

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

input:checked + .slider {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.switch.disabled {
  opacity: 0.7;
}

.switch.disabled .slider {
  background-color: rgba(16, 185, 129, 0.35);
  border-color: var(--accent-green);
  cursor: not-allowed;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--accent-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--accent-red-hover);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    max-width: 400px;
    margin: 0 auto 1.5rem;
  }
  .countries-box {
    max-width: 400px;
    margin: 0 auto;
  }
  .steps-flow {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .news-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Ottimizzazione Header e Top Bar per Smartphone e Tablet */
  .top-bar {
    padding: 0.35rem 0;
  }
  .top-bar-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .top-badges {
    display: none;
  }
  .top-contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }
  .top-link-phone, .top-link-email {
    font-size: 0.775rem;
  }
  .top-link-location, .top-privacy-link {
    display: none;
  }
  .top-actions-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.35rem;
  }
  .top-portal-link {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }
  .lang-current-btn {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }
  .top-cta-btn {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    margin-left: 0;
    margin-inline-start: 0;
  }

  /* Header & Mobile Nav Menu */
  .site-header {
    height: auto;
  }
  .nav-container {
    height: 4rem;
    padding: 0 1rem;
  }
  .brand-logo {
    gap: 0.6rem;
    max-width: calc(100% - 50px);
  }
  .logo-image-wrapper {
    height: 38px;
    padding: 2px 6px;
    flex-shrink: 0;
  }
  .site-logo-img {
    height: 32px;
  }
  .brand-title {
    font-size: 1.05rem;
    line-height: 1.1;
    white-space: nowrap;
  }
  .brand-sub {
    font-size: 0.625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: rgba(7, 10, 19, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2rem 1.5rem 3rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-medium);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .main-nav.open .nav-links {
    transform: translateY(0);
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 1rem;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-medium);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .menu-toggle .bar {
    width: 20px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--transition-fast);
    border-radius: 2px;
  }
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .easa-cards-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .cert-box {
    padding: 2rem 1.5rem;
  }
  .story-card {
    padding: 1.75rem;
  }
  .modal-footer-split {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .footer-btn-group {
    flex-direction: column;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
  .cookie-banner-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .drone-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-wrapper {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   RTL (Right-to-Left) Support for Hebrew & Arabic
   ========================================================================== */
[dir="rtl"] {
  font-family: 'Rubik', var(--font-body);
  text-align: right;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .lead-quote {
  border-left: none;
  border-right: 3px solid var(--accent-red);
  padding-left: 0;
  padding-right: 1.25rem;
}

[dir="rtl"] .service-card::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .card-bullet-list li {
  padding-left: 0;
  padding-right: 1.1rem;
}

[dir="rtl"] .card-bullet-list li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .flow-arrow i,
[dir="rtl"] .footer-links li a i,
[dir="rtl"] .nav-arrow-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .timeline-num {
  right: auto;
  left: 1.25rem;
}

[dir="rtl"] .experience-badge {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .checkmark::after {
  transform: scaleX(-1);
}

[dir="rtl"] .slider:before {
  left: auto;
  right: 3px;
}

[dir="rtl"] input:checked + .slider:before {
  transform: translateX(-22px);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 2rem;
}

/* Simulator Cinema Player Responsiveness */
.sim-chapter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.sim-chapter-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

@media (max-width: 992px) {
  .sim-stage-grid {
    grid-template-columns: 1fr !important;
  }
}



/* Network Sentinel Custom Styles & Badges */
.nav-badge-new {
  font-size: 0.65rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-left: 4px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  display: inline-block;
  vertical-align: middle;
}

.profile-logo-wrap {
  width: 100%;
  max-width: 290px;
  height: 160px;
  border-radius: var(--border-radius-md);
  background: rgba(7, 10, 19, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 12px 18px;
}

.profile-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
