/* ═══════════════════════════════════════════════════════════
   SoulSquoosh Landing — Dark / Gold aesthetic
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:          #0c0a09;
  --bg-surface:  #141210;
  --gold:        #c4a458;
  --gold-dim:    #8a7340;
  --gold-glow:   rgba(196, 164, 88, 0.15);
  --muted:       #6b6455;
  --dark:        #3d3830;
  --text:        #c4a458;
  --text-light:  rgba(196, 164, 88, 0.75);
  --border:      rgba(196, 164, 88, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text-light);
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Canvas ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: var(--gold);
}

strong { color: var(--gold); font-weight: 600; }
em { font-style: italic; color: var(--gold-dim); }
code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85em;
  background: rgba(196, 164, 88, 0.08);
  border: 1px solid var(--border);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  color: var(--gold-dim);
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ── Layout ── */
.section {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── Divider ── */
.divider {
  width: 120px;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-runes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: rgba(196, 164, 88, 0.2);
  user-select: none;
}

.rune { display: inline-block; }
.r1 { animation: runeGlow 4s ease-in-out infinite; }
.r2 { animation: runeGlow 4s ease-in-out infinite 1.3s; }
.r3 { animation: runeGlow 4s ease-in-out infinite 2.6s; }

@keyframes runeGlow {
  0%, 100% { opacity: 0.2; text-shadow: none; }
  50% { opacity: 0.7; text-shadow: 0 0 12px rgba(196, 164, 88, 0.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #d4b96a 0%, #c4a458 40%, #8a7340 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.hero-sub {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(196, 164, 88, 0.15), rgba(196, 164, 88, 0.08));
  color: var(--gold);
  border-color: rgba(196, 164, 88, 0.35);
  box-shadow: 0 0 20px rgba(196, 164, 88, 0.08);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(196, 164, 88, 0.25), rgba(196, 164, 88, 0.12));
  box-shadow: 0 0 30px rgba(196, 164, 88, 0.15);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(196, 164, 88, 0.25);
  opacity: 1;
}

/* ═══ DEMO ═══ */
.demo-frame {
  max-width: 840px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(196, 164, 88, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.demo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══ CARDS ═══ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(196, 164, 88, 0.3);
  box-shadow: 0 0 30px rgba(196, 164, 88, 0.06);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.card-provider {
  text-align: center;
}
.card-provider .card-icon {
  font-size: 2rem;
}

/* ═══ STEPS ═══ */
.steps {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.step:hover {
  border-color: rgba(196, 164, 88, 0.3);
}

.step-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  color: var(--gold);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

.step h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ═══ SECURITY ═══ */
.section-security {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.security-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.security-box .section-title {
  margin-bottom: 1.5rem;
}

.security-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sec-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sec-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.5;
}

.sec-point strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
}

.sec-point p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ═══ CTA ═══ */
.section-cta {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-cta .section-title {
  margin-bottom: 0.5rem;
}

.section-cta .section-sub {
  margin-bottom: 2rem;
}

.section-cta .hero-runes {
  margin-bottom: 1.5rem;
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-runes {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: rgba(196, 164, 88, 0.1);
  margin-bottom: 0.75rem;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero-desc br { display: none; }
  .section { padding: 3rem 1.25rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .step { padding: 1.25rem; }
  .security-box { padding: 1.5rem 1.25rem; }
}

/* ═══ SCROLL REVEAL ═══ */
.section,
.card,
.step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible,
.card.visible,
.step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero always visible */
.hero {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
