/* ═══════════════════════════════════════════
   PokerPay — Landing Page (index.html) Styles
   ═══════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(45, 125, 210, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 125, 210, 0.15);
  border: 1px solid rgba(45, 125, 210, 0.35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blue-bright);
  margin-bottom: 24px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

h1 em {
  font-style: normal;
  color: var(--blue-bright);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
}

.phone-wrap {
  position: relative;
}

.phone-glow-outer {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(45, 125, 210, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone {
  width: 260px;
  background: var(--surface);
  border-radius: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-notch {
  background: #000;
  height: 30px;
  width: 110px;
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 10;
}

.phone-screen {
  padding: 0 0 20px;
}

.phone-header {
  padding: 16px 20px 12px;
}

.phone-app-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.phone-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.phone-user-left {
  display: flex;
  align-items: center;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.phone-handle {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.phone-games-count {
  color: var(--blue-bright);
  font-size: 22px;
  font-weight: 800;
}

.phone-games-label {
  font-size: 10px;
  color: var(--text-sub);
}

.phone-divider {
  height: 1px;
  background: var(--border);
  margin: 0 20px 14px;
}

.phone-section-label {
  padding: 0 20px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.phone-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.phone-game-card {
  margin: 0 16px;
  background: var(--surface2);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.phone-game-icon {
  width: 38px;
  height: 38px;
  background: rgba(45, 125, 210, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phone-game-name {
  font-size: 14px;
  font-weight: 700;
}

.phone-game-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.phone-game-pot {
  margin-left: auto;
  text-align: right;
}

.phone-pot-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.phone-pot-label {
  font-size: 10px;
  color: var(--text-dim);
}

.phone-cta-btn {
  margin: 14px 16px 0;
  background: var(--blue);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 20px 8px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-dim);
}

.phone-tab.active {
  color: var(--blue-bright);
}

.phone-tab-icon {
  font-size: 18px;
}

/* ── FEATURES ── */
.pills-section {
  padding: 80px 40px;
  text-align: center;
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.pill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.pill-card:hover {
  border-color: rgba(77, 159, 255, 0.3);
  transform: translateY(-3px);
}

.pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.pill-icon.blue  { background: rgba(45, 125, 210, 0.18); }
.pill-icon.green { background: rgba(52, 199, 123, 0.18); }
.pill-icon.gold  { background: rgba(245, 200, 66, 0.18); }

.pill-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pill-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 80px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--surface2);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-bright);
}

.step-title {
  font-size: 16px;
  font-weight: 700;
}

.step-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
  text-align: center;
}

/* ── SETTLEMENT DEMO ── */
.demo-section {
  padding: 80px 40px;
}

.demo-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.demo-copy {
  flex: 1;
}

.demo-copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.demo-copy p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 28px;
}

.demo-visual {
  flex: 0 0 340px;
}

.settlement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.settlement-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settlement-title {
  font-size: 16px;
  font-weight: 700;
}

.settlement-date {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.settlement-pot {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  text-align: right;
}

.settlement-pot-label {
  font-size: 11px;
  color: var(--text-dim);
}

.player-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.player-row:last-of-type {
  border-bottom: none;
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.player-avatar.profit { background: rgba(52, 199, 123, 0.15); color: var(--green); }
.player-avatar.loss   { background: rgba(255, 91, 91, 0.15);  color: var(--red); }

.player-name {
  font-size: 14px;
  font-weight: 600;
}

.player-handle {
  font-size: 12px;
  color: var(--blue-bright);
}

.player-amount {
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
}

.player-amount.up   { color: var(--green); }
.player-amount.down { color: var(--red); }

.who-pays-section {
  padding: 14px 20px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}

.who-pays-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.debt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.debt-row:last-child {
  margin-bottom: 0;
}

.debt-text {
  font-size: 13px;
  color: var(--text-sub);
}

.debt-text strong {
  color: var(--text);
}

.pay-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 125, 210, 0.15);
  border: 1px solid rgba(45, 125, 210, 0.3);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  cursor: pointer;
  white-space: nowrap;
}

/* ── STATS STRIP ── */
.stats-section {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}

.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--blue-bright);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ── ESCROW CTA ── */
.escrow-section {
  padding: 80px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 24, 41, 0.5) 100%);
}

.escrow-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.escrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.escrow-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.escrow-inner p {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 36px;
}

.escrow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.escrow-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.escrow-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.escrow-feat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(245, 200, 66, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.escrow-feat-title {
  font-size: 13px;
  font-weight: 700;
}

.escrow-feat-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .hero-visual { width: 100%; justify-content: center; flex: unset; }

  .pills-section,
  .how-section,
  .demo-section,
  .escrow-section,
  .stats-section { padding: 60px 20px; }

  .demo-inner { flex-direction: column; gap: 40px; }
  .demo-visual { flex: unset; width: 100%; }

  .escrow-features { grid-template-columns: 1fr; }

  .stats-inner { grid-template-columns: 1fr; gap: 32px; }
}
