/* ══════════════════════════════════════════════════════════
   HEROFORGE WEBSITE — style.css
   ══════════════════════════════════════════════════════════ */

/* ── Custom properties ── */
:root {
  --bg:        #07070d;
  --bg-2:      #0d0d18;
  --bg-card:   #0f0f1e;
  --border:    rgba(255,255,255,.07);
  --purple:    #7c3aed;
  --purple-l:  #a855f7;
  --gold:      #f59e0b;
  --gold-l:    #fbbf24;
  --white:     #f8fafc;
  --muted:     #94a3b8;
  --text:      #e2e8f0;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-head: 'Syne', system-ui, sans-serif;
  --radius:    16px;
  --radius-sm: 10px;
  --nav-h:     68px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
  font-size: .85em;
  background: rgba(124,58,237,.2);
  color: var(--purple-l);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── Utility ── */
.container        { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--purple-l) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}
.nav.scrolled {
  background: rgba(7,7,13,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--purple);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-links .nav-cta:hover { background: var(--purple-l); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-l));
  color: var(--white);
  box-shadow: 0 0 24px rgba(124,58,237,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(124,58,237,.6);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-support {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.paypal-btn  { background: #003087; color: #fff; }
.paypal-btn:hover { background: #002069; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,48,135,.4); }
.satispay-btn { background: #FF3B30; color: #fff; }
.satispay-btn:hover { background: #e02d22; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,59,48,.4); }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: calc(var(--nav-h) + 60px) 80px 80px;
  overflow: hidden;
}

/* Background orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4c1d95, transparent);
  top: -200px; left: -150px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c3aed, transparent);
  top: 50%; right: -100px;
  transform: translateY(-50%);
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, transparent);
  bottom: -100px; left: 40%;
  opacity: .15;
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--purple-l);
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--purple-l);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-n {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.stat-l { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* App mockup */
.hero-visual { position: relative; z-index: 2; }
.mockup {
  background: rgba(15,15,30,.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.mockup-title {
  margin-left: auto; margin-right: auto;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}
.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
.mockup-left {
  padding: 14px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mfield-label { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.mfield-val   { font-size: .78rem; color: var(--white); font-weight: 500; }
.mockup-generate { margin-top: auto; }
.gen-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-l));
  color: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
}
.gen-bolt { font-style: normal; }
.mockup-right { padding: 0; }
.mockup-image {
  position: relative;
  background: #0a0a14;
}
.mockup-image svg { width: 100%; height: auto; }
.mockup-prompt {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: rgba(7,7,13,.85);
  font-size: .65rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  opacity: .5;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════
   APP SECTION
══════════════════════════════════════════════════════════ */
.app-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}
.app-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--purple-l);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: rgba(124,58,237,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,.1);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 16px; }
.feature-card h3 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* Download box */
.download-box {
  background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(168,85,247,.08));
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}
.download-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.download-info h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.download-info p { font-size: .85rem; color: var(--muted); }
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.download-note {
  font-size: .78rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}

/* Steps */
.setup h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 32px;
  text-align: center;
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  max-width: 280px;
}
.step-n {
  width: 36px; height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--purple), var(--purple-l));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
}
.step-body { flex: 1; }
.step-body strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 6px; }
.step-body span   { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.step-arrow {
  color: var(--muted);
  font-size: 1.2rem;
  margin-top: 8px;
  opacity: .5;
}

/* ══════════════════════════════════════════════════════════
   SUPPORT SECTION
══════════════════════════════════════════════════════════ */
.support-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.support-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.support-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-4px); }
.support-card-header { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.support-logo { height: 28px; width: auto; flex-shrink: 0; }
.support-logo-img { height: 64px; width: 64px; border-radius: 14px; object-fit: cover; }
.brand-wordmark { font-family: var(--font-sans); font-size: 1.2rem; letter-spacing: -.5px; }
.paypal-wordmark { font-size: 1.3rem; }
.support-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.support-note { font-size: .75rem; color: var(--muted); text-align: center; opacity: .7; }

.support-thanks {
  text-align: center;
  padding: 24px;
  background: rgba(245,158,11,.05);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: var(--radius);
}
.support-thanks p { font-size: 1rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
}
.footer-copy { font-size: .82rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 40px) 40px 60px; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0 auto; }
  .step { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(7,7,13,.97);
    padding: 40px 24px;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
  }
  .nav-links.open a { font-size: 1.2rem; }

  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 32px) 24px 60px;
    text-align: center;
  }
  .hero-badge, .hero-actions, .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-visual { order: -1; }

  .features-grid { grid-template-columns: 1fr; }
  .download-box  { flex-direction: column; align-items: flex-start; }
  .download-actions { align-items: flex-start; width: 100%; }
  .download-actions .btn { width: 100%; justify-content: center; }
  .support-cards { grid-template-columns: 1fr; }
  .app-section, .support-section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
