/* ═══════════════════════════════════════════════════════════════
   MyHandler.ai — Dark Luxury Landing Theme
   Scoped under .landing-page to avoid conflicts with app pages
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  --gold: #B87D3A;
  --gold-light: #D4A55A;
  --gold-dim: rgba(184, 125, 58, 0.15);
  --dark: #0D0C0A;
  --dark-2: #141210;
  --dark-3: #1C1A16;
  --dark-4: #242018;
  --warm-white: #F5F0E8;
  --muted: rgba(245, 240, 232, 0.5);
  --dimmer: rgba(245, 240, 232, 0.25);
  --border: rgba(245, 240, 232, 0.08);
  --border-gold: rgba(184, 125, 58, 0.3);
}

/* ─── Base ─── */
.landing-page {
  background: var(--dark);
  color: var(--warm-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Noise texture overlay */
.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: .4;
}

/* ─── Navigation ─── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 12, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 48px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--warm-white);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--warm-white);
}

/* ─── Buttons ─── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--gold);
  color: #0D0C0A;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-gold-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: #0D0C0A;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}

.btn-gold-lg:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--border-gold);
  color: var(--warm-white);
}

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

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(184, 125, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  right: -200px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(184, 125, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 900px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

.hero-body {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero-body strong {
  color: var(--warm-white);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-trust {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: var(--dimmer);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Demo Window ─── */
.hero-demo {
  width: 100%;
  max-width: 920px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.demo-window {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(184, 125, 58, 0.05);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--dark-3);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-bar-label {
  margin-left: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dimmer);
  flex: 1;
  text-align: center;
}

.demo-inner {
  display: flex;
  height: 340px;
}

.demo-left {
  width: 260px;
  min-width: 260px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.demo-left-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  color: var(--dimmer);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-count {
  background: rgba(184, 125, 58, 0.15);
  color: var(--gold);
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 500;
}

.demo-msgs {
  flex: 1;
}

.demo-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.demo-msg:hover {
  background: rgba(245, 240, 232, 0.03);
}

.demo-msg.active {
  background: rgba(184, 125, 58, 0.07);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.demo-msg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.demo-msg-body {
  flex: 1;
  min-width: 0;
}

.demo-msg-sender {
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 2px;
}

.demo-msg-preview {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-msg-tag {
  font-size: 9px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 6px;
  margin-top: 3px;
  display: inline-block;
}

.demo-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-right-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
}

.demo-from {
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-white);
}

.demo-meta-txt {
  font-size: 11px;
  color: var(--dimmer);
}

.demo-handler-bar {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(184, 125, 58, 0.05);
}

.demo-handler-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.demo-handler-text {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-handler-text strong {
  color: var(--warm-white);
  font-weight: 500;
}

.demo-body {
  flex: 1;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  overflow: hidden;
}

.demo-actions {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.demo-act {
  flex: 1;
  padding: 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  transition: all 0.15s;
}

.demo-act:hover {
  border-color: var(--border-gold);
  color: var(--warm-white);
}

.demo-act.primary {
  background: var(--gold);
  color: #0D0C0A;
  border-color: var(--gold);
}

.demo-act.primary:hover {
  background: var(--gold-light);
}

.demo-footer-note {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: var(--dimmer);
  border-top: 1px solid var(--border);
  text-align: center;
  line-height: 1.5;
}

/* ─── Sections ─── */
.landing-page section {
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-heading em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── Problem Section ─── */
.problem-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-card {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--dark-3);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--border-gold);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.problem-copy p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.problem-copy p strong {
  color: var(--warm-white);
  font-weight: 500;
}

.problem-copy p:last-child {
  margin-bottom: 0;
}

/* ─── Modes Grid ─── */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 60px;
}

.mode-card {
  background: var(--dark-2);
  padding: 36px 32px;
  transition: background 0.2s;
}

.mode-card:hover {
  background: var(--dark-3);
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.mode-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.mode-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.mode-trigger {
  font-size: 12px;
  color: var(--dimmer);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.mode-trigger strong {
  color: var(--warm-white);
  font-weight: 500;
}

/* ─── Capabilities Grid ─── */
.capabilities-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 60px;
}

.cap-card {
  background: var(--dark-2);
  padding: 28px 24px;
  transition: background 0.2s;
}

.cap-card:hover {
  background: var(--dark-3);
}

.cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--gold-dim);
}

.cap-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.cap-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 8px;
}

.cap-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Trust / FAQ Grid ─── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 60px;
}

.trust-item {
  margin-bottom: 32px;
}

.trust-item:last-child {
  margin-bottom: 0;
}

.trust-q {
  font-size: 16px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-q-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.trust-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 30px;
}

.trust-a strong {
  color: var(--warm-white);
  font-weight: 500;
}

/* Mistake Card */
.mistake-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.mistake-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(184, 125, 58, 0.05);
}

.mistake-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mistake-sub {
  font-size: 12px;
  color: var(--dimmer);
}

.mistake-flow {
  padding: 20px 24px;
}

.flow-step {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
}

.flow-content {
  flex: 1;
}

.flow-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 3px;
}

.flow-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.flow-connector {
  width: 1px;
  height: 14px;
  background: var(--border-gold);
  margin-left: 10px;
  margin-bottom: 4px;
  opacity: 0.4;
}

.action-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 24px 20px;
}

.trio-btn {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--dark-2);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.trio-btn:hover {
  border-color: var(--border-gold);
}

.trio-btn.teach {
  border-color: rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.05);
}

.trio-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 2px;
}

.trio-sub {
  font-size: 10px;
  color: var(--dimmer);
}

.undo-banner {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dimmer);
}

.undo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse 2s infinite;
}

/* ─── Comparison Table ─── */
.compare-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table th {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table th.hl {
  color: var(--gold);
}

.compare-table td {
  padding: 13px 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--dark-2);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  text-align: left;
  color: var(--warm-white);
}

.compare-table tr:nth-child(even) td {
  background: rgba(245, 240, 232, 0.01);
}

.check {
  color: #4CAF50;
  font-size: 16px;
}

.cross {
  color: rgba(245, 240, 232, 0.2);
  font-size: 14px;
}

.hl-col {
  background: rgba(184, 125, 58, 0.05) !important;
}

/* ─── Pricing Comparison Table ─── */
.pricing-table-wrap {
  margin-top: 60px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-top: 16px;  /* room for "Most popular" badge */
}

.pricing-mobile { display: none; }

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 700px;
}

.pricing-table-corner {
  width: 200px;
  min-width: 160px;
}

.pricing-table-header {
  text-align: center;
  padding: 28px 16px 24px;
  vertical-align: top;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: var(--dark-2);
  position: relative;
}

.pricing-table-header.highlighted {
  background: linear-gradient(170deg, rgba(184, 125, 58, 0.08) 0%, var(--dark-2) 50%);
  border-color: var(--border-gold);
}

.pricing-table-header.highlighted::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.pricing-table-header.highlighted::after {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--dark-2);
  border: 1px solid var(--border-gold);
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-table-header .price-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dimmer);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-table-header .price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-table-header.highlighted .price-amount {
  color: var(--gold);
}

.pricing-table-header .price-amount sup {
  font-size: 20px;
  vertical-align: super;
}

.pricing-table-header .price-period {
  font-size: 12px;
  color: var(--dimmer);
  margin-bottom: 10px;
}

.pricing-table-header .price-tagline {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 36px;
}

.pricing-feature-name {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.pricing-feature-cell {
  text-align: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.pricing-feature-cell.highlighted {
  background: rgba(184, 125, 58, 0.03);
  border-left-color: var(--border-gold);
  border-right-color: var(--border-gold);
}

.pricing-table tbody tr:last-child .pricing-feature-cell {
  border-bottom: 1px solid var(--border);
}

.pricing-table tbody tr:last-child .pricing-feature-cell.highlighted {
  border-bottom-color: var(--border-gold);
}

.pricing-check {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
}

.pricing-dash {
  color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.pricing-value {
  color: var(--warm-white);
  font-size: 13px;
  font-weight: 600;
}

.price-cta {
  display: inline-block;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s;
  margin-top: 4px;
  box-sizing: border-box;
}

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

.price-cta-outline:hover {
  border-color: var(--border-gold);
  color: var(--warm-white);
  background: rgba(184, 125, 58, 0.05);
}

.price-cta-filled {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0D0C0A;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 16px rgba(184, 125, 58, 0.25);
}

.price-cta-filled:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 24px rgba(184, 125, 58, 0.35);
  transform: translateY(-1px);
}

/* ─── Pricing Mobile Cards ─── */
.pricing-mobile-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
}

.pricing-mobile-card.highlighted {
  background: linear-gradient(170deg, rgba(184, 125, 58, 0.08) 0%, var(--dark-2) 50%);
  border-color: var(--border-gold);
}

.pricing-mobile-card.highlighted::after {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--dark-2);
  border: 1px solid var(--border-gold);
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-mobile-header .price-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--dimmer);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pricing-mobile-header .price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-mobile-card.highlighted .pricing-mobile-header .price-amount {
  color: var(--gold);
}

.pricing-mobile-header .price-amount sup {
  font-size: 16px;
  vertical-align: super;
}

.price-period-inline {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  color: var(--dimmer);
}

.pricing-mobile-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.pricing-mobile-features li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-mobile-features .pricing-check {
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── Privacy Grid ─── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 60px;
}

.priv-card {
  background: var(--dark-2);
  padding: 28px 24px;
  transition: background 0.2s;
}

.priv-card:hover {
  background: var(--dark-3);
}

.priv-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 8px;
  margin-top: 14px;
}

.priv-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Final CTA ─── */
.final-cta {
  text-align: center;
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(184, 125, 58, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dimmer);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
  margin: 0 auto 24px;
}

.final-cta h2 em {
  font-style: italic;
  color: var(--gold);
}

.final-cta p {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.final-cta .btn-gold-lg {
  font-size: 16px;
  padding: 16px 40px;
}

.final-note {
  font-size: 12px;
  color: var(--dimmer);
  margin-top: 16px;
}

/* ─── Footer ─── */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dimmer);
}

.landing-footer a {
  color: var(--dimmer);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer a:hover {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--warm-white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--gold);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}

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

/* ─── Auth Pages (Login/Register) — Dark Theme ─── */
.auth-page {
  background: var(--dark);
  color: var(--warm-white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
}

.auth-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.auth-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--warm-white);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.auth-input:focus {
  border-color: var(--border-gold);
}

.auth-input::placeholder {
  color: var(--dimmer);
}

.auth-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.auth-error {
  font-size: 12px;
  color: #E24B4A;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--dimmer);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--warm-white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-social-btn:hover {
  border-color: var(--border-gold);
  background: var(--dark-4);
}

/* ─── Legal Pages (Privacy/Terms) — Dark Theme ─── */
.legal-page {
  background: var(--dark);
  color: var(--warm-white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.legal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--warm-white);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--warm-white);
}

.legal-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--gold);
  text-decoration: none;
}

.legal-content a:hover {
  color: var(--gold-light);
}

.legal-content strong {
  color: var(--warm-white);
  font-weight: 500;
}

/* Legal page tables */
.legal-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}

.legal-content th {
  background: var(--dark-3);
  color: var(--warm-white);
  font-weight: 600;
  text-align: left;
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.legal-content td {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.legal-content tr:last-child td {
  border-bottom: none;
}

.legal-content code {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  background: var(--dark-3);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Legal info card */
.legal-info-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.legal-info-card .info-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 6px;
}

.legal-info-card p {
  font-size: 13px;
  margin-bottom: 0;
}

/* Legal warning */
.legal-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.legal-warning p {
  font-size: 13px;
  color: #FBBF24;
  margin-bottom: 0;
}

.legal-warning strong {
  color: #FCD34D;
}

/* Legal section divider */
.legal-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Legal date line */
.legal-date {
  font-size: 13px;
  color: var(--dimmer);
  margin-bottom: 40px;
  font-family: 'DM Mono', monospace;
}

/* Auth hero panel (right side of login/register) */
.auth-hero {
  background: linear-gradient(135deg, var(--dark-2) 0%, #1a1610 100%);
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(184, 125, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Auth context overrides for SocialLoginButtons component */
.auth-card button:not(.btn-gold) {
  background: var(--dark-3);
  border-color: var(--border);
  color: var(--warm-white);
}

.auth-card button:not(.btn-gold):hover:not(:disabled) {
  border-color: var(--border-gold);
  background: var(--dark-4);
}

.auth-card .border-gray-200 {
  border-color: var(--border);
}

.auth-card .bg-white {
  background-color: var(--dark-2);
}

.auth-card .text-gray-400 {
  color: var(--dimmer);
}

.auth-card .text-gray-700 {
  color: var(--warm-white);
}

.auth-card input[type="checkbox"] {
  accent-color: var(--gold);
}

/* Auth error block */
.auth-error-block {
  background: rgba(226, 75, 74, 0.1);
  border: 1px solid rgba(226, 75, 74, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #E24B4A;
}

/* ─── Reality Check Section ─── */
.reality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.reality-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--dark-3);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.reality-card:hover {
  border-color: var(--border-gold);
}

.reality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.reality-card:hover::before {
  opacity: 1;
}

.reality-stat {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  line-height: 1.2;
}

.reality-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 10px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reality-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.reality-desc strong {
  color: var(--warm-white);
  font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .pricing-desktop { display: none; }
  .pricing-mobile { display: block; margin-top: 40px; }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 60px 20px 40px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas a,
  .hero-ctas button {
    width: 100%;
    justify-content: center;
  }

  .demo-inner {
    flex-direction: column;
    height: auto;
  }

  .demo-left {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .section-inner {
    padding: 60px 20px;
  }

  .problem-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .modes-grid,
  .cap-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .final-cta {
    padding: 80px 20px;
  }

  .auth-card {
    padding: 24px;
    margin: 0 16px;
  }

  .legal-content {
    padding: 40px 20px;
  }

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

@media (max-width: 480px) {
  .reality-grid {
    grid-template-columns: 1fr;
  }

  .pricing-mobile-card {
    padding: 20px;
  }

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