/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE STYLES — index.html only
   ═══════════════════════════════════════════════════════════════════ */

/* ── NEON H1 (homepage hero) ──────────────────────────────────────── */
h1 .neon-line { display: block; position: relative; }

h1 .neon-word {
  display: inline-block;
  color: #fff;
  text-shadow:
    0 0 9px rgba(255, 255, 255, 1),
    0 0 20px rgba(196, 160, 255, 1),
    0 0 40px rgba(176, 106, 255, .9),
    0 0 70px rgba(124, 58, 237, .75),
    0 0 110px rgba(108, 63, 197, .5);
  transform: translateZ(0);
  will-change: opacity;
  animation: neonPulseOpacity 3.5s ease-in-out infinite alternate;
}

h1 .neon-word2 {
  display: inline-block;
  color: #e0c8ff;
  text-shadow:
    0 0 10px rgba(224, 200, 255, 1),
    0 0 24px rgba(196, 160, 255, 1),
    0 0 55px rgba(124, 58, 237, .85),
    0 0 95px rgba(108, 63, 197, .65),
    0 0 130px rgba(80, 30, 180, .4);
  transform: translateZ(0);
  will-change: opacity;
  animation: neonPulseOpacity 2.8s ease-in-out infinite alternate;
  animation-delay: .4s;
}

@keyframes neonPulseOpacity {
  0% { opacity: 0.85; }
  50% { opacity: 0.65; }
  100% { opacity: 1; }
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 64px 20px 44px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 63, 197, .2);
  border: 1px solid rgba(176, 106, 255, .3);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--vg);
  margin-bottom: 26px;
  font-weight: 500;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--ac);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}

h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--tm);
}

.hl {
  background: linear-gradient(135deg, #c4a0ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--ts);
  max-width: 540px;
  margin: 0 auto 46px;
  line-height: 1.65;
}

/* ── DOWNLOAD BOX ─────────────────────────────────────────────────── */
.dl-box {
  max-width: 740px;
  margin: 0 auto 22px;
  background: var(--gl);
  border: 1px solid var(--bh);
  border-radius: 20px;
  padding: 28px 28px 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(108, 63, 197, .18);
}

.input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.url-input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--br);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--tm);
  font-family: var(--fn);
  outline: none;
  transition: border-color .2s, box-shadow .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, .15);
  background: rgba(255, 255, 255, .08);
}

.dl-btn {
  background: linear-gradient(135deg, #7c3aed, #b06aff);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--fn);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .4);
  flex-shrink: 0;
}

.dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, .56);
}

.dl-btn:active { transform: translateY(0); }
.dl-btn svg { width: 17px; height: 17px; }

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.pl {
  font-size: 12px;
  color: var(--td);
  font-weight: 500;
  margin-right: 4px;
}

.ptag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--br);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ts);
  font-weight: 500;
  transition: all .15s;
  cursor: default;
}

.ptag:hover {
  border-color: var(--bh);
  color: var(--vg);
  background: rgba(176, 106, 255, .08);
}

.pd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── RESULT AREA ──────────────────────────────────────────────────── */
.result-area {
  max-width: 740px;
  margin: 0 auto 48px;
  display: none;
}

.result-area.show { display: block; }

.result-card {
  background: var(--gl);
  border: 1px solid var(--bh);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(20px);
}

.result-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.fmt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, .2);
  border: 1px solid rgba(176, 106, 255, .35);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--vg);
  font-weight: 500;
  cursor: pointer;
  margin: 4px;
  transition: all .2s;
  font-family: var(--fn);
}

.fmt-btn:hover {
  background: rgba(124, 58, 237, .38);
  border-color: var(--ac);
}

.fmt-btn svg { width: 14px; height: 14px; }

/* ── AD SLOTS ─────────────────────────────────────────────────────── */
.ad-slot {
  max-width: 740px;
  margin: 0 auto 40px;
  min-height: 90px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed var(--br);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--td);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-slot-rect {
  max-width: 740px;
  margin: 0 auto 40px;
  min-height: 250px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed var(--br);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--td);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── FEATURES ─────────────────────────────────────────────────────── */
.features {
  padding: 20px 20px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.sec-title {
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.sec-sub {
  text-align: center;
  font-size: 15px;
  color: var(--ts);
  margin-bottom: 22px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.feat-card {
  background: var(--gl);
  border: 1px solid var(--br);
  border-radius: 16px;
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  transition: border-color .2s, transform .2s;
}

.feat-card:hover {
  border-color: var(--bh);
  transform: translateY(-2px);
}

.feat-icon {
  width: 42px;
  height: 42px;
  background: rgba(124, 58, 237, .2);
  border: 1px solid rgba(176, 106, 255, .25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.feat-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feat-desc {
  font-size: 13px;
  color: var(--ts);
  line-height: 1.55;
}

/* ── HOW IT WORKS ─────────────────────────────────────────────────── */
.how {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 34px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.step {
  text-align: center;
  padding: 28px 18px;
  background: var(--gl);
  border: 1px solid var(--br);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.step-num {
  font-family: var(--mo);
  font-size: 11px;
  color: var(--ac);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-emoji {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--ts);
  line-height: 1.5;
}

/* ── RTL ──────────────────────────────────────────────────────────── */
[dir="rtl"] .input-row { flex-direction: row-reverse; }
[dir="rtl"] .platform-row { flex-direction: row-reverse; }

/* ── MOBILE ───────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
  .dl-box { padding: 20px 16px 18px; }
}
/* ── SUPPORTED PLATFORMS ──────────────────────────────────────────── */
.platforms {
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 20px 30px;
}

.platforms .sec-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
  color: var(--tm);
}

.platforms .sec-sub {
  text-align: center;
  font-size: 15px;
  color: var(--ts);
  margin-bottom: 40px;
}

.plat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.plat-col {
  text-align: center;
}

.plat-col h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ac);
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.plat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.plat-list li {
  font-size: 14px;
  color: var(--tm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s;
}

.plat-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--ac);
  border-radius: 50%;
  opacity: .7;
  flex-shrink: 0;
  transition: opacity .15s, box-shadow .15s;
}

.plat-list li:hover {
  color: var(--vg);
}

.plat-list li:hover::before {
  opacity: 1;
  box-shadow: 0 0 8px var(--ac);
}

@media (max-width: 900px) {
  .plat-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 500px) {
  .platforms { padding: 30px 16px 40px; }
  .plat-grid { grid-template-columns: 1fr; gap: 24px; }
  .plat-col h3 { font-size: 11px; margin-bottom: 14px; }
  .plat-list li { font-size: 13px; }
}
/* ── CENTER: Why SaveFast cards ──────────────────────────────────── */
.feat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feat-icon {
  margin: 0 auto 14px;
}

.feat-title,
.feat-desc {
  text-align: center;
}

/* ── CENTER: Supported Platforms cards ──────────────────────────── */
.plat-col {
  text-align: center;
}

.plat-col h3 {
  text-align: center;
}

.plat-list {
  align-items: center;
}

.plat-list li {
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plat-list li::before {
  position: static;
  transform: none;
  flex-shrink: 0;
}

.plat-list li:hover {
  transform: none;
}

[dir="rtl"] .plat-col,
[dir="rtl"] .plat-col h3 {
  text-align: center;
}

[dir="rtl"] .plat-list li {
  padding-right: 0;
}

[dir="rtl"] .plat-list li::before {
  right: auto;
}

[dir="rtl"] .plat-list li:hover {
  transform: none;
}
/* ── SUCCESS ICON (галочка з неоновим ефектом) ────────────────────── */
.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;
  position: relative;
}

.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);
  }
}

/* Result card layout */
.result-card {
  text-align: center;
  padding: 32px 28px;
}

.result-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tm);
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(176, 106, 255, .5);
}

.result-card .dl-btn {
  display: inline-flex;
  margin: 0 auto;
}
/* ── FAQ ACCORDION ────────────────────────────────────────────────── */
.faq-accordion-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 25px 20px 40px;
}

.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: 22px;
}

.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(--vg); }

.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; }
}