:root {
  --violet: #8c00ff;
  --violet-dark: #8a2be2;
  --navy: #1f1633;
  --yellow: #ffc124;
  --pink: #ff68d7;
  --surface: #f1f1f1;
  --white: #ffffff;
  --ink-soft: #d9cdea;
  --max: 1160px;
  --display: "Arial Rounded MT Bold", "Avenir Next", Avenir, system-ui, sans-serif;
  --body: Inter, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: #3a0b68; font-family: var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  max-width: var(--max);
  height: 92px;
  margin: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 22px; font-weight: 800; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: linear-gradient(135deg, var(--yellow), #ff9d00); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
nav { display: flex; align-items: center; gap: 30px; font-weight: 700; }
nav a { text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--pink); }
.nav-contact { padding: 12px 18px; color: var(--navy); background: var(--yellow); border-radius: 999px; }
nav .nav-contact:hover { color: var(--navy); transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 810px;
  padding: 148px max(24px, calc((100vw - var(--max)) / 2)) 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,104,215,.22), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(140,0,255,.8), transparent 34%),
    linear-gradient(145deg, #20053a 0%, #4a0b7a 46%, #6a08b8 100%);
}
.hero::before { content: ""; position: absolute; inset: 92px 0 auto; height: 1px; background: rgba(255,255,255,.1); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; margin-bottom: 18px; color: var(--pink); font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 650px; font-size: clamp(54px, 6.6vw, 92px); }
h1 span, h2 span { color: var(--yellow); }
.hero-lead { max-width: 610px; margin: 28px 0 32px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.store-button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 12px; color: var(--navy); background: var(--yellow); border-radius: 14px; font-size: 18px; font-weight: 800; box-shadow: 0 8px 0 rgba(30,8,47,.42); }
.store-button svg { width: 27px; fill: currentColor; }
.store-button span { display: grid; line-height: 1.05; }
.store-button small { font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.text-link { text-decoration: none; font-weight: 750; }
.text-link span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }

.hero-visual { position: relative; z-index: 1; width: min(100%, 430px); justify-self: center; }
.hero-visual img { position: relative; z-index: 2; width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; border: 1px solid rgba(255,255,255,.38); border-radius: 42px; box-shadow: 0 32px 80px rgba(14,0,24,.55); transform: rotate(2deg); }
.glow { position: absolute; border-radius: 50%; filter: blur(3px); }
.glow-one { width: 250px; height: 250px; right: -70px; top: -70px; background: var(--pink); opacity: .28; }
.glow-two { width: 190px; height: 190px; left: -70px; bottom: 40px; background: var(--yellow); opacity: .17; }

.promise-strip { min-height: 100px; margin: 0; padding: 24px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--navy); background: var(--yellow); }
.promise-strip p { margin: 0; font-size: 16px; }
.promise-strip strong { font-family: var(--display); font-size: 21px; }

.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.intro { min-height: 340px; padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 70px; text-align: center; background: var(--surface); }
.intro h2 { color: var(--navy); font-size: clamp(42px, 6vw, 74px); }
.intro p { max-width: 680px; margin: 26px auto 0; color: #665b75; font-size: 18px; line-height: 1.7; }

.steps { position: relative; z-index: 2; margin-top: -34px; padding-bottom: 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; color: var(--navy); }
.step-card { position: relative; min-height: 310px; padding: 34px; overflow: hidden; background: var(--white); border-radius: 24px; box-shadow: 0 18px 45px rgba(31,22,51,.12); }
.step-card.featured { color: var(--white); background: linear-gradient(145deg, #7c00e9, var(--violet)); }
.step-number { position: absolute; top: 24px; right: 26px; color: rgba(31,22,51,.13); font-family: var(--display); font-size: 44px; font-weight: 900; }
.featured .step-number { color: rgba(255,255,255,.2); }
.step-icon { width: 64px; height: 64px; margin-bottom: 38px; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 18px; font-family: var(--display); font-size: 23px; font-weight: 900; transform: rotate(-3deg); }
.step-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 25px; }
.step-card p { margin: 0; color: #766b83; line-height: 1.65; }
.featured p { color: #eadff3; }

.gallery-section { padding: 96px 0 112px; overflow: hidden; background: var(--navy); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading h2, .smart-copy h2, .own-words-copy h2, .closing-cta h2 { font-size: clamp(42px, 5.5vw, 70px); }
.section-heading > p { max-width: 450px; margin: 0 0 8px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.screenshot-rail { width: min(calc(100% - 24px), 1420px); margin: 54px auto 0; padding: 8px 12px 24px; display: grid; grid-template-columns: repeat(5, minmax(240px, 1fr)); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--pink) rgba(255,255,255,.1); }
.screenshot-rail figure { min-width: 240px; margin: 0; scroll-snap-align: center; }
.screenshot-rail img { width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.screenshot-rail figure:nth-child(even) { transform: translateY(24px); }
.screenshot-rail figcaption { padding: 16px 4px 0; color: var(--ink-soft); font-weight: 750; text-align: center; }

.smart-practice { padding: 110px 0; color: var(--navy); background: var(--yellow); }
.smart-inner { display: grid; grid-template-columns: 1fr minmax(300px, 460px); align-items: center; gap: clamp(60px, 9vw, 120px); }
.smart-copy .eyebrow { color: #6b00bc; }
.smart-copy h2 span { color: #6b00bc; }
.smart-copy > p, .own-words-copy > p { margin: 28px 0; font-size: 18px; line-height: 1.7; }
.check-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; font-weight: 750; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list span { width: 27px; height: 27px; display: grid; place-items: center; color: var(--white); background: #6b00bc; border-radius: 50%; }
.smart-visual { position: relative; width: min(100%, 390px); justify-self: center; }
.smart-visual img { width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; border: 7px solid var(--white); border-radius: 38px; box-shadow: 0 28px 60px rgba(58,11,104,.3); transform: rotate(3deg); }
.floating-tag { position: absolute; z-index: 2; padding: 11px 15px; color: var(--navy); background: var(--pink); border: 3px solid var(--navy); border-radius: 12px; font-family: var(--display); font-weight: 900; box-shadow: 6px 7px 0 var(--navy); }
.tag-one { left: -62px; top: 26%; transform: rotate(-8deg); }
.tag-two { right: -62px; top: 47%; transform: rotate(7deg); }
.tag-three { left: -44px; bottom: 18%; transform: rotate(4deg); }

.own-words { padding-block: 110px; display: grid; grid-template-columns: minmax(280px, 420px) 1fr; align-items: center; gap: clamp(60px, 9vw, 120px); }
.own-words-visual { position: relative; padding: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 46px; }
.own-words-visual::before { content: "Saját lecke"; position: absolute; z-index: 2; top: -18px; left: 32px; padding: 10px 18px; color: var(--navy); background: var(--pink); border-radius: 999px; font-family: var(--display); font-weight: 900; }
.own-words-visual img { width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; border-radius: 28px; }
.own-words-copy > p { color: var(--ink-soft); }
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-features p { margin: 0; padding: 19px; color: var(--ink-soft); background: rgba(255,255,255,.08); border-radius: 16px; line-height: 1.5; }
.mini-features strong { color: var(--yellow); font-family: var(--display); font-size: 19px; }

.grades { padding: 110px 0; color: var(--navy); background: var(--surface); }
.grades .eyebrow { color: var(--violet); }
.grades .section-heading h2 { color: var(--navy); }
.grades .section-heading > p { color: #665b75; }
.grade-grid { margin-top: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grade-card { min-height: 180px; padding: 26px 30px; display: flex; align-items: center; gap: 25px; border-radius: 25px; box-shadow: 0 10px 30px rgba(31,22,51,.08); }
.grade-card > span { flex: 0 0 92px; height: 92px; display: grid; place-items: center; background: var(--white); border-radius: 50%; font-family: var(--display); font-size: 39px; font-weight: 900; }
.grade-card h3 { margin: 0 0 7px; font-family: var(--display); font-size: 23px; }
.grade-card p { margin: 0; line-height: 1.5; }
.grade-one { background: var(--yellow); }.grade-two { background: var(--pink); }.grade-three { background: #51d376; }.grade-four { color: var(--white); background: var(--violet); }

.closing-cta { position: relative; padding: 112px 24px 124px; overflow: hidden; text-align: center; background: linear-gradient(140deg, #4e087e, #8c00ff); }
.closing-cta::before, .closing-cta::after { content: ""; position: absolute; border-radius: 50%; background: var(--pink); opacity: .15; }
.closing-cta::before { width: 380px; height: 380px; left: -180px; top: -210px; }
.closing-cta::after { width: 300px; height: 300px; right: -110px; bottom: -170px; background: var(--yellow); }
.closing-cta h2 { position: relative; max-width: 900px; margin: 0 auto; }
.closing-cta > p { max-width: 650px; margin: 26px auto 32px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.cta-orb { width: 84px; height: 84px; margin: 0 auto 26px; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border: 5px solid rgba(255,255,255,.28); border-radius: 50%; font-family: var(--display); font-size: 42px; font-weight: 900; transform: rotate(-7deg); }
.dark-shadow { box-shadow: 0 8px 0 #3b075f; }

footer { min-height: 110px; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 28px; color: var(--ink-soft); background: var(--navy); font-size: 14px; }
footer a { text-decoration: none; }
.footer-brand { margin-right: auto; color: var(--white); font-size: 18px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }

@media (max-width: 820px) {
  .site-header { height: 80px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { min-height: auto; padding-top: 124px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { width: min(76vw, 410px); }
  .promise-strip { justify-content: center; flex-wrap: wrap; text-align: center; }
  .steps { grid-template-columns: 1fr; }.step-card { min-height: 250px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .screenshot-rail { grid-template-columns: repeat(5, minmax(230px, 70vw)); }
  .smart-inner, .own-words { grid-template-columns: 1fr; }
  .smart-copy, .own-words-copy { text-align: center; }
  .check-list { max-width: 590px; margin-inline: auto; text-align: left; }
  .own-words-visual { width: min(80vw, 410px); justify-self: center; order: 2; }
  .grade-grid { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
}

@media (max-width: 520px) {
  .brand { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-contact { padding: 10px 14px; }
  .hero { padding-inline: 18px; }
  .hero-visual { width: min(84vw, 390px); }
  .hero-visual img { border-radius: 30px; }
  .promise-strip { align-items: stretch; gap: 0; padding-block: 14px; }
  .promise-strip p { width: 100%; padding: 11px; border-bottom: 1px solid rgba(31,22,51,.14); }
  .promise-strip p:last-child { border-bottom: 0; }
  .section-shell { width: min(calc(100% - 36px), var(--max)); }
  .check-list, .mini-features { grid-template-columns: 1fr; }
  .floating-tag { display: none; }
  .grade-card { padding: 22px; gap: 18px; }
  .grade-card > span { flex-basis: 70px; height: 70px; font-size: 30px; }
  .grade-card h3 { font-size: 19px; }
  footer { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Privacy page */
.privacy-page { background: #f7f4fa; }
.privacy-header { height: 92px; padding: 20px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; color: var(--white); background: var(--navy); }
.privacy-main { padding-bottom: 100px; color: var(--navy); }
.privacy-title { padding: 88px max(24px, calc((100vw - 960px) / 2)); color: var(--white); background: linear-gradient(145deg, #320957, #7800ca); }
.privacy-title h1 { max-width: 900px; font-size: clamp(48px, 6vw, 78px); }
.privacy-title p { margin: 28px 0 0; color: var(--ink-soft); }
.privacy-card { position: relative; width: min(calc(100% - 48px), 960px); margin: 42px auto 0; padding: clamp(30px, 5vw, 68px); background: var(--white); border-radius: 28px; box-shadow: 0 18px 50px rgba(31,22,51,.1); }
.privacy-card.english { margin-top: 28px; }
.privacy-card h2 { margin: 0 0 24px; color: var(--navy); font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.privacy-card h3 { margin: 36px 0 10px; font-family: var(--display); font-size: 21px; }
.privacy-card p { margin: 0; color: #5d5369; font-size: 17px; line-height: 1.75; }
.privacy-card a { color: #7200bf; font-weight: 800; }
.privacy-summary { padding: 22px 24px; color: var(--navy) !important; background: #f4e8ff; border-left: 5px solid var(--violet); border-radius: 0 14px 14px 0; font-size: 19px !important; }
.language-pill { position: absolute; top: 28px; right: 30px; padding: 8px 12px; color: var(--white); background: var(--violet); border-radius: 999px; font-weight: 900; }

@media (max-width: 680px) {
  .privacy-header nav a:not(.nav-contact) { display: none; }
  .privacy-title { padding-block: 64px; }
  .privacy-card { width: min(calc(100% - 28px), 960px); }
  .language-pill { position: static; display: inline-block; margin-bottom: 18px; }
}
