/* ============================================================
   SwiftFox — Main Stylesheet
   Design system: crimson (#b91c1c) + charcoal (#1a1a2e)
   Fonts: Syne (headings), General Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=General+Sans:wght@400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --crimson:    #b91c1c;
  --crimson-h:  #991b1b;
  --charcoal:   #1a1a2e;
  --ink:        #111827;
  --muted:      #6b7280;
  --surface:    #ffffff;
  --bg:         #f9fafb;
  --border:     #e5e7eb;
  --radius:     8px;
  --radius-lg:  12px;
}

/* ── Base ── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout container ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation bar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--crimson); }

.nav-logo-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border: 1.5px solid var(--crimson);
  padding: 6px 16px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: var(--crimson);
  color: #fff;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind the content */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(185,28,28,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Diagonal accent stripe */
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -80px;
  width: 400px; height: 400px;
  background: var(--crimson);
  opacity: 0.07;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-fox {
  display: block;
  margin-bottom: 20px;
  border-radius: 14px;
  object-fit: contain;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fca5a5;
  background: rgba(185,28,28,0.15);
  border: 1px solid rgba(185,28,28,0.3);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-tagline em {
  font-style: normal;
  color: #fca5a5;
}

.hero-sub {
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* ── Waitlist form ── */
.waitlist-form-wrap {
  max-width: 480px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.waitlist-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: #ffffff;
  border: 1.5px solid #374151;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}

.waitlist-input::placeholder { color: #9ca3af; }
.waitlist-input:focus { border-color: #fca5a5; }
.waitlist-input:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist-btn {
  height: 48px;
  padding: 0 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--crimson);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}

.waitlist-btn:hover:not(:disabled) { background: var(--crimson-h); }
.waitlist-btn:active:not(:disabled) { transform: scale(0.98); }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
}

.waitlist-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.waitlist-feedback.success {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
}

.waitlist-feedback.error {
  display: block;
  background: rgba(185,28,28,0.1);
  border: 1px solid rgba(185,28,28,0.3);
  color: #f87171;
}

/* ── Thank-you state ── */
.thankyou {
  display: none;
  max-width: 480px;
}

.thankyou.visible { display: block; }

.thankyou-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.thankyou-icon {
  width: 40px; height: 40px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: #10b981;
}

.thankyou-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.thankyou-body {
  font-size: 0.9375rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* ── Social proof row ── */
.social-proof {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-proof-avatars {
  display: flex;
}

.social-proof-avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.social-proof-avatars span:first-child { margin-left: 0; }

.social-proof-text {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

.social-proof-text strong { color: #e5e7eb; }

/* ── Features section ── */
.features {
  padding: 80px 0;
  background: var(--surface);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(185,28,28,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

a.feature-link {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(185,28,28,0.3);
  transition: border-color 0.15s, color 0.15s;
}

a.feature-link:hover {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}

.feature-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Currency trust band ── */
.currency-band {
  padding: 56px 0;
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.currency-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.currency-symbols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
}

.currency-sym {
  width: 40px;
  height: 30px;
  flex-shrink: 0;
}

.currency-copy {
  max-width: 520px;
}

.currency-headline {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 8px;
}

.currency-headline strong {
  color: var(--crimson);
}

.currency-sub {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-logo span { color: var(--crimson); }

.footer-logo-img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 0 64px; }

  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; }

  .currency-band { padding: 40px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Spinner for loading state ── */
.spin {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--charcoal);
  background: var(--bg);
}

.nav-link-active {
  color: var(--crimson);
  font-weight: 600;
}

/* ── Page hero (about / faq / hiw / offers) ── */
.about-hero {
  padding: 80px 0 60px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(185,28,28,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.about-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 12px;
}

.about-lead {
  font-size: 1.0625rem;
  color: #9ca3af;
  max-width: 580px;
  line-height: 1.65;
}

.about-lead a {
  color: #fca5a5;
  text-decoration: underline;
}

/* ── About body ── */
.about-body {
  padding: 60px 0 80px;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  max-width: 960px;
}

.about-col h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  margin-top: 32px;
}

.about-col h2:first-child {
  margin-top: 0;
}

.about-col p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* ── CTA card (reused across pages) ── */
.about-cta {
  padding: 0 0 80px;
}

.about-cta-card {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.about-cta-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.about-cta-card p {
  font-size: 0.9375rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--crimson-h);
}

/* ── How It Works — steps ── */
.hiw-steps {
  padding: 60px 0 80px;
  background: var(--bg);
}

.steps-list {
  max-width: 720px;
  display: grid;
  gap: 40px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(185,28,28,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--crimson);
}

.step-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── How It Works — categories ── */
.hiw-categories {
  padding: 60px 0 80px;
  background: var(--surface);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: rgba(185,28,28,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.cat-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
}

.faq-question {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--charcoal);
  list-style: none;
  outline: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--crimson);
  margin-left: 12px;
  flex-shrink: 0;
}

details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

/* ── Offers disclaimer (mandatory) ── */
.offers-disclaimer {
  background: rgba(185,28,28,0.05);
  border: 1.5px solid rgba(185,28,28,0.2);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
}

.offers-disclaimer p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  text-align: center;
}

/* ── Offer category tag ── */
.offer-category-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(185,28,28,0.08);
  border: 1px solid rgba(185,28,28,0.15);
  border-radius: 100px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

/* ── Offer device ── */
.offer-device {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.offer-device-label {
  font-weight: 600;
  color: var(--charcoal);
}

/* ── Offer payout note ── */
.offer-note {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-top: 10px;
  font-style: italic;
}

.offer-note-label {
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
}

/* ── Offer footer note ── */
.offers-footer-note {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  border-top: 1px dashed var(--border);
}

.offers-footer-note p {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-style: italic;
}

/* ── Offers grid ── */
.offers-grid-section {
  padding: 60px 0 80px;
  background: var(--bg);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.offer-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.offer-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.offer-icon {
  width: 40px;
  height: 40px;
  background: rgba(185,28,28,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.offer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offer-payout {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--crimson);
}

.offer-countries {
  font-size: 0.75rem;
  color: var(--muted);
}

.offer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.offer-time {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.offer-time-label {
  font-weight: 600;
  color: var(--charcoal);
}

.offer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer redesign ── */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: #6b7280;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #4b5563;
  max-width: 400px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    text-align: left;
  }

  .about-cta-card {
    padding: 28px 24px;
  }
}

@media (max-width: 600px) {
  .hero { padding: 100px 0 64px; }

  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; }

  .currency-band { padding: 40px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    gap: 16px;
  }
}