/* My App Spot — marketing site */

:root {
  --indigo: #5b4be0;
  --indigo-2: #6d5ef7;
  --indigo-deep: #3e2abf;
  --ink: #1b1b22;
  --muted: #5b5b6b;
  --line: rgba(20, 12, 60, 0.1);
  --bg: #f7f7fb;
  --card: #ffffff;
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(247, 247, 251, 0.75);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.nav .brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a.link:hover { color: var(--ink); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost { background: rgba(91, 75, 224, 0.08); color: var(--indigo); }
.btn-ghost:hover { background: rgba(91, 75, 224, 0.15); text-decoration: none; }
/* secondary button on the dark hero — clearly visible (not disabled-looking) */
.btn-outline { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, var(--indigo-2), var(--indigo-deep));
  overflow: hidden;
  text-align: center;
  padding: 88px 0 120px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
}
.hero::before { width: 520px; height: 520px; left: -120px; top: -160px;
  background: radial-gradient(circle, rgba(156, 139, 255, 0.6), transparent 60%); }
.hero::after { width: 480px; height: 480px; right: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(242, 111, 178, 0.4), transparent 60%); }
.hero .wrap { position: relative; }
/* mascot */
.mascot-slot { width: 320px; margin: 0 auto 6px; }
.mascot-slot img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 40px rgba(10, 6, 40, 0.3));
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 22px 0 10px; font-weight: 800; letter-spacing: -0.02em; }
.hero p.tag { font-size: clamp(17px, 2.2vw, 22px); opacity: 0.9; max-width: 640px; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; opacity: 0.75; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-title { text-align: center; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(91, 75, 224, 0.1); color: var(--indigo); margin-bottom: 14px;
}
.feature .ico svg { width: 24px; height: 24px; }
/* small inline icon (e.g. the email line) */
.inline-ico { width: 18px; height: 18px; vertical-align: -4px; color: var(--indigo); margin-right: 6px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* bold feature showcase — alternating rows with a screenshot slot */
.showcase { display: grid; gap: 56px; margin-top: 12px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.show-row.rev .show-text { order: 2; }
.show-text .eyebrow { color: var(--indigo); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.show-text h3 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; letter-spacing: -0.01em; line-height: 1.1; }
.show-text p { color: var(--muted); font-size: 18px; margin: 0; }
.show-media img { width: 100%; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 10, 50, 0.18); display: block; }

/* closing CTA — a gradient card so the (white) mascot has contrast and pops */
.cta-card {
  background: linear-gradient(160deg, var(--indigo-2), var(--indigo-deep));
  color: #fff; border-radius: 28px; text-align: center; padding: 52px 28px 60px;
}
.cta-card .mascot-slot.cta-mascot { width: 210px; margin: 0 auto 4px; }
.cta-card .mascot-slot.cta-mascot img { filter: drop-shadow(0 16px 34px rgba(10, 6, 40, 0.3)); }
.cta-card h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 8px; }
.cta-card p { opacity: 0.9; max-width: 560px; margin: 0 auto 22px; }
.btn-white { background: #fff; color: var(--indigo); }
.btn-white:hover { background: #efecfe; text-decoration: none; }

/* privacy standout — a full-width row with a shield icon */
.privacy-row {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(120deg, #efecfe, #f7f5ff);
  border: 1px solid rgba(91, 75, 224, 0.16);
  border-radius: 20px; padding: 26px 32px;
}
.privacy-row .ico {
  flex: none; width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--indigo-2), var(--indigo-deep));
  box-shadow: 0 12px 26px rgba(74, 47, 208, 0.3);
}
.privacy-row .ico svg { width: 30px; height: 30px; }
.privacy-row h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -0.01em; }
.privacy-row p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) {
  .privacy-row { flex-direction: column; text-align: center; }
}

/* ---------- content pages (support / privacy) ---------- */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.page .lead { color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page h3 { font-size: 17px; margin: 24px 0 6px; }
.page p, .page li { color: #2c2c38; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 24px; margin: 18px 0;
}
kbd {
  font: inherit; font-size: 0.85em; background: #eceafc; color: var(--indigo);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer .spacer { flex: 1; }
footer a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .show-row { grid-template-columns: 1fr; gap: 24px; }
  .show-row.rev .show-text { order: 0; }
  .nav a.link.hide-sm { display: none; }
}
