/* ================================================================
   VaultChat — Landing Page Specific Styles
   ================================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 6% 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,111,247,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  top: 40%; width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,201,177,0.07) 0%, transparent 65%);
}

.hero-content { max-width: 680px; z-index: 2; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 16px 0 6px;
}
.hero-title .accent { color: var(--violet-bright); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; max-width: 540px;
  margin: 0 auto 40px;
}
.hero-desc strong { color: var(--text); }

.hero-actions {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Phones row */
.phones-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}
.phone-wrap { transition: transform 0.4s cubic-bezier(.22,.68,0,1.4); }
.phone-left  { transform: rotate(-7deg) translateY(32px); }
.phone-center { transform: rotate(0deg); }
.phone-right { transform: rotate(7deg) translateY(32px); }
.phone-wrap:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.04) !important;
  z-index: 10;
}

/* ── STATS BAR ── */
.stats-bar {
  position: relative; z-index: 1;
  background: var(--card);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 32px 6%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  flex: 1; min-width: 140px;
  text-align: center; padding: 8px 24px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: var(--text); letter-spacing: -0.015em;
}
.stat-label {
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border2);
  flex-shrink: 0;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--card);
  padding: 36px 30px;
  border-right: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-last-child(-n+3) { border-bottom: none; }
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { background: var(--card2); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(124,111,247,0.10);
  border: 1px solid rgba(124,111,247,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.step-card:hover { border-color: var(--border); background: var(--card2); }
.step-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700;
  color: rgba(124,111,247,0.08);
  line-height: 1; position: absolute;
  top: 16px; right: 20px;
  letter-spacing: -0.02em; user-select: none;
}
.step-icon { font-size: 28px; margin-bottom: 16px; }
.step-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; margin-top: 40px;
}
.step-connector::after {
  content: '→';
  color: var(--violet-dim); font-size: 22px;
}

/* ── SECURITY ── */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg); overflow: hidden;
}
.sec-item {
  background: var(--card);
  padding: 28px 24px;
  border-right: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  display: flex; gap: 16px; align-items: flex-start;
  transition: background var(--transition);
}
.sec-item:nth-child(2n) { border-right: none; }
.sec-item:nth-last-child(-n+2) { border-bottom: none; }
.sec-item:hover { background: var(--card2); }
.sec-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 5px;
  box-shadow: 0 0 10px rgba(0,201,177,0.45);
}
.sec-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.sec-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── SCREENSHOTS ── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: end;
}
.ss-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ss-caption {
  font-size: 12px; color: var(--muted);
  text-align: center; letter-spacing: 0.02em;
}

/* ── DOWNLOAD ── */
.download-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(ellipse, rgba(124,111,247,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.download-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 14px;
}
.download-sub {
  font-size: 16px; color: var(--muted);
  line-height: 1.7; max-width: 480px; margin-bottom: 32px;
}
.download-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.store-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 22px;
  color: var(--text); min-width: 195px;
  transition: all var(--transition);
}
.store-badge:hover {
  border-color: var(--violet);
  background: rgba(124,111,247,0.1);
  transform: translateY(-2px);
}
.store-badge-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.store-badge small {
  display: block; font-size: 10px; color: var(--muted);
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 2px;
}
.store-badge strong {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
}
.download-note {
  font-size: 13px; color: var(--soft); letter-spacing: 0.03em;
}

.qr-box {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column;
  align-items: center; gap: 12px; text-align: center;
  min-width: 160px;
}
.qr-box p { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.download-visual { position: relative; z-index: 2; }

/* ── CTA BAND ── */
.cta-band {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(124,111,247,0.18) 0%, rgba(0,201,177,0.10) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 6%;
}
.cta-band-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; letter-spacing: -0.02em;
}
.cta-band-sub {
  font-size: 14px; color: var(--muted); margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(3n) { border-right: 1px solid var(--border2); }
  .feature-card:nth-child(2n) { border-right: none; }
  .feature-card:nth-last-child(-n+2) { border-bottom: none; }
  .feature-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border2); }

  .steps-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .step-connector { display: none; }

  .screenshots-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .phones-row { gap: 10px; }
  .phone-left, .phone-right { display: none; }
  .phone-center { transform: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
  .feature-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border2); }
  .feature-card:last-child { border-bottom: none; }

  .security-grid { grid-template-columns: 1fr; }
  .sec-item { border-right: none !important; }

  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }

  .download-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .download-visual { display: flex; justify-content: center; }

  .stats-bar { gap: 0; }
  .stat-divider { display: none; }
  .stat { min-width: 50%; border-bottom: 1px solid var(--border2); }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
  .download-badges { flex-direction: column; }
  .store-badge { min-width: auto; }
}

/* ── TRUST STRIP ─────────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
  margin-bottom: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-item svg { flex-shrink: 0; color: var(--teal); }

/* ── RELAY BOX ────────────────────────────────────────────────────────── */
.relay-box {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.relay-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.relay-box-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.relay-count {
  background: rgba(0,201,177,0.12);
  border: 1px solid rgba(0,201,177,0.25);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
}
.relay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.relay-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.relay-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,201,177,0.5);
}
.relay-note {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.65;
  border-top: 1px solid var(--border3);
  padding-top: 14px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .trust-strip { gap: 8px 16px; }
  .relay-box { padding: 20px 18px; }
  .relay-item { font-size: 11px; padding: 5px 10px; }
}
