@font-face {
  font-family: 'open sans font';
  src: url('fonts/open-sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}


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

body {
  font-family: 'open sans font';
  background: #f4f6ff;
  min-height: 100vh;
  direction: rtl;
  overflow-x: hidden;
}

.container {
  max-width: 768px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.star {
  position: absolute;
  background: radial-gradient(circle, rgba(200, 180, 150, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: twinkle 1s ease-in-out infinite alternate;
}

.star::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 20px;
  background: #FDD017;
  border-radius: 1px;
}

.star::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 2px;
  height: 20px;
  background: #FDD017;
  border-radius: 1px;
}

.star-1 {
  top: 10%;
  right: 15%;
  width: 30px;
  height: 30px;
  animation-delay: 0s;
}

.star-2 {
  top: 25%;
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 1s;
}

.star-3 {
  bottom: 30%;
  right: 10%;
  width: 25px;
  height: 25px;
  animation-delay: 2s;
}

.star-4 {
  bottom: 15%;
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 0.5s;
}

.star-5 {
  top: 50%;
  right: 5%;
  width: 18px;
  height: 18px;
  animation-delay: 1.5s;
}

@keyframes twinkle {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

.content {
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #161616;
  font-family: 'open sans font';
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.1rem;
  color: #161616;
  margin-bottom: 45px;
  line-height: 1.4;
}

.description {
  margin-bottom: 40px;
}

.description p {
  font-size: 0.95rem;
  color: #161616;
  margin-bottom: 8px;
  line-height: 1.5;
  opacity: 0.9;
}

.phone-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  perspective: 1000px;
}

.phone {
  width: 200px;
  height: 400px;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 35px;
  padding: 8px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  transform: rotateY(-15deg) rotateX(5deg);
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
  50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-10px); }
}

.phone::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #000;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  border-radius: 27px;
  overflow: hidden;
  position: relative;
}

.screen-content {
  padding: 30px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-header {
  margin-bottom: 30px;
}

.loyalty-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 140px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.dot.filled {
  background: #919191;
  box-shadow: 0 2px 4px rgba(212, 165, 116, 0.3);
}

.barcode-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.barcode {
  text-align: center;
}

.barcode-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
  height: 60px;
}

.line {
  background: #000;
  height: 100%;
  width: 2px;
  border-radius: 1px;
}

.line.thick {
  width: 4px;
}

.barcode-text {
  font-size: 0.8rem;
  color: #666;
  font-family: monospace;
  letter-spacing: 2px;
}

.footer {
  text-align: center;
}

.logo {
  display: block;       /* makes centering work */
  margin-top: 55px;
  margin: 0 auto;       /* centers horizontally */
  width: 150px;         /* optional size */
  height: auto;
}


/* Optional: add a hover effect */
.logo:hover {
  opacity: 0.9;        /* subtle hover effect */
  transition: opacity 0.3s ease;
}

.footer-text {
  font-size: 0.9rem;
  color: #161616;
  margin-top: 10px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.contact-link {
  color: #161616;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #6b5537;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .container {
    padding: 30px 15px;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .description p {
    font-size: 0.9rem;
  }
  
  .phone {
    width: 180px;
    height: 360px;
  }
  
  .screen-content {
    padding: 25px 15px 15px;
  }
  
  .cafe-name {
    font-size: 1rem;
  }
  
  .dot {
    width: 14px;
    height: 14px;
  }
  
  .barcode-lines {
    height: 50px;
  }
}

@media (max-width: 320px) {
  .main-title {
    font-size: 1.8rem;
  }
  
  .phone {
    width: 160px;
    height: 320px;
  }
  
  .loyalty-dots {
    max-width: 100px;
    gap: 6px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
}


.faq-container {
  max-width: 700px;
  margin: 30px auto;
  font-family: 'open sans font';
  direction: rtl; /* Hebrew text direction */
}

.faq-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'open sans font';
  background: #919191;
  color: white;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f3624e;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  background: #fff;
  direction: rtl; 
  font-size: 1.6ch;
  line-height: 1.8; 
  max-width: 700px; 
  margin: 0 auto;
  font-family: 'open sans font';
}

.faq-answer ul {
  padding: 10px 0;
  margin: 0;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Expand answer when checkbox is checked */
.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px; /* enough to show content */
  padding: 15px 20px;
}

/* Optional: add a small arrow indicator */
.faq-question::after {
  content: '▼';
  float: left;
  transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked + .faq-question::after {
  transform: rotate(-180deg);
}

.faq-title-1 {
  margin-bottom: 10px;
}

.faq-title-2 {
  margin-bottom: 10px;
}

.faq-title-3 {
  margin-bottom: 10px;
}

.faq-title-4 {
  margin-bottom: 10px;
}
