/* ============================================
   SnapTik Pro — Home Page Styles
   ============================================ */

/* ── HERO ── */
#home {
  padding: 88px 24px 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(254,44,85,0.13) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(254,44,85,0.1);
  border: 1px solid rgba(254,44,85,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 9vw, 92px);
  line-height: 0.98;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ── DOWNLOAD BOX ── */
.download-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 0 80px rgba(254,44,85,0.06), 0 0 0 1px rgba(255,255,255,0.03);
}
.input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.url-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.url-input::placeholder { color: var(--muted2); }
.url-input:focus {
  border-color: rgba(254,44,85,0.5);
  box-shadow: 0 0 0 3px rgba(254,44,85,0.08);
}
.btn-download {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-download:hover  { opacity: .88; transform: translateY(-1px); }
.btn-download:active { transform: translateY(0); }
.input-hint {
  font-size: 12px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.input-hint a { color: var(--muted); text-decoration: underline; }

/* Result */
#result-area { margin-top: 20px; display: none; }
.result-card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.result-thumb {
  width: 88px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  background: #1e1e1e;
  flex-shrink: 0;
}
.result-info { flex: 1; min-width: 0; }
.result-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-author { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-dl {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .2s;
}
.btn-dl:hover { opacity: .85; }
.btn-dl.ghost {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
}
.btn-dl.ghost:hover { background: var(--bg2); }
.loading-state {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  padding: 12px 0;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-msg {
  color: #f87171;
  font-size: 14px;
  padding: 10px 0;
  display: none;
  text-align: left;
}

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--text);
  letter-spacing: 1px;
}
.stat-num .accent { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── FEATURES ── */
#features { background: var(--bg2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 50px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(254,44,85,0.18);
}
.feature-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
#how-it-works { background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 52px;
}
.step-item { text-align: center; padding: 32px 24px; }
.step-num {
  font-family: var(--font-display);
  font-size: 68px;
  color: rgba(254,44,85,0.1);
  line-height: 1;
  margin-bottom: 4px;
}
.step-icon {
  width: 58px;
  height: 58px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.step-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── FAQ ── */
#faq { background: var(--bg2); }
.faq-wrap { margin-top: 50px; max-width: 780px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-arrow { color: var(--muted); font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-item.open .faq-body { max-height: 400px; }
.faq-inner {
  border-top: 1px solid var(--border);
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-inner a { color: var(--accent); text-decoration: underline; }

/* ── COPYRIGHT NOTICE ── */
#legal-notice {
  background: linear-gradient(135deg, #110a0d 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(254,44,85,0.12);
}
.notice-box {
  background: rgba(254,44,85,0.04);
  border: 1px solid rgba(254,44,85,0.16);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 820px;
}
.notice-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.notice-text { font-size: 14px; color: var(--muted); line-height: 1.8; }
.notice-text strong { color: var(--text); }
.notice-text a { color: var(--accent); text-decoration: underline; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.about-stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.about-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
.about-stat:nth-child(even) .num { color: var(--accent2); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .input-row { flex-direction: column; }
  .btn-download { width: 100%; }
  .stats-bar { gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .result-card { flex-direction: column; }
  .result-thumb { width: 100%; height: 180px; }
  .notice-box { padding: 22px; }
}
