/* CSS Reset & Variables */
:root {
  /* Colors */
  --primary-color: #B91C1C;
  /* Medium Dark Red */
  --secondary-color: #EF4444;
  /* Bright Red */
  --secondary-color-dark: #DC2626;
  /* Red */
  --accent-color: #FCA5A5;
  /* Light Red */
  --bg-color: #FFFFFF;
  --bg-light: #FEF2F2;
  /* Soft red tint */
  --text-main: #334155;
  --text-light: #64748B;
  --text-invert: #FFFFFF;
  --border-color: #E2E8F0;

  --success-color: #10B981;
  --highlight-gradient: linear-gradient(135deg, var(--secondary-color), #DC2626);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(239, 68, 68, 0.4);

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

  /* Radii */
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 800px;
}

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

.text-left {
  text-align: left;
}

.py-section {
  padding: 6rem 0;
}

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

.text-gradient {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header .subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: var(--highlight-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--secondary-color-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary-color);
  color: white;
}

.btn-dark:hover {
  background: #991B1B;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.glow-on-hover {
  position: relative;
}

.glow-on-hover::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--highlight-gradient);
  z-index: -1;
  border-radius: var(--radius-full);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.glow-on-hover:hover::before {
  opacity: 0.6;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 2rem 1rem 2rem;
  z-index: 100;
  text-align: left;
}

.logo-link {
  display: inline-block;
}

.brand-logo {
  height: 75px;
  width: auto;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #FEF2F2 0%, var(--bg-color) 100%);
  padding-top: 12rem;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.text-gold {
  color: #D4AF37;
  /* Elegante colore Oro/Giallo */
  font-weight: 800;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--secondary-color-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Abstract AC Graphic */
.abstract-shape {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-1,
.circle-2,
.circle-3 {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.circle-1 {
  width: 400px;
  height: 400px;
  animation: pulse 4s infinite linear;
}

.circle-2 {
  width: 300px;
  height: 300px;
  border-color: rgba(239, 68, 68, 0.4);
  animation: pulse 4s infinite linear 1s;
}

.circle-3 {
  width: 200px;
  height: 200px;
  border-color: rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(254, 242, 242, 0.8));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon {
  width: 80px;
  height: 80px;
  color: var(--secondary-color);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    border-color: var(--accent-color);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Wave Bottom */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-bottom .shape-fill {
  fill: #FFFFFF;
}

/* Come funziona */
.step-cards {
  margin-top: 3rem;
}

.step-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(239, 68, 68, 0.05), transparent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover::after {
  opacity: 1;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary-color);
  transition: transform 0.3s;
}

.step-card:hover .step-icon {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Vantaggi */
.adv-image {
  flex: 1;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.floating-badge-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.floating-badge {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge i {
  color: var(--success-color);
}

.adv-content {
  flex: 1;
}

.adv-content .section-header {
  margin-bottom: 2rem;
}

.adv-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.adv-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--secondary-color-dark);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Advantage Custom Colors */
.adv-item.color-blue .icon-box {
  background: rgba(14, 165, 233, 0.15);
  /* Sky blue tint */
  color: #0ea5e9;
  /* Sky blue text */
}

.adv-item.color-blue h4 {
  color: #0284c7;
  /* Darker blue */
}

.adv-item.color-green .icon-box {
  background: rgba(34, 197, 94, 0.15);
  /* Green tint */
  color: #22c55e;
  /* Green text */
}

.adv-item.color-green h4 {
  color: #16a34a;
  /* Darker green */
}

.adv-item.color-yellow .icon-box {
  background: rgba(234, 179, 8, 0.15);
  /* Yellow tint */
  color: #eab308;
  /* Yellow text */
}

.adv-item.color-yellow h4 {
  color: #ca8a04;
  /* Darker yellow */
}

.transparent-box {
  background: transparent !important;
}

.warranty-badge {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.warranty-badge-small {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-container {
  background: transparent !important;
}

.adv-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.adv-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-type {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  line-height: 1;
  font-family: var(--font-heading);
}

.price span {
  letter-spacing: -2px;
}

.price small {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.card-header .desc {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.features li i,
.features li svg {
  color: var(--secondary-color);
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.features li.strong {
  font-weight: 600;
  color: var(--primary-color);
}

.features li.strong i,
.features li.strong svg {
  color: var(--primary-color);
}

.card-footer {
  text-align: center;
  margin-top: auto;
}

.card-footer .btn {
  width: 100%;
}

/* Highlighted Plan */
.pricing-card.highlighted {
  border: 2px solid var(--secondary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  z-index: 10;
}

.pricing-card.highlighted:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--highlight-gradient);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: white;
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.comparison-table th {
  background: #FEE2E2;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
  border-left: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
  background-color: #f8fafc;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.icon-check {
  color: var(--success-color);
  width: 22px;
  height: 22px;
  vertical-align: -5px;
}

.icon-x {
  color: var(--secondary-color);
  width: 22px;
  height: 22px;
  vertical-align: -5px;
}

.cell-with-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.table-footer-row {
  background: linear-gradient(135deg, #f97316 0%, #facc15 100%);
}

.table-footer-row td {
  color: white;
}

.table-plus-logo {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.table-price-row {
  background: #DCFCE7;
  /* Light Green */
}

.table-price-row td {
  color: #065F46;
  /* Dark Green */
}

/* Enlarge prices in both annual and plus rows */
.table-price-row td:not(:first-child),
.table-footer-row td:not(:first-child) {
  font-size: 1.35rem;
}

/* Pricing Toggle */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.toggle-label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--primary-color);
}

.toggle-label-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toggle-description {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

.toggle-plus-logo {
  height: 44px;
  width: auto;
}

/* ============================
   PREMIUM NEUMORPHIC TOGGLE
   ============================ */
.neo-toggle {
  --toggle-w: 62px;
  --toggle-h: 34px;
  --thumb-size: 28px;
  --thumb-pad: 3px;
  --toggle-off-bg: #e2e2e7;
  --toggle-on-bg: #4cd964;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  position: relative;
  display: inline-block;
  width: var(--toggle-w);
  height: var(--toggle-h);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
}

/* Hide the real checkbox */
.neo-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* === TRACK === */
.neo-track {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--toggle-h) / 2);
  background: var(--toggle-off-bg);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.18),
    inset 0 -1px 1px rgba(255, 255, 255, 0.6),
    0 1px 2px rgba(255, 255, 255, 0.7);
  transition:
    background 0.4s var(--spring),
    box-shadow 0.4s ease;
}

/* === THUMB === */
.neo-thumb {
  position: absolute;
  top: var(--thumb-pad);
  left: var(--thumb-pad);
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f3 50%, #e4e4ea 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.3s ease;
  z-index: 2;
}

/* === CHECKED STATE === */
.neo-toggle input:checked+.neo-track {
  background: var(--toggle-on-bg);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.12),
    inset 0 -1px 1px rgba(255, 255, 255, 0.15),
    0 0 12px rgba(76, 217, 100, 0.3);
}

.neo-toggle input:checked+.neo-track .neo-thumb {
  transform: translateX(calc(var(--toggle-w) - var(--thumb-size) - var(--thumb-pad) * 2));
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.22),
    0 6px 18px rgba(76, 217, 100, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06);
}

/* === HOVER === */
.neo-toggle:hover .neo-thumb {
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.06);
  transform: scale(1.04);
}

.neo-toggle:hover input:checked+.neo-track .neo-thumb {
  transform: translateX(calc(var(--toggle-w) - var(--thumb-size) - var(--thumb-pad) * 2)) scale(1.04);
}

/* === PRESS / ACTIVE === */
.neo-toggle:active .neo-thumb {
  transform: scaleX(1.12) scaleY(0.92);
  transition-duration: 0.12s;
}

.neo-toggle:active input:checked+.neo-track .neo-thumb {
  transform: translateX(calc(var(--toggle-w) - var(--thumb-size) - var(--thumb-pad) * 2)) scaleX(1.12) scaleY(0.92);
  transition-duration: 0.12s;
}

/* === FOCUS (accessibility) === */
.neo-toggle input:focus-visible+.neo-track {
  outline: 2px solid var(--toggle-on-bg);
  outline-offset: 3px;
}

.plan-plus-logo {
  height: 16px;
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: opacity 0.3s;
}

.hidden {
  display: none !important;
}

.plus-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 700 !important;
  background: var(--bg-light);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #fee2e2;
}

.feature-plus-logo {
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Custom Solutions */
.solutions-list {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06), 0 0 5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.solution-item:last-child {
  border-bottom: 1px solid transparent;
}

.solution-item:hover {
  background-color: var(--bg-light);
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}

.solution-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
}

.solution-text strong {
  color: var(--primary-color);
}

/* ============================
   FAQ SECTION
   ============================ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0 0 2px var(--secondary-color), 0 0 15px rgba(239, 68, 68, 0.3);
  z-index: 10;
  position: relative;
}

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

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--secondary-color);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-main);
  line-height: 1.6;
}

.faq-answer-inner p {
  margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.faq-answer-inner ul li {
  margin-bottom: 0.25rem;
  display: block;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-note {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations using utility classes */
.opacity-0 {
  opacity: 0;
}

.slide-up {
  transform: translateY(30px);
}

.slide-left {
  transform: translateX(-30px);
}

.slide-right {
  transform: translateX(30px);
}

.scale-in {
  transform: scale(0.9);
}

.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* For staggered animations */
[style*="--delay"] {
  transition-delay: var(--delay);
}

/* --- PARTICLE CANVAS --- */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  position: relative;
}

/* Pre-Footer Section */
.pre-footer {
  background-color: #f7fbff; /* Very pale blue/gray to detach from FAQ */
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.pre-footer .section-header {
  margin-bottom: 2.5rem;
}

.pre-footer .section-header h2 {
  font-size: 2.25rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.pre-footer .section-header .subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-size: 1.25rem;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 2.5rem;
  position: relative; /* important for glow absolute positioning */
}

/* Custom green glow for whatsapp button to override the general red glow */
.btn-whatsapp.glow-on-hover::before {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.btn-whatsapp:hover {
  background-color: #20BA56;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.secondary-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

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

.contact-item i {
  width: 18px;
  height: 18px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links .contact-item {
  background: white;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
}

.social-links .contact-item:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    padding-bottom: 3rem;
    min-height: auto;
  }

  .navbar {
    text-align: center;
    padding: 2.5rem 1rem 1rem 1rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 2;
    margin-top: 0.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .flex-row {
    flex-direction: column;
  }

  .floating-badge {
    right: 1rem;
    bottom: 1rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.highlighted {
    transform: none;
  }

  .pricing-card.highlighted:hover {
    transform: translateY(-5px);
  }

  .pricing-toggle-container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .toggle-label {
    flex-wrap: wrap;
  }

  .toggle-description {
    width: 100%;
    display: block;
    margin-top: 0.25rem;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .py-section {
    padding: 4rem 0;
  }

  .abstract-shape {
    width: 300px;
    height: 300px;
  }

  .circle-1 {
    width: 300px;
    height: 300px;
  }

  .circle-2 {
    width: 220px;
    height: 220px;
  }

  .circle-3 {
    width: 140px;
    height: 140px;
  }

  .solution-item {
    flex-direction: column;
    text-align: center;
  }

  .solution-icon {
    margin: 0 auto;
  }

  .pricing-toggle-container {
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .toggle-label-wrapper {
    min-width: 0;
  }

  .toggle-plus-logo {
    height: 28px;
  }

  .toggle-label {
    font-size: 0.95rem;
    flex-wrap: wrap;
    line-height: 1.4;
  }

  .toggle-description {
    font-size: 0.75rem;
    white-space: normal;
    display: block;
    width: 100%;
    margin-top: 0.15rem;
  }

  .pre-footer .section-header h2 {
    font-size: 2rem;
  }

  .pre-footer .section-header .subtitle {
    font-size: 1rem;
  }

  .secondary-contacts {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

}
/* ============================
   404 ERROR PAGE
   ============================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
  padding: 2rem;
}

.error-container {
  max-width: 600px;
  width: 100%;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: float 4s ease-in-out infinite;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.error-message {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.error-icon-wrapper {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.error-icon-bg {
  width: 120px;
  height: 120px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.error-icon {
  width: 60px;
  height: 60px;
  color: var(--secondary-color);
}
