/* Huecards – salespage
   Elv: sötét felület, sok levegő, kevés szó. A szín a kártyákon ragyog, nem a felületen. */

@font-face { font-family: 'Space Grotesk'; font-weight: 300 700; font-style: normal; font-display: swap;
             src: url('../fonts/SpaceGrotesk-Variable.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-style: normal; font-display: swap;
             src: url('../fonts/Inter-Variable.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-style: italic; font-display: swap;
             src: url('../fonts/Inter-Italic-Variable.woff2') format('woff2'); }

:root {
  --ink: #141623;
  --ink-2: #1a1d2d;
  --paper: #FBFAF7;
  --muted: rgba(251, 250, 247, .62);
  --faint: rgba(251, 250, 247, .26);
  --line: rgba(251, 250, 247, .10);
  --violet: #7C5CFA;
  --violet-light: #9B83FF;
  --hue: #B4A3FF;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --radius: 22px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body);
       font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }   /* a háttérfények és elforgatott kártyák ne okozzanak vízszintes görgetést */
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--hue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }

/* ---------------------------------------------------------------- tipográfia */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: .92;
           font-size: clamp(60px, 9.4vw, 128px); }
.display span { display: block; }
.display-2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1;
             font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 26px; }
.h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04;
      font-size: clamp(38px, 5vw, 64px); }
.h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(28px, 3vw, 38px); }
.hue { color: var(--hue); }
.kicker { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em;
          text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker-big { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; text-transform: none; color: var(--hue); }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); margin-top: 20px; max-width: 34em; }
.center .lead { margin-inline: auto; }
.small { font-size: 15px; color: var(--muted); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------------------------------------------------------------- gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       padding: 16px 30px; border-radius: 999px; background: var(--violet); color: #fff;
       font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid transparent;
       transition: background .2s, transform .2s, box-shadow .2s;
       box-shadow: 0 10px 30px -10px rgba(124, 92, 250, .7); }
.btn:hover { background: var(--violet-light); transform: translateY(-1px); }
.btn-small { padding: 10px 20px; font-size: 15px; box-shadow: none; }
.btn-outline { background: transparent; border-color: rgba(251, 250, 247, .24); box-shadow: none; }
.btn-outline:hover { background: rgba(251, 250, 247, .06); border-color: rgba(251, 250, 247, .5); }
.btn-ghost { font-weight: 600; text-decoration: none; color: var(--paper); display: inline-flex; gap: 8px;
             padding: 16px 6px; }
.btn-ghost span { transition: transform .2s; }
.btn-ghost:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------- háttérfények */
.glow { position: absolute; pointer-events: none; z-index: 0; filter: blur(10px); }
.glow-hero { inset: -10% -10% 0 30%;
  background: radial-gradient(40% 45% at 55% 45%, rgba(124, 92, 250, .30), transparent 70%),
              radial-gradient(28% 32% at 80% 25%, rgba(20, 184, 166, .16), transparent 70%),
              radial-gradient(30% 30% at 72% 80%, rgba(245, 158, 11, .14), transparent 70%); }
.glow-blue { inset: -15%; background: radial-gradient(closest-side, rgba(59, 130, 246, .32), transparent); }
.glow-violet { inset: 0; background: radial-gradient(40% 60% at 75% 50%, rgba(124, 92, 250, .22), transparent 70%); }

/* ---------------------------------------------------------------- kártyák */
.card { border-radius: var(--radius); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .65), 0 10px 24px rgba(0, 0, 0, .3); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20, 22, 35, .72);
       backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
       border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a, .footer-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .footer-links a:hover { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em;
               text-decoration: none; color: var(--muted); border: 1.5px solid var(--line);
               border-radius: 8px; padding: 5px 9px; }
.lang-switch:hover { color: var(--paper); border-color: var(--faint); }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr;
              align-items: center; gap: clamp(32px, 5vw, 72px); min-height: min(76vh, 760px); }
.hero-lead { font-size: clamp(21px, 2vw, 26px); color: var(--muted); margin-top: 32px; line-height: 1.45; }
.hero-lead strong { color: var(--paper); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; }
.hero-note { margin-top: 22px; font-size: 15px; color: var(--faint); }

.hero-stack { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 540px; justify-self: center; }
.hero-stack .card { position: absolute; width: 66%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card-front { left: 17%; top: 4%; z-index: 3; transform: rotate(-2deg); }
.card-back-l { left: 0; top: 12%; z-index: 1; transform: rotate(-11deg); }
.card-back-r { right: 0; top: 10%; z-index: 2; transform: rotate(9deg); }
.hero-stack:hover .card-front { transform: rotate(0deg) translateY(-8px); }
.hero-stack:hover .card-back-l { transform: rotate(-15deg) translateX(-18px); }
.hero-stack:hover .card-back-r { transform: rotate(13deg) translateX(18px); }

/* ---------------------------------------------------------------- ellenségkép */
.enemy { border-top: 1px solid var(--line); }
.enemy-line { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.15;
              font-size: clamp(30px, 4.4vw, 56px); color: var(--faint); }
.enemy-punch { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1;
               font-size: clamp(48px, 7vw, 96px); margin-top: clamp(36px, 5vw, 64px); }

/* ---------------------------------------------------------------- hogyan működik */
.how-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.how-card { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.how-card .card { position: relative; z-index: 1; transform: rotate(-3deg); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 34px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: baseline;
            padding-top: 28px; border-top: 1px solid var(--line); }
.step-n { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--faint); letter-spacing: .08em; }
.steps h3 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.steps p { color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- színek / galéria */
.colors { border-top: 1px solid var(--line); }
.gallery { list-style: none; margin: 0 auto; padding: 0 24px 8px; display: grid;
           grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 1440px; }
.gallery li { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.gallery .card { width: 100%; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.gallery li:nth-child(odd) .card { transform: rotate(-2deg); }
.gallery li:nth-child(even) .card { transform: rotate(2deg) translateY(24px); }
.gallery li:hover .card { transform: rotate(0) translateY(-10px); }
.gallery li:nth-child(even) .type-chip { margin-top: 24px; }
.type-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
.type-chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 14px var(--tone); }

/* ---------------------------------------------------------------- és még valami (HU) */
.mistakes { border-top: 1px solid var(--line); overflow: hidden; }
.mistakes-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr;
                  gap: clamp(40px, 7vw, 100px); align-items: center; }
.pairs { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 18px; }
.pairs li { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 600;
            letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.pairs s { color: var(--faint); text-decoration-color: #F06449; text-decoration-thickness: 3px; }
.pairs .arrow { color: var(--faint); }
.pairs b { color: var(--paper); }
.pairs em { font-family: var(--body); font-style: normal; font-weight: 400; font-size: 16px; color: var(--muted);
            letter-spacing: 0; }
.mistakes-closing { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; margin: 44px 0 10px; }
.mistakes-card { max-width: 400px; width: 100%; justify-self: center; transform: rotate(3deg); }

/* ---------------------------------------------------------------- árak */
.pricing { border-top: 1px solid var(--line); }
.billing { display: flex; width: max-content; margin: 0 auto 48px; padding: 5px; border-radius: 999px;
           background: var(--ink-2); border: 1px solid var(--line); }
.billing label { cursor: pointer; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
                 color: var(--muted); transition: background .2s, color .2s; display: flex; align-items: center; gap: 8px; }
.save { font-size: 12px; font-weight: 700; color: #14B8A6; background: rgba(20, 184, 166, .14);
        padding: 2px 8px; border-radius: 999px; }
#bill-monthly:checked ~ .billing label[for="bill-monthly"],
#bill-yearly:checked ~ .billing label[for="bill-yearly"] { background: var(--paper); color: var(--ink); }
#bill-monthly:focus-visible ~ .billing label[for="bill-monthly"],
#bill-yearly:focus-visible ~ .billing label[for="bill-yearly"] { outline: 3px solid var(--hue); outline-offset: 2px; }
#bill-monthly:checked ~ .plans .price-yearly,
#bill-yearly:checked ~ .plans .price-monthly { display: none; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 34px 34px;
        border-radius: 26px; background: rgba(251, 250, 247, .025); border: 1px solid var(--line); }
.plan-plus { background: linear-gradient(180deg, rgba(124, 92, 250, .14), rgba(124, 92, 250, .03));
             border-color: rgba(155, 131, 255, .55); box-shadow: 0 30px 80px -30px rgba(124, 92, 250, .55); }
.plan-badge { position: absolute; top: -13px; left: 34px; background: var(--violet); color: #fff; font-size: 12px;
              font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.plan-tagline { color: var(--muted); margin-top: 8px; min-height: 3.1em; }
.price { margin-top: 28px; }
.amount { font-family: var(--display); font-size: clamp(42px, 4vw, 54px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.period { color: var(--muted); font-size: 16px; margin-left: 4px; }
.price-note { margin-top: 10px; font-size: 15px; color: var(--hue); font-weight: 500; min-height: 1.5em; }
.features { list-style: none; padding: 26px 0 0; margin: 26px 0 34px; border-top: 1px solid var(--line);
            display: grid; gap: 12px; font-size: 16px; flex: 1; align-content: start; }
.features li { position: relative; padding-left: 30px; }
.features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--hue); font-weight: 700; }
.plan .btn { width: 100%; }
.trust { text-align: center; margin-top: 40px; font-family: var(--display); font-weight: 600; font-size: 20px;
         letter-spacing: -.01em; }

.compare { margin: 56px auto 0; max-width: 980px; border-top: 1px solid var(--line); }
.compare summary { cursor: pointer; list-style: none; text-align: center; padding: 22px; color: var(--muted);
                   font-weight: 600; font-size: 16px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: " ↓"; }
.compare[open] summary::after { content: " ↑"; }
.compare summary:hover { color: var(--paper); }
.table-scroll { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 680px; }
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 16px; color: var(--paper); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.compare td { color: var(--paper); }
.compare .yes { color: var(--hue); font-weight: 700; }
.compare .no { color: var(--faint); }

/* ---------------------------------------------------------------- one more thing / zárás */
.one-more { border-top: 1px solid var(--line); }
.one-more .lead { margin-bottom: 40px; }
.one-more .display-2 + .btn { margin-top: 14px; }

/* ---------------------------------------------------------------- facebook */
.follow { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0; }
.follow-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.follow p { color: var(--muted); margin: 12px 0 8px; }
.follow-cover img { border-radius: 18px; border: 1px solid var(--line); transition: transform .3s;
                    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.follow-cover:hover img { transform: translateY(-4px); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.footer-brand img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.copy { color: var(--faint); width: 100%; }

/* ---------------------------------------------------------------- reszponzív */
@media (max-width: 1020px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-tagline { min-height: 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px 34px;
             gap: 18px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { flex: 0 0 min(62vw, 300px); scroll-snap-align: center; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner, .how-inner, .mistakes-inner, .follow-inner { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; text-align: left; }
  .hero-stack { max-width: 420px; margin-top: 12px; }
  .glow-hero { inset: 45% -30% -5% -30%; }
  .how-card { max-width: 340px; }
  .mistakes-card { max-width: 320px; }
}
@media (max-width: 600px) {
  .pairs { gap: 22px; }
  .pairs li { flex-direction: column; align-items: flex-start; gap: 0; }
  .pairs .arrow { display: none; }
  .pairs s { font-size: .7em; }
  .pairs em { margin-top: 2px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .nav-inner { height: 60px; }
  .nav-logo img { height: 26px; }
  .btn-small { padding: 9px 14px; font-size: 14px; }
  .plan { padding: 34px 24px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
