/* ==========================================================================
   Yenilmez Apps — site stilleri
   Renkler ve ölçüler aşağıdaki değişkenlerden yönetilir.
   ========================================================================== */

:root {
  --bg: #070A10;
  --bg-2: #0B0F17;
  --bg-3: #05070B;
  --surface: #0D121A;
  --surface-2: #0A0E15;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --text: #E9EDF3;
  --text-strong: #F1F4F8;
  --text-2: #A4ABB8;
  --text-3: #7E8796;

  --accent: #1A5EF0;      /* dolu butonlar (beyaz yazıyla ≈5,4:1 kontrast) */
  --light: #4DA8FF;       /* bağlantılar ve eğik "kesik" çizgi */
  --light-2: #8CC6FF;
  --product: #F7740F;     /* ŞantiyeM ürün rengi — sadece ŞantiyeM alanlarında */

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  --cut: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--light); text-decoration: none; }
a:hover { color: var(--light-2); }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
}
p { margin: 0; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--accent); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 720px) { .wrap { padding: 0 48px; } }
@media (min-width: 1344px) { .wrap { padding: 0; } }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* --------------------------------------------------------------------------
   Üst menü
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(7, 10, 16, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .ya { width: 36px; height: 27px; }
.brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; font-stretch: 125%; }
.brand-text b { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #EEF1F5; }
.brand-text span { font-size: 9.5px; font-weight: 600; letter-spacing: .52em; color: var(--light); }

.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px; padding: 0;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column;
  padding: 8px 24px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  display: flex; align-items: center; min-height: 56px;
  font-size: 19px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color .15s ease, border-color .18s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  margin-top: 20px; min-height: 52px; justify-content: center;
  font-size: 16px; border: 1px solid rgba(233, 237, 243, .24);
}
.site-nav .nav-cta:hover { border-color: rgba(233, 237, 243, .6); }

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .menu-toggle { display: none; }
  .brand .ya { width: 40px; height: 30px; }
  .brand-text b { font-size: 15px; }
  .brand-text span { font-size: 10px; }
  .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 36px;
    padding: 0; background: none; border: 0;
  }
  .site-nav a { min-height: 44px; font-size: 15px; font-weight: 400; color: #B7BECA; border: 0; }
  .site-nav a[aria-current="page"] { color: #fff; }
  .site-nav .nav-cta { margin: 0; min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 500; color: var(--text); border: 1px solid rgba(233, 237, 243, .24); }
}

/* --------------------------------------------------------------------------
   Butonlar ve bağlantılar
   -------------------------------------------------------------------------- */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: filter .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.btn-primary:hover { color: #fff; filter: brightness(1.14); }
.btn-primary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--bg); }
/* İmza hareket: logodaki açıyla ince bir ışık süpürmesi */
.btn-primary::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -45%; width: 28%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.32), rgba(255,255,255,0));
  transform: skewX(-35deg); transition: left .45s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 125%; }

.btn-ghost { border: 1px solid rgba(233, 237, 243, .24); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: rgba(233, 237, 243, .6); color: #fff; }

.btn-sm { --cut: 12px; min-height: 50px; padding: 0 24px; font-size: 15px; }

.link-u { text-decoration: underline; text-decoration-color: rgba(77, 168, 255, .45); text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   Giriş (hero)
   -------------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 48px 0 8px; }
.hero .wrap { display: grid; gap: 24px; }
.hero h1 {
  max-width: 660px;
  font-size: clamp(2.3rem, 1.1rem + 4.4vw, 4.25rem);
  line-height: 1.03; font-stretch: 115%; letter-spacing: -.02em;
}
.hero-lead { margin-top: 24px; max-width: 520px; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: var(--text-2); }
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--text-3); }

.hero-art { margin: 8px -24px 0; }
.hero-art svg { width: 100%; max-width: 380px; height: auto; margin: 0 auto; }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 16px; }
}
@media (min-width: 720px) { .hero-art { margin: 8px 0 0; } }
@media (min-width: 1024px) {
  .hero { padding: 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: 680px; gap: 48px; }
  .hero-art svg { max-width: 600px; overflow: visible; }
}

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s cubic-bezier(.2, .7, .2, 1) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Bölümler
   -------------------------------------------------------------------------- */

.section { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); border-bottom: 1px solid var(--line); }

.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3rem); font-stretch: 118%; }
.section-head p { max-width: 420px; color: var(--text-2); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); }
@media (min-width: 900px) {
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
}

/* Kesik köşeli kartlar */
.card {
  --c: 24px;
  display: flex; padding: 1px; background: var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
.card-inner {
  flex: 1; background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--c) + .4px) 0, 100% calc(var(--c) - .4px), 100% 100%, 0 100%);
}
@media (min-width: 1024px) { .card { --c: 32px; } }

/* Uygulama kataloğu */
.apps-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) {
  .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .apps-grid .card { min-height: 520px; }
  .card-feature { grid-column: span 2; }
}

.feature-inner { display: flex; flex-direction: column; }
.feature-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 720px) { .feature-body { padding: 40px; } }
@media (min-width: 1024px) {
  .feature-inner { flex-direction: row; }
  .feature-body { width: 52%; flex-shrink: 0; padding: 48px; }
}

.app-meta { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; }
@media (min-width: 1024px) { .app-icon { width: 72px; height: 72px; } }
.app-kind { font-size: 14px; color: var(--text-2); }
.feature-body h3 { margin-top: 24px; font-size: clamp(1.875rem, 1.6rem + .8vw, 2.25rem); font-stretch: 115%; }
.feature-body > p { margin-top: 12px; max-width: 380px; color: var(--text-2); font-size: clamp(.95rem, .92rem + .2vw, 1.0625rem); }

.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1px solid var(--line-2); font-size: 13px; color: #C9CFD9; }
.chip-soon { border-style: dashed; border-color: rgba(255, 255, 255, .2); color: #8A93A2; }

.card-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
@media (min-width: 560px) { .card-actions { flex-direction: row; width: auto; } }
@media (min-width: 1024px) { .card-actions { margin-top: auto; padding-top: 24px; } }

.feature-visual { position: relative; height: 300px; overflow: hidden; }
.feature-visual::before {
  content: ""; position: absolute; left: 60%; top: -40%;
  width: 1.5px; height: 180%;
  background: var(--product); opacity: .85;
  transform: rotate(35deg);
  box-shadow: 0 0 14px 3px rgba(247, 116, 15, .25);
}
.feature-visual .phone { position: absolute; left: 50%; top: 28px; transform: translateX(-50%) scale(.86); transform-origin: top center; }
@media (min-width: 1024px) {
  .feature-visual { height: auto; flex: 1; }
  .feature-visual .phone { top: 64px; transform: translateX(-50%); }
}

.card-soon { background: var(--line); }
.card-soon .card-inner { background: var(--surface-2); }
.soon-inner { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 240px; }
@media (min-width: 720px) { .soon-inner { padding: 40px; } }
.soon-mark { display: block; width: 2px; height: 56px; margin-left: 20px; background: var(--light); transform: skewX(-35deg); }
.soon-inner h3 { font-size: clamp(1.375rem, 1.25rem + .4vw, 1.625rem); font-stretch: 115%; }
.soon-inner p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.soon-inner a { display: inline-block; margin-top: 14px; font-weight: 500; }

/* Telefon görünümü (örnek ekran) */
.phone {
  width: 280px; height: 572px; padding: 10px;
  border-radius: 46px; background: #04060A;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.phone-screen {
  height: 100%; border-radius: 37px; background: #0F1A2C; overflow: hidden;
  padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 12px;
}
.phone-screen.is-shot { padding: 0; }
.phone-screen.is-shot img { width: 100%; height: 100%; object-fit: cover; }
.ui-top { display: flex; align-items: center; justify-content: space-between; }
.ui-title { font-size: 19px; font-weight: 600; color: #F3F5F8; }
.ui-sub { font-size: 11px; color: #9FB0C8; }
.ui-total { background: #172740; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.ui-amount { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.ui-bar { height: 6px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ui-bar i { display: block; width: 64%; height: 100%; background: var(--product); }
.ui-label { margin-top: 4px; font-size: 12px; font-weight: 600; color: #C9D3E1; }
.ui-row { display: flex; align-items: center; justify-content: space-between; background: #132238; border-radius: 14px; padding: 12px 14px; }
.ui-row b { display: block; font-size: 12px; font-weight: 600; color: #EEF2F7; }
.ui-row small { font-size: 10px; color: #8FA1BB; }
.ui-row > span { font-size: 12px; font-weight: 600; color: #F5A04A; }

/* Nasıl çalışıyoruz */
.steps { display: grid; gap: 36px; }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.step h3 {
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(2.25rem, 1rem + 2.6vw, 3.25rem);
  font-stretch: 125%; letter-spacing: -.02em; line-height: 1.05;
}
.step h3::before { content: ""; flex-shrink: 0; width: 2px; height: .85em; background: var(--light); transform: skewX(-35deg); }
.step p { margin-top: 16px; max-width: 340px; color: var(--text-2); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); }

/* Sözler */
.principles-title { font-size: clamp(1.875rem, 1.3rem + 1.6vw, 2.5rem); font-stretch: 118%; margin-bottom: clamp(32px, 4vw, 56px); }
.principles { display: grid; gap: 36px; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.principle svg { width: 28px; height: 28px; color: #C9CFD9; }
.principle h3 { margin-top: 14px; font-size: 1.25rem; letter-spacing: 0; }
.principle p { margin-top: 10px; max-width: 340px; color: var(--text-2); }

/* Hakkımızda */
.about { display: grid; gap: 32px; align-items: center; }
.about img { width: 220px; height: 220px; }
.about h2 { font-size: clamp(2rem, 1.35rem + 1.8vw, 2.75rem); font-stretch: 118%; line-height: 1.1; }
.about p { margin-top: 20px; max-width: 600px; color: var(--text-2); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
@media (min-width: 900px) {
  .about { grid-template-columns: auto minmax(0, 1fr); gap: 96px; }
  .about img { width: clamp(280px, 28vw, 380px); height: auto; }
}

/* Kapanış çağrısı */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: 18%; top: -20%;
  width: 1.5px; height: 140%;
  background: var(--light); opacity: .55; transform: rotate(35deg);
}
.cta-inner { position: relative; max-width: 780px; }
.cta h2 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 3rem); font-stretch: 118%; line-height: 1.1; }
.cta p { margin-top: 16px; color: var(--text-2); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.cta-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.cta-mail { color: var(--text-2); text-align: center; }
@media (min-width: 560px) {
  .cta-actions { flex-direction: row; align-items: center; gap: 28px; }
  .cta-mail { text-align: left; }
}

/* Alt bilgi */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-top { display: grid; gap: 36px; }
.footer-tag { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.footer-cols { display: grid; gap: 28px; }
.footer-h { font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { display: flex; align-items: center; min-height: 40px; font-size: 15px; color: #C9CFD9; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; line-height: 1.5; color: var(--text-3);
}
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, auto); gap: 72px; } }
@media (min-width: 900px) {
  .site-footer { padding: 72px 0 40px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 64px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Uygulama sayfası
   -------------------------------------------------------------------------- */

.app-hero { position: relative; overflow: hidden; padding: 16px 0 64px; }
.app-hero::before {
  content: ""; position: absolute; left: 78%; top: -30%;
  width: 1.5px; height: 160%;
  background: var(--product); opacity: .85; transform: rotate(35deg);
  box-shadow: 0 0 16px 3px rgba(247, 116, 15, .22);
}
.app-hero .wrap { position: relative; display: grid; gap: 48px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--text-2); }
.back:hover { color: #fff; }
.app-icon-lg { margin-top: 32px; width: 88px; height: 88px; border-radius: 20px; }
.app-hero h1 { margin-top: 24px; font-size: clamp(3rem, 2rem + 3.4vw, 4.5rem); font-stretch: 118%; line-height: 1; letter-spacing: -.02em; }
.app-hero .lead { margin-top: 18px; max-width: 520px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: var(--text-2); }
.store-row { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.soon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 20px;
  border: 1px dashed rgba(255, 255, 255, .22); color: #8A93A2; font-size: 15px;
}
.app-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--text-3); }
.phone-wrap { justify-self: center; }
@media (min-width: 560px) { .store-row { flex-direction: row; align-items: center; gap: 16px; } }
@media (min-width: 1024px) {
  .app-hero { padding: 24px 0 72px; }
  .app-hero .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .phone-wrap { margin: 96px 64px 0 0; }
}

.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 720px) { .feature { padding: 32px; } }
.feature svg { width: 30px; height: 30px; color: var(--product); }
.feature h3 { margin-top: 18px; font-size: 1.25rem; letter-spacing: 0; }
.feature p { margin-top: 10px; color: var(--text-2); }

.privacy { display: grid; gap: 40px; }
.privacy h2 { font-size: clamp(2rem, 1.35rem + 2vw, 2.75rem); font-stretch: 118%; }
.privacy .body { margin-top: 20px; color: var(--text-2); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.privacy-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts li:last-child { border-bottom: 0; }
.facts b { display: block; font-size: 1.25rem; font-weight: 600; color: var(--text-strong); }
.facts span { display: block; margin-top: 6px; color: var(--text-2); }
@media (min-width: 1024px) { .privacy { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 96px; } }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); font-stretch: 118%; }
.notfound p { margin: 16px 0 32px; color: var(--text-2); font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Hareketi azalt tercihi
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw { animation: none; stroke-dashoffset: 0; }
  .btn-primary::after { display: none; }
}

/* Ekran görüntüsü galerisi */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -24px; padding: 0 24px 8px; scrollbar-width: thin;
}
.shot { margin: 0; scroll-snap-align: start; }
.shot img {
  width: 100%; height: auto; border-radius: 28px;
  border: 1px solid var(--line-2); background: #fff;
}
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--text-2); }
@media (min-width: 720px) { .shots { grid-auto-columns: 38%; margin: 0 -48px; padding: 0 48px 8px; } }
@media (min-width: 1024px) {
  .shots { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; margin: 0; padding: 0 0 12px; }
}
