body {
  font-family: 'Heebo', Arial, sans-serif;
  direction: rtl;
  margin: 0;
  background: #fff;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Global fix for example items */
.example-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none;
  transition: transform 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
}

.example-item img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 100%;
  height: auto;
}

.example-item .title-overlay {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}

.example-item .logo-under-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* אנימציה של אצבע לוחצת בכרטיסי התפריט */
.finger-tap-animation {
  position: absolute;
  bottom: 50%;
  right: 15px;
  transform: translateY(50%);
  z-index: 999;
  opacity: 1;
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fingerTap 2s ease-in-out infinite;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* אנימציה של האצבע הלוחצת */
@keyframes fingerTap {
  0%, 100% {
    opacity: 0.8;
    transform: scale(0.9) translateY(0);
  }
  25% {
    opacity: 1;
    transform: scale(1.2) translateY(-3px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translateY(-1px);
  }
  75% {
    opacity: 0.9;
    transform: scale(1) translateY(0);
  }
}

/* עצירת האנימציה בהובר או מגע */
.example-item:hover .finger-tap-animation,
.example-item:focus .finger-tap-animation {
  animation-play-state: paused;
  opacity: 0;
}

/* התאמה למובייל - אצבע קטנה יותר */
@media (max-width: 768px) {
  .finger-tap-animation {
    font-size: 20px;
    bottom: 50%;
    right: 4px;
    transform: translateY(50%);
    width: 35px;
    height: 35px;
    animation: fingerTap 1.5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--primary);
    box-shadow: 0 3px 8px rgba(0, 157, 224, 0.4);
  }
}

@media (max-width: 480px) {
  .finger-tap-animation {
    font-size: 18px;
    bottom: 50%;
    right: 2px;
    transform: translateY(50%);
    width: 30px;
    height: 30px;
    animation: fingerTap 1.2s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--primary);
    box-shadow: 0 3px 8px rgba(0, 157, 224, 0.4);
  }
}

/* ביטול האנימציה למשתמשים עם העדפה להפחתת תנועה */
@media (prefers-reduced-motion: reduce) {
  .finger-tap-animation {
    animation: none;
    opacity: 0;
  }
}
:root {
  --primary: #009DE0;
  --primary-dark: #007bb6;
  --accent: #fff;
  --text: #222;
  --radius: 10.4px;
  --shadow: none;
}
.clients-logos img, .footer-social img {
  border-radius: 0;
  box-shadow: none;
}

/* Video container iframe removed - no longer needed */
header {
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.15);
  border-bottom: 2px solid #e0e0e0;
  border-radius: var(--radius);
  margin: 20px auto;
  max-width: 1200px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  transition: all 0.3s ease;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header:hover {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.20);
  border-bottom: 2px solid #bdbdbd;
  transform: translateX(-50%) translateY(-2px);
}

header::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  border-radius: 0;
  pointer-events: auto;
  z-index: -1;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  border-radius: 0;
  pointer-events: auto;
  z-index: -1;
}

.header-logo {
  display: flex;
  align-items: center;
  margin-left: 20px;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  padding: 5px;
  border-radius: 5px;
}

.header-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  background-color: rgba(0, 157, 224, 0.1);
  box-shadow: 0 2px 8px rgba(0, 157, 224, 0.2);
}

.header-logo:active {
  transform: scale(0.95);
  background-color: rgba(0, 157, 224, 0.2);
  box-shadow: 0 1px 4px rgba(0, 157, 224, 0.3);
}

.header-logo:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  background-color: rgba(0, 157, 224, 0.1);
  box-shadow: 0 2px 8px rgba(0, 157, 224, 0.2);
  transform: scale(1.02);
}

.header-logo:focus:hover {
  transform: scale(1.05);
  background-color: rgba(0, 157, 224, 0.15);
}

.header-logo img {
  height: 40px;
  width: auto;
  border-radius: 0;
}

.logo-container {
  display: none;
}

.logo-container .logo {
  display: inline-block;
}
.logo img {
  height: 44px;
  border-radius: 0;
}
nav a {
  margin: 0 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0;
  padding: 0.5em 1em;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--primary);
  color: #fff;
}
.cta {
  background: var(--primary);
  color: #fff !important;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: var(--primary-dark);
  transform: scale(1.06);
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  padding-top: 140px;
  direction: rtl;
  text-align: right;
}
section.fade-in {
  /* Removed scroll-snap-align for better scrolling experience */
  direction: rtl;
  text-align: right;
}
/* Hero section */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
  position: relative;
  direction: rtl;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.1;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(1.1);
  }
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 0;
  transition: transform 0.8s ease, filter 0.8s ease;
  animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-image:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.hero-cta {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff !important;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 4;
  background: rgba(0, 157, 224, 0.9);
}

.hero-cta:hover, .hero-cta:focus {
  background: rgba(0, 120, 180, 0.95);
  transform: translateX(-50%) scale(1.05);
  box-shadow: none;
}

@keyframes heroImageFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  position: relative;
  z-index: 3;
  animation: heroTextGlow 3s ease-in-out infinite alternate;
}

@keyframes heroTextGlow {
  0% {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2), 0 0 10px rgba(0, 157, 224, 0.2);
  }
  100% {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2), 0 0 15px rgba(0, 157, 224, 0.3);
  }
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Examples section */
.examples-section {
  margin-top: 0 !important;
  padding-top: 0.5rem;
  padding: 2.5rem 2rem 2.5rem 2rem;
  background: #fff;
  text-align: center;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.examples-section h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
  font-weight: 800;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

  .iphone-examples {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 0.5rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: 0 !important;
    align-items: flex-start !important;
    overflow: visible !important;
    margin-top: 25px !important;
  }

.iphone-example {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.iphone-example:hover {
  transform: none;
  box-shadow: none;
}

.iphone-example img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

/* הקטנה במובייל - הגדרה גלובלית */
@media (max-width: 768px) {
  .iphone-example img,
  .example-item img {
    width: 60px !important;
    max-width: 60px !important;
  }
}

@media (max-width: 480px) {
  .iphone-example img,
  .example-item img {
    width: 50px !important;
    max-width: 50px !important;
  }
}

/* הקטנה במובייל */
@media (max-width: 768px) {
  .iphone-example img {
    width: 40px !important;
  }
}

@media (max-width: 480px) {
  .iphone-example img {
    width: 35px !important;
  }
}

.iphone-example:hover img {
  transform: none;
}

/* Video container removed - no longer needed */

/* Responsive adjustments */
@media (max-width: 768px) {
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Mobile border-radius adjustments */
  .advantage {
    border-radius: 15.6px;
  }
  
  .stat {
    border-radius: 15.6px;
  }
  
  .step {
    border-radius: 15.6px;
  }
  
  .step-icon {
    border-radius: 15.6px;
  }
  
  .testimonials-grid blockquote {
    border-radius: 15.6px;
  }
  
  .faq-item {
    border-radius: 15.6px;
  }
  
  .footer-social a {
    border-radius: 15.6px;
  }
  
  .modal-content {
    border-radius: 15.6px;
  }
  
  header {
    border-radius: 15.6px;
  }
  
  #contact {
    border-radius: 15.6px;
  }
  
  #contactForm input, #contactForm textarea {
    border-radius: 15.6px;
  }
  
  .examples-section h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .iphone-examples {
    gap: 0.5rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .iphone-example img {
    width: 40px !important;
  }
  
  /* הקטנה ספציפית למובייל בלבד */
  @media (max-width: 768px) {
    .iphone-examples .iphone-example img {
      width: 40px !important;
    }
  }
  
  /* תיקון כותרות משניות במובייל */
  .title-overlay {
    top: -35px !important;
    font-size: 0.8rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    max-width: 80px !important;
  }
  
  /* תיקון לוגואים במובייל */
  .logo-under-title {
    bottom: -70px !important;
    width: 25px !important;
  }
}
/* Desktop layout - 4 advantages in first row, 2 in second row */
.advantages-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  justify-content: center;
  margin: 0.5rem 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

@media (max-width: 1200px) {
  .advantages-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .advantages-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .advantages-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    padding: 0;
    margin: 0;
  }
  
  #advantages h2 {
    margin-bottom: 0.5rem;
  }
}

/* Ensure proper layout on large screens */
@media (min-width: 1201px) {
  .advantages-list {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1600px;
  }
  
  .advantage img {
    width: 60%;
    height: 120px;
  }
}

/* Custom scrollbar for webkit browsers */
.advantages-list::-webkit-scrollbar {
  height: 6px;
}

.advantages-list::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 0;
}

.advantages-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 0;
}

.advantages-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Advantages Section Title */
#advantages h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}



/* Enhanced advantage cards for longer content */
.advantage {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.5rem 0.8rem;
  text-align: center;
  min-height: 240px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  direction: rtl;
  overflow: hidden;
}

@media (max-width: 800px) {
  .advantage {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .advantage {
    padding: 0.8rem 0.3rem;
    min-height: 200px;
  }
  
  .advantage h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    white-space: normal;
    line-height: 1.2;
    max-width: 100%;
  }
  
  .advantage p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0.2rem 0;
    white-space: pre-line;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
  }
}

.advantage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantage:hover::before {
  opacity: 1;
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.advantage p {
  font-size: 1.1em;
  font-weight: normal;
  margin: 0.3rem 0.5rem 0.3rem 0.5rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
  text-shadow: none;
  word-spacing: 0.1em;
  max-width: 220px;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
}

.advantage:hover p {
  color: #333;
  transform: scale(1.02);
}

.advantage small {
  font-size: 1.1em;
  display: block;
  margin: 0.2rem 1rem 0.5rem 1rem;
  color: #555;
  line-height: 1.8;
  text-align: right;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.advantage:hover small {
  color: #333;
}

  .advantage h3 {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.02rem 0;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 0.8;
  }

.advantage:hover h3 {
  color: var(--primary-dark);
}

.advantage img {
  width: 50%;
  height: 100px;
  object-fit: cover;
  display: block;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

.advantage img,
.clients-logos img,
.footer-social img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* All advantage images have consistent styling */
.advantage img {
  width: 50%;
  height: 110px;
  border-radius: 0;
}
.clients-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 120px;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.client-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
}

.client-logo span {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
  line-height: 1.2;
}
.stats-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}
.stat {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 120px;
  margin: 0.7rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  direction: rtl;
}

.stat.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 157, 224, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: none;
}

.stat.visible .stat-number {
  animation: statNumberGlow 2s ease-in-out infinite alternate;
}
.stat span {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.stat p {
  font-size: 1.25em;
  color: #444;
  line-height: 1.7;
  margin: 0.5rem 0 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.stat:hover span {
  transform: scale(1.1);
  color: #0078B4;
}
blockquote {
  background: #fff;
  border-right: none;
  margin: 1.5rem auto;
  padding: 1rem 2rem;
  border-radius: 0;
  max-width: 600px;
  font-style: italic;
}
#contact {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem;
  max-width: 500px;
  margin: 3rem auto;
  direction: rtl;
  text-align: right;
}
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.error-message {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

#contactForm input, #contactForm textarea {
  padding: 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 0.5rem;
  text-align: right;
  direction: rtl;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

#contactForm input:focus, #contactForm textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 157, 224, 0.1);
  background-color: #f8f9fa;
}

#contactForm input:hover, #contactForm textarea:hover {
  border-color: #b0b0b0;
  background-color: #fafafa;
}

#contactForm input.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.1);
  background-color: #fff5f5;
}

#contactForm input.error:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

#contactForm input::placeholder {
  color: #999;
  opacity: 1;
}

#contactForm input:focus::placeholder {
  color: #ccc;
}

/* Focus indicators for better accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 1001;
}

.skip-link:focus {
  top: 6px;
}
#contactForm button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#contactForm button:hover, #contactForm button:focus {
  background: var(--primary-dark);
  transform: scale(1.06);
}

#contactForm button:active {
  transform: scale(0.98);
}

#contactForm button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

#contactForm button.loading {
  background: var(--primary);
  cursor: wait;
}

#contactForm button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  right: 10px;
}

/* שיפור הכפתור עם טקסט דינמי */
#contactForm button .button-text,
#contactForm button .loading-text {
  transition: opacity 0.3s ease;
}

#contactForm button.loading .button-text {
  opacity: 0;
}

#contactForm button.loading .loading-text {
  opacity: 1;
  display: inline !important;
}

/* שיפור reCAPTCHA */
.g-recaptcha {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.g-recaptcha > div {
  margin: 0 auto;
}

#contactForm button i {
  transition: transform 0.2s ease;
}

#contactForm button:hover i {
  transform: translateX(-2px);
}

#contactForm button:disabled i {
  opacity: 0.5;
}

#formStatus {
  margin-top: 1rem;
  color: #1a73e8;
  font-weight: bold;
}
.footer-contact, .footer-social, .footer-links, .footer-copy {
  text-align: center;
  margin: 0.5rem 0;
}
.footer-social a {
  margin: 0 0.5rem;
}
.footer-social img {
  width: 14px;
  vertical-align: middle;
  border-radius: 0;
  box-shadow: none;
}
#about {
  text-align: center;
  direction: rtl;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-align: center;
}
#about p {
  font-size: 1.15em;
  font-weight: bold;
  margin: 1.5rem auto 0 auto;
  max-width: 800px;
  letter-spacing: 0.01em;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
  text-align: right;
}
#about.fade-in.visible p {
  opacity: 1;
  transform: scale(1);
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding-bottom: 56.25%; /* יחס 16:9 */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: none;
}
/* אפקטי כניסה */
html {
  scroll-behavior: smooth;
}

/* Global text sharpness improvements */
* {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: auto;
}

p, h1, h2, h3, h4, h5, h6, span, div, a, button {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: auto;
  text-shadow: none;
}
.fade-in {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), transform 1.2s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: scale(1) translateX(0);
}
@media (max-width: 800px) {
  .advantages-list, .stats-list, .clients-logos {
    flex-direction: column;
    gap: 1rem;
  }
  .stat, .advantage {
    width: 100%;
    min-width: unset;
  }
} 
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  z-index: 1001;
}

/* הסתרת הלחצן המבורגר במחשב - רק במובייל */
@media (min-width: 801px) {
  .hamburger {
    display: none !important;
  }
}

/* Mobile Logo Button */
.mobile-logo-btn {
  display: none;
  position: fixed;
  top: 80px;
  left: 20px;
  z-index: 1001;
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 15.6px;
  box-shadow: none;
  padding: 9px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* הסתרת הלחצן במסכים גדולים (מחשב) */
@media (min-width: 801px) {
  .mobile-logo-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: auto !important;
  }
}

.mobile-logo-btn:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.mobile-logo-btn img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0;
}

.hamburger:hover {
  background: rgba(0, 157, 224, 0.1);
  transform: scale(1.05);
}

  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 0;
    display: block;
  }

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

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

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

.hamburger.active {
  background: rgba(0, 157, 224, 0.1);
}

/* הסתרת התפריט המבורגר כאשר ה-modal פתוח - רק אם אין תפריט מובייל פתוח */
body.modal-open:not(.mobile-menu-open) .hamburger,
.modal.active:not(.mobile-menu-open) ~ .hamburger,
body.modal-open:not(.mobile-menu-open) header .hamburger {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: auto !important;
  transform: scale(0) !important;
  position: absolute !important;
  left: -9999px !important;
}



/* Basic Button Effects */
.cta, #contactForm button {
  position: relative;
}

/* Enhanced Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  position: relative;
  overflow: visible;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 8px !important;
  background: var(--primary);
  transition: width 0.3s ease;
}

/* Override for desktop navigation */
header nav a::after {
  height: 8px !important;
}

/* Force navigation underline */
header nav a {
  position: relative;
  overflow: visible;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 10px;
  background: var(--primary);
  transition: width 0.3s ease;
  z-index: 10;
}

header nav a:hover::before {
  width: 100%;
}

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

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  transition: transform 0.3s ease;
  z-index: 1002;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  padding-top: 4rem;
  border-radius: 15.6px 0 0 15.6px;
  border-left: none;
}

.mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 157, 224, 0.1);
  border: 1px solid var(--primary);
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 15.6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1003;
}

.mobile-close:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.mobile-close i {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.mobile-close:hover i {
  transform: rotate(90deg);
}

.mobile-nav.active {
  transform: translateX(0);
  box-shadow: none;
  border-left: none;
}

.mobile-nav a {
  padding: 1rem;
  border-radius: 15.6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-nav a:hover {
  background: rgba(0, 157, 224, 0.1);
  transform: translateX(-5px);
}

.mobile-nav a i {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.2s;
}

.mobile-nav a:hover i {
  transform: scale(1.1);
}

.mobile-nav .cta {
  margin-top: auto;
  text-align: center;
}

/* Overlay for mobile menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Enhanced Responsive Design */
@media (max-width: 800px) {
  header {
    display: none;
  }
  
  .hamburger {
    display: flex !important;
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 15.6px;
    box-shadow: none;
    padding: 9px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-logo-btn {
    display: flex !important;
  }
  
  /* הסתרת התפריט המבורגר במובייל רק כאשר יש modal וידאו פתוח */
  body.modal-open:not(.mobile-menu-open) .hamburger,
  body.modal-open:not(.mobile-menu-open) .mobile-logo-btn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
  
  .hamburger:hover {
    box-shadow: none;
    transform: translateY(-2px);
  }
  
  main {
    padding-top: 20px;
    padding: 1rem;
  }
  
  .advantages-list, .stats-list, .clients-logos {
    flex-direction: column;
    align-items: center;
  }
  
  .stat, .advantage {
    width: 100%;
    max-width: 300px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  /* Video container removed - no longer needed */
  
  .advantage img {
    width: 50%;
    height: 75px;
    border-radius: 0;
  }
  
  .client-logo {
    min-width: 100px;
    padding: 0.8rem;
  }
  
  .client-logo img {
    width: 50px;
    height: 50px;
  }
  
  .client-logo span {
    font-size: 0.8rem;
  }
  
  .our-story-section {
    margin-top: 25px;
  }
  
  .story-title {
    font-size: 1.1rem;
    color: var(--primary);
    text-align: right;
  }
  
  .story-content {
    font-size: 0.95rem !important; /* Updated: slightly smaller */
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hamburger {
    top: 70px;
    right: 10px;
    border-radius: 15.6px;
    padding: 7px;
    width: 28px;
    height: 28px;
  }
  
  .mobile-logo-btn {
    top: 70px;
    left: 10px;
    border-radius: 15.6px;
    padding: 7px;
    width: 28px;
    height: 28px;
  }
  
  /* הסתרת התפריט המבורגר במסכים קטנים כאשר ה-modal פתוח */
  body.modal-open .hamburger {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
  
  .mobile-nav {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
  }
  
  .mobile-nav a {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .mobile-close {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.4rem;
  }
  
  .mobile-nav a i {
    width: 18px;
    height: 18px;
  }
  
  .hamburger span {
    width: 16px;
    height: 2px;
  }
  
  main {
    padding-top: 10px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  

  
  .advantage {
    padding: 1.5rem 1rem;
    min-height: 280px;
  }
  
  .advantage img {
    width: 50%;
    height: 60px;
    border-radius: 0;
  }
  
  .stat {
    padding: 1rem 1.5rem;
  }
  
  /* Video container iframe removed - no longer needed */
  
  /* Video container removed - no longer needed */
  
  .examples-section h2 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .iphone-examples {
    gap: 0.3rem;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .iphone-example img {
    width: 35px !important;
  }
  
  /* הקטנה ספציפית למסכים קטנים בלבד */
  @media (max-width: 480px) {
    .iphone-examples .iphone-example img {
      width: 35px !important;
    }
  }
  
  .client-logo {
    min-width: 80px;
    padding: 0.6rem;
  }
  
  .client-logo img {
    width: 40px;
    height: 40px;
  }
  
  .client-logo span {
    font-size: 0.7rem;
  }
  
  /* תיקון נוסף לכותרות משניות במסכים קטנים */
  .title-overlay {
    top: -30px !important;
    font-size: 0.7rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.1 !important;
    max-width: 70px !important;
  }
  
  /* תיקון נוסף ללוגואים במסכים קטנים */
  .logo-under-title {
    bottom: -60px !important;
    width: 20px !important;
  }
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Enhanced animations */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(1px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.advantage, .stat {
  animation: fadeInScale 0.6s ease forwards;
  transition: all 0.3s ease;
}

.advantage:hover, .stat:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Enhanced focus states for accessibility */
.cta:focus, #contactForm button:focus, nav a:focus, .install-prompt:focus {
  outline: none;
}

/* Loading states */
.cta.loading, #contactForm button.loading {
  pointer-events: auto;
  opacity: 0.7;
}

.cta.loading::after, #contactForm button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 0;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 
/* How it works section */
#how-it-works {
  text-align: center;
  margin: 0;
}

#how-it-works h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
}

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

.step {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  direction: rtl;
}

.step.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: none;
}

.step.visible .step-icon {
  animation: stepIconFloat 2s ease-in-out infinite alternate;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: none;
}

.step-icon i {
  width: 40px;
  height: 40px;
  color: #fff;
  stroke-width: 2;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: right;
}

.step p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: none;
  text-align: right;
}

/* Enhanced footer styles */
footer {
  background: #fff;
  padding: 3rem 2rem 2rem 2rem;
  margin-top: 4rem;
  border-radius: 0;
  direction: rtl;
}

.footer-contact p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1.1rem;
  text-align: right;
}

.footer-contact i {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: none;
  background: var(--primary);
}

.footer-social a:hover i {
  color: #fff;
}

.footer-social i {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.footer-links {
  text-align: center;
  margin: 1.5rem 0;
  direction: rtl;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.terms-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
  padding: 0;
}

.terms-btn:hover {
  color: var(--primary);
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
  color: #666;
  direction: rtl;
}

/* Enhanced responsive design for how-it-works */
@media (max-width: 900px) {
  .how-it-works-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .how-it-works-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .step {
    padding: 1.5rem 1rem;
    text-align: right;
  }
  
  .step h3 {
    text-align: right;
  }
  
  .step p {
    text-align: right;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
  }
  
  .step-icon i {
    width: 30px;
    height: 30px;
  }
  
  #how-it-works h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .step {
    padding: 1rem;
    text-align: right;
  }
  
  .step h3 {
    font-size: 1.1rem;
    text-align: right;
  }
  
  .step p {
    font-size: 0.9rem;
    text-align: right;
  }
  
  .footer-contact p {
    font-size: 1rem;
    text-align: right;
  }
  
  .footer-social a {
    width: 45px;
    height: 45px;
  }
  
  .footer-social i {
    width: 20px;
    height: 20px;
  }
} 
/* PWA Install Prompt */
.install-prompt {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.install-prompt:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: none;
}

.install-prompt:active {
  transform: translateY(0);
} 
/* Enhanced Testimonials Section */
#testimonials {
  text-align: center;
  margin: 3rem 0;
}

#testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.testimonials-grid blockquote {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin: 0;
  position: relative;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
  font-size: 1.25em;
  color: #444;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: none;
  direction: rtl;
}

.testimonials-grid blockquote:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.testimonials-grid blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-family: serif;
  opacity: 0.3;
}

.testimonials-grid blockquote::after {
  content: '"';
  position: absolute;
  bottom: -30px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-family: serif;
  opacity: 0.3;
}

.testimonials-grid blockquote footer {
  margin-top: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  font-style: normal;
  font-size: 1rem;
}

.testimonials-grid blockquote footer::before {
  content: '— ';
  color: var(--primary);
}

/* Responsive design for testimonials */
@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  
  .testimonials-grid blockquote {
    padding: 1rem 0.8rem;
    font-size: 1.25em;
    color: #444;
    line-height: 1.7;
    text-align: right;
  }
  
  #testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    gap: 0.3rem;
  }
  
  .testimonials-grid blockquote {
    padding: 0.8rem 0.6rem;
    font-size: 1.25em;
    color: #444;
    line-height: 1.7;
    text-align: right;
  }
  
  .testimonials-grid blockquote::before,
  .testimonials-grid blockquote::after {
    font-size: 2rem;
  }
  
  #testimonials h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
} 
/* Responsive adjustments for advantages */
@media (max-width: 1200px) {
  .advantages-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
  }
  
  .advantage img {
    width: 50%;
    height: 110px;
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
  }
  
  .advantage img {
    width: 50%;
    height: 100px;
  }
}

@media (max-width: 800px) {
  #advantages h2 {
    font-size: 2rem;
  }
  
  .advantage {
    min-height: 220px;
    text-align: center;
    padding: 1.2rem 0.5rem;
  }
  
  .advantage h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    white-space: normal;
    line-height: 1.2;
    max-width: 100%;
  }
  
  .advantage p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.2rem 0;
    white-space: pre-line;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
  }
  
  .advantage img {
    height: 120px;
    border-radius: 0;
  }
  
  .advantage p {
    font-size: 0.8em;
    font-weight: normal;
    color: #555;
    line-height: 1.2;
    text-align: center;
    max-width: 90px;
    margin: 0.3rem auto;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
  }
  
  .advantage small {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .advantage {
    min-height: 220px;
    height: auto;
    text-align: center;
    padding: 1.2rem 0.6rem;
    margin: 0;
    justify-content: flex-start;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .advantage p {
    margin: 0.3rem 0;
    line-height: 1.4;
    font-size: 0.9rem;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  .advantage small {
    margin: 0.2rem 0;
    line-height: 1.3;
    font-size: 0.85rem;
  }
  
  .advantage h3 {
    margin: 0.5rem 0;
    line-height: 1.2;
    font-size: 1rem;
  }
  
  .advantage-icon {
    line-height: 1;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }
  
  .advantage img {
    width: 35%;
    height: 50px;
    border-radius: 0;
  }
  
  .advantage p {
    font-size: 0.8em;
    font-weight: normal;
    color: #555;
    line-height: 1.2;
    text-align: center;
    max-width: 160px;
    margin: 0.2rem auto;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
    white-space: pre-line;
  }
  
  .advantage-icon {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.02rem;
  }
  
  .advantage small {
    font-size: 0.9em;
    color: #555;
    line-height: 1.1;
    text-align: center;
    margin-top: 0.01rem;
  }
} 
/* FAQ Section */
#faq {
  text-align: center;
  margin: 3rem 0;
}

#faq h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 0.8rem;
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  direction: rtl;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: right;
}

.faq-item p {
  font-size: 1.25em;
  color: #444;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: none;
  text-align: right;
}

/* Responsive FAQ */
@media (max-width: 800px) {
  .faq-container {
    padding: 0 1rem;
    gap: 0.2rem;
  }
  
  .faq-item {
    padding: 0.6rem;
    text-align: right;
  }
  
  .faq-item h3 {
    font-size: 1.2rem;
    text-align: right;
    margin-bottom: 0.4rem;
  }
  
  .faq-item p {
    font-size: 1.25em;
    color: #444;
    line-height: 1.6;
    text-align: right;
  }
  
  #faq h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }
  
  .faq-subtitle {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-item {
    padding: 0.5rem;
    text-align: right;
  }
  
  .faq-item h3 {
    font-size: 1.1rem;
    text-align: right;
    margin-bottom: 0.3rem;
  }
  
  .faq-item p {
    font-size: 1.25em;
    color: #444;
    line-height: 1.6;
    text-align: right;
  }
  
  .faq-container {
    gap: 0.15rem;
  }
  
  #faq {
    margin: 1.5rem 0;
  }
}

/* All entrance animations removed */

/* Basic hover effects */
.advantage:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.advantage:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Video Button */
.video-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 0.7rem 2rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  float: right;
}

/* Video Icon Styling */
.video-btn .video-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.video-btn:hover .video-icon {
  transform: scale(1.1);
}

.feature-item.visible .video-btn {
  animation: none;
}

.video-btn:hover, .video-btn:focus {
  background: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

.video-btn:hover .video-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.video-btn::before {
  display: none;
}

.video-btn:hover::before {
  display: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Override for success modal */
#successModal.modal {
  z-index: 10000 !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  direction: ltr !important;
  text-align: center !important;
}

/* Override for phone modal */
#phoneModal.modal {
  z-index: 10000 !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.modal.active {
  display: flex !important;
}

/* הסתרת התפריט המבורגר כאשר ה-modal פתוח */
.modal.active ~ .hamburger,
.modal.active ~ header .hamburger,
body.modal-open .hamburger,
body.modal-open header .hamburger {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: auto !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

/* תיקון בעיית המיסוך - הסרת כל הפילטרים שגורמים לטשטוש */
body {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: auto;
  backdrop-filter: none;
  filter: none;
}

/* הסרת כל הפילטרים שגורמים למיסוך */
* {
  backdrop-filter: none !important;
  filter: none !important;
}

/* תיקון בעיית המיסוך בתמונות */
img {
  image-rendering: auto;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* אנימציות RTL - תמונות נכנסות משמאל לימין, טקסט מימין לשמאל */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* אנימציות לתמונות - נכנסות משמאל */
.hero-image,
.feature-image,
.advantage img,
.client-logo img {
  animation: slideInFromLeft 0.8s ease-out;
}

/* אנימציות לטקסט - נכנס מימין */
.hero h1,
.hero p,
.feature-content h3,
.feature-content p,
.advantage h3,
.advantage p {
  animation: slideInFromRight 0.8s ease-out;
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  background: white;
  border-radius: var(--radius);
  box-shadow: none;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1004 !important;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  pointer-events: auto !important;
}

.close:hover {
  background: rgba(0, 0, 0, 0.8);
}

#modalVideo, #modalVideo2 {
  width: 100%;
  height: 450px;
  display: block;
}

@media (max-width: 768px) {
  #modalVideo, #modalVideo2 {
    height: 90vh;
    width: 90vw;
    max-width: none;
    margin: 0 auto;
    display: block;
  }
  
  .modal-content {
    margin: 5vh auto;
    width: 90vw;
    max-width: none;
    border-radius: 0;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .close {
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    z-index: 1004 !important;
    pointer-events: auto !important;
  }
  
  /* הסתרת התפריט המבורגר במובייל כאשר ה-modal פתוח */
  body.modal-open .hamburger {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 480px) {
  #modalVideo, #modalVideo2 {
    height: 90vh;
    width: 90vw;
  }
  
  .modal-content {
    margin: 5vh auto;
    width: 90vw;
    height: 90vh;
  }
  
  .close {
    right: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
    z-index: 1004 !important;
    pointer-events: auto !important;
  }
  
  /* הסתרת התפריט המבורגר במסכים קטנים כאשר ה-modal פתוח */
  body.modal-open .hamburger {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
}

/* ===== STYLES FOR NEW MAIN FEATURES SECTION ===== */

.main-features-section {
  padding: 0;
  background: #fff;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateX(-100px) scale(0.9);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(2px);
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(100px) scale(0.9);
  align-items: flex-start;
}

.feature-item.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.feature-item.visible .feature-image {
  animation: none;
}

.feature-item.visible .feature-content {
  animation: none;
}

.feature-image {
  flex: 1;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  width: 90%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  background: #fff;
  filter: none;
}

/* הקטנת התמונה Menu_management ב-20% */
.feature-image img[src*="Menu_management"] {
  width: 72% !important; /* 90% * 0.8 = 72% */
  max-width: 72% !important;
}

.feature-image img:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.feature-item.visible .feature-image img {
  animation: none;
}

.feature-content {
  flex: 1;
  padding: 0 40px 40px 0;
  direction: rtl;
  text-align: right;
}

  .feature-content h3 {
    font-size: 2.8em;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    transition: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
  }

  /* רווח במובייל בין הכותרת "צפה בתפריט דיגיטלי לדוגמה" לבין הבלוק של התמונות */
  .examples-title {
    margin-bottom: 35px !important;
  }

  /* התאמות למובייל - רווח גדול יותר מעל הכותרת */
  @media (max-width: 768px) {
    .examples-title {
      margin-top: 60px !important;
      margin-bottom: 35px !important;
    }
  }

  @media (max-width: 480px) {
    .examples-title {
      margin-top: 80px !important;
      margin-bottom: 35px !important;
    }
  }

.feature-subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  margin-top: 0;
  font-weight: 500;
  text-align: right;
  line-height: 1.4;
  font-style: italic;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.feature-item.visible .feature-content h3 {
  animation: none;
}



.feature-text-short p {
  font-size: 1.25em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  transition: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: right;
}

.feature-item.visible .feature-text-short p {
  animation: none;
}

.feature-text-full p {
  font-size: 1.25em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: right;
}

.read-more-btn {
  background: none;
  color: var(--primary);
  border: none;
  padding: 5px 10px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin-right: 5px;
  display: inline-block;
  position: relative;
  text-align: right;
  border-radius: 5px;
  min-width: 80px;
}

.read-more-btn:hover {
  background-color: rgba(0, 157, 224, 0.1);
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
  transform: translateY(-1px);
}

.read-more-btn:active {
  transform: translateY(0);
  background-color: rgba(0, 157, 224, 0.2);
}

.read-more-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* כפתור "הצג פחות" - אותו גודל כמו "קרא עוד" */
.feature-text-full .read-more-btn {
  font-size: 1em;
  font-weight: 700;
  padding: 5px 10px;
  margin: 0;
  display: inline-block;
  min-width: 80px;
}

/* במובייל - הגדלת אזור הלחיצה */
@media (max-width: 768px) {
  .read-more-btn {
    padding: 8px 15px;
    font-size: 1.1em;
    min-width: 100px;
    text-align: center;
  }
  
  .feature-text-full .read-more-btn {
    padding: 8px 15px;
    min-width: 100px;
  }
}

/* קישור טלפון בפוטר */
.phone-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* במובייל - הגדלת אזור הלחיצה */
@media (max-width: 768px) {
  .phone-link {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(26, 115, 232, 0.1);
    display: inline-block;
    margin: 2px 0;
  }
  
  .phone-link:hover {
    background-color: rgba(26, 115, 232, 0.2);
  }
}

/* Success Modal Styles */
.success-modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: absolute;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: successModalSlideIn 0.5s ease-out;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0 auto;
  transform: translateY(-50%);
  direction: ltr;
}

@keyframes successModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-logo {
  margin-bottom: 30px;
}

.success-logo img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
}

.success-message h3 {
  color: var(--primary);
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  direction: rtl;
}

.success-message p {
  color: #333;
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center;
  direction: rtl;
}

.success-message .thank-you {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1em;
  margin-top: 20px;
}

.success-close-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.success-close-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.success-close-btn:active {
  transform: translateY(0);
}

/* Mobile responsive for success modal */
@media (max-width: 768px) {
  .success-modal-content {
    padding: 30px 20px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    direction: ltr;
  }
  
  .success-logo img {
    max-width: 100px;
  }
  
  .success-message h3 {
    font-size: 1.5em;
  }
  
  .success-message p {
    font-size: 1.1em;
  }
  
  .success-close-btn {
    padding: 10px 25px;
    font-size: 1em;
  }
}

/* SEO Content Section */
.seo-content {
  background: #f8f9fa;
  padding: 60px 0;
  text-align: right;
}

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

.seo-content h2 {
  color: var(--primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.seo-content h3 {
  color: var(--primary);
  font-size: 1.8em;
  font-weight: 600;
  margin: 30px 0 15px 0;
}

.seo-content p {
  color: #333;
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Mobile responsive for SEO content */
@media (max-width: 768px) {
  .seo-content {
    padding: 40px 0;
  }
  
  .seo-content h2 {
    font-size: 2em;
  }
  
  .seo-content h3 {
    font-size: 1.5em;
  }
  
  .seo-content p {
    font-size: 1.1em;
  }
}

.feature-item.visible .read-more-btn {
  animation: none;
}

.read-more-btn:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

.read-more-btn:active {
  transform: none;
}

/* Secondary Features Section */
.secondary-features-section {
  padding: 60px 0;
  background: #fff;
}

.secondary-features-section h2 {
  text-align: center;
  font-size: 2.8em;
  color: var(--primary);
  margin-bottom: 50px;
  font-weight: 800;
}

/* Mobile Responsive for Main Features */
@media (max-width: 768px) {
  .feature-item {
    flex-direction: column !important;
    margin-bottom: 60px;
    text-align: right;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* במובייל, כל הנושאים יוצגו עם תמונה קודם ואז טקסט */
  .feature-item .feature-image {
    order: 1;
  }
  
  .feature-item .feature-content {
    order: 2;
  }
  
  .feature-content {
    padding: 20px;
    text-align: right;
  }
  
  .feature-content h3 {
    font-size: 2em;
    text-align: right;
    margin-bottom: 3px;
  }
  
  .feature-subtitle {
    font-size: 1em;
    text-align: right;
    margin-top: 0;
  }
  
  .feature-text-short p {
    font-size: 1.25em;
    line-height: 1.7;
    color: #444;
    -webkit-line-clamp: 3;
    max-height: 5.1em;
    text-align: right;
  }
  
  .feature-text-full p {
    font-size: 1.25em;
    line-height: 1.7;
    color: #444;
    text-align: right;
  }
  
  .read-more-btn {
    padding: 0;
    font-size: 0.9em;
    margin-right: 3px;
    text-align: right;
    margin-bottom: 15px;
  }
  
  .video-btn {
    margin-top: 35px;
    margin-bottom: 15px;
    border-radius: 15.6px;
  }
  
  /* Disable complex animations on mobile for better performance */
  .feature-item[data-aos] {
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 480px) {
  .main-features-section {
    padding: 40px 0;
  }
  
  .feature-item {
    margin-bottom: 40px;
    transform: none !important;
    opacity: 1 !important;
    text-align: right;
  }
  
  /* במובייל קטן, כל הנושאים יוצגו עם תמונה קודם ואז טקסט */
  .feature-item .feature-image {
    order: 1;
  }
  
  .feature-item .feature-content {
    order: 2;
  }
  
  .feature-content {
    padding: 15px;
    text-align: right;
  }
  
  .feature-content h3 {
    font-size: 1.8em;
    text-align: right;
    margin-bottom: 3px;
  }
  
  .feature-subtitle {
    font-size: 0.9em;
    text-align: right;
    margin-top: 0;
  }
  
  .feature-image {
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  
  .feature-image img {
    border-radius: 0;
  }
  
  .feature-text-short p {
    font-size: 0.95em;
    -webkit-line-clamp: 3;
    max-height: 5.4em;
    text-align: right;
  }
  
  .read-more-btn {
    padding: 0;
    font-size: 0.85em;
    margin-right: 3px;
    text-align: right;
    margin-bottom: 12px;
  }
  
  .video-btn {
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 15.6px;
  }
}

/* Animation Classes */
.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imageFloat {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes contentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes featureGlow {
  0% {
    box-shadow: none;
  }
  50% {
    box-shadow: none;
  }
  100% {
    box-shadow: none;
  }
}

@keyframes stepIconFloat {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-5px) scale(1.05);
  }
}

@keyframes statNumberGlow {
  0% {
    text-shadow: 0 0 5px rgba(0, 157, 224, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(0, 157, 224, 0.6);
  }
}

/* Intersection Observer Animation */
.feature-item[data-aos] {
  opacity: 1;
  transform: none;
  transition: none;
}

.feature-item[data-aos="fade-left"] {
  transform: none;
}

.feature-item[data-aos].aos-animate {
  opacity: 1;
  transform: none;
} 
/* Entry Hero Section */
.entry-hero {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  min-height: 60vh;
  background: white;
  position: relative;
  padding: 0;
}
.entry-hero-image {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-left: 0;
  animation: entrySlideInLeft 1s ease-out;
}
.entry-hero-image img {
  max-width: 100%;
  width: 90%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}
.entry-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 40px 40px 0;
  margin-top: 0;
  text-align: right;
  animation: entrySlideInRight 1s ease-out;
}
.entry-hero-text h1 {
  font-size: 2.8em;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 800;
  margin-top: 0;
  padding-top: 0;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: right;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* מניעת ירידת שורה בתת-הכותרת */
.entry-hero-text h1 span {
  display: inline;
  margin: 0;
  padding: 0;
  line-height: 0.8;
  margin-top: -0.1em;
}
.entry-hero-text p {
  font-size: 1.25em;
  color: #444;
  line-height: 1.7;
  max-width: 500px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: right;
}

.hero-text-short p,
.hero-text-full p {
  font-size: 1.25em;
  color: #444;
  line-height: 1.7;
  max-width: 500px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: right;
  margin-bottom: 2rem;
}

.hero-text-full {
  opacity: 1;
}

.coffee-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: coffeeBtnAppear 0.8s ease-out 2s forwards;
}

.coffee-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 157, 224, 0.3);
}

@keyframes coffeeBtnAppear {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.our-story-section {
  margin-top: 20px;
  text-align: right;
  animation: storyAppear 1s ease-out 0.5s both;
}

.story-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: right;
  transition: transform 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
  cursor: pointer;
}

.story-title:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
  text-shadow: 0 0 10px rgba(0, 157, 224, 0.4), 0 0 18px rgba(0, 157, 224, 0.3);
}

.story-content {
  font-size: 1.1rem !important; /* Updated: slightly smaller */
  line-height: 1.6;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: right;
  font-style: italic;
  font-weight: 400;
  transition: transform 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
  cursor: pointer;
}

.story-content:hover {
  transform: scale(1.01);
  filter: brightness(1.05);
  text-shadow: 0 0 8px rgba(0, 157, 224, 0.3), 0 0 15px rgba(0, 157, 224, 0.2);
  color: var(--primary);
}

@keyframes storyAppear {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes entrySlideInLeft {
  0% { 
    opacity: 0; 
    transform: translateX(-100vw); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0); 
  }
}
@keyframes entrySlideInRight {
  0% { 
    opacity: 0; 
    transform: translateX(100vw); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0); 
  }
}
@media (max-width: 900px) {
  .entry-hero {
    flex-direction: column;
    min-height: 40vh;
    padding: 30px 0 0 0;
    align-items: center;
  }
  .entry-hero-image, .entry-hero-text {
    flex: unset;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: right;
  }
  .entry-hero-text h1 {
    font-size: 2em;
    text-align: right;
  }
  .entry-hero-text p {
    font-size: 1em;
    max-width: 90vw;
    text-align: right;
  }
  
  .hero-text-short p,
  .hero-text-full p {
    font-size: 1em;
    max-width: 90vw;
    text-align: right;
  }
  .coffee-btn {
    font-size: 1rem;
    padding: 0.7rem 1.8rem;
    margin-top: 15px;
  }
  .entry-hero-image img {
    max-width: 280px;
    width: 85%;
    margin-bottom: 20px;
  }
  
  .our-story-section {
    margin-top: 30px;
  }
  
  .story-title {
    font-size: 1.2rem;
    color: var(--primary);
    text-align: right;
  }
  
  .story-content {
    font-size: 1rem !important; /* Updated: slightly smaller */
    padding: 0 15px;
  }
} 

/* ביטול מסגרת רק עבור התמונות האחרונות שהועלו */
img[src*="אוקינאווה1.png"],
img[src*="גולדה1.png"],
img[src*="נאפיס1.png"],
img[src*="פטריקס1.png"],
img[src*="צפרירים1.png"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ביטול מסגרת גם עבור התמונות בתוך iphone-examples */
.iphone-examples img[src*="אוקינאווה1.png"],
.iphone-examples img[src*="גולדה1.png"],
.iphone-examples img[src*="נאפיס1.png"],
.iphone-examples img[src*="פטריקס1.png"],
.iphone-examples img[src*="צפרירים1.png"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* עיצוב פשוט עבור התמונות */
.iphone-example.train-image {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  opacity: 1;
  transform: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iphone-example.train-image img {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

/* עיצוב הכותרות מעל התמונות */
.example-item {
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  vertical-align: top;
  position: relative;
  padding-top: 0;
}

.example-item:hover {
  transform: scale(1.05);
}

.example-title {
  font-size: 0.9rem !important;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #1a73e8, #34a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

/* iPhone specific styling for external links */
.iphone-example[onclick*="openPhoneModal"] {
  position: relative;
  cursor: pointer;
}

/* Carousel Styles - Mobile Only */
@media (max-width: 768px) {
  .carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
  }

  .carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
  }

  .carousel-slide.active {
    transform: translateX(0);
  }

  .carousel-slide.prev {
    transform: translateX(-100%);
  }

  .carousel-slide.next {
    transform: translateX(100%);
  }

  .carousel-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    background: #fff;
    filter: none;
  }

  .carousel-slide.active img {
    animation: none;
  }

  .carousel-slide:hover img {
    transform: none;
    filter: none;
    box-shadow: none;
  }

  .carousel-slide:active img {
    transform: none;
  }

  .carousel-slide.active:hover img {
    transform: none;
  }

  .carousel-slide {
    position: relative;
  }

  .carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 157, 224, 0.1) 0%, rgba(0, 123, 182, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    z-index: 1;
  }

  .carousel-slide:hover::before {
    opacity: 1;
  }

  .carousel-slide .title-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
  }

  .carousel-slide:hover .title-overlay {
    background: rgba(0, 157, 224, 0.9);
  }

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

  .carousel-container {
    animation: carouselSlideIn 0.6s ease-out;
  }

  .carousel-slide {
    animation: carouselSlideIn 0.6s ease-out;
  }

  .carousel-slide:nth-child(1) { animation-delay: 0.1s; }
  .carousel-slide:nth-child(2) { animation-delay: 0.2s; }
  .carousel-slide:nth-child(3) { animation-delay: 0.3s; }
  .carousel-slide:nth-child(4) { animation-delay: 0.4s; }
  .carousel-slide:nth-child(5) { animation-delay: 0.5s; }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .dot.active {
    background: var(--primary);
  }

  /* Add margin to prevent overlap with h3 title */
  .feature-content h3 {
    margin-bottom: 20px !important;
  }
}



/* Mobile medium screens */
@media (max-width: 768px) and (min-width: 481px) {
  .iphone-examples {
    gap: 0.4rem;
    padding: 0.75rem;
    overflow: visible !important;
  }

  .example-item {
    overflow: visible !important;
  }

  .example-item img {
    max-height: 75px !important;
    overflow: visible !important;
  }

  .example-item .title-overlay {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
    padding: 0.1rem 0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.2 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    text-align: center !important;
    direction: ltr !important;
  }

  .example-item .logo-under-title {
    width: 55%;
    height: 19px;
    margin-top: 0 !important;
  }

  /* Add margin to prevent overlap with h3 title */
  .feature-content h3 {
    margin-bottom: 30px !important;
  }
}

/* Mobile small screens */
@media (max-width: 480px) {
  .iphone-examples {
    gap: 0.3rem;
    padding: 0.75rem;
    overflow: visible !important;
  }

  .example-item {
    overflow: visible !important;
  }

  .example-item img {
    max-height: 70px !important;
    overflow: visible !important;
  }

  .example-item .title-overlay {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
    padding: 0.1rem 0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.2 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    text-align: center !important;
    direction: ltr !important;
  }

  .example-item .logo-under-title {
    width: 50%;
    height: 18px;
    margin-top: 0 !important;
  }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
  .iphone-examples {
    gap: 0.3rem;
    padding: 0.5rem;
    margin-top: 20px !important;
  }

  .example-item img {
    max-height: 60px !important;
  }

  .example-item .title-overlay {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
    padding: 0.05rem 0;
  }

  .example-item .logo-under-title {
    width: 50%;
    height: 18px;
  }

  /* Add extra margin to prevent overlap with h3 title */
  .feature-content h3 {
    margin-bottom: 35px !important;
  }

  /* Add margin to iphone-examples to prevent overlap with h3 title */
  .iphone-examples {
    margin-top: 25px !important;
  }
}

/* General styles for mobile and tablet */
.title-overlay {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: #009DE0;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
}

.logo-under-title {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px !important;
  height: auto !important;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.example-item:hover .logo-under-title {
  opacity: 1;
}

/* Desktop styles - keep original grid */
@media (min-width: 769px) {
  .carousel-container {
    display: none;
  }

  .iphone-examples {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .example-item {
    display: block !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--radius);
    overflow: visible !important;
    box-shadow: none;
    background: transparent;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    margin: 65px 0 38px 0 !important;
  }

  .example-item:hover {
    transform: scale(1.05);
  }

  .example-item img {
    width: 160px !important;
    height: auto !important;
    display: block !important;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .example-item:hover img {
    transform: scale(1.05);
  }
  
  .iphone-examples::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  .iphone-examples::-webkit-scrollbar-track {
    display: none !important;
  }
  
  .iphone-examples::-webkit-scrollbar-thumb {
    display: none !important;
  }
  
  .example-item .title-overlay {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: absolute !important;
    top: auto !important;
    bottom: -38px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #009DE0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
  }
  
  .example-item .logo-under-title {
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    bottom: auto !important;
    top: -65px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90px !important;
    height: auto !important;
    z-index: 10 !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 5px !important;
    border-radius: 5px !important;
  }
  
  .example-item:hover .logo-under-title {
    opacity: 1 !important;
  }
}



.iphone-examples::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.iphone-examples::-webkit-scrollbar-track {
  display: none !important;
}

.iphone-examples::-webkit-scrollbar-thumb {
  display: none !important;
}









/* Phone Modal Styles */
.phone-modal-content {
  position: relative;
  background: transparent;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 375px;
  height: 80vh;
  max-height: 812px;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  padding: 8px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-header {
  height: 30px;
  background: #000;
  border-radius: 32px 32px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.phone-notch {
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 1;
}

.phone-screen {
  height: calc(100% - 60px);
  background: #fff;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  position: relative;
}

.phone-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 32px 32px;
}

.phone-home-indicator {
  width: 120px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Mobile responsive for phone modal */
@media (max-width: 768px) {
  .phone-modal-content {
    width: 95%;
    height: 90vh;
    margin: 2% auto;
  }
  
  .phone-frame {
    border-radius: 30px;
    padding: 6px;
  }
  
  .phone-header {
    border-radius: 24px 24px 0 0;
  }
  
  .phone-screen {
    border-radius: 0 0 24px 24px;
  }
  
  .phone-screen iframe {
    border-radius: 0 0 24px 24px;
  }
  
  .example-title {
    font-size: 0.8rem !important;
    margin: 0;
    margin-bottom: -8px;
    padding: 0;
    line-height: 1;
  }
  
  .example-item:hover {
    transform: scale(1.02); /* אפקט קטן יותר במובייל */
  }
}

/* CSS חדש לכותרות - מבנה פשוט */
.example-item {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.example-item:hover {
  transform: scale(1.05);
}

.example-item img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* Terms Modal Styles */
.terms-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: termsModalSlideIn 0.4s ease-out;
  direction: rtl;
  z-index: 1001;
}

@keyframes termsModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.terms-header {
  background: linear-gradient(135deg, var(--primary) 0%, #007acc 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.terms-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.terms-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.terms-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.terms-close i {
  width: 20px;
  height: 20px;
}

.terms-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f0f0f0;
}

.terms-body::-webkit-scrollbar {
  width: 8px;
}

.terms-body::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.terms-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.terms-body::-webkit-scrollbar-thumb:hover {
  background: #007acc;
}

.terms-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-right: 4px solid var(--primary);
}

.terms-info p {
  margin: 0.5rem 0;
  color: #333;
}

.terms-info p:first-child {
  font-size: 1.1rem;
  color: var(--primary);
}

.terms-section {
  margin-bottom: 2rem;
}

.terms-section h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.terms-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
  text-align: justify;
}

.terms-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.terms-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .terms-modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .terms-header {
    padding: 1rem 1.5rem;
  }
  
  .terms-header h2 {
    font-size: 1.3rem;
  }
  
  .terms-body {
    padding: 1.5rem;
    max-height: 70vh;
  }
  
  .terms-section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .terms-modal-content {
    width: 98%;
    max-height: 90vh;
  }
  
  .terms-header {
    padding: 1rem;
  }
  
  .terms-header h2 {
    font-size: 1.2rem;
  }
  
  .terms-body {
    padding: 1rem;
    max-height: 75vh;
  }
  
  .terms-section h3 {
    font-size: 1rem;
  }
  
  .terms-section p {
    font-size: 0.9rem;
  }
}

.advantage p span {
  display: inline;
}
@media (min-width: 801px) {
  .advantage p span {
    display: block;
  }
}

/* Success Modal Styles - חלון פופאפ הצלחה */
#successModal {
  display: none !important;
  position: fixed !important;
  z-index: 10000 !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  text-align: center !important;
}

#successModal.active {
  display: flex !important;
  animation: fadeIn 0.3s ease-out;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.success-modal-content {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 157, 224, 0.15);
  position: absolute !important;
  animation: successModalSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  direction: rtl;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

@keyframes successModalSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translate(-50%, -50%);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.success-logo img {
  animation: logoAppear 0.8s ease-out 0.3s both;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 157, 224, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 157, 224, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 157, 224, 0.3);
  }
}

.success-logo {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-logo img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 157, 224, 0.2));
  transition: transform 0.3s ease;
}

.success-logo img:hover {
  transform: scale(1.05);
}

.success-message h3 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.success-message p {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.success-message .thank-you {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 157, 224, 0.2);
}

.success-close-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 157, 224, 0.25);
  min-width: 120px;
}

.success-close-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 157, 224, 0.35);
}

.success-close-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 157, 224, 0.3);
}

/* Responsive Design for Success Modal */
@media (min-width: 769px) {
  #successModal {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .success-modal-content {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  #successModal {
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
  }
  
  .success-modal-content {
    padding: 2rem;
    max-width: 90%;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: relative !important;
  }
  
  .success-logo img {
    width: 100px;
  }
  
  .success-message h3 {
    font-size: 1.5rem;
  }
  
  .success-message p {
    font-size: 1.1rem;
  }
  
  .success-close-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #successModal {
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
  }
  
  .success-modal-content {
    padding: 1.5rem;
    max-width: 95%;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: relative !important;
  }
  
  .success-logo img {
    width: 80px;
  }
  
  .success-message h3 {
    font-size: 1.3rem;
  }
  
  .success-message p {
    font-size: 1rem;
  }
  
  .success-close-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

#contactForm input[type="tel"] {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

#contactForm input[type="tel"]:focus {
  letter-spacing: 1px;
}

#contactForm input[type="tel"]::placeholder {
  font-family: inherit;
  letter-spacing: normal;
}

/* מניעת מילוי אוטומטי */
#contactForm input:-webkit-autofill,
#contactForm input:-webkit-autofill:hover,
#contactForm input:-webkit-autofill:focus,
#contactForm input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #222 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }
}

/* Responsive design for WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
  }
  
  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* Fix for toggle buttons - ensure proper display states */
.feature-text-full {
  display: none !important;
}

.feature-text-full[style*="display: block"] {
  display: block !important;
}

.hero-text-full {
  display: none !important;
}

.hero-text-full[style*="display: block"] {
  display: block !important;
}

@media (max-width: 800px) {
  .feature-item {
    flex-direction: column;
    margin-bottom: 80px;
    padding: 0 30px;
  }

  .feature-item .feature-image {
    margin-bottom: 30px;
  }

  .feature-item .feature-content {
    padding: 0;
  }

  .feature-content {
    text-align: center;
  }

  .feature-content h3 {
    font-size: 2.5em;
    margin-bottom: 30px !important;
    line-height: 1.3;
  }

  .feature-subtitle {
    font-size: 1.15em;
    text-align: center;
    margin-bottom: 25px;
  }

  .feature-text-short p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .read-more-btn {
    font-size: 0.95em;
    padding: 10px 18px;
  }

  .video-btn {
    font-size: 0.95em;
    padding: 12px 22px;
  }

  .feature-item[data-aos] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* Add margin to prevent overlap with h3 title */
  .feature-content h3 {
    margin-bottom: 30px !important;
  }

  /* Add margin to iphone-examples to prevent overlap with h3 title */
  .iphone-examples {
    margin-top: 30px !important;
  }
}

/* Responsive Video Container - 16:9 Aspect Ratio */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Story Video Container with iPhone Frame */
.story-video-container {
  margin: 2rem auto;
  max-width: 400px;
  text-align: center;
}

.iphone-frame {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 20px 15px 25px 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid #333;
}

.iphone-header {
  position: relative;
  height: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 0 0 15px 15px;
  z-index: 2;
}

.iphone-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid #444;
}

.iphone-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 23px;
}

.iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  opacity: 0.8;
}

/* Hero Video Button Container - לחצן צפה בשירות ממרוכז */
.hero-video-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 0 2rem;
}

.hero-video-button-container .video-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #009DE0, #0077B3);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 157, 224, 0.3);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-video-button-container .video-btn .video-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.hero-video-button-container .video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 157, 224, 0.4);
    background: linear-gradient(135deg, #0077B3, #005A8C);
}

.hero-video-button-container .video-btn:hover .video-icon {
    transform: scale(1.1);
}

/* Section Divider - קו חוצץ ממרוכז */
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 0 2rem;
}



/* רווח בין הלחצן "קרא עוד" לבין הקו החוצץ שמתחתיו */
.feature-text-short .read-more-btn {
    margin-bottom: 2rem !important;
}

/* רווח נוסף בין הטקסט הקצר לבין הקו החוצץ */
.feature-text-short {
    margin-bottom: 2rem !important;
}

.divider-line {
    width: 400px;
    height: 2px;
    background: #009DE0;
    border-radius: 1px;
    position: relative;
    opacity: 0.8;
}

/* הסרת הנקודות מהצדדים - הקו יהיה רצוף ונקי */

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* רווח במובייל - הקו באמצע */
  .section-divider {
    margin: 1.5rem 0 !important;
  }
  

  
  /* רווח במובייל בין הלחצן "קרא עוד" לבין הקו החוצץ */
  .feature-text-short .read-more-btn {
    margin-bottom: 2.5rem !important;
  }
  
  /* רווח במובייל בין הטקסט הקצר לבין הקו החוצץ */
  .feature-text-short {
    margin-bottom: 2.5rem !important;
  }
  

  
  .story-video-container {
    max-width: 320px;
    margin: 1.5rem auto;
  }
  
  .iphone-frame {
    max-width: 280px;
    padding: 15px 12px 20px 12px;
    border-radius: 35px;
  }
  
  .iphone-notch {
    width: 100px;
    height: 20px;
  }
  
  .iphone-title {
    font-size: 0.8rem;
  }
  
  .iphone-home-indicator {
    width: 100px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  /* רווח במסכים קטנים - הקו באמצע */
  .section-divider {
    margin: 1rem 0 !important;
  }
  

  
  /* רווח במסכים קטנים בין הלחצן "קרא עוד" לבין הקו החוצץ */
  .feature-text-short .read-more-btn {
    margin-bottom: 3rem !important;
  }
  
  /* רווח במסכים קטנים בין הטקסט הקצר לבין הקו החוצץ */
  .feature-text-short {
    margin-bottom: 3rem !important;
  }
  

  
  .story-video-container {
    max-width: 280px;
    margin: 1rem auto;
  }
  
  .iphone-frame {
    max-width: 250px;
    padding: 12px 10px 18px 10px;
    border-radius: 30px;
  }
  
  .iphone-notch {
    width: 80px;
    height: 18px;
  }
  
  .iphone-title {
    font-size: 0.75rem;
  }
  
  .iphone-home-indicator {
    width: 80px;
    height: 2px;
  }
}

/* Enhanced Video Container for General Use */
.responsive-video {
  position: relative;
  width: 100%;
  max-width: 1200px; /* הגדלתי מ-900px ל-1200px למסכים גדולים */
  margin: 2rem auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* Mobile Responsive for Enhanced Video */
@media (max-width: 768px) {
  .responsive-video {
    max-width: 95%;
    margin: 1.5rem auto;
    border-radius: 12px;
  }
  
  .responsive-video iframe {
    border-radius: 12px;
  }
  
  /* Mobile adjustments for video button */
  .video-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    gap: 6px;
  }
  
  .video-btn .video-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .responsive-video {
    max-width: 98%;
    margin: 1rem auto;
    border-radius: 8px;
  }
  
  .responsive-video iframe {
    border-radius: 8px;
  }
  
  /* Mobile adjustments for video button */
  .video-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    gap: 5px;
  }
  
  .video-btn .video-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .responsive-video {
    max-width: 98%;
    margin: 1rem auto;
    border-radius: 8px;
  }
  
  .responsive-video iframe {
    border-radius: 8px;
  }
}

/* Video Section Styling */
.video-section {
  text-align: center;
  margin: 3rem auto;
  max-width: 1800px; /* הגדלתי מ-1600px ל-1800px למסכים גדולים */
  padding: 0 20px;
}

.video-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
  direction: rtl;
}

/* Responsive adjustments for video section */
@media (max-width: 768px) {
  .video-section {
    margin: 2rem auto;
    padding: 0 15px;
    max-width: 95%; /* במובייל הסרטון תופס 95% מהרוחב */
  }
  
  .video-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .video-section {
    margin: 1.5rem auto;
    padding: 0 10px;
    max-width: 98%; /* במובייל קטן הסרטון תופס 98% מהרוחב */
  }
  
  .video-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
}

/* Mobile adjustments for section divider */
@media (max-width: 768px) {
  .section-divider {
    margin: 1rem 0;
    padding: 0 1rem;
  }
  
  .divider-line {
    width: 300px;
    height: 2px;
  }
  
  /* הסרת הנקודות מהצדדים במובייל */
  
  .feature-image img {
    width: 80%;
    max-width: 80%;
  }
  
  /* הגדלת התמונה Menu_pictures במובייל ב-15% מהמצב הקיים */
  .feature-image img[src*="Menu_pictures"] {
    width: 92% !important; /* 80% + 15% = 92% */
    max-width: 92% !important;
  }
}

@media (max-width: 480px) {
  .section-divider {
    margin: 0.8rem 0;
    padding: 0 0.5rem;
  }
  
  .divider-line {
    width: 260px;
    height: 2px;
  }
  
  /* הסרת הנקודות מהצדדים במובייל קטן */
  
  .hero-video-button-container {
    margin: 1.5rem 0;
    padding: 0 1rem;
  }
  
  .hero-video-button-container .video-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  
  .hero-video-button-container .video-btn .video-icon {
    width: 18px;
    height: 18px;
  }
  
  .feature-image img {
    width: 85%;
    max-width: 85%;
  }
  
  /* הגדלת התמונה Menu_pictures במובייל ב-15% מהמצב הקיים */
  .feature-image img[src*="Menu_pictures"] {
    width: 97.75% !important; /* 85% + 15% = 97.75% */
    max-width: 97.75% !important;
  }
}



/* === Ensure examples title is above carousel on desktop === */
@media (min-width: 768px) {
  .examples-title {
    position: relative;
    z-index: 5;
    background: white;
    display: inline-block;
    padding: 0.25rem 0.5rem;
  }
}


/* === 3D Ring Carousel (CSS) – restored === */
.ring-carousel {
  --radius: 520px;
  --slide-w: 240px;
  --slide-h: 420px;
  --gap: 16px;
  --speed: 22s;
  perspective: 1400px;
  width: 100%;
  margin: 1rem auto 1.5rem;
  display: grid;
  place-items: center;
  overflow: visible;
  position: relative;
}

.ring-stage {
  width: var(--slide-w);
  height: var(--slide-h);
  position: relative;
  transform-style: preserve-3d;
  animation: ring-spin var(--speed) linear infinite;
  --stage-z: -280px;
}

.ring-stage:hover { animation-play-state: paused; }

.ring-slide {
  position: absolute;
  top: 0; left: 0;
  width: var(--slide-w);
  height: var(--slide-h);
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
  display: flex; 
  flex-direction: column;
}

.ring-slide { 
  transform: rotateY(calc(var(--i) * var(--theta))) translateZ(var(--radius));
}

.ring-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 40px rgba(0,0,0,.18);
  display: block;
}

.ring-slide .caption{
  margin-top: 8px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
  color: #222;
  font-weight: 600;
}

.ring-slide::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -14%;
  height: 14%;
  transform: scaleY(-1);
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  background: inherit;
  background-image: inherit;
  filter: blur(6px) opacity(.35);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
}

.ring-slide { filter: saturate(.85) contrast(.95) brightness(.92); }
.ring-slide.is-front { filter: none; }

@keyframes ring-spin {
  from { transform: translateZ(var(--stage-z)) rotateX(0) rotateY(0); }
  to   { transform: translateZ(var(--stage-z)) rotateX(0) rotateY(-360deg); }
}

@media (max-width: 1200px){
  .ring-carousel{ --radius: 420px; --slide-w: 210px; --slide-h: 370px; }
}
@media (max-width: 900px){
  .ring-carousel{ --radius: 320px; --slide-w: 180px; --slide-h: 300px; --speed: 20s; }
}
@media (max-width: 700px){
  .ring-carousel{ --radius: 240px; --slide-w: 140px; --slide-h: 240px; --speed: 18s; }
}
@media (max-width: 480px){
  .ring-carousel{ --radius: 180px; --slide-w: 118px; --slide-h: 200px; --speed: 16s; }
}

.demo-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 3000; }
.demo-modal.active { display: flex; }
.demo-phone { width: min(360px, 92vw); aspect-ratio: 9/19.5; background: #111; border-radius: 36px; box-shadow: 0 12px 40px rgba(0,0,0,.5); position: relative; overflow: hidden; border: 8px solid #111; }
.demo-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 24px; background: #111; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 2; }
.demo-iframe { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border: 0; border-radius: 24px; background: #fff; }
.demo-close, .close-button { position: absolute; top: 8px; right: 8px; z-index: 4; background: rgba(255,255,255,.95); border: 0; border-radius: 999px; width: 54px; height: 54px; font-size: 30px; cursor: pointer; }


/* === iOS Safari Mobile Fallback: robust horizontal scroller === */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 820px) {
    body.ios-safari .ring-carousel{
      --slide-w: 220px;
      --slide-h: 400px;
      --gap: 14px;
      -webkit-perspective: none;
      perspective: none;
      overflow: hidden;
    }
    body.ios-safari .ring-stage{
      animation: none !important;
      -webkit-animation: none !important;
      transform: none !important;
      -webkit-transform: none !important;
      display: flex;
      flex-wrap: nowrap;
      gap: var(--gap);
      width: 100%;
      height: auto;
      overflow-x: auto;
      overflow-y: visible;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding: 0.5rem 6vw 0.75rem;
      box-sizing: border-box;
      white-space: nowrap;
    }
    body.ios-safari .ring-slide{
      position: relative;
      width: var(--slide-w);
      height: var(--slide-h);
      flex: 0 0 var(--slide-w);
      transform: none !important;
      -webkit-transform: none !important;
      scroll-snap-align: center;
      transition: transform .25s ease, filter .25s ease;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    body.ios-safari .ring-slide img{
      display:block;
      width:100%;
      height:100%;
      object-fit:cover;
      filter: none;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
    body.ios-safari .ring-slide.is-front{ transform: scale(1.06); }
    body.ios-safari .ring-slide:not(.is-front){ filter: saturate(.9) brightness(.96); }
    body.ios-safari .ring-slide::after{ display:none; }
  }
}
