/* hooked. web – a színek az app/src/theme/colors.ts tokenjei */

@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/Inter-Bold.otf') format('opentype');
}

:root {
  color-scheme: light dark;
  --accent: #007afe;
  --green: #42f057;
  --red: #ff3b30;
  --bg-top: #ffffff;
  --bg-bottom: #f3f2fb;
  --bg-grey: #eeeeef;
  --text: #212121;
  --text-grey: #969697;
  --card-shadow: 0 12px 40px rgba(33, 33, 33, 0.12);
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-brand: 'Inter', var(--font);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #000000;
    --bg-bottom: #323232;
    --bg-grey: #1c1c1d;
    --text: #ffffff;
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-bottom) linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Logo ------------------------------------------------------------- */

.logo { width: 120px; height: auto; }
.logo--sm { width: 64px; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

.wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Fejléc ----------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.topbar .wordmark { font-size: 24px; color: var(--text); }
.topbar a:hover { text-decoration: none; }

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 64px;
}
.hero .logo { width: 180px; margin-bottom: 32px; }
.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 19px;
  color: var(--text-grey);
  max-width: 560px;
  margin: 0 0 32px;
}

/* --- Store gombok ----------------------------------------------------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg-top);
  text-align: left;
  line-height: 1.15;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store:hover { text-decoration: none; transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: 0.8; }
.store strong { display: block; font-size: 18px; font-weight: 600; }
.store[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }

.stores-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-grey);
}

/* --- Képernyőképek (placeholder, amíg nincs kép) ---------------------- */

.screens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0 0 72px;
}

.phone {
  position: relative;
  margin: 0;
  width: 220px;
  flex: none;
  aspect-ratio: 1179 / 2556;
  border-radius: 36px;
  border: 8px solid var(--text);
  background: var(--bg-grey);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.phone--center { width: 250px; }
.phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* A felirat csak placeholderként látszik – a kép eltakarja. */
.phone figcaption {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-grey);
}

@media (max-width: 720px) {
  .screens { gap: 12px; }
  .phone { width: 28vw; border-width: 5px; border-radius: 22px; }
  .phone--center { width: 34vw; }
  .phone figcaption { font-size: 11px; }
}

/* --- Feature kártyák -------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}

.card {
  background: var(--bg-top);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}
@media (prefers-color-scheme: dark) {
  .card { background: var(--bg-grey); }
}

.card .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--accent);
}
.card .dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .dot--green { background: var(--green); color: #0b3a12; }
.card .dot--red { background: var(--red); }
.card .dot--dark { background: var(--text); color: var(--bg-top); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-grey); font-size: 15px; }

/* --- Share oldal ------------------------------------------------------ */

.share {
  max-width: 560px;
  margin: 8px auto 48px;
}
.share .card { padding: 0; overflow: hidden; }
.share-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: var(--bg-grey);
}
.share-body { padding: 24px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-grey);
  margin: 0 0 6px;
}
.share h1 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.share .meta { color: var(--text-grey); font-size: 15px; margin: 0 0 14px; }
.share .overview { margin: 0 0 24px; font-size: 16px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.btn:hover { text-decoration: none; opacity: 0.92; }

.share .stores { margin-top: 24px; }
.share-cta { text-align: center; margin-top: 32px; }
.share-cta p { color: var(--text-grey); margin: 0 0 16px; }

/* --- 404 -------------------------------------------------------------- */

.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 28px; margin: 24px 0 8px; }
.notfound p { color: var(--text-grey); margin: 0 0 24px; }
.notfound .logo { margin: 0 auto; }

/* --- Lábléc ----------------------------------------------------------- */

.footer {
  padding: 32px 0 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-grey);
}
.footer a { color: var(--text-grey); text-decoration: underline; }
