/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   BACK BUTTON
   ===================== */
.back-bar {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  background: transparent;
  transition: all 0.2s ease;
}

.back-btn:hover {
  color: #fff;
  border-color: #7b8cff;
  background: rgba(123,140,255,0.08);
}

.back-btn svg {
  transition: transform 0.2s ease;
}

.back-btn:hover svg {
  transform: translateX(-3px);
}

/* =====================
   HERO
   ===================== */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #7b8cff;
  background: rgba(123, 140, 255, 0.1);
  border: 1px solid rgba(123, 140, 255, 0.25);
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 2rem;
  width: fit-content;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b8cff;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: #7b8cff;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.meta-item label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.meta-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

/* =====================
   DIVIDER
   ===================== */
.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0 2rem;
}

/* =====================
   SECTIONS
   ===================== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7b8cff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 1.5rem;
}

.section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
  max-width: 700px;
  line-height: 1.9;
}

/* =====================
   STATS GRID
   ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  margin: 3rem 0;
}

.stat-card {
  background: #111118;
  padding: 1.75rem 1.5rem;
}

.stat-card .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .num span {
  color: #7b8cff;
}

.stat-card .num .accent {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.4rem;
}

.stat-card .desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* =====================
   CALLOUT
   ===================== */
.callout {
  background: rgba(123, 140, 255, 0.06);
  border-left: 3px solid #7b8cff;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.callout p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin: 0;
  line-height: 1.8;
}

/* =====================
   INSIGHT CARDS
   ===================== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 2.5rem 0;
}

.insight-card {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.insight-card:hover {
  border-color: rgba(123, 140, 255, 0.35);
  transform: translateY(-3px);
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(123, 140, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 16px;
}

.insight-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* =====================
   PROCESS STEPS
   ===================== */
.process-steps {
  margin: 2.5rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(123, 140, 255, 0.12);
  border: 1px solid rgba(123, 140, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #7b8cff;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.7;
}

/* =====================
   SCREEN SECTION
   ===================== */
.screen-section {
  background: #0d0d14;
  padding: 5rem 0;
  margin: 4rem 0;
}

.screen-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.screen-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.screen-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.8;
}

.screens-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* =====================
   PHONE FRAMES
   ===================== */
.phone-frame {
  flex-shrink: 0;
  width: 200px;
  background: #1a1a24;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.phone-bar {
  height: 28px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.phone-bar span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.phone-screen {
  padding: 10px 8px;
  background: #1a1a22;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.screen-badge {
  display: inline-block;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(123, 140, 255, 0.15);
  color: #7b8cff;
  margin-bottom: 8px;
  font-weight: 600;
  width: fit-content;
}

/* Sim internals */
.sim-block {
  background: #111118;
  border-radius: 8px;
  padding: 8px;
}

.sim-heading {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.sim-tag {
  color: #7b8cff;
  font-size: 9px;
  font-weight: 400;
}

.market-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-row:last-child { border: none; }

.asset-name {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}

.asset-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
}

.price-up {
  font-size: 10px;
  color: #4ade80;
  font-weight: 600;
}

.price-down {
  font-size: 10px;
  color: #f87171;
  font-weight: 600;
}

.module-row {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.module-card {
  flex: 1;
  background: rgba(123, 140, 255, 0.1);
  border-radius: 7px;
  padding: 7px 4px;
  text-align: center;
}

.pct {
  font-size: 11px;
  font-weight: 700;
  color: #7b8cff;
}

.mlbl {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.filter-row {
  display: flex;
  gap: 4px;
  margin: 6px 0 8px;
  flex-wrap: wrap;
}

.filter {
  font-size: 8px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.filter.active {
  background: #7b8cff;
  color: #fff;
}

.learn-course {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.course-title {
  font-size: 10px;
  color: #fff;
  font-weight: 500;
}

.sim-cta {
  background: #2563eb;
  border-radius: 7px;
  padding: 7px;
  text-align: center;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
  margin-top: 8px;
}

.tab-toggle {
  display: flex;
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
}

.toggle {
  flex: 1;
  text-align: center;
  font-size: 9px;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.toggle.active {
  background: #7b8cff;
  color: #fff;
  font-weight: 600;
}

.comm-post {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  padding: 7px;
  margin-bottom: 6px;
}

.comm-user {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.comm-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.comm-tag {
  font-size: 9px;
  color: #7b8cff;
  margin-top: 3px;
}

.search-bar {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.group-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.group-item:last-child { border: none; }

.group-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.group-name {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}

.group-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
}

.tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
}

.tab {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.tab.active {
  color: #7b8cff;
}

/* =====================
   DECISION GRID
   ===================== */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2rem 0;
}

.decision-card {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem;
}

.decision-card.before {
  border-color: rgba(248, 113, 113, 0.2);
}

.decision-card.after {
  border-color: rgba(74, 222, 128, 0.2);
}

.d-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.decision-card.before .d-label { color: #f87171; }
.decision-card.after .d-label { color: #4ade80; }

.decision-card ul {
  list-style: none;
}

.decision-card ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  line-height: 1.5;
}

.decision-card ul li:last-child { border: none; }

.decision-card.before ul li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 700;
}

.decision-card.after ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

/* =====================
   REFLECTION GRID
   ===================== */
.reflection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 2.5rem 0;
}

.refl-card {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.25s ease;
}

.refl-card:hover {
  border-color: rgba(123, 140, 255, 0.3);
}

.refl-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: #7b8cff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.refl-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 0;
}

/* =====================
   FOOTER CTA
   ===================== */
.footer-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #7b8cff;
  color: #fff;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 640px) {
  .hero h1 {
    letter-spacing: -1px;
  }

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

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

  .hero {
    padding: 3rem 1.25rem 3rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .screen-section-inner {
    padding: 0 1.25rem;
  }
}