/* pages.css - shared page styles & animations */

/* Animation: Fade + Slide Up */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title {
  color: var(--brand-white);
  text-align: center;
}

.content {
  padding: 1.8rem;
}

.content-rtl {
  padding: 1.8rem;
  direction: rtl;
}

.content > * {
  animation: fadeSlideUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.content > *:nth-child(1) { animation-delay: 0.1s; }
.content > *:nth-child(2) { animation-delay: 0.2s; }
.content > *:nth-child(3) { animation-delay: 0.3s; }
.content > *:nth-child(4) { animation-delay: 0.4s; }

/* Pricing Cards */
.pricing-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.price-card {
  background: var(--brand-card);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  padding: 1.5rem;
  width: 18rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}
.price {
  font-size: 2rem;
  color: var(--brand-secondary);
  margin: 0.5rem 0;
}

/* === Detailed Pricing Sections as Cards === */
.pricing-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.pricing-tier {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  animation: fadeSlideUp 0.6s ease forwards;
}

.pricing-tier h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.pricing-tier ul {
  padding-left: 1.2rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.pricing-tier p:last-child {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .pricing-boxes {
    flex-direction: column;
    align-items: center;
  }
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  text-align: left;
}
.feature-checklist li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.choose-plan {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background-color: #3452e4;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.choose-plan:hover {
  background-color: #2b45cc;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1.5rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 5px black;
  outline: none;
}
.contact-form button {
  background: var(--brand-secondary);
  color: black;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.2s ease;
}
.contact-form button:hover {
  color: white;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.contact-grid .contact-form {
  flex: 1 1 320px;
  max-width: 480px;
}

.contact-grid .contact {
  flex: 1 1 320px;
  max-width: 480px;
}

/* Optional spacing for inner elements */
.contact ul {
  padding-left: 1.2rem;
}

.contact-card {
  background: var(--brand-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 320px;
  max-width: 480px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card h1,
.contact-card h2,
.contact-card p,
.contact-card ul {
  margin-top: 0;
}

/* SVG Divider Styles */
.section-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 100%;
}

.divider-wave {
  fill: #222;
  animation: waveMotion 6s ease-in-out infinite alternate;
}

@keyframes waveMotion {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50px); }
}

/* Fading effect stylez */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button {
  display: inline-block;
  background-color: #00d5ff;
  color: #000;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 10px #00d5ff66;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #00aacc;
  color: white;
}
