/* —— Nasıl çalışır —— */

.how-page {
  --how-ink: #111111;
  --how-muted: #5c5c5c;
  --how-line: rgba(17, 17, 17, 0.1);
  --how-lime: #c8ff1a;
  --how-forest: #15241c;
  background: #fff;
}

.how {
  overflow-x: clip;
}

.how-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--how-muted);
}

.how-kicker--lime {
  color: var(--how-lime);
}

.how-h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--how-ink);
}

.how-btn-ghost {
  background: #fff;
  color: var(--how-ink);
  border: 1px solid var(--how-line);
}

.how-btn-ghost:hover {
  background: #f6f6f4;
}

.how-btn-ghost--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.how-btn-ghost--on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */

.how-hero {
  position: relative;
  padding: 48px 0 40px;
}

.how-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.how-ring,
.how-blob {
  position: absolute;
  border-radius: 50%;
}

.how-ring {
  border: 1.5px solid rgba(17, 17, 17, 0.07);
}

.how-ring--a {
  width: 280px;
  height: 280px;
  top: -80px;
  right: 8%;
  border-color: rgba(200, 255, 26, 0.35);
}

.how-blob--a {
  width: 180px;
  height: 180px;
  top: -56px;
  left: -72px;
  background: rgba(200, 255, 26, 0.1);
}

.how-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

@media (min-width: 980px) {
  .how-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
  }
}

.how-hero-copy {
  position: relative;
  max-width: 40rem;
}

.how-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-hero-stage {
  position: relative;
  width: min(100%, 560px);
}

.how-laptop-img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 12px 24px rgba(17, 17, 17, 0.08));
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 600ms ease, transform 700ms ease;
}

.how-phone-img {
  position: absolute;
  right: -2%;
  bottom: -6%;
  z-index: 2;
  display: block;
  width: clamp(88px, 18%, 118px);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(17, 17, 17, 0.22));
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 700ms ease 120ms, transform 750ms ease 120ms;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.how-hero.is-ready .how-laptop-img,
.how-hero.is-ready .how-phone-img {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 979px) {
  .how-hero-stage {
    width: min(100%, 420px);
  }

  .how-phone-img {
    width: clamp(72px, 20%, 96px);
    right: 0;
    bottom: -4%;
  }
}

.how-hero-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--how-ink);
}

.how-hero-title mark {
  background: linear-gradient(transparent 66%, rgba(200, 255, 26, 0.72) 66%);
  color: inherit;
  padding: 0 0.04em;
}

.how-hero-lead {
  margin: 0 0 28px;
  max-width: 36rem;
  font-size: 18px;
  line-height: 1.5;
  color: var(--how-muted);
}

.how-hero-lead strong {
  color: var(--how-ink);
  font-weight: 650;
}

.how-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.how-duo {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--how-line);
  border-radius: 20px;
}

@media (min-width: 700px) {
  .how-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.how-duo-pane {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 22px 24px;
  background: var(--how-lime);
  color: #111;
}

.how-duo-pane--app {
  background: #111;
  color: #fff;
}

.how-duo-icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.1);
}

.how-duo-pane--app .how-duo-icon {
  background: rgba(200, 255, 26, 0.16);
  color: var(--how-lime);
}

.how-duo-icon svg {
  width: 22px;
  height: 22px;
}

.how-duo-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.how-duo-copy {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 23px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.how-flow {
  padding: 48px 0 64px;
}

.how-flow-head {
  max-width: 28rem;
  margin-bottom: 28px;
}

.how-board {
  display: grid;
  gap: 28px;
}

.how-board-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--how-muted);
}

.how-board-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-board-list--two {
  grid-template-columns: 1fr;
}

.how-board-list--four {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .how-board-list--two,
  .how-board-list--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .how-board-list--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.how-board-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--how-line);
  border-radius: 16px;
  background: #fff;
}

.how-board-lane--app .how-board-card {
  background: #f7f8f4;
  color: var(--how-ink);
}

.how-board-n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--how-lime);
  font-size: 13px;
  font-weight: 800;
  color: #111;
}

.how-board-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.how-board-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--how-muted);
}

.how-board-lane--app .how-board-text {
  color: var(--how-muted);
}

/* Scan band */

.how-scan {
  padding: 24px 0 56px;
}

.how-scan-panel {
  display: grid;
  gap: 28px;
  padding: 36px 24px;
  border-radius: 28px;
  background: var(--how-forest);
  color: #f4f4f0;
}

@media (min-width: 768px) {
  .how-scan-panel {
    padding: 48px 44px;
  }
}

@media (min-width: 960px) {
  .how-scan-panel {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: center;
    gap: 40px;
  }
}

.how-scan-media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.how-scan-media img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
}

.how-scan-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.how-scan-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(244, 244, 240, 0.78);
}

.how-scan-lead strong {
  color: #fff;
}

.how-scan-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .how-scan-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.how-scan-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.how-scan-role {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--how-lime);
}

.how-scan-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
}

.how-scan-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 244, 240, 0.72);
}

.how-scan-arrow {
  display: grid;
  place-items: center;
  color: var(--how-lime);
}

.how-scan-arrow svg {
  width: 28px;
  height: 28px;
}

.how-scan-foot {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(244, 244, 240, 0.65);
}

.how-scan-panel .how-stores {
  justify-content: flex-start;
}

/* Where */

.how-where {
  padding: 24px 0 64px;
}

.how-where-head {
  max-width: 36rem;
  margin-bottom: 28px;
}

.how-where-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .how-where-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.how-where-col {
  padding: 24px;
  border: 1px solid var(--how-line);
  border-radius: 20px;
  background: #fafaf7;
}

.how-where-col h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.how-where-col h3 span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--how-lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.how-where-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-where-col li {
  padding: 10px 0;
  border-top: 1px solid var(--how-line);
  font-size: 15px;
  color: var(--how-muted);
}

.how-where-col li:first-child {
  border-top: none;
  padding-top: 0;
}

.how-where-col--app {
  background: #111;
  border-color: #111;
  color: #fff;
}

.how-where-col--app h3 {
  color: #fff;
}

.how-where-col--app li {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

/* Download */

.how-download {
  padding: 8px 0 56px;
}

.how-download-grid {
  display: grid;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--how-line);
}

@media (min-width: 768px) {
  .how-download-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }
}

.how-download-aside {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.how-download-phone {
  display: block;
  width: min(180px, 42vw);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(17, 17, 17, 0.18));
}

.how-download-lead {
  margin: 0 0 20px;
  max-width: 34rem;
  font-size: 16px;
  line-height: 1.55;
  color: var(--how-muted);
}

.how-download-alt {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--how-muted);
}

.how-download-alt a {
  color: var(--how-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.how-download-qr {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--how-line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
  width: fit-content;
}

.how-download-qr img {
  display: block;
  width: 168px;
  height: 168px;
}

.how-download-qr figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--how-muted);
}

/* CTA */

.how-cta {
  padding: 0 0 72px;
}

.how-cta-panel {
  position: relative;
  isolation: isolate;
  padding: 56px 24px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.66) 48%, rgba(10, 10, 10, 0.52) 100%),
    url("../img/cta-cafe-payment.webp") center 52% / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.how-cta-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.how-cta-panel > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
}

.how-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Store buttons */

.how-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.how-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 16px 8px 12px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.how-store:hover {
  background: #222;
  color: #fff;
  transform: translateY(-1px);
}

.how-store--light {
  background: #fff;
  color: #111;
}

.how-store--light:hover {
  background: var(--how-lime);
  color: #111;
}

.how-store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.how-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.how-store-label {
  font-size: 11px;
  opacity: 0.7;
}

.how-store-name {
  font-size: 15px;
  font-weight: 700;
}

/* Reveal (uygulama.js → is-in) */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .how-laptop-img,
  .how-phone-img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
