/* ═══════════════════════════════════════════════════════════════════
   PLATFORM PAGE STYLES — youtube/facebook/tiktok/instagram .html
   ═══════════════════════════════════════════════════════════════════ */

.hero {
  text-align: center;
  padding: 30px 20px 14px;
}

.hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(22px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 11px;
  text-shadow: 0 0 16px rgba(176, 106, 255, .55);
}

.hero-sub {
  font-size: 15px;
  color: var(--ts);
  max-width: 560px;
  margin: 0 auto 13px;
  line-height: 1.65;
}

.tip-box {
  max-width: 560px;
  margin: 0 auto 18px;
  background: rgba(124, 58, 237, .1);
  border: 1px solid rgba(176, 106, 255, .22);
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ts);
  line-height: 1.5;
}

/* ── STEPS ────────────────────────────────────────────────────────── */
.steps-section {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 18px 46px;
}

.section-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ts);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step-card {
  background: var(--gl);
  border: 1px solid var(--br);
  border-radius: 14px;
  padding: 22px 15px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color .2s, transform .2s;
}

.step-card:hover {
  border-color: var(--bh);
  transform: translateY(-2px);
}

.step-num {
  font-size: 10px;
  color: var(--ac);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-emoji {
  font-size: 25px;
  margin-bottom: 9px;
  display: block;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--ts);
  line-height: 1.55;
}

/* ── TRY BOX ──────────────────────────────────────────────────────── */
.try-box {
  max-width: 660px;
  margin: 0 auto 46px;
  background: var(--gl);
  border: 1px solid var(--bh);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 46px rgba(108, 63, 197, .13);
}

.try-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 13px;
  text-align: center;
}

.input-row {
  display: flex;
  gap: 9px;
}

.url-input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--br);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--tm);
  font-family: var(--fn);
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}

.url-input::placeholder { color: var(--td); }

.url-input:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px rgba(176, 106, 255, .13);
}

.dl-btn {
  background: linear-gradient(135deg, #7c3aed, #b06aff);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--fn);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  box-shadow: 0 4px 18px rgba(124, 58, 237, .4);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.dl-btn .spinner {
  margin: 0;
}

.dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, .55);
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 18px 54px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--gl);
  border: 1px solid var(--br);
  border-radius: 12px;
  padding: 15px 17px;
  backdrop-filter: blur(10px);
  transition: border-color .2s;
}

.faq-item:hover { border-color: var(--bh); }

.faq-q {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #c4a0ff;
}

.faq-a {
  font-size: 13px;
  color: var(--ts);
  line-height: 1.55;
}

/* ── RTL ──────────────────────────────────────────────────────────── */
[dir="rtl"] .input-row { flex-direction: row-reverse; }

/* ── MOBILE ───────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
}
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #7c3aed, #b06aff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 30px rgba(176, 106, 255, .6),
    0 0 60px rgba(124, 58, 237, .4),
    inset 0 0 20px rgba(255, 255, 255, .1);
  animation: successPulse 2s ease-in-out infinite;
}

.success-icon svg {
  width: 42px;
  height: 42px;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .8));
}

@keyframes successPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(176, 106, 255, .6), 0 0 60px rgba(124, 58, 237, .4), inset 0 0 20px rgba(255, 255, 255, .1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 50px rgba(176, 106, 255, .9), 0 0 100px rgba(124, 58, 237, .6), inset 0 0 25px rgba(255, 255, 255, .2);
    transform: scale(1.05);
  }
}
/* ── FAQ ACCORDION ────────────────────────────────────────────────── */
.faq-accordion-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.faq-accordion-section .sec-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
  color: var(--tm);
}

.faq-accordion-section .sec-sub {
  text-align: center;
  font-size: 15px;
  color: var(--ts);
  margin-bottom: 38px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-acc-item {
  background: var(--gl);
  border: 1px solid var(--br);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
  backdrop-filter: blur(12px);
}

.faq-acc-item:hover {
  border-color: var(--bh);
}

.faq-acc-item.open {
  border-color: var(--ac);
  box-shadow: 0 6px 30px rgba(124, 58, 237, .18);
}

.faq-acc-q {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
  transition: color .15s;
}

.faq-acc-q:hover { color: var(--ac); }

.faq-acc-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, .18);
  border: 1px solid rgba(176, 106, 255, .3);
  border-radius: 50%;
  color: var(--ac);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform .3s ease, background .25s;
}

.faq-acc-item.open .faq-acc-icon {
  transform: rotate(45deg);
  background: rgba(176, 106, 255, .35);
}

.faq-acc-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--ts);
  line-height: 1.7;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-acc-item.open .faq-acc-a {
  padding: 0 24px 22px;
  max-height: 800px;
}

.faq-acc-a p {
  margin-bottom: 10px;
}

.faq-acc-a p:last-child {
  margin-bottom: 0;
}

.faq-acc-a strong {
  color: var(--tm);
  font-weight: 600;
}

[dir="rtl"] .faq-acc-q { flex-direction: row-reverse; }

@media (max-width: 600px) {
  .faq-accordion-section { padding: 36px 14px 50px; }
  .faq-acc-q { padding: 16px 18px; font-size: 14px; }
  .faq-acc-item.open .faq-acc-a { padding: 0 18px 18px; }
  .faq-acc-a { font-size: 13px; }
}