@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design System & Custom Properties --- */
:root {
  color-scheme: dark;
  /* Colors */
  --bg-main: #090d16;
  --bg-surface: #121826;
  --bg-surface-glass: rgba(18, 24, 38, 0.75);
  --primary: #02b813;
  --primary-rgb: 2, 184, 19;
  --primary-hover: #029a10;
  --primary-glow: rgba(var(--primary-rgb), 0.15);
  --accent: #54fd64;
  --accent-rgb: 84, 253, 100;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #090d16;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #02b813;
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --success: #02b813;
  --success-bg: rgba(var(--primary-rgb), 0.1);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 90px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2 span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

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

body:not(.scrolled) header .logo {
  opacity: 0;
  transform: scale(0.65) translateY(-12px);
  pointer-events: none;
}

header .logo {
  display: flex;
  align-items: center;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
  }

  .nav-link {
    font-weight: 500;
    color: var(--text-muted);
  }

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Call Button Header */
.btn-call-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary-glow);
}

.btn-call-header:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  list-style: none;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  overflow: hidden;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  font-weight: 400;
}

.lang-item a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.lang-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Sidebar Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 999;
  padding: calc(var(--header-height) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  right: 0;
}

.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

.mobile-link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 576px) {
  .nav-right {
    gap: 0.75rem;
  }
  
  .btn-call-header {
    padding: 0.5rem 0.6rem;
  }
  
  .btn-call-header .call-text {
    display: none;
  }
  
  .logo img {
    height: 50px;
  }

  .booking-form-panel {
    padding: 2rem 1.25rem;
  }

  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: radial-gradient(circle at 50% 30%, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%);
  overflow: hidden;
}

/* Splash Landing Style */
.hero-splash {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

/* Soundwaves Background behind the logo */
.soundwaves-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.wave-ring {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(84, 253, 100, 0.35);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* When active, trigger animation */
.wave-ring.animating {
  animation: wave-ripple-out 3.5s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* Set stagger delays for the rings */
.wave-ring.wave-1.animating { animation-delay: 0s; }
.wave-ring.wave-2.animating { animation-delay: 1.1s; }
.wave-ring.wave-3.animating { animation-delay: 2.2s; }

@keyframes wave-ripple-out {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
    border-color: rgba(84, 253, 100, 0.5);
    box-shadow: 0 0 10px rgba(84, 253, 100, 0.1);
  }
  50% {
    border-color: rgba(2, 184, 19, 0.3);
    box-shadow: 0 0 25px rgba(2, 184, 19, 0.2);
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
    border-color: rgba(2, 184, 19, 0);
  }
}

/* Prompt overlay at the bottom of the splash screen */
.splash-prompt {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Fade out prompt when scrolled */
body.scrolled .splash-prompt {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
}

.btn-play-audio {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(84, 253, 100, 0.3);
  color: var(--accent);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-play-audio:hover {
  background: var(--primary-glow);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(84, 253, 100, 0.3);
}

.btn-play-audio:active {
  transform: translateY(1px);
}

.btn-play-audio .audio-icon {
  font-size: 1.1rem;
}

.splash-prompt .scroll-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  animation: bounce-arrow 2s infinite;
  cursor: pointer;
  user-select: none;
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Hero Details (the presentation text below the fold) */
.hero-details {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 6rem 0;
  box-sizing: border-box;
}

.hero-details .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.hero-details .hero-badge {
  align-self: center;
}

.hero-details .hero-desc {
  margin-left: auto;
  margin-right: auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-glow);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  animation: pulse-border 3s infinite;
}

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

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.03);
}

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

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(var(--primary-rgb), 0.15);
  pointer-events: none;
}

/* --- Features & Services Section --- */
.specs-section {
  background-color: var(--bg-surface);
}

.card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-glow);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tech Specs Table Section */
.tech-specs {
  margin-top: 5rem;
}

.tech-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .tech-specs-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.specs-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 1.2rem 1rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

/* --- How it Works Section --- */
.steps-container {
  margin-top: 2rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: rgba(18, 24, 38, 0.5);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--primary-rgb), 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Booking & Contact Section --- */
.booking-section {
  scroll-margin-top: 100px;
}

.contact-info-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-glow);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-text p, .contact-text a {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-text a:hover {
  color: var(--primary);
}

.map-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 200px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms styling */
.booking-form-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

@media (min-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input, .form-field select, .form-field textarea {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  width: 100%;
  transition: var(--transition);
}

/* Color scheme support for date & time fields in dark mode */
.form-field input[type="date"],
.form-field input[type="time"] {
  color-scheme: dark;
}

/* Custom styling for calendar & clock icons to match design theme */
::-webkit-calendar-picker-indicator {
  filter: invert(1) !important;
  opacity: 0.8 !important;
  cursor: pointer;
}

::-webkit-calendar-picker-indicator:hover {
  opacity: 1 !important;
}


.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Privacy checkbox */
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.form-privacy input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  cursor: pointer;
  accent-color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-privacy label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-privacy a {
  color: var(--primary);
  text-decoration: underline;
}

/* Quote Summary Box */
.quote-summary-box {
  background-color: rgba(var(--primary-rgb), 0.03);
  border: 1px dashed rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-top: 0.5rem;
  display: none;
}

.quote-summary-box.active {
  display: block;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.quote-row:last-child {
  margin-bottom: 0;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: var(--text-main);
}

.quote-value {
  color: var(--accent);
}

/* Honeypot Spam Protection */
.hpt-field {
  display: none;
}

/* User-valid & User-invalid classes for inline validation */
.form-field input:user-invalid, 
.form-field select:user-invalid, 
.form-field textarea:user-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

/* Validation Feedback text */
.field-error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.2rem;
}

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

/* --- FAQ Section --- */
.faq-grid {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

details {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

details[open] {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

summary {
  list-style: none;
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: var(--primary);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Footer --- */
footer {
  background-color: #06090f;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-contact a {
  color: var(--primary);
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* --- Success / Error Modal Alert --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.modal-status-icon.success {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.modal-status-icon.error {
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.25);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Privacy Page Specifics */
.privacy-container {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.privacy-container h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.privacy-container h2::after {
  display: none;
}

.privacy-container p, .privacy-container li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.privacy-container ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.privacy-container li {
  margin-bottom: 0.5rem;
}

/* --- Pricing Section --- */
.pricing-section {
  position: relative;
  background-color: var(--bg-main);
  overflow: hidden;
  scroll-margin-top: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-badge {
  display: inline-block;
  align-self: center;
  background-color: var(--primary-glow);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-min-spend {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.pricing-note {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-note p {
  margin-bottom: 0.5rem;
}

.pricing-note p:last-child {
  margin-bottom: 0;
}

/* --- View Transitions API (Page Navigation Animations) --- */
@view-transition {
  navigation: auto; /* Enables native cross-document view transitions */
}

/* Header and Logo: remain static and morph seamlessly */
header {
  view-transition-name: site-header;
}

.logo img {
  view-transition-name: site-header-logo;
}

/* Page body: cross-fade with a modern slide up */
::view-transition-old(root) {
  animation: 120ms cubic-bezier(0.4, 0, 1, 1) both fade-out;
}

::view-transition-new(root) {
  animation: 250ms cubic-bezier(0, 0, 0.2, 1) both fade-in-up;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 3D Logo Construction & Parallax --- */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.15s ease-out;
  transform: translateY(calc(var(--scroll-y, 0px) * -0.4)) 
             scale(calc(1 - clamp(0, var(--scroll-y, 0px) / 250, 0.75)));
  opacity: calc(1 - clamp(0, var(--scroll-y, 0px) / 180, 1));
  transform-origin: center center;
}

body.scrolled .hero-visual {
  pointer-events: none;
}

.logo-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.logo-3d-wrapper.heartbeat {
  animation: logo-heartbeat 2.5s infinite ease-in-out;
}

.logo-3d-wrapper.heartbeat:hover {
  animation: none;
}

@keyframes logo-heartbeat {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(84, 253, 100, 0.35)); }
  8% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(84, 253, 100, 0.7)); }
  15% { transform: scale(1.01); filter: drop-shadow(0 0 22px rgba(84, 253, 100, 0.45)); }
  23% { transform: scale(1.08); filter: drop-shadow(0 0 45px rgba(84, 253, 100, 0.95)); }
  38% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(84, 253, 100, 0.35)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(84, 253, 100, 0.35)); }
}

.logo-3d-svg {
  width: 100%;
  height: auto;
  transform-style: preserve-3d;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* 3D Depth Layering & Transition Timing */
.logo-3d-svg #path2,
.logo-3d-svg #rect1,
.logo-3d-svg #text6-1,
.logo-3d-svg #path1,
.logo-3d-svg #path7 {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

/* Base states and animations */
.logo-3d-svg #path2 {
  transform: translateZ(20px) scale(0.6);
  opacity: 0;
  transform-origin: center;
  animation: show-shadow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.logo-3d-svg #rect1 {
  transform: translateZ(40px);
  fill-opacity: 0 !important;
  stroke: #02b813 !important;
  stroke-width: 3.5px !important;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  animation: draw-border 2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             fill-border 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

.logo-3d-svg #text6-1 {
  transform: translateZ(70px);
  fill-opacity: 0 !important;
  stroke: #02b813 !important;
  stroke-width: 2px !important;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-text 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
             fill-text 1.2s ease-out 1.8s forwards,
             logo-glow 3s ease-in-out infinite alternate;
}

.logo-3d-svg #path7 {
  transform: translateZ(90px);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-symbol 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.logo-3d-svg #path1 {
  transform: translateZ(90px);
  fill-opacity: 0 !important;
  animation: fill-symbol 1.2s ease-out 1.6s forwards;
}

/* Hover dynamic 3D pop-out effect */
.logo-3d-wrapper:hover .logo-3d-svg #path2 {
  transform: translateZ(30px) scale(1.02);
}

.logo-3d-wrapper:hover .logo-3d-svg #rect1 {
  transform: translateZ(60px);
  filter: drop-shadow(0 15px 30px rgba(84, 253, 100, 0.3));
}

.logo-3d-wrapper:hover .logo-3d-svg #text6-1 {
  transform: translateZ(90px) scale(1.05);
}

.logo-3d-wrapper:hover .logo-3d-svg #path1,
.logo-3d-wrapper:hover .logo-3d-svg #path7 {
  transform: translateZ(120px) scale(1.08);
}

/* Animation Keyframes */
@keyframes show-shadow {
  to {
    opacity: 1;
    transform: translateZ(20px) scale(1);
  }
}

@keyframes draw-border {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-border {
  to {
    fill-opacity: 1 !important;
    stroke-width: 0px !important;
  }
}

@keyframes draw-text {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-text {
  to {
    fill-opacity: 1 !important;
    stroke-width: 1px !important;
  }
}

@keyframes draw-symbol {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-symbol {
  to {
    fill-opacity: 1 !important;
  }
}

@keyframes logo-glow {
  from {
    filter: drop-shadow(0 0 2px rgba(84, 253, 100, 0.2));
  }
  to {
    filter: drop-shadow(0 0 10px rgba(84, 253, 100, 0.8));
  }
}

/* --- Image Collage "Chi Siamo" --- */
.image-collage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 0 auto;
  perspective: 1000px;
}

.collage-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: var(--transition);
}

.collage-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--bg-surface);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: var(--transition);
}

/* Hover effects for premium feeling */
.image-collage:hover .collage-img-main {
  transform: translateY(-8px) rotate(-1.5deg) scale(1.02);
}

.image-collage:hover .collage-img-sub {
  transform: translateY(8px) translateZ(20px) rotate(1.5deg) scale(1.03);
}

@media (max-width: 576px) {
  .image-collage {
    height: 300px;
  }
  .collage-img-main {
    height: 210px;
  }
  .collage-img-sub {
    height: 165px;
  }
}
