/* Variables */
:root {
  --primary-color: #E32974;
  --primary-gradient: linear-gradient(135deg, #E32974, #f14b8f);
  --secondary-color: #333;
  --background-color: #f4f7fa;
  --font-family: 'Karmen Sans Heavy', sans-serif;
  --container-width: 1200px;
  --tooltip-bg-color: white;
  --tooltip-text-color: #333;
  --tooltip-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  --btn-bg-color: #E32974;
  --btn-hover-bg: #c41d5f;
  --btn-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --btn-radius: 20px;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--secondary-color);
  line-height: 1.6;
}

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

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

/* Containers */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 245, 250, 0.98) 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 1px 20px rgba(227, 41, 116, 0.08);
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(227, 41, 116, 0.1);
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 245, 250, 0.99) 100%);
  box-shadow: 0 4px 30px rgba(227, 41, 116, 0.12);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0.8rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 4px 8px rgba(227, 41, 116, 0.2));
}

.nav-links.active {
  display: flex;
  flex-direction: column; /* For stacking the links */
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  transition: color var(--transition-speed) ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
  width: 80%;
}

/* Auth Buttons Container */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2rem;
}

.login-btn {
  color: var(--primary-color);
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  background: transparent;
}

.login-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(227, 41, 116, 0.2);
}

.get-started-btn {
  background: linear-gradient(135deg, #E32974, #FF6B9D);
  color: #fff;
  padding: 0.65rem 1.8rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(227, 41, 116, 0.2);
  border: 2px solid transparent;
}

.get-started-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(227, 41, 116, 0.35);
  background: linear-gradient(135deg, #FF6B9D, #E32974);
}

/* Mobile Menu */
.menu-toggle {
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #E32974, #FF6B9D);
  border-radius: 8px;
  padding: 8px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(227, 41, 116, 0.3);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: white;
  display: block;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background: linear-gradient(135deg, #f4f7fa 0%, #eef2f6 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23ff6b6b" opacity="0.1"/></svg>');
  opacity: 0.5;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--secondary-color);
  animation: fadeInUp 1s ease;
}

.hero-content h1 span {
  display: inline-block;
  position: relative;
  color: var(--primary-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 107, 107, 0.2);
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary-gradient);
  opacity: 0.2;
  border-radius: 4px;
  transform: translateY(4px);
}

/* Search Box in Hero */
.cta-wrapper {
  margin: 2.5rem auto;
  animation: fadeInUp 1s ease 0.4s backwards;
  max-width: 600px;
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.search-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 15px 35px rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1;
  padding: 1.2rem 2rem;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: #888;
  font-family: var(--font-family);
}

.search-input::placeholder {
  color: #aaa;
}

.search-btn {
  padding: 1.2rem 2rem;
  background: var(--primary-gradient);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(227, 41, 116, 0.3);
}


/* Legacy button style for other uses */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(227, 41, 116, 0.2);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(227, 41, 116, 0.3);
}

.cta-form {
  display: flex;
  max-width: 600px;
  margin: 2.5rem auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: var(--btn-radius);
  overflow: hidden;
  animation: fadeInUp 1s ease 0.4s backwards;
  position: relative;
}

.cta-form::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: calc(var(--btn-radius) + 2px);
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
}

.cta-form input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.cta-form input:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

.cta-form input::placeholder {
  color: #999;
  transition: color 0.3s ease;
}

.cta-form input:focus::placeholder {
  color: #666;
}

.cta-form button {
  padding: 1.5rem 3rem;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-form button:hover {
  transform: translateX(2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.cta-form button:hover::before {
  transform: translateX(100%);
}

.simple-features {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #666;
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.simple-features span {
  position: relative;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.simple-features span::before {
  content: '•';
  position: absolute;
  left: -1rem;
  color: var(--primary-color);
  opacity: 0.5;
}

.simple-features span:first-child::before {
  display: none;
}

.simple-features span:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Scroll Down Arrow */
.scroll-down-double-arrow {
  position: absolute;
  bottom: -16rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 70px;
  cursor: pointer;
  animation: bounce 2s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-down-double-arrow .arrow-1,
.scroll-down-double-arrow .arrow-2 {
  position: relative;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid var(--primary-color);
  opacity: 0;
  animation: arrowAnimation 2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.scroll-down-double-arrow .arrow-1 {
  margin-bottom: 10px;
  animation-delay: 0s;
}

.scroll-down-double-arrow .arrow-2 {
  animation-delay: 0.5s;
}

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

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

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .search-box {
    flex-direction: column;
    border-radius: var(--btn-radius);
  }

  .search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  .search-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--btn-radius);
  }


  .cta-form {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
    border-radius: var(--btn-radius);
  }

  .simple-features {
    flex-direction: column;
    gap: 1rem;
  }

  .simple-features span::before {
    display: none;
  }

  /* Stack Navbar Links Vertically */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }

  /* Make Hero Section Adjust */
  .hero-content h1 {
    font-size: 2rem; /* Adjust the size */
  }

  .cta-form {
    flex-direction: column;
    margin: 0 auto;
  }

  .cta-form input {
    margin-bottom: 10px; /* Stack input and button */
    border-radius: 30px;
  }

  /* Stack FAQ Items */
  .faq-item {
    padding: 1rem; /* Adjust padding for smaller screens */
  }
  
  /* Full width for images */
  img {
    max-width: 100%;
  }

  .menu-toggle {
    display: block; /* Show hamburger */
  }
  
  /* Ensure the mobile view is smooth */
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 2rem;
}

/* How It Works Section */
.dynamic-flow-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.flow-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 107, 107, 0.1);
}

.flow-card::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.flow-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.2);

}

.flow-card:hover::before {
  transform: scaleX(0.95);
}

.card-icon {
  width: 150px;
  height: 180px;
  margin: 0 auto 2rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
}

.flow-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-icon img {
  width: 150px;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-card:hover .card-icon img {
  transform: scale(1.2);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
  position: relative;
  z-index: 1;
}

.step-number::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(4px);
}

.flow-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.flow-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.flow-card:hover h3 {
  color: var(--primary-color);
}

/* Comparison Section */
.comparison-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.comparison-box {
  background-color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 10px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.comparison-box h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.comparison-box ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.comparison-box ul li {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 25px;
}

.comparison-box ul li::before {
  content: '✔';
  color: #28a745;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.without-qrlingo {
  background-color: #ffe5e5;
}

.without-qrlingo ul li::before {
  content: '✘';
  color: #d9534f;
}

/* Supported Languages Section - Flags and Carousel */
.carousel-flags {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flag-item {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  padding: 5px;
  background: linear-gradient(135deg, #E32974, #f97fb5);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed) ease;
  position: relative;
}

.flag-item:hover {
  transform: scale(1.1) rotate(5deg);
  z-index: 1;
}

.flag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.progress-bar-container {
  width: 300px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: var(--primary-gradient);
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Blog Section */
.blog-grid {
  display: flex;
  border-radius: 30px;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.blog-post {
  background-color: #fff;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post img {
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.blog-content p {
  color: #555;
  margin-bottom: 1.5rem;
}

.blog-content a {
  color: var(--primary-color);
  font-weight: bold;
}

.blog-content a:hover {
  text-decoration: underline;
}

/* Tooltip Effect */
.flag-item::before {
  content: attr(data-lang);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--tooltip-bg-color);
  color: var(--tooltip-text-color);
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 10px;
  box-shadow: var(--tooltip-shadow);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.flag-item:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-3px);
}

/* Tooltip Arrow */
/* Triangle Below Tooltip */
.flag-item::after {
  /* Remove this whole block if you don't want the arrow */
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--tooltip-bg-color) transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flag-item:hover::after {
  opacity: 1;
  visibility: visible;
}


/* Modern View More Button */
.view-all-btn {
  background-color: var(--btn-bg-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
border-radius: 5px;  border: none;
  margin-top: 3rem;
  font-weight: 600;
  box-shadow: var(--btn-shadow);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.view-all-btn:hover {
  background-color: var(--btn-hover-bg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Pricing Section */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.billing-text {
  font-size: 1.1rem;
  margin: 0 1rem;
  font-weight: 500;
}

.switch {
  position: relative;
  width: 50px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.4s;
}

.slider::before {
  content: '';
  position: absolute;
  height: 19px;
  width: 19px;
  background-color: #fff;
  border-radius: 50%;
  bottom: 3px;
  left: 3px;
  transition: transform 0.4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider::before {
  transform: translateX(25px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.pricing-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 107, 107, 0.1);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.2);
}

.pricing-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.pricing-card .price::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.features-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.features-list li {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.primary-btn {
  background: var(--primary-gradient);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.primary-btn:hover::before {
  transform: translateX(100%);
}

.best-value {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.best-value-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: #f9f9fb;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid #f0f0f0;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  background: #fff8f8;
  border: 1px solid #E32974;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  padding: 0.5rem 0;
}

.faq-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #E32974;
}

.toggle-icon {
  font-size: 1.5rem;
  color: #E32974;
  transition: transform 0.4s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.3s ease;
  padding: 0;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

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

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

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

@media (max-width: 1024px) {
  .dynamic-flow-container,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .dynamic-flow-container,
  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .flow-card,
  .pricing-card {
    padding: 2rem;
  }
  
  .best-value {
    transform: none;
  }

  /* Stack Navbar Links Vertically */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }

  /* Make Hero Section Adjust */
  .hero-content h1 {
    font-size: 2rem; /* Adjust the size */
  }

  .cta-form {
    flex-direction: column;
    margin: 0 auto;
  }

  .cta-form input {
    margin-bottom: 10px; /* Stack input and button */
    border-radius: 30px;
  }

  /* Stack FAQ Items */
  .faq-item {
    padding: 1rem; /* Adjust padding for smaller screens */
  }
  
  /* Full width for images */
  img {
    max-width: 100%;
  }

  .menu-toggle {
    display: block; /* Show hamburger */
  }
  
  /* Ensure the mobile view is smooth */
}

/* Feature Comparison Table */
.feature-comparison {
  margin-top: 5rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.feature-comparison h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 3rem;
  position: relative;
}

.feature-comparison h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(227, 41, 116, 0.3);
}

.comparison-table {
  background: white;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 2px solid rgba(227, 41, 116, 0.15);
  position: relative;
  z-index: 10;
}

.comparison-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-gradient);
  box-shadow: 0 0 20px rgba(227, 41, 116, 0.4);
}

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

.comparison-table thead tr {
  background: linear-gradient(135deg, #E32974 0%, #ec4d8a 33%, #f571a1 66%, #fd95b7 100%);
}

.comparison-table th {
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: transparent;
}

.comparison-table th:first-child {
  text-align: left;
  background: var(--secondary-color);
  font-size: 1.1rem;
  border-right: none;
}

.comparison-table th:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
}

.price-small,
.price-medium,
.price-large {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.95;
  margin-top: 0.5rem;
  display: block;
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-right: none;
  font-size: 1.1rem;
  color: #555;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-weight: 500;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--secondary-color);
  background: linear-gradient(135deg, rgba(227, 41, 116, 0.03) 0%, rgba(227, 41, 116, 0.06) 100%);
  border-right: none;
  font-size: 1.05rem;
}

.comparison-table tbody tr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(227, 41, 116, 0.06) 0%, rgba(227, 41, 116, 0.08) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 41, 116, 0.15);
}

.comparison-table tbody tr:hover td:first-child {
  background: linear-gradient(135deg, rgba(227, 41, 116, 0.1) 0%, rgba(227, 41, 116, 0.15) 100%);
  color: var(--primary-color);
}

.comparison-table tbody tr:hover td:not(:first-child) {
  color: #333;
  font-weight: 600;
}

/* Enhanced checkmarks and crosses */
.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-table tbody tr:hover .feature-check {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.comparison-table tbody tr:hover .feature-cross {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Alternating row colors */
.comparison-table tbody tr:nth-child(even) {
  background: linear-gradient(135deg, rgba(227, 41, 116, 0.015) 0%, rgba(227, 41, 116, 0.03) 100%);
}

.comparison-table tbody tr:nth-child(odd) {
  background: white;
}

/* Last row special styling */
.comparison-table tbody tr:last-child td {
  border-bottom: none;
  padding-bottom: 2rem;
}

.comparison-table tbody tr:last-child {
  border-bottom: 3px solid rgba(227, 41, 116, 0.1);
}

/* Mobile Responsive for Feature Table */
@media (max-width: 768px) {
  .feature-comparison {
    padding: 0 1rem;
    margin-top: 3rem;
  }
  
  .feature-comparison h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .comparison-table {
    border-radius: 20px;
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.5rem;
  }
  
  .comparison-table th {
    font-size: 1rem;
    padding: 1.5rem 0.5rem;
  }
  
  .comparison-table td:first-child {
    font-size: 0.95rem;
  }
  
  .price-small,
  .price-medium,
  .price-large {
    font-size: 0.8rem;
  }
  
  .feature-check,
  .feature-cross {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: 1.5rem;
  font-style: italic;
}

/* Word Plug-in Section */
.word-plugin-section {
  background-color: #fff;
}

.word-plugin-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.word-plugin-steps {
  list-style: none;
  counter-reset: word-step;
  padding: 0;
}

.word-plugin-steps li {
  counter-increment: word-step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 0.75rem;
  background: #fafafa;
  border-radius: 12px;
  font-size: 1.05rem;
}

.word-plugin-steps li::before {
  content: counter(word-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.word-plugin-highlight {
  background: var(--primary-gradient);
  color: white;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.word-plugin-highlight .highlight-label {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.word-plugin-highlight .highlight-value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Use Cases Section */
.use-cases-section {
  background-color: var(--background-color);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.use-case-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 4px solid var(--primary-color);
}

.use-case-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.use-case-card p {
  font-size: 0.95rem;
  margin: 0;
}

.use-case-card .use-case-impact {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed #e0e0e0;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Wirkungsebenen / Impact Section */
.impact-section {
  background-color: #fff;
}

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

.impact-card {
  background: #fafafa;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.impact-card h3 {
  color: var(--primary-color);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.impact-card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .word-plugin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}
