/* Rehber sayfaları (Ekim 2026, 1.1): görsel anlatım. Metin kısa bloklarda, anlatımı maketler, adım akışları, sayaçlar ve
   açılır SSS taşır. Renk ve yazı tokenları site.css'ten. Hareket bilgi taşır; prefers-reduced-motion'da durur. */

.g-hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.g-hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%; pointer-events: none;
  background: radial-gradient(55% 45% at 72% 38%, var(--glow, rgba(51,87,229,0.32)), transparent 70%),
              radial-gradient(35% 35% at 18% 18%, rgba(124,147,255,0.12), transparent 70%); }
.g-hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.g-hero h1 { font-size: clamp(36px, 5.4vw, 60px); }
.g-hero .lead { max-width: 30em; }
.g-crumb { font-size: 13px; color: var(--ink-3); margin: 0 0 14px; }
.g-crumb a { color: var(--ink-2); }

/* Sahne: maketlerin döndüğü alan */
.g-stage { position: relative; min-height: 460px; display: grid; place-items: center; }
.g-stage .rings { width: 440px; height: 440px; }

/* iOS bildirim kartı */
.note { display: flex; gap: 12px; align-items: flex-start; width: min(340px, 100%); padding: 12px 14px; border-radius: 22px;
  background: rgba(38,41,54,0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 22px 48px rgba(0,0,0,0.45); font-size: 14px; }
.note img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.note .nb { flex: 1; min-width: 0; }
.note .nh { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.note b { display: block; font-size: 15px; color: var(--ink); margin-top: 2px; }
.note span.t { color: var(--ink-2); }
.note .acts { display: flex; gap: 8px; margin-top: 10px; }
.note .acts i { font-style: normal; flex: 1; text-align: center; font-weight: 600; font-size: 13px; padding: 7px 0; border-radius: 12px; background: rgba(255,255,255,0.09); }
.note .acts i.go { background: var(--accent-deep); color: #fff; }

/* Sırayla gelen bildirim yığını: her kart --i gecikmesiyle döngüde belirir */
.stack { position: relative; width: min(340px, 100%); height: 330px; }
.stack .note { position: absolute; left: 0; right: 0; opacity: 0; animation: stackIn var(--dur, 9s) cubic-bezier(.2,.8,.2,1) infinite; animation-delay: calc(var(--i) * var(--step, 1.6s)); }
.stack .note:nth-child(1) { top: 0; } .stack .note:nth-child(2) { top: 92px; } .stack .note:nth-child(3) { top: 184px; } .stack .note:nth-child(4) { top: 250px; }
@keyframes stackIn { 0% { opacity: 0; transform: translateY(-18px) scale(.96); } 6%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(6px) scale(.98); } }
.done-pop { position: absolute; right: -8px; bottom: 6px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--success); color: #0D0F15; font-size: 32px; font-weight: 900; box-shadow: 0 0 0 10px rgba(69,214,143,0.18);
  opacity: 0; animation: pop var(--dur, 9s) cubic-bezier(.2,.9,.2,1.3) infinite; animation-delay: var(--popd, 5.2s); }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 5%, 30% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(.9); } }

/* Apple Watch maketi */
.watch-mock { position: relative; width: 210px; aspect-ratio: 0.84; border-radius: 52px; padding: 12px; background: #15171F;
  box-shadow: inset 0 0 0 2px #2C3140, 0 30px 70px rgba(0,0,0,0.55); }
.watch-mock::before { content: ""; position: absolute; right: -9px; top: 30%; width: 9px; height: 42px; border-radius: 4px; background: #2C3140; }
.watch-mock::after { content: ""; position: absolute; right: -7px; top: 58%; width: 6px; height: 26px; border-radius: 3px; background: #262A36; }
.watch-screen { position: relative; height: 100%; border-radius: 40px; background: #000; overflow: hidden; padding: 16px 14px; color: #fff; font-size: 13px; }
.watch-screen .w-time { position: absolute; top: 10px; right: 16px; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.watch-screen .w-app { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.watch-screen .w-app img { width: 18px; height: 18px; border-radius: 5px; }
.watch-screen h4 { margin: 6px 0 10px; font-size: 16px; line-height: 1.2; }
.w-btn { display: block; text-align: center; font-weight: 700; font-size: 13px; padding: 9px 0; border-radius: 99px; margin-top: 6px; background: rgba(255,255,255,0.14); }
.w-btn.go { background: var(--accent); color: #0D0F15; animation: tap 4.5s ease-in-out infinite; }
@keyframes tap { 0%, 55%, 100% { transform: none; filter: none; } 60% { transform: scale(.94); filter: brightness(1.3); } 66% { transform: none; } }
.w-check { position: absolute; inset: 0; display: grid; place-items: center; background: #000; opacity: 0; animation: wcheck 4.5s ease-in-out infinite; }
.w-check b { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #000; font-size: 40px; }
@keyframes wcheck { 0%, 62% { opacity: 0; } 68%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* Hap sayacı halkası */
.ring-count { position: relative; width: 260px; height: 260px; }
.ring-count svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-count .bg { stroke: rgba(255,255,255,0.08); }
.ring-count .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1), stroke .4s; }
.ring-count.low .fg { stroke: #FF6B6B; }
.ring-count .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-count .mid b { display: block; font-size: 72px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.ring-count .mid span { color: var(--ink-2); font-size: 15px; }
.ring-count .tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) scale(.8); opacity: 0; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #FF8A8A; background: rgba(255,107,107,0.16); border-radius: 99px; padding: 7px 12px; transition: all .4s cubic-bezier(.2,.9,.2,1.3); }
.ring-count.low .tag { opacity: 1; transform: translateX(-50%) scale(1); }

/* Bölüm başlığı */
.g-sec { padding: 72px 0; }
.g-sec.alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); border-top: 1px solid var(--line); }
.g-sec h2 { max-width: 20em; }

/* Adım akışı: çizgi kaydırdıkça dolar */
.flow { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 16px; margin-top: 40px; }
.flow::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); }
.flow::after { content: ""; position: absolute; left: 28px; top: 28px; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--success));
  transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.flow.in::after { width: calc(100% - 56px); }
.fstep { position: relative; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.flow.in .fstep { opacity: 1; transform: none; }
.flow.in .fstep:nth-child(2) { transition-delay: .25s; } .flow.in .fstep:nth-child(3) { transition-delay: .5s; }
.flow.in .fstep:nth-child(4) { transition-delay: .75s; } .flow.in .fstep:nth-child(5) { transition-delay: 1s; }
.fstep .dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 24px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.fstep h3 { margin: 6px 0 0; font-size: 17px; letter-spacing: -0.01em; }
.fstep p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.fstep .path { display: inline-block; font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 4px 8px; margin-top: 2px; }

/* Kontrol listesi: kaydırınca işaretlenir */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
.check { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 18px; }
.check .box { width: 40px; height: 40px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.18); display: grid; place-items: center; transition: all .4s; }
.check .box svg { width: 22px; height: 22px; stroke: #0D0F15; stroke-width: 3.2; fill: none; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .5s .15s; }
.check.on .box { background: var(--success); border-color: var(--success); }
.check.on .box svg { stroke-dashoffset: 0; }
.check h3 { margin: 0 0 4px; font-size: 17px; }
.check p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.check .path { display: inline-block; font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 4px 8px; margin-top: 8px; }

/* Dürtme zaman çizgisi (yatay, noktalar sırayla yanar) */
.knocks { position: relative; margin-top: 36px; padding: 28px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.knocks .line { position: relative; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); margin: 34px 8px 52px; }
.knocks .line i { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg);
  border: 3px solid rgba(255,255,255,0.2); transition: all .35s; }
.knocks .line i::after { content: attr(data-l); position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.knocks .line i.lit { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); }
.knocks .line i.lit::after { color: var(--accent); }
.knocks .line i.ring.lit { border-color: var(--pending); background: var(--pending); box-shadow: 0 0 0 8px rgba(245,184,92,0.18); }
.knocks .line i.ring.lit::after { color: var(--pending); }
.knocks .line i.ok { border-color: var(--success); background: var(--success); box-shadow: 0 0 0 8px rgba(69,214,143,0.18); }
.knocks .line i.ok::after { color: var(--success); }
.knocks .legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.knocks .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.knocks .who { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.knocks .who b { font-size: 17px; }
.knocks .who span { color: var(--ink-2); font-size: 14px; }

/* Yan yana karşılaştırma kartları */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.vs .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.vs .col.us { border-color: rgba(124,147,255,0.5); background: linear-gradient(180deg, rgba(124,147,255,0.09), rgba(124,147,255,0.02)), var(--card); }
.vs h3 { margin: 0 0 4px; font-size: 19px; }
.vs .sub2 { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; color: var(--ink-2); opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .45s; }
.vs.in li { opacity: 1; transform: none; }
.vs li b { color: var(--ink); font-weight: 600; }
.vs li::before { content: "✓"; color: var(--success); font-weight: 800; }
.vs li.no::before { content: "–"; color: var(--ink-3); }

/* Küçük özellik kutuları */
.chipgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.chiptile { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; transition: transform .3s, border-color .3s; }
.chiptile:hover { transform: translateY(-3px); border-color: rgba(124,147,255,0.4); }
.chiptile .em { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); }
.chiptile h3 { margin: 0; font-size: 16.5px; }
.chiptile p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.chiptile .pro { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 3px 8px; }
.chiptile .free { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--success); background: rgba(69,214,143,0.14); border-radius: 99px; padding: 3px 8px; }

/* Hesap örneği: sayılar birer birer belirir */
.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.calc .term { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; min-width: 120px; text-align: center; opacity: 0; transform: scale(.9); transition: all .5s cubic-bezier(.2,.9,.2,1.3); }
.calc.in .term { opacity: 1; transform: none; }
.calc .term b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc .term span { color: var(--ink-2); font-size: 13px; }
.calc .op { font-size: 26px; color: var(--ink-3); font-weight: 700; }
.calc .term.hl { border-color: rgba(255,107,107,0.5); background: rgba(255,107,107,0.08); }
.calc .term.hl b { color: #FF8A8A; }
.calc.in .term:nth-child(3) { transition-delay: .2s; } .calc.in .term:nth-child(5) { transition-delay: .4s; } .calc.in .term:nth-child(7) { transition-delay: .6s; }

/* Açılır SSS */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(124,147,255,0.45); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); animation: faqIn .35s ease; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Kapanış çağrısı */
.g-cta { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; margin: 24px 0 8px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); }
.g-cta .rings { width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.g-cta h2 { position: relative; margin: 0 auto 12px; }
.g-cta p { position: relative; color: var(--ink-2); max-width: 34em; margin: 0 auto 22px; }
.g-cta a { position: relative; display: inline-block; }
.g-cta img { height: 54px; width: auto; margin: 0 auto; }

/* Evcil hayvan kartı: alındı/açık arası gidip gelir */
.pet-card { width: min(340px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: 0 24px 50px rgba(0,0,0,0.4); }
.pet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pet-head .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(60,200,200,0.18); color: var(--p-teal, #3CC8C8); }
.pet-head b { flex: 1; }
.pet-head .cnt { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pet-dose { display: flex; align-items: center; gap: 12px; background: #fff; color: #161A26; border-radius: 16px; padding: 12px 14px; }
.pet-dose .t { flex: 1; } .pet-dose .t small { display: block; color: #5E6578; font-size: 12px; } .pet-dose .t b { font-size: 15px; }
.pet-dose .btn2 { position: relative; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(51,87,229,0.12); color: #3357E5; }
.pet-anim .pet-dose .btn2 { animation: petTake 6s ease-in-out infinite; }
.pet-head .cnt { position: relative; display: inline-grid; }
.pet-head .cnt span { grid-area: 1 / 1; text-align: right; }
.pet-anim .cnt .c0 { animation: petC0 6s steps(1) infinite; }
.pet-anim .cnt .c1 { color: var(--success); animation: petC1 6s steps(1) infinite; }
@keyframes petTake { 0%, 40% { background: rgba(51,87,229,0.12); color: #3357E5; } 46% { transform: scale(.92); } 50%, 92% { background: rgba(46,166,107,0.16); color: #23915C; transform: none; } }
@keyframes petC0 { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes petC1 { 0% { opacity: 0; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .g-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .g-stage { min-height: 400px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before, .flow::after { display: none; }
  .checks, .vs { grid-template-columns: 1fr; }
  .chipgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .flow, .chipgrid { grid-template-columns: 1fr; }
  .g-stage .rings, .g-cta .rings { width: 340px; height: 340px; }
  .ring-count { width: 220px; height: 220px; }
  .knocks .line i::after { font-size: 10.5px; }
  /* Telefonda adımlar dikey akış: simge solda, çizgi aşağı doğru dolar */
  .flow { gap: 22px; }
  .flow::before, .flow::after { display: block; left: 23px; right: auto; top: 24px; width: 2px; }
  .flow::before { bottom: 24px; height: auto; }
  .flow::after { height: 0; background: linear-gradient(180deg, var(--accent), var(--success)); transition: height 1.6s cubic-bezier(.2,.8,.2,1); }
  .flow.in::after { width: 2px; height: calc(100% - 48px); }
  .fstep { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 6px; }
  .fstep .dot { grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 15px; }
  .fstep h3, .fstep p, .fstep .path { grid-column: 2; }
  .fstep h3 { margin-top: 2px; }
  .fstep .path { justify-self: start; }
  /* Özellik kutuları: simge solda, daha kısa */
  .chiptile { grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 6px; align-items: start; padding: 18px; }
  .chiptile .em { grid-row: 1 / span 3; }
  .chiptile h3, .chiptile p, .chiptile .pro, .chiptile .free { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .stack .note { animation: none; opacity: 1; }
  .done-pop, .w-check { animation: none; opacity: 0; }
  .w-btn.go, .pet-anim .pet-dose .btn2 { animation: none; }
  .pet-anim .cnt .c0 { animation: none; opacity: 0; }
  .pet-anim .cnt .c1 { animation: none; opacity: 1; }
  .fstep, .vs li, .calc .term { opacity: 1; transform: none; transition: none; }
  .flow::after { transition: none; }
}

/* Sağlık ayar maketi: anahtarlar sırayla açılır, döngü */
.settings-mock { width: min(340px, 100%); background: #F2F2F7; color: #111; border-radius: 28px; padding: 14px 14px 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); }
.sm-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 15px; padding: 6px 4px 14px; }
.sm-head span:first-child { color: #007AFF; }
.sm-head b { font-weight: 600; }
.tgrow { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 14px; font-size: 16px; border-bottom: 1px solid #E5E5EA; }
.tgrow:first-of-type { border-radius: 14px 14px 0 0; }
.tgrow:last-of-type { border-radius: 0 0 14px 14px; border-bottom: 0; }
.tgrow i { position: relative; width: 51px; height: 31px; border-radius: 99px; background: #E9E9EB; animation: tgBg 7s ease-in-out infinite; animation-delay: var(--d); }
.tgrow i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: tgKnob 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes tgBg { 0%, 4% { background: #E9E9EB; } 8%, 80% { background: #34C759; } 86%, 100% { background: #E9E9EB; } }
@keyframes tgKnob { 0%, 4% { transform: none; } 8%, 80% { transform: translateX(20px); } 86%, 100% { transform: none; } }
.sm-note { font-size: 12.5px; color: #6C6C70; margin: 10px 6px 0; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) {
  .tgrow i { animation: none; background: #34C759; }
  .tgrow i::after { animation: none; transform: translateX(20px); }
}

/* Simgeler (SVG, vurgu rengi) ve küçük düzeltmeler */
.fstep .dot, .chiptile .em { color: var(--accent); }
.fstep .dot svg, .chiptile .em svg { width: 24px; height: 24px; }
.knocks .line i { font-style: normal; }
.stack.two .note:nth-child(2) { top: 150px; }
.checks .check:last-child:nth-child(odd) { grid-column: 1 / -1; }
