/* —— Uygulama tanıtım sayfası —— */

.app-promo-page {
  --app-bg: #ffffff;
  --app-ink: #111111;
  --app-muted: #666666;
  --app-accent: #c8ff1a;
  --app-forest: #1a2b23;
  background: var(--app-bg);
}

.app-promo {
  overflow-x: clip;
}

/* —— Hero —— */

.app-hero {
  position: relative;
  padding: 52px 0 48px;
  min-height: min(72vh, 680px);
  display: flex;
  align-items: center;
  background: #fff;
}

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

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

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

.app-ring--a {
  width: 280px;
  height: 280px;
  top: -70px;
  right: 6%;
  border-color: rgba(200, 255, 26, 0.35);
  animation: appOrbDrift 14s ease-in-out infinite;
}

.app-ring--b {
  width: 180px;
  height: 180px;
  top: 18%;
  right: 18%;
  animation: appOrbDrift 11s ease-in-out 1s infinite reverse;
}

.app-ring--c {
  width: 120px;
  height: 120px;
  bottom: 14%;
  left: 8%;
  border-color: rgba(200, 255, 26, 0.28);
  animation: appOrbDrift 9s ease-in-out 0.5s infinite;
}

.app-ring--d {
  width: 64px;
  height: 64px;
  top: 48%;
  left: 42%;
  border-color: rgba(17, 17, 17, 0.08);
  animation: appOrbDrift 8s ease-in-out 1.5s infinite reverse;
}

.app-blob {
  filter: blur(0);
}

.app-blob--a {
  width: 220px;
  height: 220px;
  top: -40px;
  left: -60px;
  background: rgba(200, 255, 26, 0.14);
  animation: appOrbDrift 16s ease-in-out infinite;
}

.app-blob--b {
  width: 160px;
  height: 160px;
  bottom: 8%;
  right: 4%;
  background: rgba(200, 255, 26, 0.1);
  animation: appOrbDrift 12s ease-in-out 2s infinite reverse;
}

.app-blob--c {
  width: 90px;
  height: 90px;
  top: 22%;
  left: 38%;
  background: rgba(17, 17, 17, 0.03);
  animation: appOrbDrift 10s ease-in-out 1s infinite;
}

.app-dot--a {
  width: 14px;
  height: 14px;
  top: 30%;
  left: 14%;
  background: rgba(17, 17, 17, 0.08);
  animation: appOrbDrift 7s ease-in-out infinite;
}

.app-dot--b {
  width: 10px;
  height: 10px;
  bottom: 28%;
  right: 30%;
  background: rgba(200, 255, 26, 0.55);
  animation: appOrbDrift 8s ease-in-out 1.2s infinite reverse;
}

.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px 40px;
  align-items: center;
}

@media (min-width: 980px) {
  .app-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }
}

.app-hero-brand {
  margin: 0 0 18px;
}

.app-hero-mascot {
  display: block;
  width: clamp(72px, 10vw, 100px);
  height: auto;
}

.app-hero-title {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--app-ink);
}

.app-hero-title mark {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(200, 255, 26, 0.5) 8%,
    rgba(200, 255, 26, 0.5) 92%,
    transparent 100%
  );
  background-size: 100% 0.4em;
  background-repeat: no-repeat;
  background-position: 0 88%;
  color: inherit;
  padding: 0 0.04em;
}

.app-hero-lead {
  margin: 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--app-muted);
}

.app-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.app-hero-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.app-hero-qr img {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 10px;
}

.app-hero-qr span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--app-muted);
  white-space: nowrap;
}

.app-hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-hero-cta .app-hero-stores {
  flex-direction: row;
  flex-wrap: nowrap;
}

.app-hero-stores--cta {
  margin-top: 24px;
  flex-direction: row;
}

@media (max-width: 560px) {
  .app-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .app-hero-qr {
    display: none;
  }

  .app-hero-stores {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .app-hero-stores .store-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
  }

  .app-promo-page .app-hero-stores .store-btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .app-promo-page .app-hero-stores .store-btn-label {
    font-size: 9px;
  }

  .app-promo-page .app-hero-stores .store-btn-name {
    font-size: 13px;
  }
}

/* Store buttons */

.app-promo-page .store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.app-promo-page .store-btn:hover {
  color: #fff;
  opacity: 0.92;
  transform: translateY(-2px);
}

.app-promo-page .store-btn--light {
  background: #fff;
  color: #111;
}

.app-promo-page .store-btn--light:hover {
  color: #111;
  opacity: 1;
  background: var(--app-accent);
}

.app-promo-page .store-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.app-promo-page .store-btn-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.app-promo-page .store-btn-label {
  font-size: 11px;
  opacity: 0.65;
}

.app-promo-page .store-btn-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hero phone visual */

.app-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}

.app-phone-stage {
  position: relative;
  width: min(100%, 150px);
  animation: appPhoneFloat 6.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(17, 17, 17, 0.14));
}

@media (min-width: 980px) {
  .app-phone-stage {
    width: min(100%, 170px);
  }
}

.app-phone-img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.app-float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--app-ink);
  opacity: 0;
  transform: translateY(12px);
}

.app-hero.is-ready .app-float-chip {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

.app-float-chip i {
  width: 16px;
  height: 16px;
  stroke-width: 2.25;
}

.app-float-chip--qr {
  top: 12%;
  left: max(0px, calc(50% - 150px));
  transition-delay: 0.35s;
}

.app-float-chip--stamp {
  top: 36%;
  right: max(0px, calc(50% - 150px));
  background: var(--app-ink);
  color: var(--app-accent);
  border-color: transparent;
  transition-delay: 0.5s;
}

.app-float-chip--stamp i {
  color: var(--app-accent);
}

.app-float-chip--wallet {
  bottom: 14%;
  left: max(0px, calc(50% - 130px));
  transition-delay: 0.65s;
}

.app-hero.is-ready .app-float-chip--qr {
  animation: appChipFloat 5s ease-in-out 0.9s infinite;
}

.app-hero.is-ready .app-float-chip--stamp {
  animation: appChipFloat 6s ease-in-out 1.1s infinite reverse;
}

.app-hero.is-ready .app-float-chip--wallet {
  animation: appChipFloat 7s ease-in-out 1.3s infinite;
}

@media (max-width: 979px) {
  .app-hero {
    min-height: 0;
    padding: 36px 0 48px;
  }

  .app-hero-visual {
    min-height: 200px;
  }

  .app-phone-stage {
    width: min(42%, 140px);
  }

  .app-float-chip--qr {
    left: 0;
  }

  .app-float-chip--stamp {
    right: 0;
  }

  .app-float-chip--wallet {
    left: 4%;
  }
}

@media (max-width: 560px) {
  .app-float-chip {
    font-size: 12px;
    padding: 8px 11px;
  }

  .app-phone-stage {
    width: min(48%, 130px);
  }
}

/* —— Shared section —— */

.app-section {
  padding: 72px 0;
}

.app-section-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.app-section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.app-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5c00;
}

.app-eyebrow--on-dark {
  color: var(--app-accent);
}

.app-h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--app-ink);
}

.app-section-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--app-muted);
  max-width: 46ch;
}

.app-section-head--center .app-section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* —— Roles —— */

.app-roles-section {
  background: #fafafa;
  border-block: 1px solid rgba(17, 17, 17, 0.05);
  text-align: center;
}

.app-roles-section .container-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-roles-section .app-roles-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
  text-align: left;
}

@media (min-width: 800px) {
  .app-roles-section .app-roles-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
  }
}

.app-roles-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.app-roles-divider span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--app-muted);
}

.app-role-block {
  padding: 28px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  height: 100%;
  text-align: left;
}

@media (min-width: 800px) {
  .app-roles-section .app-role-block {
    text-align: center;
  }

  .app-roles-section .app-role-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .app-roles-section .app-role-list {
    display: inline-grid;
    text-align: left;
  }
}

.app-role-block--accent {
  background: var(--app-forest);
  border-color: transparent;
  color: #fff;
}

.app-roles-section .app-role-block--accent .app-role-title {
  color: #fff;
}

.app-roles-section .app-role-block--accent .app-role-desc,
.app-roles-section .app-role-block--accent .app-role-list {
  color: rgba(255, 255, 255, 0.72);
}

.app-roles-section .app-role-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(200, 255, 26, 0.35);
  color: var(--app-ink);
  flex-shrink: 0;
}

.app-roles-section .app-role-icon--accent {
  background: var(--app-accent);
  color: var(--app-ink);
}

.app-roles-section .app-role-icon i,
.app-roles-section .app-role-icon svg {
  width: 22px;
  height: 22px;
}

.app-roles-section .app-role-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--app-ink);
}

.app-roles-section .app-role-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--app-muted);
}

.app-roles-section .app-role-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.app-roles-section .app-role-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.app-roles-section .app-role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--app-accent);
}

/* —— Spotlight —— */

.app-spotlight {
  background: #fff;
}

.app-spotlight-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .app-spotlight-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    gap: 48px;
  }
}

.app-bullet-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.app-bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--app-ink);
}

.app-bullet-list i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #4a5c00;
}

.app-spotlight-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-screen-img {
  display: block;
  width: min(100%, 140px);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 14px 24px rgba(17, 17, 17, 0.12));
  transform: translateY(12px);
  transition: transform 600ms ease;
}

@media (min-width: 900px) {
  .app-screen-img {
    width: min(100%, 150px);
  }
}

.app-spotlight.is-in .app-screen-img {
  transform: translateY(0);
}

/* —— Features —— */

.app-features {
  background: #fafafa;
  border-block: 1px solid rgba(17, 17, 17, 0.04);
}

.app-feature-grid {
  display: grid;
  gap: 28px 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .app-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.app-feature-grid--biz {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .app-feature-grid--biz {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .app-feature-grid--biz {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.app-feature {
  opacity: 0;
  transform: translateY(16px);
}

.app-features.is-in .app-feature,
.app-biz.is-in .app-feature {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.app-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--app-ink);
}

.app-feature-icon--lime {
  background: var(--app-accent);
}

.app-feature-icon i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.app-feature-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--app-ink);
}

.app-feature-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--app-muted);
}

.app-feature--dark {
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--app-ink);
}

.app-feature--dark .app-feature-title {
  color: #fff;
}

.app-feature--dark .app-feature-desc {
  color: rgba(255, 255, 255, 0.62);
}

.app-biz {
  background: #fff;
}

.app-biz .app-section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.app-biz .app-section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* —— Final CTA —— */

.app-cta {
  padding-bottom: 80px;
  background: #fff;
}

.app-cta-panel {
  position: relative;
  overflow: hidden;
  padding: 48px 28px;
  border-radius: 28px;
  background: var(--app-ink);
  color: #fff;
}

@media (min-width: 768px) {
  .app-cta-panel {
    padding: 56px 48px;
  }
}

.app-cta-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-cta-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(200, 255, 26, 0.22);
  filter: blur(40px);
  top: -80px;
  right: -40px;
  animation: appOrbDrift 10s ease-in-out infinite;
}

.app-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.app-cta-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}

.app-cta-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.app-hero-stores--cta {
  margin-top: 24px;
}

.app-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--app-accent);
  text-decoration: none;
  transition: gap 180ms ease, opacity 180ms ease;
}

.app-cta-secondary:hover {
  color: var(--app-accent);
  gap: 12px;
  opacity: 0.9;
}

.app-cta-secondary i {
  width: 16px;
  height: 16px;
}

/* —— Motion —— */

@keyframes appPhoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes appChipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes appOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-phone-stage,
  .app-ring,
  .app-blob,
  .app-dot,
  .app-cta-orb,
  .app-hero.is-ready .app-float-chip--qr,
  .app-hero.is-ready .app-float-chip--stamp,
  .app-hero.is-ready .app-float-chip--wallet {
    animation: none !important;
  }

  [data-reveal],
  .app-feature,
  .app-float-chip,
  .app-screen-img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
