/* ============================================================
   Satoshi Mine — official website
   Plain CSS · dark + gold Bitcoin theme · responsive
   ============================================================ */

:root {
  --bg: #0a0b0f;
  --bg-2: #111319;
  --surface: #161922;
  --surface-2: #1d212c;
  --border: #2a2f3c;
  --text: #eef1f6;
  --muted: #9aa3b2;
  --gold: #f7931a;          /* bitcoin orange */
  --gold-2: #fbbf24;        /* gold */
  --purple: #8b5cf6;
  --green: #34d399;
  --red: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --grad: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: #1a1205;
  box-shadow: 0 10px 28px rgba(247,147,26,.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(247,147,26,.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-lg { padding: 15px 30px; font-size: 17px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,11,15,.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 19px; }
.brand img { border-radius: 9px; }
.brand-accent { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #1a1205; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 520px;
  background: radial-gradient(closest-side, rgba(247,147,26,.22), transparent 70%),
              radial-gradient(closest-side, rgba(139,92,246,.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Poppins", sans-serif; font-size: 22px; color: var(--gold-2); }
.hero-stats span { color: var(--muted); font-size: 13px; }

.hero-phone { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 280px;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f3c, #0d0f14);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 9 / 19; object-fit: cover; height: auto; }
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 7px; border-radius: 99px; background: #000; z-index: 2; opacity: .85;
}
.coin {
  position: absolute; font-size: 30px; color: var(--gold);
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe39a, #f7931a 60%, #b86b09);
  color: #3a2604; font-weight: 800; box-shadow: 0 8px 22px rgba(247,147,26,.45);
  animation: float 5s ease-in-out infinite;
}
.coin-1 { top: 0; right: -6px; }
.coin-2 { bottom: 30px; left: -10px; animation-delay: 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Notification module ---------- */
.notification-container { margin: 8px auto 0; display: flex; flex-direction: column; gap: 12px; }
.notice {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.notice::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.notice.warning { border-color: rgba(248,113,113,.4); background: linear-gradient(90deg, rgba(248,113,113,.12), var(--surface) 40%); }
.notice.warning::before { background: var(--red); }
.notice.info { border-color: rgba(96,165,250,.4); background: linear-gradient(90deg, rgba(96,165,250,.12), var(--surface) 40%); }
.notice.info::before { background: #60a5fa; }
.notice.success { border-color: rgba(52,211,153,.4); background: linear-gradient(90deg, rgba(52,211,153,.12), var(--surface) 40%); }
.notice.success::before { background: var(--green); }

.notice-icon { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.notice-body { flex: 1; }
.notice-title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.notice-date { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.notice-msg { color: #dfe4ec; font-size: 15px; }
.notice-close {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font-size: 20px; line-height: 1; padding: 2px 6px; border-radius: 6px;
}
.notice-close:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(247,147,26,.18), rgba(139,92,246,.18));
  border: 1px solid var(--border);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad); color: #1a1205; font-family: "Poppins", sans-serif;
  font-weight: 800; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Screenshots ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.shot:hover { transform: translateY(-6px); border-color: var(--gold); }
.shot img { width: 100%; aspect-ratio: 9/19; object-fit: cover; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 90px 0; overflow: hidden; text-align: center; }
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(247,147,26,.22), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 28px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-links h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-links a { display: block; color: #c4cad6; font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-bottom p { color: var(--muted); font-size: 13px; }
.disclaimer { max-width: 640px; text-align: right; }

/* ---------- Account deletion modal (front-end demo only) ---------- */
.del-link { cursor: pointer; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 6, 10, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.dlg {
  width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border: 1px solid rgba(247, 147, 26, .32);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
  animation: dlgIn .22s cubic-bezier(.22, .68, .32, 1);
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dlg h2 { font-size: 22px; }
.dlg .dlg-sub { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.dlg-close {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-2); color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s;
}
.dlg-close:hover { color: var(--text); border-color: rgba(247, 147, 26, .55); }
.dlg-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.dlg-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.dlg-field label span { color: var(--gold-2); }
.dlg-field input, .dlg-field textarea {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 13px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.dlg-field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.dlg-field input::placeholder, .dlg-field textarea::placeholder { color: #737c8c; }
.dlg-field input:focus, .dlg-field textarea:focus {
  border-color: rgba(247, 147, 26, .65); box-shadow: 0 0 0 3px rgba(247, 147, 26, .12);
}
.dlg-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.btn-submit { width: 100%; margin-top: 2px; justify-content: center; background: var(--grad); color: #1a1205; border: 0; font-weight: 700; }
.btn-submit:hover { box-shadow: 0 14px 32px rgba(247, 147, 26, .45); }
.dlg-success { display: none; text-align: center; padding: 18px 4px 6px; }
.dlg-success .ok {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .45);
}
.dlg-success .ok svg { width: 30px; height: 30px; stroke: var(--green); }
.dlg-success h3 { font-size: 20px; margin-bottom: 8px; }
.dlg-success p { font-size: 14.5px; color: var(--muted); max-width: 340px; margin: 0 auto; }
.dlg-success .req-id {
  margin-top: 18px; padding: 10px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--muted);
}
.btn-done { margin-top: 18px; background: var(--bg-2); border-color: var(--border); color: var(--text); }
.btn-done:hover { background: var(--surface-2); }
.modal.submitted .dlg-form { display: none; }
.modal.submitted .dlg-success { display: block; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 10px 22px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 10px; justify-content: center; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .feature-grid, .steps, .shot-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .disclaimer { text-align: left; }
  .footer-bottom { flex-direction: column; }
  .dlg { padding: 22px 18px; border-radius: 16px; }
}
