/* Variables using CSS custom properties */
:root {
  --primary-color: #6e42e5;
  --secondary-color: #3b9ae2;
  --accent-color: #f44c7f;
  --dark-bg: #f7f8fc;
  --darker-bg: #eef0f8;
  --card-bg: #ffffff;
  --text-color: #1e1b3a;
  --text-muted: #5f6475;
  --border-radius: 8px;
  --transition-speed: 0.4s;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: var(--dark-bg);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 35vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1100;
}

/* Scroll offset for fixed header */
section {
  scroll-margin-top: 80px;
}

.kfg-website {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
}

.highlight-underline {
  background: linear-gradient(90deg, #6e42e5, #3b9ae2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: #3b9ae2;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Animation Classes */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

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

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

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

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

/* Navigation - Fixed positioning and alignment issues */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(10, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

/* Inline language row — visible by default (inside mobile menu); hidden on desktop */
.main-nav .nav-links .nav-lang-inline {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 80%;
  justify-content: center;
  visibility: visible;
  opacity: 1;
}

@media (min-width: 769px) {
  .main-nav .nav-links .nav-lang-inline {
    display: none !important;
  }
}

.main-nav .nav-links .nav-lang-inline .nav-lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  letter-spacing: 0.05em;
  min-width: 50px;
}

.main-nav .nav-links .nav-lang-inline .nav-lang-btn:hover,
.main-nav .nav-links .nav-lang-inline .nav-lang-btn:active {
  color: white;
  background: rgba(110, 66, 229, 0.4);
  border-color: rgba(110, 66, 229, 0.6);
}

.main-nav .nav-links .nav-lang-inline .nav-lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

/* Text Logo */
.main-nav .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1001;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.main-nav .logo .logo-img-wrapper {
  height: 58px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.main-nav .logo .logo-img {
  height: 54px;
  max-width: min(330px, 42vw);
  width: auto;
  display: block;
}

.main-nav .logo .logo-tagline {
  margin-top: 2px;
  padding-left: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.main-nav .logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.main-nav .logo:hover .logo-text {
  background: linear-gradient(135deg, #764ba2, #667eea);
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(1.05);
}

.main-nav .logo .logo-highlight {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.main-nav .logo:hover .logo-highlight {
  background: linear-gradient(135deg, #feca57, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
}

/* KFG Attribution */
.kfg-attribution {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.kfg-text {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.kfg-attribution a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.kfg-attribution a:hover {
  transform: scale(1.1);
}

.kfg-logo {
  height: 12px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.main-nav .logo:hover .kfg-attribution {
  opacity: 1;
}

.main-nav .logo:hover .kfg-logo {
  opacity: 1;
}

/* Nav links improvements - fixed visibility issues */
.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav .nav-links .nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap; /* Prevent text wrapping */
}

.main-nav .nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s;
}

.main-nav .nav-links .nav-link:hover {
  color: white;
}

.main-nav .nav-links .nav-link:hover::after {
  width: 100%;
}

.main-nav .nav-links .nav-link.cta-link {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(110, 66, 229, 0.3);
}

.main-nav .nav-links .nav-link.cta-link::after {
  display: none;
}

.main-nav .nav-links .nav-link.cta-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(110, 66, 229, 0.5);
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  margin-left: 20px;
  z-index: 1002;
}

.current-language {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  min-width: 80px;
  justify-content: center;
}

.current-language:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.current-language .flag-icon {
  font-size: 16px;
}

.current-language .language-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.current-language i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.language-selector.show .current-language i {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(18, 19, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 140px;
  overflow: hidden;
}

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

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(110, 66, 229, 0.1);
}

.language-option .flag-icon {
  font-size: 16px;
}

.language-option span:last-child {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

/* Improved mobile menu toggle */
.main-nav .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001; /* Ensure toggle stays above mobile menu */
}

.main-nav .mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Mobile improvements */
@media (max-width: 768px) {
  
  .main-nav {
    padding: 12px 5%;
  }
  
  .main-nav .logo .logo-text {
    font-size: 1.2rem;
  }

  .main-nav .logo .logo-img-wrapper {
    height: 54px;
    overflow: visible;
    max-width: 62vw;
  }

  .main-nav .logo .logo-img {
    height: 48px;
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
  }

  .main-nav .logo .logo-tagline {
    padding-left: 6px;
    font-size: 0.65rem;
  }

  .kfg-attribution {
    margin-top: 3px;
    font-size: 0.65rem;
    gap: 3px;
  }

  .kfg-logo {
    height: 10px;
  }
  
  /* Hide dropdown language selector on mobile — replaced by inline menu buttons */
  .language-selector {
    display: none;
  }

  /* Improved mobile menu toggle */
  .main-nav .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    cursor: pointer;
    z-index: 1002;
  }
  
  /* Fixed positioning of mobile dropdown menu */
  .main-nav .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 7, 19, 0.98);
    display: none;
    flex-direction: column;
    justify-content: flex-start; /* Start from top */
    align-items: center;
    padding-top: 80px; /* Space below header */
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* Allow scrolling if needed */
  }
  
  /* Show mobile menu properly */
  .main-nav .nav-links.show-mobile {
    display: flex;
    opacity: 1;
  }
  
  /* Improve menu item spacing and visibility */
  .main-nav .nav-links .nav-link {
    font-size: 20px;
    padding: 15px 0;
    margin: 5px 0;
    width: 80%; /* Make links wider for better tappability */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Last item doesn't need border */
  .main-nav .nav-links .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Make CTA button stand out */
  .main-nav .nav-links .nav-link.cta-link {
    margin-top: 20px;
    padding: 15px 30px;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  }
}

/* Small screen adjustments */
@media (max-width: 576px) {
  .main-nav {
    padding: 12px 5%;
  }
  
  .main-nav .logo .logo-text {
    font-size: 1.1rem;
  }

  .main-nav .logo .logo-img-wrapper {
    height: 50px;
    max-width: 55vw;
  }

  .main-nav .logo .logo-img {
    height: 44px;
    max-height: 44px;
  }

  .kfg-attribution {
    margin-top: 2px;
    font-size: 0.6rem;
    gap: 2px;
  }

  .kfg-logo {
    height: 9px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 80px 5% 50px;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  background-color: var(--dark-bg);
}

.hero-section .stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
              radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
              radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 2px),
              var(--darker-bg);
  background-size: 100px 100px, 150px 150px, 100px 100px, 200px 200px, 300px 300px;
  opacity: 0.2;
  z-index: -1;
}

.hero-section .hero-content {
  max-width: 1150px;
}

.hero-section .hero-content h1 {
  font-size: 3.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  hyphens: none;
}

.hero-section .hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .hero-content .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 568px) {
  .hero-section .hero-content .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.hero-section .scroll-indicator {
  margin-top: 60px;
  z-index: 10;
  display: flex;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section .scroll-indicator .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .scroll-indicator .mouse .wheel {
  width: 6px;
  height: 10px;
  background-color: white;
  border-radius: 3px;
  animation: wheel 1.5s infinite;
}

@keyframes wheel {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.hero-section .scroll-indicator .arrow-down {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  margin-top: 10px;
  animation: arrow 1.5s infinite;
}

@keyframes arrow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 5%;
  background-color: var(--darker-bg);
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 70px 5%;
  }
}

.portfolio-section .video-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 60px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.portfolio-section .video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .portfolio-section .video-container {
    height: 300px;
  }
}

.portfolio-section .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-section .video-container .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.portfolio-section .video-container .video-overlay h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .portfolio-section .video-container .video-overlay h3 {
    font-size: 1.5rem;
  }
}

.portfolio-section .video-container .video-overlay .play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-section .video-container .video-overlay .play-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.portfolio-section .video-container .video-overlay .play-btn i {
  font-size: 30px;
  color: white;
}

.portfolio-section .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-section .portfolio-grid .portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.portfolio-section .portfolio-grid .portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image {
  width: 350px;
  height: 250px;
  overflow: hidden;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 20, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Pulsanti portfolio migliorati */
.portfolio-item .more-details-btn {
  background: rgba(110, 66, 229, 0.2);
  border: 2px solid var(--primary-color);
  color: white;
  padding: 18px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.portfolio-item .more-details-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.5s ease;
  z-index: -1;
}

.portfolio-item .more-details-btn:hover {
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.4);
  color: white;
}

.portfolio-item .more-details-btn:hover::before {
  left: 0;
}

/* About Us Section */
.about-section {
  padding: 50px 5%;
}

@media (max-width: 768px) {
  .about-section {
    padding: 30px 5%;
  }
}

.about-section .about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .team-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  gap: 25px;
  margin-bottom: 60px;
  position: relative;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  
  /* Prevent horizontal scrolling on wheel - key property */
  overscroll-behavior-x: none;
}

/* Ensure team member cards display correctly */
.about-section .team-grid .team-member {
  flex: 0 0 320px;
  scroll-snap-align: start;
  margin-right: 0;
  margin-bottom: 10px;
  z-index: 5; /* Make sure cards appear above gradients */
  position: relative;
}

@media (max-width: 992px) {
  .about-section .team-grid .team-member {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .about-section .team-grid .team-member {
    flex: 0 0 280px;
  }
}

@media (max-width: 576px) {
  .about-section .team-grid .team-member {
    flex: 0 0 260px;
  }
}

.about-section .team-grid .team-member {
  background: rgba(18, 19, 30, 0.6);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(110, 66, 229, 0.1);
}

.about-section .team-grid .team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-section .team-grid .team-member .member-info {
  padding: 0 20px 25px;
}

.about-section .team-grid .team-member .member-info .member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(110, 66, 229, 0.2);
  min-height: 60px;
}

.about-section .team-grid .team-member .member-info .member-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--text-color);
  max-width: 75%;
}

.about-section .team-grid .team-member .member-info h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.about-section .team-grid .team-member .member-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-section .team-grid .team-member .member-info p strong {
  color: white;
  font-weight: 600;
}

.about-section .team-grid .team-member .member-info ul {
  margin-left: 5px;
  padding-left: 15px;
  margin-bottom: 20px;
}

.about-section .team-grid .team-member .member-info ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.about-section .team-grid .team-member .member-info ul li strong {
  color: white;
  font-weight: 600;
}

.about-section .values-container .values-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-section .values-container .values-header h2 {
  font-size: 2.5rem;
}

.about-section .values-container .values-header h3 {
  font-size: 2rem;
}

.about-section .values-container .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
}

.about-section .values-container .values-grid .value-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.about-section .values-container .values-grid .value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.about-section .values-container .values-grid .value-card .value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.1));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.about-section .values-container .values-grid .value-card .value-icon i {
  font-size: 28px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section .values-container .values-grid .value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.about-section .values-container .values-grid .value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* Contact Section */
.contact-section {
  padding: 100px 5%;
  background-color: var(--darker-bg);
}

.contact-section .contact-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Aggiusta padding interno senza disallineamento */
.contact-section .contact-info {
  padding: 25px 20px 25px 20px;
  box-sizing: border-box; /* Assicura che il padding sia incluso nelle dimensioni */
  width: calc(100% - 40px); /* Compensa il padding laterale */
  margin-left: auto;
  margin-right: auto;
}

/* Aumenta spaziatura interna delle card */
.contact-section .contact-info .info-card {
  margin: -15px 10px; /* Margine laterale per distanziarle dai bordi */
}

/* Migliora background del contenitore */
.contact-section .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  margin-bottom: 20px;
  grid-column: 1 / -1;
  background: linear-gradient(145deg, 
    rgba(25, 26, 36, 0.6), 
    rgba(15, 16, 22, 0.4)
  );
  border-radius: var(--border-radius);
  padding: 25px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Ombra sottile */
}

/* Leggero effetto hover per le card */
.contact-section .contact-info .info-card:hover {
  background: rgba(255, 255, 255, 0.02); /* Leggera illuminazione al passaggio */
}

/* Adatta dimensioni card per rispettare padding ridotto */
.contact-section .contact-info .info-card {
  padding: 20px 15px;
}

/* Adatta padding dei metodi di contatto */
.contact-methods {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0;
}

/* Card uniformi con dimensioni fisse */
.contact-section .contact-info .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border-radius: var(--border-radius);
  padding: 15px;
  height: 160px;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* Fix per le icone e l'effetto hover */
.contact-section .contact-info .info-icon {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: transparent; /* Rimuove background dal contenitore esterno */
  box-shadow: none; /* Rimuove ombra dal contenitore esterno */
}

/* Effetti avanzati per le icone */
.contact-section .contact-info .info-icon .icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, rgba(110, 66, 229, 0.15), rgba(59, 154, 226, 0.1));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Effetto brillantezza al passaggio */
.contact-section .contact-info .info-icon .icon-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: all 0.6s ease;
  transform: scale(0);
  filter: blur(5px);
}

/* Hover più elegante e moderno */
.contact-section .contact-info .info-card:hover .info-icon .icon-circle {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 25px rgba(110, 66, 229, 0.25),
    0 0 15px rgba(110, 66, 229, 0.15);
  background: linear-gradient(145deg, 
    rgba(110, 66, 229, 0.25), 
    rgba(59, 154, 226, 0.15),
    rgba(110, 66, 229, 0.20)
  );
}

/* Attivazione effetto brillantezza */
.contact-section .contact-info .info-card:hover .info-icon .icon-circle::after {
  opacity: 0.4;
  transform: scale(3);
  top: -20%;
  left: -20%;
}

/* Effetto pulsazione elegante per l'icona */
@keyframes gentle-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.contact-section .contact-info .info-card:hover .info-icon i {
  animation: gentle-pulse 1.5s infinite ease-in-out;
  text-shadow: 0 0 10px rgba(110, 66, 229, 0.5);
}

.contact-section .contact-info .info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.contact-section .contact-info .info-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: white;
}

.contact-section .contact-info .info-content p {
  color: var(--text-muted);
  line-height: 1.4;
  font-size: 0.85rem;
  text-align: center;
}

/* Layout responsive ottimizzato */
@media (max-width: 992px) {
  .contact-section .contact-info {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 15px;
  }
  
  .contact-section .contact-info .info-card {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .contact-section .contact-info {
    grid-template-columns: 1fr;
  }
  
}

/* Position map on the right side */
.map-container {
  grid-column: 2 / 3;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: auto;
  min-height: 350px;
  max-height: 400px;
  margin-top: 20px;
  align-self: start;
}

.contact-method-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(18, 19, 30, 0.7));
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-height: 350px;
  justify-content: flex-start;
}

.contact-method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-method-card .method-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.1));
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.contact-method-card .method-icon i {
  font-size: 30px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.contact-method-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.contact-method-card .method-button + .method-button {
  margin-top: 10px;
}

.contact-method-card .method-button {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: auto;
  align-self: center;
}

.contact-method-card .method-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.3);
}

/* Add underline to text only on hover */
.contact-method-card .method-button:hover span {
  text-decoration: underline;
}

/* Add span around button text in HTML */
.contact-method-card .method-button i {
  font-size: 16px;
}

/* Update specific method buttons to maintain consistency */
.contact-method-card.whatsapp .method-button,
.contact-method-card.phone .method-button,
.contact-card.email .method-button {
  text-decoration: none;
}

.contact-method-card.whatsapp .method-button:hover,
.contact-method-card.phone .method-button:hover,
.contact-method-card.email .method-button:hover {
  text-decoration: none;
}

.contact-method-card.whatsapp .method-icon {
  background: linear-gradient(45deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.2));
}

.contact-method-card.whatsapp .method-icon i {
  background: linear-gradient(90deg, #25d366, #128c7e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.whatsapp .method-button {
  background: linear-gradient(45deg, #25d366, #128c7e);
}

.contact-method-card.phone .method-icon {
  background: linear-gradient(45deg, rgba(59, 154, 226, 0.1), rgba(59, 154, 226, 0.2));
}

.contact-method-card.phone .method-icon i {
  background: linear-gradient(90deg, #3b9ae2, #2a7bbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.phone .method-button {
  background: linear-gradient(45deg, #3b9ae2, #2a7bbf);
}

.contact-method-card.email .method-icon {
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(110, 66, 229, 0.2));
}

.contact-method-card.email .method-icon i {
  background: linear-gradient(90deg, var(--primary-color), #8a65f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.email .method-button {
  background: linear-gradient(45deg, var(--primary-color), #8a65f0);
  font-size: 13px;
}

/* Responsive design for contact methods */
@media (max-width: 992px) {
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-method-card {
    padding: 25px;
  }
  
  .contact-method-card .method-icon {
    width: 60px;
    height: 60px;
  }
}

/* Enhanced Map Container */
.map-container {
  grid-column: 1 / -1;
  height: 320px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: perspective(1000px) rotateX(3deg);
  transition: all 0.5s ease;
}

.map-container:hover {
  transform: perspective(1000px) rotateX(0deg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2);
  transition: all 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0.5) invert(0.9) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, 
    rgba(110, 66, 229, 0.15), 
    rgba(59, 154, 226, 0.1),
    rgba(18, 19, 30, 0.2)
  );
  pointer-events: none;
  border-radius: var(--border-radius);
}

.map-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 5%;
  width: 90%;
  height: 20px;
  background: var(--primary-color);
  filter: blur(20px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.map-container:hover::after {
  opacity: 0.5;
  filter: blur(15px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-section .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-section .contact-info {
    grid-column: 1 / -1;
  }
  
  .map-container {
    grid-column: 1 / -1;
    margin-top: 15px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .contact-section .contact-info {
    grid-column: 1 / -1;
  }
  
  .map-container {
    height: 250px;
  }
}

/* Footer avanzato con animazioni */
/* CTA Bar */
.section-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 5%;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.12), rgba(59, 154, 226, 0.08));
  border-top: 1px solid rgba(110, 66, 229, 0.2);
  border-bottom: 1px solid rgba(110, 66, 229, 0.2);
  flex-wrap: wrap;
}

.section-cta-bar p {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.btn-cta-large {
  font-size: 1.15rem;
  padding: 18px 48px;
  box-shadow: 0 0 30px rgba(110, 66, 229, 0.6), 0 0 60px rgba(59, 154, 226, 0.3);
  letter-spacing: 0.5px;
}

.btn-cta-large:hover {
  box-shadow: 0 0 40px rgba(110, 66, 229, 0.8), 0 0 80px rgba(59, 154, 226, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .section-cta-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Testimonials Mini */
.testimonials-mini-section {
  padding: 60px 5%;
  background: transparent;
}

.testimonials-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-mini-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.testimonial-mini-quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--primary-color);
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: 4px;
}

.testimonial-mini-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-mini-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-mini-author strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-mini-author span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin-top: 2px;
}

@media (max-width: 700px) {
  .testimonials-mini-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 60px 5% 30px;
  background-color: var(--darker-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Effetto nebuloso nel background */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(110, 66, 229, 0.05), transparent 60%),
              radial-gradient(circle at bottom left, rgba(59, 154, 226, 0.05), transparent 60%);
  pointer-events: none;
}

/* Contenuto del footer */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* Parte inferiore del footer */
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.footer-social .linkedin-icon {
  color: var(--text-muted);
  display: inline-flex;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .linkedin-icon:hover {
  color: #0077B5;
  transform: translateY(-3px);
}

.footer-social .whatsapp-icon {
  color: var(--text-muted);
  display: inline-flex;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .whatsapp-icon:hover {
  color: #25D366;
  transform: translateY(-3px);
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-legal-link {
  display: inline-block;
  margin-left: 8px;
}

.footer-company-details {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 520px;
}

.footer-company-details p {
  margin: 0.35em 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Privacy Policy */
.privacy-page .main-nav .logo {
  text-decoration: none;
}

.privacy-page .kfg-website {
  min-height: 100vh;
}

.privacy-hero {
  padding: 170px 5% 70px;
  background:
    radial-gradient(circle at 15% 25%, rgba(110, 66, 229, 0.22), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(59, 154, 226, 0.16), transparent 30%),
    var(--dark-bg);
}

.privacy-container {
  width: min(960px, 100%);
  margin: 0 auto;
}

.privacy-eyebrow {
  margin: 0 0 14px;
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  color: #fff;
}

.privacy-language-switch {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 22px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.privacy-language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--text-muted);
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.privacy-language-switch button.active {
  color: #fff;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.privacy-language-switch button:not(.active):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.privacy-updated {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.privacy-intro {
  margin: 28px 0 0;
  color: var(--text-color);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 880px;
}

.privacy-section {
  padding: 70px 5% 90px;
  background: var(--dark-bg);
}

.privacy-content {
  color: var(--text-color);
}

.privacy-content h2 {
  margin: 44px 0 14px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.35;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.privacy-content p {
  margin: 0 0 16px;
}

.privacy-content ul {
  margin: 0 0 20px;
  padding-left: 1.2rem;
}

.privacy-content li {
  margin: 0 0 10px;
}

.privacy-content strong {
  color: var(--text-color);
  font-weight: 700;
}

.privacy-content a {
  color: var(--secondary-color);
  text-decoration: none;
}

.privacy-content a:hover {
  color: #fff;
  text-decoration: underline;
}

.privacy-note {
  margin-top: 46px;
  padding: 22px 24px;
  border-left: 3px solid var(--secondary-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 135px 5% 50px;
  }

  .privacy-section {
    padding: 46px 5% 70px;
  }

  .privacy-intro {
    font-size: 1rem;
  }

  .privacy-content h2 {
    font-size: 1.18rem;
  }
}

/* Inbound standalone page */
.ib-page {
  background: var(--dark-bg);
}

.ib-page body,
.ib-main {
  background: var(--dark-bg);
}

.ib-shell {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.ib-hero {
  min-height: 100vh;
  padding: 48px 0 88px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(110, 66, 229, 0.24), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(59, 154, 226, 0.20), transparent 30%),
    linear-gradient(135deg, #060713 0%, #0a0b14 48%, #0d0e1f 100%);
}

.ib-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 72px;
}

.ib-logo {
  width: 165px;
  height: auto;
  display: block;
}

.ib-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.ib-kicker {
  margin: 0 0 14px;
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ib-hero h1,
.ib-section h2,
.ib-final h2 {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.ib-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  max-width: 820px;
}

.ib-lead {
  margin: 28px 0 0;
  max-width: 680px;
  color: var(--text-color);
  font-size: 1.12rem;
  line-height: 1.8;
}

.ib-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ib-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ib-call-panel {
  background: rgba(18, 19, 30, 0.86);
  border: 1px solid rgba(110, 66, 229, 0.26);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), 0 0 48px rgba(110, 66, 229, 0.12);
}

.ib-call-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.10), 0 0 26px rgba(74, 222, 128, 0.55);
}

.ib-call-header strong {
  color: #fff;
  font-size: 1rem;
}

.ib-call-header p {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.ib-call-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0;
}

.ib-line {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text-color);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ib-line-customer {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
}

.ib-line-ai {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.38), rgba(59, 154, 226, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-call-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ib-call-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-color);
  font-size: 0.82rem;
}

.ib-call-footer i {
  color: #4ade80;
}

.ib-section {
  padding: 96px 0;
  background: var(--dark-bg);
}

.ib-section-alt {
  background: linear-gradient(135deg, #0d0e1f 0%, #0a0b14 100%);
}

.ib-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.ib-section h2,
.ib-final h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.ib-problem-grid,
.ib-feature-grid,
.ib-benefit-grid {
  display: grid;
  gap: 18px;
}

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

.ib-card,
.ib-feature,
.ib-benefit {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
}

.ib-card {
  padding: 24px;
}

.ib-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(244, 76, 127, 0.12);
  color: var(--accent-color);
  margin-bottom: 20px;
}

.ib-card h3,
.ib-feature h3,
.ib-benefit strong {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.ib-card p,
.ib-feature p,
.ib-benefit p,
.ib-final p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.94rem;
}

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

.ib-feature {
  padding: 26px;
}

.ib-feature span {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 18px;
}

.ib-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ib-comparison > div {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.ib-check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ib-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-color);
  line-height: 1.6;
}

.ib-check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-weight: 800;
}

.ib-check-list-bad li::before {
  content: '\00d7';
  color: var(--accent-color);
}

.ib-benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ib-benefit {
  padding: 24px;
}

.ib-benefit strong {
  display: block;
}

.ib-final {
  padding: 105px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 66, 229, 0.22), transparent 36%),
    var(--darker-bg);
}

.ib-final p {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 1.04rem;
}

.ib-actions-center {
  justify-content: center;
}

@media (max-width: 1024px) {
  .ib-hero-grid,
  .ib-comparison {
    grid-template-columns: 1fr;
  }

  .ib-problem-grid,
  .ib-feature-grid,
  .ib-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ib-shell {
    width: min(100% - 32px, 1120px);
  }

  .ib-hero {
    min-height: auto;
    padding: 28px 0 70px;
  }

  .ib-brand {
    margin-bottom: 46px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ib-logo {
    width: 140px;
  }

  .ib-hero-grid {
    gap: 42px;
  }

  .ib-lead {
    font-size: 1rem;
  }

  .ib-actions,
  .ib-call-footer {
    grid-template-columns: 1fr;
  }

  .ib-actions a {
    width: 100%;
    box-sizing: border-box;
  }

  .ib-call-panel {
    padding: 20px;
    border-radius: 18px;
  }

  .ib-problem-grid,
  .ib-feature-grid,
  .ib-benefit-grid {
    grid-template-columns: 1fr;
  }

  .ib-section {
    padding: 68px 0;
  }

  .ib-comparison > div {
    padding: 24px;
  }
}

/* Style for the step images */
.step-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific sizing for hero section image */
.hero-section .step-image {
  max-width: 500px;
  margin-bottom: 30px;
}

/* Specific sizing for section header images */
.section-header .step-image {
  max-width: 600px;
  margin: 30px auto;
  display: block;
}

/* Media queries for step images on smaller screens */
@media (max-width: 768px) {
  .step-image {
    max-width: 90%;
  }
  
  .hero-section .step-image {
    max-width: 90%;
  }
  
  .section-header .step-image {
    max-width: 90%;
  }
}

.contact-section .contact-container .contact-form-container .contact-form .form-group textarea {
  resize: none;
  height: 120px;
}

/* Media queries for the values grid */
@media (max-width: 992px) {
  .about-section .values-container .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-section .values-container .values-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Stili forzati per il portfolio grid */
#portfolio-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero-section .hero-content h1 {
    font-size: 2.8rem; /* Riduci la dimensione del testo per mobile */
    line-height: 1.2;
  }
  
  .hero-section .hero-content h1 .gradient-text {
    font-size: 2.8rem; /* Leggermente più grande del testo normale */
    line-height: 1.2;
  }
}

/* Stile per foto profilo circolari */
.team-member .member-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto 20px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  background: transparent;
  padding: 0;
}

.team-member .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene le proporzioni riempiendo il cerchio */
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.1); /* Leggero zoom sull'hover */
}

/* Migliora anche l'effetto dell'icona LinkedIn */
.team-member .member-header .linkedin-icon {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.team-member .member-header .linkedin-icon:hover {
  color: #0077B5; /* Colore ufficiale di LinkedIn */
  transform: translateY(-3px);
}

/* Team navigation arrows - Fixed viewport positioning with preserved styling */
.team-nav-arrows {
  position: fixed; /* Change to fixed for viewport positioning */
  width: 100%;
  height: 100vh; /* Full viewport height */
  top: 0; /* Position at the top of the viewport */
  left: 0;
  z-index: 50; /* Higher z-index to appear above content */
  pointer-events: none;
  display: none; /* Hidden by default, shown via JS when team section is in view */
}

/* Keep all the existing arrow styling unchanged */
.team-arrow {
  position: absolute;
  top: 50%; /* Center in the fixed container */
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(10, 11, 20, 0.85);
  border: 1px solid rgba(110, 66, 229, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  pointer-events: auto;
  opacity: 0.9;
  animation: pulse-arrow 2s infinite ease-in-out;
}

/* Keep all the hover styles */
.team-arrow:hover {
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(110, 66, 229, 0.5);
  animation: none;
}

/* Keep icon styling */
.team-arrow i {
  color: white;
  font-size: 20px;
}

/* Keep positioning */
.team-arrow.left {
  left: 20px;
}

.team-arrow.right {
  right: 20px;
}

/* Don't hide arrows by default */
.team-nav-arrows {
  opacity: 1;
}

/* Add pulsing animation to make arrows more noticeable */
@keyframes pulse-arrow {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.05); }
  100% { transform: translateY(-50%) scale(1); }
}

.team-arrow {
  animation: pulse-arrow 2s infinite ease-in-out;
}

.team-arrow:hover {
  animation: none;
}

/* Media query for smaller screens - with much more space */
@media (max-width: 768px) {
  .team-nav-arrows {
    margin-top: -210px;
    margin-bottom: 310px; /* Increased from 290px */
  }
  
  .team-arrow {
    width: 40px;
    height: 40px;
  }
  
  .team-arrow.left {
    left: 15px;
  }
  
  .team-arrow.right {
    right: 15px;
  }
}

@media (max-width: 576px) {
  .team-nav-arrows {
    margin-top: -190px;
    margin-bottom: 290px; /* Increased from 270px */
  }
  
  .team-arrow {
    width: 38px;
    height: 38px;
  }
  
  .team-arrow.left {
    left: 10px;
  }
  
  .team-arrow.right {
    right: 10px;
  }
}

/* For very large screens, move arrows even closer to center */
@media (min-width: 1400px) {
  .team-arrow.left {
    left: 5%;
  }
  
  .team-arrow.right {
    right: 5%;
  }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

#lightbox-video {
  display: none;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox.video-mode #lightbox-img { display: none; }
.lightbox.video-mode #lightbox-video { display: block; }

.step-card-video-wrapper {
  position: relative;
  display: block;
}

.step-card-video-expand {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.step-card-video-wrapper:hover .step-card-video-expand {
  opacity: 1;
  background: rgba(102, 126, 234, 0.85);
}

/* Live Examples Section */
.examples-section {
  padding: 30px 0 50px;
  color: white;
}

.examples-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding: 0 5%;
}

.examples-container .example-card {
  flex: 1 1 350px;
  max-width: 420px;
}

.example-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.example-video {
  position: relative;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #000;
}

.example-video:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.example-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.video-placeholder {
  text-align: center;
  color: white;
}

.video-placeholder i {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.video-placeholder:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.video-placeholder span {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.example-content {
  padding: 30px;
}

.example-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.example-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.example-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin: 20px 0 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* Examples Section Mobile */
  .examples-section {
    padding: 60px 0;
  }
  
  .examples-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .example-card {
    margin: 0 10px;
  }
  
  .example-video {
    height: 180px;
  }
  
  .video-placeholder i {
    font-size: 40px;
  }
  
  .video-placeholder span {
    font-size: 14px;
  }
  
  .example-content {
    padding: 25px 20px;
  }
  
  .example-card h3 {
    font-size: 20px;
  }
  
  .example-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .team-grid {
    padding: 0 10px;
  }
  
  .team-member {
    min-width: 260px !important;
    width: 260px !important;
    max-width: 260px !important;
  }
  
  .contact-form {
    padding: 40px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .form-row .form-group {
    margin-right: 0;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0b14 0%, #060713 50%, #12131e 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.how-it-works-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(102, 126, 234, 0.05) 40%,
    rgba(102, 126, 234, 0.1) 45%,
    rgba(118, 75, 162, 0.1) 50%,
    rgba(102, 126, 234, 0.1) 55%,
    rgba(102, 126, 234, 0.05) 60%,
    transparent 70%
  );
  animation: metallicReflection 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes metallicReflection {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 80px;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 30px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  margin-top: 25px;
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.step-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: rgba(169, 169, 169, 0.2);
  border-radius: 50%;
  filter: blur(15px);
  transition: all 0.4s ease;
}

.step-card:hover::after {
  bottom: -15px;
  filter: blur(20px);
  background: rgba(128, 128, 128, 0.3);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 
    0 6px 20px rgba(102, 126, 234, 0.4),
    0 2px 8px rgba(118, 75, 162, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.5),
    0 4px 12px rgba(118, 75, 162, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.step-content {
  margin-top: 20px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 35px;
  color: #696969;
  border: 2px solid rgba(169, 169, 169, 0.2);
  box-shadow: 
    0 4px 15px rgba(169, 169, 169, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  color: #808080;
  box-shadow: 
    0 6px 20px rgba(169, 169, 169, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 20px;
}

.step-card-video {
  width: 100%;
  height: auto;
  min-height: 180px;
  border-radius: 10px;
  display: block;
  background: rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Pricing Section */
.pricing-info {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  padding: 0 5%;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #a9a9a9, #808080, #696969);
  box-shadow: 0 3px 10px rgba(169, 169, 169, 0.4);
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 5%;
  width: 90%;
  height: 25px;
  background: rgba(169, 169, 169, 0.2);
  border-radius: 50%;
  filter: blur(20px);
  transition: all 0.4s ease;
}

.pricing-card:hover::after {
  bottom: -20px;
  filter: blur(25px);
  background: rgba(128, 128, 128, 0.3);
}

.pricing-header {
  margin-bottom: 40px;
}

.pricing-header h3 {
  font-size: 28px;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.pricing-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.price-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.currency {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 600;
}

.amount {
  font-size: 48px;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1;
}

.period {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.price-divider {
  font-size: 32px;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 20px;
}

.pricing-cta {
  margin-top: 30px;
}

.pricing-cta .btn-primary {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.3),
    0 4px 15px rgba(169, 169, 169, 0.2);
}

.pricing-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 30px rgba(102, 126, 234, 0.4),
    0 6px 20px rgba(169, 169, 169, 0.3);
}

/* New Pricing Packages Layout */
.pricing-info {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-info .pricing-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
  clear: both;
}

.pricing-info .pricing-header h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-info .pricing-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Pricing Sections Layout (single column so one section spans full width and stays centered) */
.pricing-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 30px auto 0;
}

.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pricing-packages {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
}

/* Override base .pricing-card { width: 100% } so two cards can sit in a row */
.pricing-packages .pricing-card {
  flex: 1 1 calc(50% - 15px);
  width: auto;
  min-width: 260px;
  max-width: 500px;
  position: relative;
  box-sizing: border-box;
}

.pricing-packages .pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.pricing-packages .pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.pricing-packages .pricing-card .pricing-header h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.pricing-packages .pricing-card .pricing-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pricing-packages .pricing-card .savings {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .pricing-info {
    padding: 0 25px;
  }
  
  .pricing-packages {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .pricing-packages .pricing-card {
    flex: none;
    min-width: 0;
    max-width: 100%;
    width: calc(100% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
  }
  
  .pricing-packages .pricing-card.featured {
    transform: none;
    order: -1;
    margin-bottom: 20px;
  }
  
  .pricing-info .pricing-header h3 {
    font-size: 2rem;
  }
}

/* Mobile Responsive for How It Works */
@media (max-width: 768px) {
  .how-it-works-section {
    padding: 60px 0;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
  }
  
  .step-card {
    padding: 40px 20px 30px;
    margin-top: 30px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
    top: -20px;
    right: 15px;
    box-shadow: 
      0 4px 15px rgba(102, 126, 234, 0.4),
      0 2px 6px rgba(118, 75, 162, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
  
  .step-card h3 {
    font-size: 20px;
  }
  
  .step-card p {
    font-size: 14px;
  }
  
  .pricing-info {
    margin-top: 60px;
    position: relative;
    z-index: 2;
  }
  
  .pricing-card {
    padding: 40px 25px;
  }
  
  .pricing-header h3 {
    font-size: 24px;
  }
  
  .pricing-details {
    flex-direction: column;
    gap: 20px;
  }
  
  .price-divider {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .amount {
    font-size: 40px;
  }
  
  .pricing-cta .btn-primary {
    padding: 14px 30px;
    font-size: 16px;
  }
}

/* Additional Examples Section */
.additional-examples {
  margin-top: 80px;
  padding: 0 5%;
}

.section-subheader {
  text-align: center;
  margin-bottom: 50px;
}

.section-subheader h3 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subheader p {
  font-size: 18px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.additional-examples-scroll {
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 169, 169, 0.3) transparent;
}

.additional-examples-scroll::-webkit-scrollbar {
  height: 8px;
}

.additional-examples-scroll::-webkit-scrollbar-track {
  background: rgba(169, 169, 169, 0.1);
  border-radius: 10px;
}

.additional-examples-scroll::-webkit-scrollbar-thumb {
  background: rgba(169, 169, 169, 0.3);
  border-radius: 10px;
}

.additional-examples-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(169, 169, 169, 0.5);
}

.additional-examples-container {
  display: flex;
  gap: 25px;
  padding: 10px;
  min-width: fit-content;
}

.additional-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  min-width: 280px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.additional-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #a9a9a9, #808080);
}

.additional-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.additional-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.additional-icon i {
  font-size: 24px;
  color: white;
}

.additional-card:hover .additional-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.additional-card h4 {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.additional-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Integration Capabilities Section */
.integration-capabilities {
  margin-top: 80px;
  padding: 60px 5%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.integration-capabilities::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(169, 169, 169, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(128, 128, 128, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.integration-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.integration-header h3 {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.integration-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.integration-item i {
  font-size: 24px;
  color: #667eea;
  width: 30px;
  text-align: center;
}

.integration-item span {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .additional-examples {
    margin-top: 60px;
    padding: 0 3%;
  }
  
  .section-subheader h3 {
    font-size: 26px;
  }
  
  .section-subheader p {
    font-size: 16px;
  }
  
  .additional-examples-container {
    gap: 20px;
  }
  
  .additional-card {
    min-width: 250px;
    max-width: 280px;
    padding: 25px 20px;
  }
  
  .additional-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .additional-icon i {
    font-size: 20px;
  }
  
  .additional-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .additional-card p {
    font-size: 13px;
  }
  
  .integration-capabilities {
    margin-top: 60px;
    padding: 40px 3%;
    border-radius: 20px;
  }
  
  .integration-header h3 {
    font-size: 26px;
  }
  
  .integration-header p {
    font-size: 16px;
  }
  
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .integration-item {
    padding: 15px 20px;
    gap: 12px;
  }
  
  .integration-item i {
    font-size: 20px;
  }
  
  .integration-item span {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .additional-examples {
    margin-top: 50px;
    padding: 0 2%;
  }
  
  .section-subheader h3 {
    font-size: 22px;
  }
  
  .section-subheader p {
    font-size: 14px;
  }
  
  .additional-card {
    min-width: 220px;
    max-width: 250px;
    padding: 20px 15px;
  }
  
  .integration-capabilities {
    margin-top: 50px;
    padding: 30px 2%;
    border-radius: 15px;
  }
  
  .integration-header h3 {
    font-size: 22px;
  }
  
  .integration-header p {
    font-size: 14px;
  }
}

/* Smooth scroll enhancement for horizontal scrolling */
.additional-examples-scroll {
  scroll-behavior: smooth;
}

/* Touch scrolling for mobile */
@media (max-width: 768px) {
  .additional-examples-scroll {
    -webkit-overflow-scrolling: touch;
    padding: 15px 0;
  }
  
  .additional-examples-container {
    padding: 5px;
  }
}

/* Additional responsive styles for smaller screens */
@media (max-width: 576px) {
  .pricing-info {
    padding: 0 20px;
    width: calc(100% - 40px); /* Ensure full width accounts for padding */
  }
  
  .pricing-packages {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
  }
  
  .pricing-packages .pricing-card {
    padding: 30px 20px;
    width: calc(100% - 30px); /* Account for padding */
    margin: 0 15px;
    box-sizing: border-box;
  }
  
  .price-amount .amount {
    font-size: 42px;
  }
  
  .price-amount .currency {
    font-size: 20px;
  }
  
  .pricing-info .pricing-header h3 {
    font-size: 1.8rem;
  }
  
  .pricing-info .pricing-header p {
    font-size: 1rem;
  }
}

/* Mobile responsive for new pricing sections */
@media (max-width: 768px) {
  .pricing-sections {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-card {
    transform: none !important;
  }

  .pricing-card.featured {
    transform: none !important;
    border: 1px solid var(--primary-color);
  }
}


/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--darker-bg);
  position: relative;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  position: relative;
  background: var(--card-bg);
  padding: 40px 32px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(110, 66, 229, 0.3);
}

.testimonial-quote-icon {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(110, 66, 229, 0.4);
}

.testimonial-quote {
  flex: 1;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-author-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

.testimonial-author-info p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-company {
  font-size: 13px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 2px;
}

.testimonial-company:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 70px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
  }

  .testimonial-card {
    padding: 36px 24px 24px;
  }
}


/* =============================================
   WHY AI SECTION
   ============================================= */

.why-ai-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0e1a 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.why-ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Stats grid */
.why-ai-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.12), rgba(59, 154, 226, 0.08));
  border: 1px solid rgba(110, 66, 229, 0.25);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(110, 66, 229, 0.2);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

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

/* Comparison table */
.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0 0 60px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-column {
  padding: 40px 36px;
}

.comparison-column.traditional {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-column.ai-side {
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.06));
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 66, 229, 0.1);
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 20px;
  writing-mode: horizontal-tb;
  letter-spacing: 3px;
  border-radius: 50px;
  min-width: 60px;
  min-height: 60px;
  border: 1px solid rgba(110, 66, 229, 0.3);
}

.comparison-badge {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.before-badge {
  background: rgba(255, 80, 80, 0.15);
  color: #ff5050;
  border: 2px solid #ff5050;
}

.after-badge {
  background: rgba(110, 66, 229, 0.15);
  color: #6e42e5;
  border: 2px solid #6e42e5;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-header i {
  font-size: 1.6rem;
}

.traditional-header i {
  color: var(--text-muted);
}

.ai-header i {
  color: var(--primary-color);
}

.comparison-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.traditional-header h3 {
  color: var(--text-muted);
}

.ai-header h3 {
  color: var(--text-color);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comparison-list li i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-list li.con i {
  color: #f44c7f;
  background: rgba(244, 76, 127, 0.12);
}

.comparison-list li.pro i {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.comparison-list li.con span {
  color: var(--text-muted);
}

.comparison-list li.pro span {
  color: var(--text-color);
}

/* Bottom CTA */
.why-ai-cta {
  text-align: center;
  padding: 50px 24px;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.08), rgba(59, 154, 226, 0.05));
  border: 1px solid rgba(110, 66, 229, 0.2);
  border-radius: 20px;
}

.why-ai-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-ai-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-ai-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .comparison-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .comparison-vs {
    writing-mode: horizontal-tb;
    padding: 14px;
    letter-spacing: 2px;
    font-size: 1.1rem;
  }

  .comparison-column {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .why-ai-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}


/* =============================================
   AI CALLS SECTION
   ============================================= */

.ai-calls-section {
  padding: 100px 20px;
  background: var(--dark-bg);
  position: relative;
}

.ai-calls-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.ai-calls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.ai-calls-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 40px;
}

.ai-calls-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 40px;
}

/* Call card */
.call-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(18, 19, 30, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.call-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(59, 154, 226, 0.12);
  border-color: rgba(59, 154, 226, 0.25);
}

.call-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.call-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.2), rgba(59, 154, 226, 0.15));
  border: 1px solid rgba(110, 66, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-card-icon i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.call-card-meta {
  flex: 1;
}

.call-card-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
}

.call-card-description {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Custom audio player */
.call-player {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.call-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.call-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(110, 66, 229, 0.4);
}

.call-play-btn i {
  color: white;
  font-size: 0.95rem;
  margin-left: 2px;
}

.call-play-btn.playing i {
  margin-left: 0;
}

.call-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.call-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.call-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 0.1s linear;
  pointer-events: none;
}

.call-progress-bar:hover .call-progress-fill {
  filter: brightness(1.2);
}

.call-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .ai-calls-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Example Videos (local) ===== */
.example-video-player {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #000;
  object-fit: cover;
}

/* ===== Conference Section ===== */
.conference-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, #0a0b14 0%, #0d0e1f 100%);
}

.conference-badge {
  display: inline-block;
  background: rgba(110,66,229,0.15);
  color: #a78bfa;
  border: 1px solid rgba(110,66,229,0.3);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.conference-video-wrap {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.conference-locked {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.conference-locked-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(10,11,20,0.72);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
}

.conference-lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(110,66,229,0.15);
  border: 1px solid rgba(110,66,229,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  margin-bottom: 8px;
}

.conference-locked-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e6e7ee;
  margin: 0;
}

.conference-locked-inner p {
  font-size: 0.9rem;
  color: #c0c4d0;
  margin: 0;
  max-width: 360px;
}

.conference-locked-inner .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
}

.conference-player {
  width: 100%;
  height: 100%;
}

.conference-video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

@media (max-width: 700px) {
  .conference-video-wrap {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .conference-locked-inner {
    padding: 24px 20px;
    gap: 10px;
    max-width: calc(100% - 56px);
  }

  .conference-lock-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
  }

  .conference-lock-icon svg {
    width: 26px;
    height: 26px;
  }

  .conference-locked-inner h3 {
    font-size: 1rem;
  }

  .conference-locked-inner p {
    font-size: 0.8rem;
  }

  .conference-locked-inner .btn-primary {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
}

/* ===== CRM Section ===== */
.crm-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, #0d0e1f 0%, #0a0b14 100%);
}

.crm-section .section-header p {
  max-width: 560px;
  margin: 0 auto;
}

.crm-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  margin: 60px 0 48px;
  align-items: start;
}

.crm-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 28px;
}

.crm-col-label--before {
  background: rgba(244,67,54,0.12);
  color: #f44336;
  border: 1px solid rgba(244,67,54,0.25);
}

.crm-col-label--after {
  background: rgba(76,175,80,0.12);
  color: #4caf50;
  border: 1px solid rgba(76,175,80,0.25);
}

.crm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crm-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.3s;
}

.crm-list li:hover {
  border-color: rgba(110,66,229,0.3);
}

.crm-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

.crm-icon--bad {
  background: rgba(244,67,54,0.12);
  color: #f44336;
}

.crm-icon--good {
  background: rgba(76,175,80,0.12);
  color: #4caf50;
}

.crm-list li > div strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e6e7ee;
  margin-bottom: 4px;
}

.crm-list li > div p {
  font-size: 0.82rem;
  color: #8a8ea0;
  margin: 0;
  line-height: 1.5;
}

.crm-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 60px;
}

.crm-divider-line {
  width: 1px;
  flex: 1;
  background: rgba(255,255,255,0.08);
}

.crm-divider-vs {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8a8ea0;
  background: #0d0e1f;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

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

@media (max-width: 900px) {
  .crm-comparison {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .crm-divider {
    flex-direction: row;
    padding-top: 0;
  }
  .crm-divider-line {
    width: auto;
    height: 1px;
    flex: 1;
  }
}

/* ===== Inbound Section ===== */
.inbound-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, #0a0b14 0%, #0d0e1f 50%, #0a0b14 100%);
  position: relative;
  overflow: hidden;
}

.inbound-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.inbound-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inbound-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(110,66,229,0.2), rgba(59,154,226,0.2));
  border: 1px solid rgba(110,66,229,0.4);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.inbound-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 18px;
  line-height: 1.2;
}

.inbound-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 28px;
}

.inbound-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inbound-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.inbound-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 700;
}

.inbound-demo-card {
  background: var(--card-bg);
  border: 1px solid rgba(110,66,229,0.25);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(110,66,229,0.08);
}

.inbound-demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inbound-demo-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 16px rgba(110,66,229,0.35);
}

.inbound-demo-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 4px;
}

.inbound-demo-sublabel {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.inbound-status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.inbound-status-dot.offline {
  background: #f44336;
  box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
  animation: statusPulseRed 1.8s ease-in-out infinite;
}

@keyframes statusPulseRed {
  0%   { box-shadow: 0 0 0 0 rgba(244,67,54,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(244,67,54,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,67,54,0); }
}

.inbound-phone-wrap {
  text-align: center;
}

.inbound-phone-blur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone-dots {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  filter: blur(4px);
  user-select: none;
  animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.inbound-unlock-btn {
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(110,66,229,0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.inbound-unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(110,66,229,0.52);
  filter: brightness(1.07);
}

.inbound-phone-revealed {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: popupFadeIn 0.4s ease;
}

.phone-number-link {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.phone-number-link:hover {
  filter: brightness(1.1);
}

.inbound-phone-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .inbound-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inbound-text h2 {
    font-size: 1.8rem;
  }
}

/* ===== Demo Popup Form ===== */
.demo-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 19, 0.88);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.demo-popup-overlay.active {
  display: flex;
}

.demo-popup-box {
  position: relative;
  background: #13141f;
  border: 1px solid rgba(110, 66, 229, 0.3);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04);
  width: 100%;
  max-width: 580px;
  margin: auto;
  padding: 36px 36px 30px;
  animation: popupFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  box-sizing: border-box;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes spinBtn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.demo-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
}

.demo-popup-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-color);
}

.demo-popup-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-popup-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 16px rgba(110, 66, 229, 0.35);
}

.demo-popup-header-text {
  flex: 1;
  min-width: 0;
}

.demo-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 3px;
  line-height: 1.3;
}

.demo-popup-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.demo-popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.demo-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-form-group--full {
  grid-column: 1 / -1;
}

.demo-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.demo-input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.demo-form-group input,
.demo-form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  padding: 10px 12px 10px 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.demo-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8ea0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.demo-form-group select option {
  background: #13141f;
  color: var(--text-color);
}

.demo-form-group input::placeholder {
  color: rgba(138, 142, 160, 0.45);
}

.demo-form-group input:focus,
.demo-form-group select:focus {
  border-color: rgba(110, 66, 229, 0.6);
  background: rgba(110, 66, 229, 0.05);
  box-shadow: 0 0 0 3px rgba(110, 66, 229, 0.12);
}

.demo-label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  color: rgba(138, 142, 160, 0.6);
}

.demo-input-wrap--textarea {
  align-items: flex-start;
}

.demo-input-icon--top {
  top: 12px;
  align-self: flex-start;
  position: absolute;
}

.demo-form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  padding: 10px 12px 10px 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  resize: none;
  line-height: 1.5;
}

.demo-form-group textarea::placeholder {
  color: rgba(138, 142, 160, 0.45);
}

.demo-form-group textarea:focus {
  border-color: rgba(110, 66, 229, 0.6);
  background: rgba(110, 66, 229, 0.05);
  box-shadow: 0 0 0 3px rgba(110, 66, 229, 0.12);
}

.demo-popup-submit {
  margin-top: 4px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(110, 66, 229, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  width: 100%;
}

.demo-popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(110, 66, 229, 0.52);
  filter: brightness(1.07);
}

.demo-popup-submit:active {
  transform: translateY(0);
}

.demo-popup-privacy {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin: 6px 0 0;
  opacity: 0.75;
}

.demo-popup-success {
  text-align: center;
  padding: 24px 0 12px;
}

.demo-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110,66,229,0.18), rgba(59,154,226,0.18));
  border: 1px solid rgba(110,66,229,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #7dde9f;
}

.demo-popup-success h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin: 0 0 10px;
  font-weight: 700;
}

.demo-popup-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .demo-popup-box {
    padding: 28px 20px 24px;
    border-radius: 16px;
  }

  .demo-form-row {
    grid-template-columns: 1fr;
  }

  .demo-popup-title {
    font-size: 1.1rem;
  }
}

/* ==================================================
   LIGHT THEME OVERRIDES
   ================================================== */

/* Body */
body, .kfg-website {
  background-color: #f7f8fc;
}

body::before {
  background: linear-gradient(to bottom, rgba(110,66,229,0.04) 0%, transparent 100%);
  height: 30vh;
  z-index: 0;
}

/* Navigation */
.main-nav {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1.5px solid rgba(110,66,229,0.16);
  box-shadow: 0 1px 16px rgba(110,66,229,0.06);
}
.main-nav .nav-links .nav-link {
  color: #3d3a55;
}
.main-nav .nav-links .nav-link:hover {
  color: var(--primary-color);
}
.main-nav .logo .logo-img {
  filter: none;
}
.main-nav .logo .logo-tagline {
  color: #9aa0b4;
}
.main-nav .nav-links .nav-lang-inline {
  border-top-color: rgba(110,66,229,0.12);
}
.main-nav .nav-links .nav-lang-inline .nav-lang-btn {
  background: rgba(110,66,229,0.06);
  border-color: rgba(110,66,229,0.14);
  color: #1e1b3a;
}
.main-nav .nav-links .nav-lang-inline .nav-lang-sep {
  color: rgba(110,66,229,0.3);
}

/* Team member cards */
.about-section .team-grid .team-member {
  background: #ffffff;
  border-color: rgba(110,66,229,0.14);
  box-shadow: 0 4px 20px rgba(110,66,229,0.08);
}
.about-section .team-grid .team-member:hover {
  box-shadow: 0 12px 36px rgba(110,66,229,0.14);
}
.about-section .team-grid .team-member .member-info .member-header h3 {
  background: linear-gradient(90deg, #1e1b3a, #3d3a55);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-section .team-grid .team-member .member-info p strong,
.about-section .team-grid .team-member .member-info ul li strong {
  color: #1e1b3a;
}

/* Language selector (desktop dropdown) */
.current-language {
  background: rgba(110,66,229,0.06);
  border-color: rgba(110,66,229,0.18);
}
.current-language:hover {
  background: rgba(110,66,229,0.10);
  border-color: rgba(110,66,229,0.28);
}
.language-dropdown {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.16);
  box-shadow: 0 8px 32px rgba(110,66,229,0.12);
}
.language-option {
  border-bottom-color: rgba(110,66,229,0.08);
}
.language-option:hover {
  background: rgba(110,66,229,0.06);
}

/* Team carousel arrows */
.team-arrow {
  background: rgba(110,66,229,0.08);
  border-color: rgba(110,66,229,0.3);
}
.team-arrow i { color: #6e42e5; }

/* Hero */
.hero-section {
  background-color: #f7f8fc;
}
.hero-section .stars-bg {
  display: none;
}
.hero-section .scroll-indicator .mouse {
  border-color: rgba(110,66,229,0.25);
}
.hero-section .scroll-indicator .mouse .wheel {
  background-color: #6e42e5;
}
.hero-section .scroll-indicator .arrow-down {
  border-color: rgba(110,66,229,0.25);
}

/* Secondary button */
.btn-secondary {
  background: #ffffff;
  color: #1e1b3a;
  border-color: rgba(110,66,229,0.22);
}
.btn-secondary:hover {
  background: #f3f4fb;
}

/* CTA bar text */
.section-cta-bar p {
  color: #1e1b3a;
}

/* Testimonials mini */
.testimonial-mini-card {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.12);
  box-shadow: 0 2px 12px rgba(110,66,229,0.06);
}
.testimonial-mini-quote {
  color: #5f6475;
}
.testimonial-mini-author strong {
  color: #1e1b3a;
}
.testimonial-mini-author span {
  color: #9aa0b4;
}

/* Example cards (section Demo) */
.examples-section {
  background: #f7f8fc;
  color: #1e1b3a;
}
.example-card {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.13);
  box-shadow: 0 2px 14px rgba(110,66,229,0.07);
}
.example-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(110,66,229,0.12);
  border-color: rgba(110,66,229,0.25);
}
.example-card h3 { color: #1e1b3a; }
.example-card p  { color: #5f6475; }
.example-icon {
  background: rgba(110,66,229,0.08);
  color: #6e42e5;
}

/* How-it-works */
.how-it-works-section {
  background: #eef0f8;
}
.step-card {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.13);
  box-shadow: 0 4px 20px rgba(110,66,229,0.08);
}
.step-card:hover {
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(110,66,229,0.12);
}

/* Why AI */
.why-ai-section {
  background: #eef0f8;
}
.comparison-wrapper {
  border-color: rgba(110,66,229,0.13);
}
.comparison-column.traditional {
  background: rgba(232,59,106,0.03);
}
.comparison-column.ai-side {
  background: rgba(110,66,229,0.04);
}
.comparison-header {
  border-bottom-color: rgba(110,66,229,0.12);
}
.comparison-vs {
  color: #5f6475;
  background: rgba(110,66,229,0.08);
}

/* AI calls section */
.ai-calls-section {
  background: #f7f8fc;
}
.call-card {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.12);
  box-shadow: 0 2px 12px rgba(110,66,229,0.06);
}
.call-card:hover {
  border-color: rgba(59,154,226,0.28);
  box-shadow: 0 12px 36px rgba(59,154,226,0.10);
}
.call-progress-bar {
  background: rgba(110,66,229,0.10);
}

/* Conference */
.conference-section {
  background: #eef0f8;
}
.conference-badge {
  color: var(--primary-color);
}
.conference-video-wrap {
  box-shadow: 0 12px 40px rgba(110,66,229,0.14);
}

/* CRM */
.crm-section {
  background: #f7f8fc;
}
.crm-list li {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.10);
  box-shadow: 0 1px 6px rgba(110,66,229,0.05);
}
.crm-list li > div strong { color: #1e1b3a; }
.crm-list li > div p     { color: #5f6475; }
.crm-divider-line { background: rgba(110,66,229,0.12); }
.crm-divider-vs {
  color: #5f6475;
  background: #f7f8fc;
  border-color: rgba(110,66,229,0.15);
}

/* Inbound section */
.inbound-section {
  background: #eef0f8;
}

/* Testimonials */
.testimonials-section {
  background: #f7f8fc;
}

/* Contact */
.contact-section {
  background-color: #eef0f8;
}
.contact-section .contact-info {
  background: rgba(110,66,229,0.04);
  border-color: rgba(110,66,229,0.10);
  box-shadow: none;
}
.contact-section .contact-info .info-content h4 {
  color: #1e1b3a;
}

/* Portfolio section */
.portfolio-section {
  background-color: #eef0f8;
}

/* About / Team */
.about-section, .team-section {
  background: #f7f8fc;
}

/* Footer (keep dark for visual anchor) */
.site-footer {
  background-color: #1e1b3a;
  border-top: 1px solid rgba(110,66,229,0.20);
}

/* Testimonial cards — fix borders on white bg */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.12);
  box-shadow: 0 4px 20px rgba(110,66,229,0.08);
}
.testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(110,66,229,0.12);
}
.testimonial-author {
  border-top-color: rgba(110,66,229,0.10);
}

/* How-it-works metallic animation — tone down on light */
.how-it-works-section::after {
  display: none;
}
.how-it-works-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(110,66,229,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,154,226,0.05) 0%, transparent 50%);
}

/* Privacy page */
.privacy-hero h1 { color: #1e1b3a; }
.privacy-content h2 { color: #1e1b3a; }
.privacy-content a:hover { color: #6e42e5; }
.privacy-language-switch {
  border-color: rgba(110,66,229,0.16);
  background: rgba(110,66,229,0.05);
}
.privacy-language-switch button {
  color: #5f6475;
}
.privacy-language-switch button:not(.active):hover {
  background: rgba(110,66,229,0.08);
  color: #1e1b3a;
}

/* Footer — keep dark, restore readable text */
.site-footer {
  --text-muted: #9aa0b4;
}
.footer-social .linkedin-icon,
.footer-social .whatsapp-icon,
.footer-copyright p,
.footer-copyright a,
.footer-company-details,
.footer-company-details p {
  color: #9aa0b4;
}

/* Demo popup */
.demo-popup-box {
  background: #ffffff;
  border: 1px solid rgba(110,66,229,0.18);
  box-shadow: 0 24px 60px rgba(110,66,229,0.14), 0 2px 8px rgba(0,0,0,0.06);
}
.demo-popup-close {
  background: rgba(110,66,229,0.07);
  color: #5f6475;
}
.demo-popup-close:hover {
  background: rgba(110,66,229,0.12);
  color: #1e1b3a;
}
.demo-popup-header {
  border-bottom-color: rgba(110,66,229,0.10);
}
.demo-form-group input,
.demo-form-group select,
.demo-form-group textarea {
  background: #f7f8fc;
  border-color: rgba(110,66,229,0.16);
  color: #1e1b3a;
}
.demo-form-group input::placeholder,
.demo-form-group textarea::placeholder {
  color: #9aa0b4;
}
.demo-form-group select option {
  background: #ffffff;
  color: #1e1b3a;
}
.demo-form-group input:focus,
.demo-form-group select:focus,
.demo-form-group textarea:focus {
  background: #ffffff;
}
