:root {
  --bg: #0c0d0c;
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2efe7;
  --muted: #aaa79f;
  --soft: #77766f;
  --accent: #b79cff;
  --accent-ink: #160f25;
  --accent-glow: rgba(183, 156, 255, .26);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(122, 84, 210, .10), transparent 32%),
    radial-gradient(circle at 88% 30%, rgba(88, 60, 150, .09), transparent 36%),
    var(--bg);
  font-family: "Instrument Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(183, 156, 255, .26); color: var(--text); }

.grain {
  position: fixed; inset: 0; opacity: .035; pointer-events: none; z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed; width: 40rem; height: 40rem; border-radius: 50%;
  filter: blur(120px); pointer-events: none; opacity: .05; z-index: 0;
}
.ambient-one { top: -20rem; left: -14rem; background: var(--accent); }
.ambient-two { right: -22rem; bottom: -24rem; background: #7150bd; }

.wrap { width: min(100%, var(--wrap)); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 28px;
  background: rgba(12, 13, 12, .68);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: #09080d;
  border: 1px solid rgba(183, 156, 255, .2);
}
.brand-mark img { width: 100%; height: 100%; }
.brand-name { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.brand-name.small { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 0 24px; min-height: 54px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary {
  color: var(--accent-ink); background: var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .38) inset, 0 14px 34px -12px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 20px 46px -12px var(--accent-glow); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(183, 156, 255, .5); }
.btn-quiet { color: var(--muted); padding: 0 6px; min-height: 54px; }
.btn-quiet:hover { color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 62px; padding: 0 34px; font-size: 18px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.cta-row.center { justify-content: center; }

/* ---- Typography ---- */
.eyebrow {
  margin: 0 0 18px; color: var(--accent);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
h1, h2 {
  margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 400;
  letter-spacing: -.02em; line-height: 1.04; text-wrap: balance;
}
h1 { font-size: clamp(42px, 6.4vw, 86px); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
/* A 2-oszlopos szekciók keskeny szövegoszlopában kisebb fejléc, hogy ≤3 sorba férjen. */
.col-text h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.lede { margin: 26px 0 0; max-width: 54ch; font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); line-height: 1.55; }
.lede.center { margin-left: auto; margin-right: auto; }
.fineprint { margin: 22px 0 0; color: var(--soft); font-size: 14px; }
.prose { margin-top: 24px; color: var(--muted); max-width: 56ch; }
.prose.center { margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 15px; }
.prose strong { color: var(--text); font-weight: 600; }
.hl { color: var(--text); background: linear-gradient(transparent 62%, rgba(183, 156, 255, .22) 0); padding: 0 2px; }
em { font-style: italic; }

/* ---- Sections ---- */
.hero { padding: clamp(70px, 12vh, 150px) 0 clamp(60px, 9vh, 110px); position: relative; z-index: 1; }
.band { padding: clamp(72px, 12vh, 140px) 0; position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .05); }
.band.tint { background: linear-gradient(180deg, rgba(183, 156, 255, .035), transparent 40%); }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.grid-2.reverse .col-visual { order: -1; }

/* ---- Loop illustration ---- */
.loop { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; }
.loop-svg { width: 100%; height: 100%; overflow: visible; }
.loop-ring { fill: none; stroke: rgba(183, 156, 255, .3); stroke-width: 1.5; stroke-dasharray: 4 7; }
.loop-dot circle { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent-glow)); }
.loop-dot { transform-origin: 160px 160px; animation: loop-spin 14s linear infinite; }
.loop-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.loop-labels li {
  position: absolute; margin: 0;
  font-size: 12px; color: var(--muted); white-space: nowrap;
  transform: translate(-50%, -50%);
}
/* Fix pozíciók a kör hat pontján (felülről, óramutató szerint). */
.loop-labels li:nth-child(1) { top: 8%;  left: 50%; }
.loop-labels li:nth-child(2) { top: 30%; left: 80%; }
.loop-labels li:nth-child(3) { top: 70%; left: 80%; }
.loop-labels li:nth-child(4) { top: 92%; left: 50%; }
.loop-labels li:nth-child(5) { top: 70%; left: 20%; }
.loop-labels li:nth-child(6) { top: 30%; left: 20%; }
.loop-center {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; text-align: center;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 22px; color: var(--soft); line-height: 1.2;
}
@keyframes loop-spin { to { transform: rotate(360deg); } }

/* ---- Shift illustration ---- */
.shift { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px;
  padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(183, 156, 255, .03)); }
.shift-blur { position: relative; width: 72px; height: 72px; filter: blur(3px); opacity: .7; }
.shift-blur span { position: absolute; width: 40px; height: 9px; border-radius: 6px; background: var(--muted); opacity: .5; }
.shift-blur span:nth-child(1){ top: 6px; left: 4px; } .shift-blur span:nth-child(2){ top: 22px; left: 16px; }
.shift-blur span:nth-child(3){ top: 34px; left: 2px; } .shift-blur span:nth-child(4){ top: 48px; left: 20px; }
.shift-blur span:nth-child(5){ top: 60px; left: 8px; }
.shift-arrow { color: var(--accent); font-size: 22px; }
.shift-cards { display: grid; gap: 9px; }
.mini-card { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.mini-card.is-active { border-color: rgba(183, 156, 255, .5); background: rgba(183, 156, 255, .08); box-shadow: 0 14px 34px -18px var(--accent-glow); }
.mini-card small { display: block; margin-top: 4px; color: var(--accent); font-size: 12.5px; }

/* ---- „A követésed" kártya (önbizalom-szekció) ---- */
.trust {
  width: min(100%, 420px); margin: 0 auto; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(135deg, rgba(183, 156, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 24px 62px -30px var(--accent-glow);
}
.trust-kicker { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.trust-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 13px; }
.trust-list li { display: flex; align-items: center; gap: 13px; color: var(--text); font-size: 15px; }
.trust-list .tick {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(183, 156, 255, .16); border: 1px solid rgba(183, 156, 255, .5); color: var(--accent);
  font-size: 12px;
}
.trust-count { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--muted); font-size: 15px; }
.trust-count strong { color: var(--accent); font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 500; vertical-align: -2px; }

/* ---- Enemy labels ---- */
.labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 8px; }
.strike {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(20px, 3vw, 30px);
  color: var(--soft); position: relative;
}
.strike::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 1.5px; background: rgba(183, 156, 255, .55); }

/* ---- Steps ---- */
.steps { list-style: none; margin: 54px 0 0; padding: 0; display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.step-n { font-family: "Cormorant Garamond", serif; font-size: 34px; color: var(--accent); line-height: 1; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---- Not list ---- */
.nots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nots li { position: relative; padding: 14px 16px 14px 44px; border-left: 2px solid rgba(183, 156, 255, .4);
  border-radius: 0 12px 12px 0; background: linear-gradient(90deg, rgba(183, 156, 255, .045), transparent 70%); color: var(--text); font-size: 15.5px; }
.nots li::before { content: "—"; position: absolute; left: 16px; color: var(--accent); }

/* ---- Close ---- */
.close { padding: clamp(90px, 16vh, 170px) 0; text-align: center; position: relative; z-index: 1;
  background: radial-gradient(circle at 50% 120%, rgba(183, 156, 255, .12), transparent 60%); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .06); padding: 30px 0; position: relative; z-index: 1; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot-note { color: var(--soft); font-size: 13px; }

/* ---- Reveal on scroll ---- */
/* Alapból látható (JS nélkül is olvasható); a JS csak akkor rejti el, ha kapuzza. */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  /* Keskeny nézeten a hero-fejléc is kisebb. A h2-t a globális clamp már kezeli. */
  h1 { font-size: clamp(32px, 8vw, 46px); }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-2.reverse .col-visual { order: 0; }
  .site-header { padding: 12px 18px; }
  .wrap { padding: 0 20px; }
  .loop { max-width: 300px; }
  .loop-labels li { font-size: 10px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .btn-quiet { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .loop-dot { animation: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
