/*
 * humaxxapp.com ana sayfa (17 Ekim 2026): turuncu + beyaz.
 * Düzen Duolingo'nun açılış sayfası gibi (beyaz üst çubuk, büyük maskot + başlık, sağa sola
 * geçen bloklar, renkli bant, koyu ücretli plan bandı, turuncu dalga, turuncu alt bilgi);
 * içerik ve görseller uygulamanın kendisinden. Yazı tipi uygulamanınki (Inter); tuşlar
 * uygulamadaki kabarık tuşlar: turuncu yüz, koyu turuncu alt kenar, basınca kenarın üstüne oturur.
 * Hareket yok.
 */
:root {
  --orange: #ff7a00;
  --orange-light: #ff9a3d;
  --orange-rim: #d66700;
  --orange-lip: #a85000;
  --orange-soft: #fff1e3;
  --ink: #2b2b2b;
  --text: #4b4b4b;
  --muted: #7a7a7a;
  --line: #e5e5e5;
  --line-dark: #cfcfcf;
  --white: #ffffff;
  --night: #1b1035;
  --night-2: #2a1a52;
  --gold-1: #ffe08a;
  --gold-2: #f4b740;
  --radius: 16px;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scroll-behavior: smooth; }
/* Sayfa içi bağlantılar ışınlanmaz, o bölüme kayarak gider; hareketi azalt seçeneğinde anında. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 900; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text); }

/* ---------------------------------------------------------------- tuşlar */
.hx-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.6rem; border-radius: var(--radius);
  font: inherit; font-weight: 900; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; text-align: center;
  border: 2px solid transparent; position: relative; top: 0;
}
.hx-primary, .btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--orange-light), var(--orange) 60%);
  border-color: var(--orange-rim); box-shadow: 0 5px 0 var(--orange-lip);
}
.hx-secondary, .btn-ghost {
  color: var(--orange); background: #fff; border-color: var(--line); box-shadow: 0 5px 0 var(--line-dark);
}
.hx-white { color: var(--orange); background: #fff; border-color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22); }
.hx-btn:active, .btn:active { top: 5px; box-shadow: none; }
.hx-btn:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hx-sm { white-space: nowrap; min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---------------------------------------------------------------- üst çubuk */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 2px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 900; font-size: 1.6rem; color: var(--orange); letter-spacing: -0.03em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.site-lang { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lang-select {
  font: inherit; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
  border: 0; background: transparent; cursor: pointer; padding: 0.3rem 0.2rem; max-width: 10rem;
}
.lang-select:focus-visible { outline: 2px solid var(--orange); }

/* ---------------------------------------------------------------- giriş */
.hero { padding: 3.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.hero-art img { width: min(100%, 260px); height: auto; margin: 0 auto; }
.hero-txt { text-align: center; }
.hero-txt h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--ink); }
.hero-txt h1 span { color: var(--orange); }
.hero-txt .lead { max-width: 30rem; margin: 0 auto 1.6rem; }
.hero-btns { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; margin: 0 auto; }
.hero-btns .hx-btn { width: 100%; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------------------------- disiplin şeridi */
.disc-strip { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.disc-strip-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 2.4rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.disc-strip a { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-size: 0.95rem; }
.disc-strip img { width: 40px; height: 40px; object-fit: contain; }

/* ---------------------------------------------------------------- bloklar */
.block { padding: 5rem 0; }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.block.flip .block-art { order: 2; }
.block-art { display: flex; justify-content: center; }
.block-art > img { width: min(100%, 300px); height: auto; object-fit: contain; }
.block-txt h2 { color: var(--orange); font-size: clamp(2rem, 4vw, 2.9rem); }
.block-txt p { font-size: 1.12rem; color: var(--text); }
.steps-mini { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.9rem; counter-reset: s; }
.steps-mini li { position: relative; padding-left: 3rem; color: var(--text); }
.steps-mini li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-weight: 900; box-shadow: 0 3px 0 var(--orange-lip);
}
.steps-mini b { display: block; color: var(--ink); }
.cat-cluster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; width: min(100%, 320px); }
.cat-cluster img { width: 100%; height: auto; }
.rank-cluster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 0.8rem; width: min(100%, 420px); }
.rank-cluster figure { margin: 0; text-align: center; }
.rank-cluster img { width: 100%; height: auto; }
.rank-cluster figcaption { font-size: 0.78rem; font-weight: 800; color: var(--muted); margin-top: 0.2rem; }
.disc-list { margin: 1.4rem 0 0; display: grid; gap: 0.8rem; }
.disc-list dt { font-weight: 900; color: var(--ink); }
.disc-list dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- özellik kartları */
.feats { padding: 4rem 0 5rem; }
.feats h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 2.4rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feat { border: 2px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; }
.feat img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 0.9rem; }
.feat h3 { font-size: 1.2rem; }
.feat p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------------------------------------------------------------- renkli bant */
.band { position: relative; overflow: hidden; background: var(--orange-soft); padding: 7rem 0; }
.band-in { position: relative; text-align: center; max-width: 720px; }
.band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.band .lead { margin: 0 auto 2rem; max-width: 34rem; }
.store-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.store { text-transform: none; letter-spacing: 0; color: var(--ink); min-width: 210px; justify-content: flex-start; }
.store svg { width: 30px; height: 30px; flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.store b { font-size: 1.05rem; }
.store small { font-weight: 600; color: var(--muted); }
.fl { position: absolute; height: auto; pointer-events: none; }
.fl1 { width: 90px; left: 7%; top: 14%; transform: rotate(-14deg); }
.fl2 { width: 96px; left: 15%; bottom: 12%; transform: rotate(10deg); }
.fl3 { width: 84px; right: 9%; top: 12%; transform: rotate(12deg); }
.fl4 { width: 120px; right: 12%; bottom: 10%; transform: rotate(-8deg); }
.fl5 { width: 70px; left: 26%; bottom: 8%; transform: rotate(8deg); opacity: 0.9; }
.fl6 { width: 92px; right: 30%; bottom: 4%; transform: rotate(-10deg); opacity: 0.9; }

/* ---------------------------------------------------------------- HUMAXXIMIUM bandı */
.premium { background: radial-gradient(900px 500px at 80% 45%, var(--night-2), var(--night)); color: #e9e4ff; padding: 5rem 0; }
.premium-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.premium-head img { width: min(100%, 380px); margin: 0 auto; }
.premium-kicker { color: #fff; font-weight: 900; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; margin: 0; }
.premium-name {
  font-size: clamp(2.6rem, 7vw, 5rem); font-style: italic; letter-spacing: -0.01em; margin: 0.1em 0 0.3em;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2) 45%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.premium .lead { color: #d8d0f5; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.tier { border-radius: var(--radius); padding: 1.8rem; background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.12); }
.tier.hi { background: rgba(244, 183, 64, 0.1); border-color: var(--gold-2); }
.tier .name { font-weight: 900; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #bfb5e6; }
.tier.hi .name { color: var(--gold-1); }
.tier h3 { color: #fff; font-size: 1.6rem; margin-top: 0.3rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.tier li { position: relative; padding-left: 1.7rem; color: #e9e4ff; }
.tier li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: var(--orange-light); }
.tier.hi li::before { color: var(--gold-1); }
.tier .fine { font-size: 0.88rem; color: #a99fd1; }
.premium-note { margin-top: 1.6rem; text-align: center; font-size: 0.9rem; color: #a99fd1; }

/* ---------------------------------------------------------------- SSS */
#faq { padding: 5rem 0; }
#faq h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 2rem; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
details { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 1.3rem; overflow: hidden; transition: border-color 0.3s; }
details[open] { border-color: var(--orange); }
summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; font-weight: 900; color: var(--orange); line-height: 1; }
summary::after { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
details[open] summary::after { transform: rotate(45deg); }
details.closing summary::after { transform: none; }
details.closing { border-color: var(--line); }
details p { color: var(--text); padding-bottom: 1.1rem; margin: 0; }

/* ---------------------------------------------------------------- beta */
#early-access { padding: 5rem 0 calc(5rem + 80px); background: var(--orange-soft); }
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cta .lead { max-width: 36rem; margin: 0 auto 2.4rem; }
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; text-align: left; }
.beta-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.beta-head { display: flex; align-items: center; gap: 0.9rem; }
.beta-head svg { width: 34px; height: 34px; color: var(--ink); }
.beta-head b { display: block; font-size: 1.2rem; color: var(--ink); }
.beta-head small { color: var(--muted); font-weight: 600; }
.beta-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--text); }
.beta-btn { align-self: stretch; }
.beta-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.beta-links .btn { flex: 1 1 200px; font-size: 0.85rem; }
.beta-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.notify-h { margin: 3rem auto 1rem; font-size: 1.2rem; max-width: 34rem; }
.wl { display: flex; gap: 0.8rem; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.wl-beta { margin: 0; max-width: none; }
.wl input[type=email] {
  flex: 1 1 220px; min-height: 52px; padding: 0.7rem 1rem; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px; background: #fff;
}
.wl input[type=email]:focus { outline: none; border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.platform { display: flex; justify-content: center; gap: 1.4rem; margin-top: 1rem; color: var(--text); font-weight: 600; }
.platform input { accent-color: var(--orange); }
.msg { min-height: 1.4em; margin-top: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.msg.ok { color: #1a8f4c; }
.msg.err { color: #d23b3b; }

/* ---------------------------------------------------------------- turuncu dalga */
/* Dalganın üstü bir önceki bölümün krem zeminine biner: arada beyaz şerit kalmaz. */
.wave { position: relative; background: var(--orange); color: #fff; padding: 2.5rem 0 5rem; margin-top: 0; }
.wave-top { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; fill: var(--orange); }
.wave-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.wave-in img { width: 190px; height: auto; margin-top: -15rem; margin-bottom: 1rem; }
.wave h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; }
.wave h2 span { color: #fff3e0; }

/* ---------------------------------------------------------------- alt bilgi */
.foot { background: var(--orange); color: #fff; padding: 1rem 0 2.5rem; border-top: 2px solid rgba(255, 255, 255, 0.25); }
.foot h4 { color: #fff; font-size: 1.05rem; margin: 0 0 0.8rem; }
.foot a { color: #fff; font-weight: 700; opacity: 0.92; }
.foot a:hover { opacity: 1; text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.5rem 0; }
.foot-cols > div { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-langs { border-top: 2px solid rgba(255, 255, 255, 0.3); padding-top: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.6rem; }
.foot-langs h4 { margin: 0 0.6rem 0 0; }
.foot-langs a { font-size: 0.92rem; }
.foot-langs a[aria-current] { opacity: 1; text-decoration: underline; }
.foot-copy { margin-top: 2rem; font-size: 0.85rem; opacity: 0.85; }

/* ---------------------------------------------------------------- telefon */
@media (max-width: 860px) {
  .hero { padding-top: 2rem; }
  .hero-grid, .block-grid, .premium-head { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art img { width: 180px; }
  .block { padding: 3.2rem 0; text-align: center; }
  .block.flip .block-art { order: 0; }
  .block-art > img { width: 200px; }
  .steps-mini, .disc-list { text-align: left; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .tiers, .beta-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .fl { opacity: 0.35; }
  .premium-head { text-align: center; }
  .premium-head img { width: 200px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-lang { display: none; }  /* telefonda dil listesi alt bilgide */
  .hero-art img { width: 130px; }
  .disc-strip-in { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; }
  .topbar-right { gap: 0.6rem; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 34px; height: 34px; }
  .hx-sm { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .disc-strip-in { gap: 0.6rem 1.4rem; }
  .disc-strip a { font-size: 0.82rem; }
  .disc-strip img { width: 32px; height: 32px; }
  .band { padding: 4rem 0; }
  .fl { display: none; }  /* telefonda uçuşan simgeler başlığın üstüne biniyor */
  .store { min-width: 0; flex: 1 1 100%; }
}
[dir="rtl"] .steps-mini li { padding-left: 0; padding-right: 3rem; }
[dir="rtl"] .steps-mini li::before { left: auto; right: 0; }
[dir="rtl"] .tier li { padding-left: 0; padding-right: 1.7rem; }
[dir="rtl"] .tier li::before { left: auto; right: 0; }
[dir="rtl"] .store span { text-align: right; }

/* Simgeler: üzerine gelince ya da basınca yumuşakça büyür (17 Ekim). */
.hero-art img, .block-art > img, .cat-cluster img, .rank-cluster img, .feat img,
.disc-strip img, .band .fl, .premium-head img, .wave-in img, .brand img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.band .fl { pointer-events: auto; }
.hero-art img:hover, .block-art > img:hover, .premium-head img:hover, .wave-in img:hover { transform: scale(1.05); }
.cat-cluster img:hover, .rank-cluster img:hover, .feat img:hover, .disc-strip a:hover img, .brand:hover img { transform: scale(1.12); }
.hero-art img:active, .block-art > img:active, .premium-head img:active, .wave-in img:active { transform: scale(1.08); }
.cat-cluster img:active, .rank-cluster img:active, .feat img:active, .disc-strip a:active img, .brand:active img { transform: scale(1.18); }
.fl1:hover, .fl1:active { transform: rotate(-14deg) scale(1.15); }
.fl2:hover, .fl2:active { transform: rotate(10deg) scale(1.15); }
.fl3:hover, .fl3:active { transform: rotate(12deg) scale(1.15); }
.fl4:hover, .fl4:active { transform: rotate(-8deg) scale(1.15); }
.fl5:hover, .fl5:active { transform: rotate(8deg) scale(1.15); }
.fl6:hover, .fl6:active { transform: rotate(-10deg) scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .hero-art img, .block-art > img, .cat-cluster img, .rank-cluster img, .feat img,
  .disc-strip img, .band .fl, .premium-head img, .wave-in img, .brand img { transition: none; }
}

/* Bölüm geçişleri dalgalı (17 Ekim): renk değişen her yerde ince, sakin bir dalga. */
.divider { line-height: 0; margin: 0; }
.divider svg { display: block; width: 100%; height: 56px; }
.divider svg.mirror { transform: scaleX(-1); }
@media (max-width: 560px) { .divider svg { height: 34px; } }

/* Yasal sayfalar (17 Ekim): aynı turuncu-beyaz kabuk, okunaklı tek sütun metin. */
.legal-nav { gap: 1.4rem; font-weight: 800; }
.legal-nav > a:not(.hx-btn) { color: var(--muted); }
.legal-nav > a:not(.hx-btn):hover { color: var(--orange); }
.legal { max-width: 780px; padding-top: 3rem; padding-bottom: 5rem; }
.legal h1 { color: var(--orange); font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--text); }
.legal ul, .legal ol { padding-left: 1.3rem; display: grid; gap: 0.4rem; margin: 0 0 1em; }
.legal .meta { color: var(--muted); font-size: 0.92rem; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal a.hx-btn { text-decoration: none; }
.legal strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 2px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.legal th, .legal td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--orange-soft); color: var(--ink); font-weight: 800; }
.legal tr:last-child td { border-bottom: 0; }
.legal.center { text-align: center; }
.legal.center img { margin-inline: auto; }
.foot-mini { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding: 1.8rem 0 0.5rem; }
@media (max-width: 560px) { .legal-nav > a:not(.hx-btn) { display: none; } }
[dir="rtl"] .legal th, [dir="rtl"] .legal td { text-align: right; }
