/* ==========================================================================
   PartyHub — Minimalist Coming Soon Landing Page
   Aesthetic: Ultra-Minimalist, Sleek Monochrome
   Typography: Inter (Font Weight 800 for PartyHub title)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  /* PartyHub App Light Theme Surface Palette (#f6f3ed - warm linen off-white) */
  --bg-page: #f6f3ed;
  --bg-badge: #ffffff;
  --text-primary: #0a0b0e;
  --text-muted: #64748b;
  --text-footer: #94a3b8;
}

html, body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed single-screen viewports (e.g. Coming Soon landing & Email Confirm) */
body.fixed-screen {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Full-height single-screen container (100vh, perfectly centered) */
.page-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
}

/* Single main flex column */
.centered-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 580px;
}

/* 1. App Icon: 120x120px, 24px radius, soft diffuse 4% opacity drop shadow */
.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  user-select: none;
  -webkit-user-drag: none;
}

/* 2. App Name: "PartyHub" in Inter Weight 800, massive focal point */
.app-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #000000;
  margin-bottom: 16px;
}

/* 3. Tagline: Muted slate gray, max-width around 400px */
.app-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 400px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* 4. Store Badges Row: 40px top margin, side-by-side with 16px gap on desktop */
.store-badges-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* Sleek pill-shaped outline button: black border, white interior, black text */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: #ffffff;
  border: 1.5px solid #000000;
  color: #000000;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  user-select: none;
  cursor: default;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.badge-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-main {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
}

/* 5. Footer: Fixed at absolute bottom center */
.footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  text-align: center;
}

/* Confirmation & Verification Page Styling */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 9999px;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.status-pill.error {
  border-color: #dc2626;
  color: #991b1b;
  background-color: #fef2f2;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
}

.status-pill.info {
  border-color: #64748b;
  color: #334155;
  background-color: #ffffff;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25);
  flex-shrink: 0;
}

.status-pill.error .status-dot {
  background-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
}

.status-pill.info .status-dot {
  background-color: #64748b;
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.25);
}

.confirm-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 14px 32px;
  background-color: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  background-color: #1a1a1f;
}

.btn-action:active {
  transform: translateY(0);
}

.confirm-help {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Rules: Mobile widths (< 768px) */
@media (max-width: 767px) {
  .page-container {
    padding: 20px;
  }

  /* Scale App Name font down by ~30% (from 4.5rem to 3.15rem) */
  .app-name {
    font-size: 3.15rem;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .app-icon {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    margin-bottom: 20px;
  }

  .app-tagline {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0 12px;
  }

  /* Stack Store Badge buttons vertically */
  .store-badges-row {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    gap: 12px;
    margin-top: 36px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
  }

  .status-pill {
    font-size: 1.125rem;
    padding: 11px 24px;
    gap: 11px;
    margin-bottom: 20px;
  }

  .status-dot {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
  }

  .status-pill.error .status-dot {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
  }

  .status-pill.info .status-dot {
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.25);
  }

  .btn-action {
    width: 100%;
    max-width: 260px;
    padding: 13px 20px;
  }

  .footer {
    bottom: 16px;
    font-size: 11px;
    white-space: normal;
    width: 100%;
    padding: 0 16px;
  }
}

/* ==========================================================================
   Document & Legal Pages (Terms, Privacy, Support, Account Deletion)
   ========================================================================== */

.doc-header {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background-color: var(--bg-page);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.doc-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.doc-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.doc-logo span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.btn-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-nav-back:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.doc-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.doc-title-group {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 28px;
}

.doc-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 14px;
}

.doc-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.doc-meta strong {
  color: #0a0b0e;
  font-weight: 600;
}

.doc-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  color: #0f172a;
}

.doc-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 14px;
}

.doc-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.doc-content ul, .doc-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: #334155;
  line-height: 1.75;
}

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

.doc-content strong {
  color: #0a0b0e;
  font-weight: 600;
}

.doc-content a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.doc-content a:hover {
  color: #334155;
}

/* Callout Card (e.g. Data Deletion Rights) */
.doc-card {
  background-color: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.doc-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #000000;
  margin-bottom: 10px;
}

.doc-card p {
  margin-bottom: 12px;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 24px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.doc-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

.doc-footer-links a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.doc-footer-links a:hover {
  color: #000000;
}

.doc-footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #94a3b8;
}

@media (max-width: 767px) {
  .doc-main {
    padding: 32px 20px 60px;
  }

  .doc-title {
    font-size: 1.875rem;
  }

  .doc-content h2 {
    font-size: 1.1875rem;
    margin-top: 32px;
  }

  .doc-card {
    padding: 18px 20px;
    border-radius: 14px;
  }
}
