/* =====================
   HelloPass — Global Styles
   ===================== */

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

:root {
  --accent:       #007AFF;
  --accent-dark:  #0056CC;
  --bg:           #F5F7FA;
  --surface:      #FFFFFF;
  --text-primary: #1A1A2E;
  --text-muted:   #6B7280;
  --border:       #E5E7EB;
  --radius:       14px;
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.07);
  --max-width:    860px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Navigation ---- */
nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ---- Main content ---- */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.app-icon {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  background: linear-gradient(145deg, #007AFF, #5AC8FA);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.35);
}

.app-icon svg {
  width: 56px;
  height: 56px;
  fill: #fff;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---- Badges ---- */
.badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.65;
  cursor: default;
  user-select: none;
}

.badge-coming-soon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ---- Screenshots placeholder ---- */
.screenshots {
  margin: 20px 0 60px;
}

.screenshots h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  width: 190px;
  height: 410px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 10px;
  box-shadow: var(--shadow);
}

.screenshot-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

/* ---- Feature cards ---- */
.features {
  margin: 0 0 20px;
}

.features h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Content pages (privacy, contact) ---- */
.page-header {
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p,
.card li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.65;
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 6px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .ci-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent);
}

.email-cta {
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  color: white;
  margin-top: 24px;
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.3);
}

.email-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.email-cta p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.email-cta a {
  display: inline-block;
  background: white;
  color: var(--accent);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.15s;
}

.email-cta a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: var(--accent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

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

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .screenshot-grid {
    gap: 14px;
  }

  .screenshot-placeholder {
    width: 155px;
    height: 335px;
  }

  .card {
    padding: 24px 20px;
  }

  main {
    padding: 40px 18px 60px;
  }
}
