/* styles.css */

* {
  box-sizing: border-box;
}

:root {
  --bg: #080b12;
  --text: #ffffff;
  --muted: #b9c0d0;
  --accent: #ff8a1f;
  --accent-dark: #111111;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(8, 11, 18, 0.28) 0%,
      rgba(8, 11, 18, 0.36) 42%,
      rgba(8, 11, 18, 0.82) 100%
    ),
    url("assets/liftatlas_website_background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 92px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 96px);
}

.hero-logo {
  width: min(520px, 88vw);
  height: auto;
  display: block;
  margin: 0 auto 22px;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.45));
}

.subtitle {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto 34px;
  max-width: 640px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}

.app-store-button:hover {
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.app-store-button:active {
  transform: translateY(0);
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 28px 24px 34px;
  flex-wrap: wrap;
}

footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #ffffff;
}

/* Optional fallback styles if any legal pages still use styles.css */

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
  line-height: 1.7;
}

.legal-page h1 {
  font-size: 40px;
}

.legal-page h2 {
  margin-top: 36px;
}

.legal-page p {
  color: #c7cede;
}

.legal-page a {
  color: #ffffff;
}

@media (max-width: 720px) {
  .page {
    background:
      linear-gradient(
        180deg,
        rgba(8, 11, 18, 0.28) 0%,
        rgba(8, 11, 18, 0.36) 42%,
        rgba(8, 11, 18, 0.82) 100%
      ),
      url("assets/liftatlas_mobile_background.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero {
    padding: 72px 20px 36px;
    min-height: calc(100vh - 120px);
  }

  .hero-logo {
    width: min(420px, 90vw);
    margin-bottom: 18px;
  }

  .subtitle {
    margin-bottom: 28px;
  }

  .app-store-button {
    width: 100%;
    max-width: 320px;
  }

  footer {
    gap: 16px;
    padding-bottom: 28px;
  }
}

/* @media (max-width: 720px) {
  .page {
    background-position: center top;
  }

  .hero {
    padding: 72px 20px 36px;
    min-height: calc(100vh - 120px);
  }

  .hero-logo {
    width: min(420px, 90vw);
    margin-bottom: 18px;
  }

  .subtitle {
    margin-bottom: 28px;
  }

  .app-store-button {
    width: 100%;
    max-width: 320px;
  }

  footer {
    gap: 16px;
    padding-bottom: 28px;
  }
} */
