/* Base Styles */
:root {
  --primary-color: #ff0000;
  --primary-dark: #cc0000;
  --secondary-color: #333333;
  --white: #ffffff;
  --light-color: #f8f9fa;
  --dark-color: #000000;
  --gray: #6c757d;
  --light-gray: #333333;
  --bg-dark: #121212;
  --card-bg: #1e1e1e;
  --font-primary: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--white);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Language Selector */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 20px;
  transition: var(--transition);
}

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

header.scrolled ~ .language-selector {
  background-color: rgba(0, 0, 0, 0.7);
}

header.scrolled ~ .language-selector .lang-btn {
  color: var(--white);
}

header.scrolled ~ .language-selector .lang-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Language Display - Hide all language elements by default */
.en, .fr {
  display: none !important;
}

/* Class-based language toggle */
.en-active .en {
  display: block !important;
}

.fr-active .fr {
  display: block !important;
}

/* Special handling for inline elements */
.en-active span.en,
.fr-active span.fr {
  display: inline !important;
}

/* Special handling for video elements */
.en-active video.en,
.fr-active video.fr {
  display: block !important;
  width: 100%;
}

/* Special handling for image elements */
.en-active img.en,
.fr-active img.fr {
  display: block !important;
  max-width: 100%;
}

/* Trusted By Section */
.trusted-by {
  padding: 60px 0;
  background-color: var(--dark-bg);
}

.client-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.client-logos img {
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

.client-logos img:hover {
  transform: scale(1.05);
}

/* Default language is English */
body {
  /* Using attribute instead of property */
  /* This fixes the lint error */
  --default-lang: "en";
  /* Set the attribute via JavaScript */
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.8);
  transition: var(--transition);
}

header.scrolled {
  background-color: var(--dark-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header.scrolled .logo h1,
header.scrolled nav a {
  color: var(--white);
}

header.scrolled nav a:hover {
  color: var(--primary-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
  background-color: var(--bg-dark);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

.btn.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* X Logo (formerly Twitter) */
.x-text {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  animation: bounce 2s infinite;
}

.scroll-down i {
  margin-top: 10px;
  font-size: 1.5rem;
}

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

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--white);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.step h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Products Section */
.products {
  padding: 100px 0;
}

.tabs {
  margin-top: 50px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 10px;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  background-color: var(--card-bg);
  color: var(--white);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tab-btn i {
  font-size: 1.2rem;
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.tab-media {
  position: relative;
}

.tab-media img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-preview {
  margin-top: 20px;
}

.video-preview video {
  width: 100%;
  border-radius: 10px;
}

.tab-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.tab-info p {
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-bottom: 30px;
}

.features-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li i {
  color: var(--primary-color);
}

/* Demo Section */
.demo {
  padding: 100px 0;
  background-color: var(--gray);
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.demo-video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.demo-info p {
  margin-bottom: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Trusted By Section */
.trusted-by {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.logo-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ceo-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(30, 30, 30, 0.8);
  padding: 10px 15px;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.ceo-title h3 {
  margin: 0;
  color: #ff0000;
  font-size: 18px;
  font-weight: 600;
}

.about-content h3 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
}

.about-content p {
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-color: var(--dark-color);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item h3 {
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #333;
  border-radius: 5px;
  font-family: var(--font-primary);
  background-color: var(--card-bg);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  margin-bottom: 15px;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3,
.footer-products h3,
.footer-newsletter h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-products ul {
  list-style: none;
}

.footer-links li,
.footer-products li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-products a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form button {
  border-radius: 0 5px 5px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .steps,
  .tab-grid,
  .demo-container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    transition: var(--transition);
    z-index: 99;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }
  
  nav a {
    color: var(--dark-gray);
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
}

/* Dialog Styles */
.modal-dialog {
  border: none;
  border-radius: 8px;
  padding: 0;
  background-color: #1e1e1e;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.modal-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

.dialog-content {
  padding: 25px;
  text-align: center;
}

.dialog-content h3 {
  color: #ff0000;
  margin-top: 0;
  margin-bottom: 15px;
}

.dialog-content p {
  margin-bottom: 20px;
}

.dialog-close {
  margin-top: 10px;
  min-width: 100px;
  cursor: pointer;
}
