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

body {
  font-family: 'Heebo', sans-serif;
  line-height: 1.6;
  color: #333;
  direction: rtl;
}

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

a {
  text-decoration: none;
  color: #6a11cb;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 180px; /* Enlarged logo size as requested */
  width: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-right: 30px;
  margin-left: 30px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  font-size: 20px; /* Increased font size for better visibility */
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px; /* Thicker underline */
  background: #6a11cb;
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.hero-logo {
  margin: 0 auto 20px;
  max-width: 400px;
}

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

.hero h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background-color: #6a11cb; /* Changed from white to purple */
  color: white; /* Changed from purple to white for better contrast */
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  margin-top: 20px;
  font-size: 18px;
  border: 2px solid white; /* Added border for better visibility */
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: white; /* Change to white on hover */
  color: #6a11cb; /* Change text to purple on hover */
}

.cta-button-small {
  display: inline-block;
  background-color: #6a11cb;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
}

.cta-button-small:hover {
  background-color: #5a0cb6;
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #666;
  font-weight: 400;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: #6a11cb;
  margin-bottom: 20px;
}

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

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  border: 4px solid #6a11cb;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #eee;
}

.comparison-table th {
  background-color: #6a11cb;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

/* Highlight BetterWeb column */
.comparison-table th:last-child {
  position: relative;
  background-color: #8e24aa; /* Slightly different color to stand out */
}

.comparison-table th:last-child:after {
  content: "המומלץ ✓";
  position: absolute;
  top: -15px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 100; /* Increased z-index for better visibility */
  width: auto; /* Ensure width is based on content */
  white-space: nowrap; /* Prevent text wrapping */
  transform: translateY(-5px); /* Move up slightly to ensure visibility */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Add shadow for better visibility */
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

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

.comparison-table td:last-child {
  background-color: #f3e5f5; /* Light purple background */
  color: #6a11cb;
  font-weight: bold;
  border-left: 4px solid #6a11cb;
  border-right: 4px solid #6a11cb;
}

/* Steps */
.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.step-number {
  background-color: #6a11cb;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 20px;
  flex-shrink: 0;
}

.step-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 10px;
  color: #333;
}

/* Testimonial styles - Enhanced */
.testimonial {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  position: relative;
  border: 1px solid #f3e5f5;
}

.testimonial:before {
  content: """;
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 80px;
  color: #f3e5f5;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 25px;
  color: #555;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: bold;
  color: #6a11cb;
  font-size: 18px;
  margin-bottom: 5px;
}

.testimonial-company {
  font-size: 16px;
  color: #777;
}

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

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: white;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.faq-toggle {
  color: #6a11cb;
  font-size: 1.2rem;
}

.faq-answer {
  background-color: #f9f9f9;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.active {
  padding: 20px;
  max-height: 2000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer h4 {
  margin-bottom: 15px;
}

.faq-answer ul {
  padding-right: 20px;
}

.faq-answer ul li {
  list-style-type: disc;
  margin-bottom: 10px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
}

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

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 40px 0 20px; /* Reduced padding */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 300px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section p a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
  color: white;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  margin: 0 15px 10px;
  text-decoration: none;
  font-size: 16px;
}

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

.copyright {
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .logo img {
    height: 120px;
  }
  
  .mobile-menu-toggle {
    display: none; /* Hide mobile menu toggle as requested */
  }
  
  nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  nav ul li a {
    font-size: 16px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: block;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero h3 {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-left: 0;
    margin-bottom: 15px;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  /* Mobile Table Styles - Enhanced clarity */
  .comparison-table {
    border: 0;
  }
  
  .comparison-table thead {
    display: none;
  }
  
  .comparison-table tr {
    margin-bottom: 20px;
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .comparison-table td {
    display: block;
    text-align: center;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding: 15px;
    font-size: 16px;
  }
  
  .comparison-table td:first-child {
    background-color: #f0f4f8;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    border-bottom: 2px solid #6a11cb;
  }
  
  .comparison-table td:last-child {
    background-color: #f3e5f5;
    color: #6a11cb;
    font-weight: bold;
    border: 2px solid #6a11cb;
    position: relative;
  }
  
  .comparison-table td:last-child:before {
    content: "BetterWeb ✓";
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #6a11cb;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 100; /* Increased z-index */
    width: auto; /* Ensure width is based on content */
    white-space: nowrap; /* Prevent text wrapping */
  }
}

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

.feature-card, .step-card, .faq-item {
  animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.step-card:nth-child(2) {
  animation-delay: 0.1s;
}

.step-card:nth-child(3) {
  animation-delay: 0.2s;
}

.step-card:nth-child(4) {
  animation-delay: 0.3s;
}

.step-card:nth-child(5) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(3) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(5) {
  animation-delay: 0.4s;
}
