/* shared.css — WebLaunch niche pages
   RTL base + hero + btn + card + pricing + FAQ + footer + floating buttons
   All niche pages link to this file via ../shared.css
*/

/* ── Reset & RTL base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  text-align: right;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e8e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #6c63ff;
  letter-spacing: -0.5px;
}

.nav-logo span { color: #1a1a2e; }

.nav-link {
  font-size: .9rem;
  color: #555;
  transition: color .2s;
}
.nav-link:hover { color: #6c63ff; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #6c63ff 0%, #3f3d8f 100%);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: .92;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: none;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #25d366;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #6c63ff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ── Section wrapper ──────────────────────────────────────────────────────── */
.section {
  padding: 4rem 2rem;
}

.section-alt {
  background: #f7f7ff;
}

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

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1a1a2e;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ── Benefits list ────────────────────────────────────────────────────────── */
.benefits {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 10px rgba(108,99,255,.08);
  font-size: .97rem;
}

.benefits li::before {
  content: "✓";
  color: #6c63ff;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(108,99,255,.1);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(108,99,255,.18);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #1a1a2e;
}

.card p {
  font-size: .9rem;
  color: #555;
  line-height: 1.5;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(108,99,255,.1);
  text-align: center;
  position: relative;
  transition: transform .2s;
}

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

.pricing-card.featured {
  background: linear-gradient(135deg, #6c63ff, #3f3d8f);
  color: #fff;
  transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  background: #ff6b6b;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  opacity: .85;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .25rem;
}

.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.pricing-period {
  font-size: .85rem;
  opacity: .7;
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  text-align: right;
  margin-bottom: 1.5rem;
  display: grid;
  gap: .5rem;
}

.pricing-features li {
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pricing-features li::before {
  content: "✓";
  color: #6c63ff;
  font-weight: 900;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before { color: #a8f0c6; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(108,99,255,.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: right;
  font-size: .97rem;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.faq-question::after {
  content: "▼";
  font-size: .7rem;
  color: #6c63ff;
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item.open .faq-question::after { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: .92rem;
  color: #444;
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* ── CTA section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #6c63ff 0%, #3f3d8f 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: .88rem;
}

.footer a {
  color: #a8a0ff;
  transition: color .2s;
}
.footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-copy {
  opacity: .6;
  margin-top: .75rem;
}

/* ── Floating WhatsApp button ─────────────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;   /* LTR physical — intentional: WA button always bottom-left */
  z-index: 999;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: .75rem 1.25rem;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.float-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

.float-wa svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── Intro paragraph ──────────────────────────────────────────────────────── */
.intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.75;
}

/* ── Media queries ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: .75rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
  .pricing-card.featured { transform: none; }
  .float-wa span { display: none; }
  .float-wa { padding: .85rem; border-radius: 50%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
