/* ========================
   FLOZT — style.css (Dark)
   ======================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0A0A0A;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --accent: #CFF009;
  --accent-hover: #bde000;
  --text: #ffffff;
  --text-2: #8F8F8F;
  --border: rgba(255,255,255,0.09);
  --surface: #111111;
}



/* ─── Diagonal line background ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -60deg,
    transparent 0px, transparent 38px,
    rgba(255,255,255,0.012) 38px, rgba(255,255,255,0.012) 39px
  );
  opacity: 50%;
}

/* ─── Pages ─── */
.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
#page-success { display: none; flex-direction: column; min-height: 100vh; background: #0A0A0A; }
#page-success.active { display: flex; }
#page-main.hidden { display: none; }

/* ─── Logo icon ─── */
.logo-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: #111111;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  margin: 0 auto 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }

/* ─── Main ─── */
.main {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 64px 24px 88px;
  text-align: center;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--text-2); text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(207,240,9,0.2);
  animation: pulseDot 2.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(207,240,9,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(207,240,9,0.08); }
}

/* Heading */
.hero-h1 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.07;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 34px;
}

/* ─── Form ─── */
.form-row {
  display: flex; gap: 8px;
  width: 100%; max-width: 430px;
}
.form-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: #ffffff;
  background: #111111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.form-input::placeholder { color: #555; }
.form-input:focus {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(207,240,9,0.1);
}

.form-btn {
  background: var(--accent);
  color: #131313;
  font-size: 14px; font-weight: 600;
  padding: 13px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(207,240,9,0.25);
}
.form-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(207,240,9,0.35);
}
.form-btn:active { transform: scale(0.97); }
.form-btn.loading { opacity: 0.55; pointer-events: none; }

/* ─── Social proof ─── */
.social-proof {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px;
}
.avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2.5px solid #0A0A0A;
  margin-left: -9px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.avatar:first-child { margin-left: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.av1 { background: #ec4899; }
.av2 { background: #8b5cf6; }
.av3 { background: #3b82f6; }
.av4 { background: #f59e0b; }
.social-proof-text { font-size: 13px; color: var(--text-2); }
.social-proof-text strong { color: #ffffff; font-weight: 600; }

/* ─── FAQ ─── */
.faq-section {
  width: 100%; max-width: 500px;
  margin: 64px auto 0; text-align: left;
}
.faq-heading {
  font-size: 17px; font-weight: 500; margin-bottom: 5px;
  letter-spacing: -0.01em; color: #ffffff;
}
.faq-sub { font-size: 13px; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px; text-align: left;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.faq-q:hover .faq-q-text { color: #ffffff; }
.faq-q-text { font-size: 13.5px; color: rgba(255,255,255,0.8); transition: color 0.15s; }
.faq-icon {
  font-size: 20px; color: var(--text-2);
  transition: transform 0.25s, color 0.15s;
  flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; padding-bottom: 16px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 14px;
  font-size: 11.5px; color: var(--text-2);
  text-align: center;
}
footer a { color: var(--text-2); transition: color 0.15s; }
footer a:hover { color: #ffffff; }

/* ════════════════════════════════
   SUCCESS PAGE — DARK
════════════════════════════════ */
#page-success {
  background: #0A0A0A;
  position: relative; overflow: hidden;
}
#page-success::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -60deg,
    transparent 0px, transparent 38px,
    rgba(255,255,255,0.012) 38px, rgba(255,255,255,0.012) 39px
  );
}

.success-inner {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center;
}
.success-logo {
  width: 72px; height: 72px; border-radius: 18px;
  background: #111111;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  margin: 0 auto 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.success-logo img { width: 100%; height: 100%; object-fit: contain; }
.success-h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 400; letter-spacing: -0.025em;
  color: #ffffff; margin-bottom: 10px;
}
.success-sub {
  font-size: 14px; color: var(--text-2);
  line-height: 1.65; margin-bottom: 32px;
  max-width: 300px;
}
.share-url-box {
  display: flex; align-items: center; justify-content: space-between;
  background: #111111; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 13px 15px;
  width: 100%; max-width: 380px; gap: 10px;
  margin-bottom: 12px;
}
.share-url-text {
  font-size: 12px; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.copy-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-2); flex-shrink: 0; transition: color 0.15s;
}
.copy-btn:hover { color: #ffffff; }
.copy-btn svg { width: 16px; height: 16px; display: block; }
.or-divider {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 380px; margin: 2px 0 14px;
  font-size: 11px; color: var(--text-2);
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.share-btns {
  display: flex; gap: 8px;
  width: 100%; max-width: 380px;
}
.share-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
  transition: opacity 0.15s, transform 0.1s;
}
.share-btn:hover { opacity: 0.85; }
.share-btn:active { transform: scale(0.97); }
.share-btn.x-btn  { background: #ffffff; color: #131313; }
.share-btn.wa-btn { background: #25d366; color: #fff; }
.share-btn.fb-btn { background: #1877f2; color: #fff; }
.share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ─── Confetti ─── */
#confetti-canvas { position: fixed; inset: 0; z-index: 10; pointer-events: none; }

/* ─── Fade in ─── */
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 0.55s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.19s; }
.d4 { animation-delay: 0.26s; }
.d5 { animation-delay: 0.33s; }
.d6 { animation-delay: 0.40s; }
.d7 { animation-delay: 0.47s; }

/* ─── Responsive ─── */
@media (max-width: 520px) {
  .form-row { flex-direction: column; }
  .form-btn { width: 100%; }
  .share-btns { flex-direction: column; }
  .logo-icon, .success-logo { width: 60px; height: 60px; }
}