/* ============================================
   Sample Preview
   ============================================ */

.sample-section { background: linear-gradient(180deg, var(--bg), #F4F5F7); }

.sample-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.carousel-track-wrap { overflow: hidden; border-radius: var(--r-lg); flex: 1; }

.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 8px;
}

.sample-page {
  background: #FFFDF6;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  padding: 36px 44px;
  position: relative;
  overflow: hidden;
}

.sample-page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.sample-subject-tag { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary); background: rgba(37,99,235,0.08); padding: 5px 12px; border-radius: var(--r-pill); }

.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-fast);
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--ink); color: white; border-color: var(--ink); transform: scale(1.06); }
.carousel-btn svg { width: 19px; height: 19px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: all var(--dur-fast); }
.carousel-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

@media (max-width: 640px) {
  .sample-carousel { gap: 10px; }
  .carousel-btn { width: 38px; height: 38px; }
  .sample-page { padding: 22px 24px; }
}

/* ============================================
   How It Works
   ============================================ */

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}

.step-card {
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.step-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(37,99,235,0.24);
}
.step-icon svg { width: 28px; height: 28px; color: white; }

.step-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text); }

.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--border-strong); }
.step-arrow svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ============================================
   Reviews
   ============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card { padding: 28px; }

.review-stars { margin-bottom: 16px; }
.review-card p.review-text { font-size: 14.5px; color: var(--text-dark); margin-bottom: 22px; line-height: 1.65; }

.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.reviewer-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.reviewer-meta { font-size: 12.5px; color: var(--text); }

@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item.open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease);
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-q-icon svg { width: 14px; height: 14px; }

.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a { padding: 0 26px 22px; font-size: 14.5px; color: var(--text); line-height: 1.7; }

/* ============================================
   Footer
   ============================================ */

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 22px; }

.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast);
}
.social-btn:hover { background: var(--primary); transform: translateY(-2px); }
.social-btn svg { width: 17px; height: 17px; color: white; }

.footer-col h4 { color: white; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.65); transition: color var(--dur-fast); }
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   Floating support buttons
   ============================================ */

.support-fab-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast);
  position: relative;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; color: white; }
.fab-whatsapp { background: #25D366; }
.fab-telegram { background: #0088CC; }
.fab-chat { background: var(--primary); }

.fab-label {
  position: absolute;
  left: 62px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--ink);
  color: white;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-fast);
}
.fab:hover .fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 640px) {
  .support-fab-wrap { bottom: 16px; left: 16px; }
  .fab { width: 46px; height: 46px; }
  .fab-label { display: none; }
}
