/*
  Depth — depthapp.tech
  Dark, minimal landing in the spirit of flamingocards.co:
  big wordmark, tagline, App Store badge, App Store search screenshot.
*/

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

:root {
  --bg: #0b0b0d;
  --text: #f5f5f7;
  --muted: #c9c9ce;
  --faint: #8e8e93;
  --accent-1: #bca7f0;
  --accent-2: #9e73f5;
}

html {
  background-color: var(--bg);
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

nav a:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(2rem, 6vh, 4.5rem) 1.25rem 3rem;
}

.hero .app-name {
  font-size: clamp(4.2rem, 16vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero .app-name .accent {
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 800;
  margin-top: 0.4rem;
  color: var(--text);
  max-width: 620px;
}

/* ---------- Badges ---------- */

.badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.badges img {
  height: 56px;
  width: auto;
  display: block;
}

.badges a {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.badges a:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

/* ---------- App Store screenshot panel ---------- */

.store-shot {
  display: block;
  width: 100%;
  max-width: 560px;
  margin-top: 2.6rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #000;
  box-shadow:
    0 30px 80px -20px rgba(158, 115, 245, 0.25),
    0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 90px -20px rgba(158, 115, 245, 0.35),
    0 14px 44px rgba(0, 0, 0, 0.6);
}

.store-shot img {
  width: 100%;
  display: block;
}

/* ---------- Content pages (Terms / Privacy) ---------- */

.content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.25rem 4rem;
  text-align: left;
}

.content h1 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
}

.content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.content p {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.updated {
  font-size: 0.9rem;
  color: var(--faint);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2rem 1rem 2.2rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 0.9rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

footer a:hover {
  opacity: 1;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  header {
    padding: 1rem 1.15rem;
  }

  .badges img {
    height: 50px;
  }
}
