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

:root {
  --bg:          #0C0A07;
  --bg-card:     #151210;
  --bg-card-alt: #1C1814;
  --border:      #2E2018;
  --primary:     #FF6B1A;
  --primary-dk:  #E55A10;
  --primary-glow: rgba(255, 107, 26, 0.15);
  --text:        #EDE0D0;
  --text-sec:    #AA9A8A;
  --text-dim:    #7A6A5A;
  --success:     #34D45A;
  --radius:      16px;
  --radius-sm:   10px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────────── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  min-height: 100vh;
}

.page-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 7, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; }

.nav-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero (landing) ──────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 60px);
  padding: 80px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary), #FFA050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

/* ── CTA Button ──────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 26, 0.25);
  text-decoration: none;
}

.cta-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-sec);
}

.cta-outline:hover {
  border-color: var(--primary);
  color: var(--text);
  box-shadow: none;
}

.cta-small {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 10px;
}

/* ── Store Badge ─────────────────────────────────────────────── */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--text);
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-badge-text small {
  font-size: 11px;
  color: var(--text-sec);
  font-weight: 400;
}

.store-badge-text strong {
  font-size: 15px;
  font-weight: 700;
}

/* ── Heatmap Showcase ────────────────────────────────────────── */
.showcase {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 48px;
}

.showcase-header h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.showcase-header p {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 560px;
  margin: 0 auto;
}

.heatmap-display {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.heatmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  text-align: center;
  flex: 1;
  min-width: 260px;
  max-width: 380px;
}

.heatmap-card .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.heatmap-card svg {
  width: 100%;
  max-height: 400px;
}

/* Color the heatmap muscles for the demo */
.heatmap-card .muscle {
  fill: #3a3a3a;
  stroke: #555;
  stroke-width: 0.4;
  transition: fill 0.3s;
}

.heatmap-demo-male .muscle { fill: #E55A10; }
.heatmap-demo-female .muscle { fill: #FF6B1A; }

/* ── Rank Showcase ───────────────────────────────────────────── */
.ranks-section {
  padding: 60px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.ranks-scroll {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px 0;
}

.rank-item {
  width: 100px;
  text-align: center;
}

.rank-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.rank-item span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sec);
}

/* ── Feature Grid ────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.features-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 24px;
}

.features-header h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.features-header p {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 500px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.15s;
}

.feature-card:hover {
  border-color: rgba(255, 107, 26, 0.3);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.5;
}

/* ── About / Contact Section ─────────────────────────────────── */
.about-section {
  padding: 60px 24px 40px;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.about-col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.about-col p,
.about-col a {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-sec); font-size: 13px; }

.footer .disclaimer {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Legal Pages ─────────────────────────────────────────────── */
.legal h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p,
.legal li {
  color: var(--text-sec);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal a { color: var(--primary); }

.legal .highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}

.legal .highlight-box p {
  margin-bottom: 0;
}

/* ── Welcome Page ────────────────────────────────────────────── */
.welcome-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 40px 24px;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(255, 107, 26, 0.2);
}

.welcome-center h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.welcome-center p {
  color: var(--text-sec);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.checkmark {
  width: 64px;
  height: 64px;
  background: rgba(52, 212, 90, 0.12);
  border: 2px solid rgba(52, 212, 90, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--success);
  margin-bottom: 24px;
}

/* ── Steps Guide ─────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  margin: 32px 0;
  text-align: left;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.step-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ── Delete Page ─────────────────────────────────────────────── */
.delete-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 120px);
  padding: 60px 24px;
}

.delete-page h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.delete-page p {
  color: var(--text-sec);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.delete-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  margin-top: 24px;
}

.delete-box h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.delete-box p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 8px;
}

.delete-box .email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.delete-box .email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.25);
  text-decoration: none;
}

.delete-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.delete-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.delete-info ul {
  list-style: none;
  padding: 0;
}

.delete-info li {
  font-size: 13px;
  color: var(--text-sec);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.delete-info li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

/* ── Section Divider ─────────────────────────────────────────── */
.section-divider {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .features { padding: 40px 16px; }
  .page { padding: 40px 16px 60px; }
  .hero { padding: 60px 16px 40px; }
  .showcase { padding: 40px 16px; }
  .heatmap-display { gap: 24px; }
  .heatmap-card { padding: 24px 16px 16px; }
  .ranks-section { padding: 40px 16px; }
  .about-section { padding: 40px 16px; }
  .about-grid { gap: 24px; }
  .store-badge { padding: 10px 18px; }
  .delete-box { padding: 24px 18px; }
  .steps { max-width: 100%; }
}
