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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: radial-gradient(circle, #d7dff6 0%, #faf1e8 80%);

    opacity: 0;
    transition: opacity 1s ease-in-out;


}
body.loaded {
  opacity: 1;
}
/* Typography */
.dm-sans-font {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Header Navigation */
header {
  background-color: transparent;
  padding: 1.5rem 3rem;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

header img {
  max-width: 100px;
  height: auto;
}

header nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

header ul {
  margin: 0;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

header li {
  margin: 0.5rem 1rem;
}

header a {
  color: black;
  text-decoration: none;
}

header a:hover {
  text-decoration: underline;
}

.login-button {
  padding: 10px 24px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.login-button:hover {
  background: linear-gradient(135deg, #ff5252 0%, #ff3838 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  text-decoration: none !important;
}

@media (max-width: 968px) {
  header {
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  header img {
    margin-bottom: 0.5rem;
  }
  
  header nav {
    order: 2;
    width: 100%;
  }
  
  header ul {
    justify-content: center;
    border-bottom: 1px solid #d0dce1;
    padding-bottom: 1em;
    width: 100%;
    gap: 0.25rem;
  }
  
  header li {
    margin: 0.25rem 0.5rem;
  }
  
  .login-button {
    order: 3;
    width: fit-content;
    padding: 10px 32px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  header li {
    margin: 0.25rem 0.25rem;
  }
  
  .language-link {
    padding: 6px 10px;
  }
}

/* Hero Section */
#hero {
  text-align: center;
  padding-top: 2rem;
  color: black;
}

#hero p {
  z-index: 2;
  position: relative;
}

#hero h1 {
  z-index: 2;
  position: relative;
}

.particles-animation {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particles-animation canvas {
  /* Add any specific canvas styles here */
}

@keyframes slideUp {
  from {
      top: 50%;
  }

  to {
      top: 0;
  }
}

#hero h1 {
  font-size: 4rem;
  color: black;
  font-weight: bold;
}

#hero h1 span {
  position: relative;
  display: inline-block;
  color: black;
}

#hero h1 span::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 8px;
  box-shadow: 0 1px rgba(255, 255, 255, 0.6);
  margin-top: -0.8em;
  background: rgb(255, 100, 100, 0.8);
  border-radius: 20%;
  transform-origin: center left;
  transform: scaleX(0);
  animation: strikethrough 1s 1s cubic-bezier(.55, 0, .1, 1) forwards;
}

@keyframes strikethrough {
  from {
      transform: scaleX(0);
  }

  to {
      transform: scaleX(1);
  }
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.button-cta {
  border: none;
}

.button-cta a:hover {
  transform: scale(1.25);
}

.button-cta a {
  text-decoration: none;
  padding: 1rem 4.5rem;
  border-radius: 10px;
  height: 100%;
  width: 100%;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  background-color: #f9e352;
  color: black;
  text-decoration: none;
  transition: background-color 0.3s ease;
  transition: transform 1s ease;
}

.boxes {
  position: relative;
  margin: 3em 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.boxes div {
  cursor: pointer;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.boxes div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff6b6b);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.boxes div:hover::before {
  opacity: 1;
  animation: gradientSlide 2s linear infinite;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.boxes div h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.3;
}

.boxes div p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.boxes div:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.box-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.box-1::after {
  content: '🤬';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.15;
  transform: rotate(-15deg);
}

.box-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(72, 219, 251, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.box-3::after {
  content: '🤖';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.15;
  transform: rotate(15deg);
}

/* Specific style for the middle box */
.box-2 {
  background: linear-gradient(135deg, rgba(254, 202, 87, 0.2) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(254, 202, 87, 0.3);
  box-shadow: 0 12px 40px rgba(254, 202, 87, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.box-2::after {
  content: '⚡';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.2;
}

.box-2:hover {
  border-color: rgba(254, 202, 87, 0.6);
  box-shadow: 0 20px 60px rgba(254, 202, 87, 0.3);
}

.box-2 p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.box-2 img {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.box-2 img:hover {
  transform: scale(1.1);
}

.testimonial {
  margin-bottom: 2em;
}

/* Section Styles */
section {
  padding: 1rem 1rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Features Section */
#features ul {
  list-style: none;
  margin: 2rem auto;
  padding: 0;
}

#features li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

/* Pricing Section */
article {
  background-color: white;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 300px;
}

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

article p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 1rem 0;
  text-align: center;
}

footer nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap; /* Allow wrapping in footer */
}

footer li {
  margin: 0.5rem 1rem; /* Adjust margin for better spacing */
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */

/* Language Switcher Styles */
.language-switcher {
  margin-left: 20px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  vertical-align: middle;
}

.language-link:hover {
  background-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transform: translateY(-1px);
}

.language-flag {
  font-size: 1.1em;
  line-height: 1;
}

.language-text {
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1;
}