/* NeodPay web sitesi — v5, Apple mantığı: ekran başına tek fikir, büyük başlık, bol boşluk, ortada ürün.
   Siyah-beyaz (gri tonlarıyla); renk yalnızca uygulamanın kendi ekran görüntülerinde. Sistem yazı tipi. */
:root {
  --white: #fff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --black: #000;
  --d-ink: #f5f5f7;
  --d-ink-2: #86868b;
  --d-tile: #161617;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 48px;
  --gutter: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47;
       letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.sub { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
sup { font-size: 0.55em; line-height: 0; vertical-align: 0.9em; margin-left: 1px; font-weight: 400; }
sup a { padding: 2px; }
sup a:hover { text-decoration: underline; }

/* ---- üst çubuk ---------------------------------------------------------------------------- */
.nav-bar { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, 0.8);
           backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-bar.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.nav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; height: 44px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 12px; letter-spacing: -0.01em; color: rgba(29, 29, 31, 0.8); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 5px 12px; border-radius: 999px; }
.nav .nav-cta:hover { background: #3a3a3c; color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); cursor: pointer; margin-right: -12px; }
@media (max-width: 833px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
         padding: 8px 40px 28px; background: #fff; min-height: calc(100dvh - var(--nav-h)); }
  .nav-bar.open { background: #fff; }
  .nav-bar.open .nav { display: flex; }
  .nav a { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 8px 0; }
  .nav .nav-cta { margin-top: 18px; align-self: flex-start; font-size: 17px; font-weight: 500; padding: 12px 22px; }
}

/* ---- ortak tipografi ------------------------------------------------------------------------ */
.center { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.eyebrow { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
h1 { font-size: clamp(48px, 8.4vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.sub { margin: 20px auto 0; max-width: 640px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.33; letter-spacing: -0.015em; color: var(--ink-2); }
.hero .sub { color: var(--ink); max-width: 700px; font-size: clamp(21px, 2.5vw, 28px); }
.br-lg { display: none; }
@media (min-width: 734px) { .br-lg { display: inline; } }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
       background: var(--ink); color: #fff; font-size: 17px; font-weight: 400; transition: background-color .2s; }
.btn:hover { background: #3a3a3c; }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 17px; color: var(--ink); }
.more span { font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- bölümler ------------------------------------------------------------------------------ */
.hero { padding: 88px 0 0; overflow: hidden; text-align: center; }
.panel { padding: 128px 0; overflow: hidden; }
.panel:has(> .crop) { padding-bottom: 0; }
.gray { background: var(--gray); }
.dark { background: var(--black); color: var(--d-ink); }
.dark .sub { color: var(--d-ink-2); }
@media (max-width: 733px) { .hero { padding-top: 56px; } .panel { padding: 88px 0; } }

/* telefon büyük ve ortada; altı bölüm kenarında kesilir */
.hero-phone { margin-top: 72px; height: clamp(440px, 52vw, 640px); overflow: hidden; display: flex; justify-content: center; }
.crop { margin-top: 72px; height: clamp(420px, 48vw, 600px); overflow: hidden; display: flex; justify-content: center; }

/* yazı solda, telefon sağda */
.split { max-width: 1024px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 56px; align-items: center; justify-items: center; }
.split-text { text-align: center; }
.split-text .sub { margin-left: auto; margin-right: auto; }
@media (min-width: 834px) {
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split-text { text-align: left; justify-self: start; }
  .split-text .sub { margin-left: 0; }
}

/* ---- telefon çerçevesi (gerçek ekran görüntüsü, 402×874 @2x; durum çubuğu ve Dynamic Island uygulamadan) -- */
.device { --w: 300px; position: relative; width: var(--w); flex-shrink: 0; padding: calc(var(--w) * 0.034);
          border-radius: calc(var(--w) * 0.19); background: #050505; align-self: flex-start;
          box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 0 1.5px #1b1b1b, 0 0 0 3px #5b5b5b, 0 0 0 4.5px #262626, 0 0 0 5px #000; }
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; }
.device::before { left: -8px; top: 17%; height: 29%;
                  background: linear-gradient(to bottom, #474747 0 11%, transparent 11% 24%, #474747 24% 58%, transparent 58% 66%, #474747 66% 100%); }
.device::after { right: -8px; top: 27%; height: 13%; background: #474747; }
.screen { position: relative; display: block; border-radius: calc(var(--w) * 0.155); overflow: hidden; background: #000; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 402 / 874; }
.island { position: absolute; left: 35.57%; top: 1.26%; width: 28.86%; height: 3.55%; border-radius: 999px; background: #000;
          box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.07); }
.island::after { content: ""; position: absolute; right: 8%; top: 50%; width: 15%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
                 background: radial-gradient(circle at 35% 35%, #3a4560 0 12%, #141a28 40%, #06080d 72%); }
.device-xl { --w: clamp(270px, 30vw, 360px); }
.device-lg { --w: clamp(250px, 26vw, 330px); }
.hero-phone .device, .crop .device { margin-top: 6px; }

/* ---- kutucuklar ---------------------------------------------------------------------------- */
.tiles { max-width: 1024px; margin: 56px auto 0; padding: 0 var(--gutter); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 834px) { .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { background: var(--white); border-radius: 28px; padding: 32px 28px 36px; text-align: left; }
.panel:not(.gray):not(.dark) .tile { background: var(--gray); }
.tile h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tile p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.tile.stat b { display: block; font-size: clamp(44px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.tile.stat p { margin-top: 14px; }
.tile-dark { background: var(--d-tile); color: var(--d-ink); }
.tile-dark svg { color: var(--d-ink); margin-bottom: 28px; }
.tile-dark p { color: var(--d-ink-2); }

/* ---- planlar ------------------------------------------------------------------------------- */
.plans { max-width: 1024px; margin: 56px auto 40px; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; text-align: center; }
.plan { padding: 0 12px; }
.plan h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.025em; }
.plan p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.plan:last-child { grid-column: 1 / -1; }
/* yedi plan: geniş ekranda üstte dört, altta üç (ortalı) */
@media (min-width: 834px) {
  .plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 0; }
  .plan { flex: 0 0 25%; }
  .plan + .plan { border-left: 1px solid var(--line); }
  .plan:nth-child(5) { border-left: 0; }
}

/* ---- pilot --------------------------------------------------------------------------------- */
.pilot { padding: 160px 0; }
.big { font-size: clamp(44px, 7.6vw, 96px); }
.logo-word { white-space: nowrap; }
.inline-logo { display: inline-block; height: 0.97em; width: 4.5em; vertical-align: -0.23em; }

/* pilot başvuru formu: Apple'daki gibi gri dolgulu alanlar, siyah düğme */
.pilot-form { position: relative; max-width: 680px; margin: 56px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
@media (min-width: 640px) { .pilot-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pilot-form .wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background-color: var(--gray);
                                              color: var(--ink); font: inherit; font-size: 17px; letter-spacing: -0.01em; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background-repeat: no-repeat; background-position: right 16px center;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--ink); background-color: var(--white); }
.pilot-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* çoklu seçim: hap biçiminde seçenekler, seçilince siyah */
.pilot-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pilot-form legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.pilot-form legend span { font-weight: 400; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--gray); color: var(--ink);
             font-size: 15px; letter-spacing: -0.01em; transition: background-color .2s, color .2s; }
.chip:hover span { background: #e8e8ed; }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-end .btn { border: 0; font: inherit; font-size: 17px; cursor: pointer; }
.form-end .btn:disabled { opacity: 0.5; cursor: default; }
.form-status { font-size: 15px; color: var(--ink-2); }
.form-status.error { color: var(--ink); font-weight: 600; }
.form-done { max-width: 680px; margin: 56px auto 0; padding: 48px var(--gutter); border-radius: 28px; background: var(--gray); text-align: center; }
.form-done h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.form-done p { margin-top: 8px; color: var(--ink-2); }
.form-done:focus { outline: none; }

/* ---- alt bilgi (Apple'daki gibi gri, küçük, dipnotlu) ---------------------------------------- */
.footer { background: var(--gray); color: var(--ink-2); font-size: 12px; line-height: 1.5; letter-spacing: -0.01em; }
.footer-inner { max-width: 1024px; margin: 0 auto; padding: 32px var(--gutter) 28px; }
.pilot-note { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.pilot-note strong { font-weight: 600; }
.footnotes { padding: 0 0 20px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.footnotes li { padding-left: 2px; }
.footnotes li:target { color: var(--ink); }
.disclosure { padding: 20px 0; border-bottom: 1px solid var(--line); }
.disclosure h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.disclosure p + p, .disclosure ul + p { margin-top: 8px; }
.disclosure ul { margin: 8px 0 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; }
.footer-bottom nav a { color: var(--ink); padding: 0 10px; border-left: 1px solid var(--line); line-height: 1; margin: 4px 0; }
.footer-bottom nav a:first-child { padding-left: 0; border-left: 0; }
.footer-bottom nav a:hover { text-decoration: underline; }

/* ---- görünür olunca belirme ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- 404 ----------------------------------------------------------------------------------- */
.not-found { min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 0 0 var(--nav-h); }

/* ---- yasal sayfa --------------------------------------------------------------------------- */
.doc { max-width: 820px; margin: 0 auto; padding: 88px var(--gutter) 120px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); }
.doc .draft { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.doc section { margin-top: 48px; }
.doc h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; }
.doc section p, .doc section li { color: var(--ink-2); }
.doc section p + p, .doc section ul + p { margin-top: 12px; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; letter-spacing: -0.015em; }
.doc ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc li b { color: var(--ink); font-weight: 600; }

/* ===================================================================================================
   v9 eklemeleri (v5 üzerine): ortada iki telefon, sağ-sol-sağ-sol bölümler, düz yelpazede yedi ekran.
   Siyah-beyaz; renk yalnızca ekranlarda.
   =================================================================================================== */

/* sağ-sol: "flip" bölümlerinde telefon solda */
.split { gap: 48px 72px; }
@media (min-width: 834px) { .split.flip .split-media { order: -1; } }
.js .reveal.from-left { transform: translateX(-90px); }
.js .reveal.from-right { transform: translateX(90px); }
.js .reveal.from-left.in, .js .reveal.from-right.in { transform: none; }

/* giriş: ortada iki telefon */
.hero-phone { position: relative; }
.duo { position: relative; display: flex; justify-content: center; width: 100%; max-width: 760px; margin: 56px auto 0; padding: 0 var(--gutter); }
.duo-back { position: absolute; left: 50%; top: 72px; transform: translateX(-102%) rotate(-8deg); z-index: 1; }
.duo-front { position: relative; z-index: 2; transform: translateX(18%); }
@media (max-width: 733px) { .duo .device { --w: 210px; } .duo-back { top: 52px; } }

/* düz yelpaze: yedi ekran, alttaki ortak noktanın etrafında açılır (3B yok, dönmez) */
.fan { --card: clamp(118px, 15vw, 186px); --step: 9deg; position: relative; height: calc(var(--card) * 2.25 + 150px); margin-top: 64px; }
.fan .device { --w: var(--card); position: absolute; left: calc(50% - var(--card) / 2); top: 24px; margin: 0;
               transform-origin: 50% 260%; transform: rotate(calc(var(--i) * var(--step))); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.fan .device:hover { transform: rotate(calc(var(--i) * var(--step))) translateY(-26px); }
.fan-cap { margin-top: 8px; padding: 0 var(--gutter); text-align: center; font-size: 14px; color: var(--ink-2); }
@media (max-width: 733px) { .fan { --card: 104px; --step: 8deg; height: calc(var(--card) * 2.25 + 110px); } }

/* girişte "NeodPay" yazısı yerine logo */
.hero-logo { display: flex; justify-content: center; margin-bottom: 14px; color: var(--ink); }
@media (max-width: 733px) { .hero-logo svg { width: 120px; height: 26px; } }
