/* Ascent — getascent.app */

:root {
  --bg: #0d0d14;
  --card: #13131f;
  --border: #1e1e30;
  --teal: #4ecdc4;
  --red: #ff6b6b;
  --muted: #6b6b8a;
  --white: #ffffff;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  overflow-x: hidden;
}

/* Animated ambient orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

body::before {
  width: 640px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(78, 205, 196, 0.14) 0%, transparent 70%);
  top: -160px;
  left: -120px;
  animation: orb-teal 20s ease-in-out infinite alternate;
}

body::after {
  width: 560px;
  height: 560px;
  background: radial-gradient(ellipse, rgba(255, 107, 107, 0.11) 0%, transparent 70%);
  bottom: -160px;
  right: -120px;
  animation: orb-red 26s ease-in-out infinite alternate;
}

@keyframes orb-teal {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(140px, 100px) scale(1.12); }
  65%  { transform: translate(80px, -70px) scale(0.94); }
  100% { transform: translate(220px, 140px) scale(1.07); }
}

@keyframes orb-red {
  0%   { transform: translate(0, 0) scale(1); }
  35%  { transform: translate(-120px, -90px) scale(1.10); }
  70%  { transform: translate(-60px, 70px) scale(0.92); }
  100% { transform: translate(-200px, -130px) scale(1.06); }
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Nav ---------- */

.nav {
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--white);
  text-decoration: none;
}

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

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.app-icon-card {
  width: 128px;
  height: 128px;
  margin: 0 auto 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-icon-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero h1 {
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 560px;
  margin: 0 auto;
}

.hero h1 .accent {
  background: linear-gradient(180deg, var(--teal), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subline {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 420px;
}

.rotating-audience {
  display: inline-block;
  background: linear-gradient(90deg, var(--teal), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.35s ease;
}

.rotating-audience.fade {
  opacity: 0;
}

.tagline {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* App Store badge–style button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 28px;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  text-align: left;
  line-height: 1.2;
  min-height: 56px;
  transition: border-color 0.15s ease;
}

.btn-appstore:hover {
  text-decoration: none;
  border-color: var(--muted);
}

.btn-appstore .small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.btn-appstore .big {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

/* ---------- Feature pills ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 72px;
  list-style: none;
}

.pills li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.pills li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--teal), var(--red));
  vertical-align: baseline;
}

/* ---------- Content pages (privacy / support) ---------- */

.page {
  padding: 56px 0 72px;
}

.page h1 {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page .meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.page section {
  margin-top: 40px;
}

.page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page p {
  color: var(--muted);
  font-size: 16px;
}

.page p + p {
  margin-top: 12px;
}

.page strong {
  color: var(--white);
  font-weight: 600;
}

/* FAQ */
.faq {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}

.faq-item h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--muted);
  font-size: 15px;
}

/* Contact button */
.contact {
  margin-top: 56px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 24px;
}

.contact h2 {
  font-size: 20px;
  font-weight: 700;
}

.contact p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
}

.btn-teal {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--teal);
  color: #0d0d14;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  min-height: 48px;
  transition: filter 0.15s ease;
}

.btn-teal:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer nav {
  display: flex;
  gap: 20px;
}

/* ---------- Mobile ---------- */

@media (max-width: 480px) {
  .nav .wrap {
    height: 56px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
  }

  body::before {
    width: 300px;
    height: 240px;
    top: -60px;
    left: -60px;
  }

  body::after {
    width: 280px;
    height: 280px;
    bottom: -60px;
    right: -60px;
  }

  .hero {
    padding: 44px 0 32px;
  }

  .hero .subline {
    font-size: 16px;
  }

  .btn-appstore {
    width: 100%;
    justify-content: center;
  }

  .pills {
    padding-bottom: 48px;
    gap: 8px;
  }

  .pills li {
    font-size: 14px;
    padding: 9px 16px;
  }

  .page {
    padding: 36px 0 56px;
  }

  .page section {
    margin-top: 28px;
  }

  .faq {
    gap: 12px;
  }

  .contact {
    margin-top: 40px;
    padding: 28px 16px;
  }

  .btn-teal {
    width: 100%;
    text-align: center;
  }

  .footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
