/* wintero.de — tanıtım sitesi görünüşü. Renkler ve yazı tipi programla aynı (wintero/src/styles.css). */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/font/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/font/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/font/noto-sans-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/font/noto-sans-arabic-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --card: #fffdf9;
  --ink: #1d2126;
  --ink-2: #4b5157;
  --ink-3: #6f757b;
  --line: #ddd6ca;
  --copper: #b8652a;
  --copper-2: #9b5120;
  --copper-soft: #f3e3d4;
  /* koyu zemindeki ana düğmeler: logodaki W harfinin üstündeki sarı (yazı koyu). Açık zeminde düğmeler bakır kalır. */
  --button: #e6d784;
  --button-2: #d8c463;
  --measure: #e6d784; /* programdaki ölçü çizgisi sarısı */
  --measure-ink: #8a7a2c;
  --night: #15181c;
  --night-2: #22262b;
  --night-ink: #d9d4ca;
  --r-s: 10px;
  --r: 16px;
  --r-l: 26px;
  --shadow: 0 1px 2px rgba(29, 33, 38, 0.06), 0 10px 30px rgba(29, 33, 38, 0.1);
  --shadow-l: 0 2px 4px rgba(29, 33, 38, 0.06), 0 24px 60px rgba(29, 33, 38, 0.16);
  --font: 'Figtree', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --max: 1200px;
  color-scheme: light;
}
@media (min-width: 700px) {
  :root { --gutter: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir='rtl'] body { font-family: 'Noto Sans Arabic', 'Figtree', system-ui, sans-serif; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-2); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 750; text-wrap: balance; }
html[dir='rtl'] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }

.kap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.atla { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.atla:focus { top: 12px; }

.ikon { width: 20px; height: 20px; flex: none; }
.ikon.kucuk { width: 14px; height: 14px; }
.ikon.buyuk { width: 30px; height: 30px; color: var(--copper); }
html[dir='rtl'] .ikon.yon { transform: scaleX(-1); }

/* ---------- düğmeler ---------- */
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: var(--r-s); border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.dugme.ana { background: var(--copper); color: #fff; }
.dugme.ana:hover { background: var(--copper-2); }
/* koyu zeminde: logodaki sarı */
:is(.son-kutu, .aksam, .demo) .dugme.ana { background: var(--button); color: var(--ink); }
:is(.son-kutu, .aksam, .demo) .dugme.ana:hover { background: var(--button-2); }
.dugme.cizgi { border-color: var(--ink); color: var(--ink); background: transparent; }
.dugme.cizgi:hover { background: var(--ink); color: #fff; }
.dugme.acik { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.dugme.acik:hover { background: #fff; color: var(--ink); }
.dugme.kucuk { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.dugme:active { transform: translateY(1px); }
.dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ölçü çizgisi başlığı (programdaki ölçü okları gibi) ---------- */
.olcu { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--measure-ink); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
html[dir='rtl'] .olcu { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.olcu::before, .olcu::after { content: ''; height: 10px; flex: 0 0 26px; background:
  linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
  linear-gradient(currentColor, currentColor) left center / 1.5px 100% no-repeat; }
.olcu::after { transform: scaleX(-1); }
.olcu span { min-width: 0; }

/* ---------- üst şerit ---------- */
.ust-serit { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, 0.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.ust-serit.golge { border-bottom-color: var(--line); }
.ust-ic { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.55rem; letter-spacing: -0.02em; }
.logo svg { width: 38px; height: 38px; }
@media (min-width: 980px) {
  .logo { gap: 12px; font-size: 1.8rem; }
  .logo svg { width: 42px; height: 42px; }
}
.ana-menu { display: none; gap: 4px; margin-inline-start: auto; }
.ana-menu a:not(.dugme) { color: var(--ink-2); text-decoration: none; font-weight: 550; padding: 10px 12px; border-radius: 8px; }
.ana-menu a:not(.dugme):hover { color: var(--ink); background: var(--paper-2); }
.menu-dugme { display: none; }
.ust-sag { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.masaustu { display: none; }
.menu-ac { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-ac:hover { background: var(--paper-2); }

.dil-sec { position: relative; }
.dil-sec summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 10px; cursor: pointer; font-weight: 650; font-size: 0.9rem; color: var(--ink-2); }
.dil-sec summary::-webkit-details-marker { display: none; }
.dil-sec summary:hover, .dil-sec[open] summary { background: var(--paper-2); color: var(--ink); }
.dil-sec ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 170px; }
.dil-sec a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.dil-sec a:hover { background: var(--paper-2); }
.dil-sec a[aria-current] { font-weight: 700; color: var(--copper-2); }

/* telefonda açılan menü */
.ana-menu.acik { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.ana-menu.acik a:not(.dugme) { padding: 14px 12px; font-size: 1.1rem; }
.ana-menu.acik .menu-dugme { display: inline-flex; margin-top: 10px; }

@media (min-width: 980px) {
  .ana-menu { display: flex; align-items: center; }
  .ust-sag { margin-inline-start: 0; }
  .masaustu { display: inline-flex; }
  .menu-ac { display: none; }
}

/* ---------- giriş ---------- */
.giris { padding-block: 40px 72px; overflow: hidden; }
.giris-ic { display: grid; gap: 44px; align-items: center; }
.giris-ic > *, .sira > *, .aksam-ic > *, .sss-ic > *, .alt-ic > * { min-width: 0; }
.giris-metin h1 { margin-bottom: 22px; }
.buyuk { font-size: 1.15rem; color: var(--ink-2); max-width: 40ch; margin-bottom: 30px; }
.gercekler { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 8px 22px; color: var(--ink-2); font-size: 0.95rem; }
.gercekler li { display: flex; align-items: center; gap: 8px; }
.gercekler .ikon, .tikler .ikon { color: var(--copper); width: 18px; height: 18px; }
.giris-gorsel { position: relative; padding-bottom: 40px; }
.cihaz { background: var(--ink); padding: 8px; border-radius: 18px; box-shadow: var(--shadow-l); }
.cihaz img { border-radius: 11px; }
.dizustu { margin-inline-end: 0; }
.telefon { position: absolute; inset-inline-start: -6px; bottom: 0; width: 26%; max-width: 190px; padding: 5px; border-radius: 22px; }
.telefon img { border-radius: 17px; }
@media (min-width: 560px) { .gercekler { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .giris { padding-block: 56px 48px; }
  .giris-ic { grid-template-columns: 5fr 7fr; gap: 56px; }
  .giris-gorsel { margin-inline-end: calc(-1 * min(120px, (100vw - var(--max)) / 2 + var(--gutter) - 20px)); padding-bottom: 56px; }
  .telefon { inset-inline-start: -48px; width: 22%; }
}

/* ---------- bölümler ---------- */
.bolum { padding-block: 72px; }
@media (min-width: 1000px) { .bolum { padding-block: 104px; } }
.bas { max-width: 720px; margin-bottom: 40px; }
.bas h2 { margin-bottom: 14px; }
.bas p { color: var(--ink-2); font-size: 1.1rem; }
h2.dar { max-width: 18ch; margin-bottom: 40px; }

/* ürünler */
.urunler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.urun { margin: 0; }
.urun img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--paper-2); transition: transform 0.3s; }
.urun figcaption { margin-top: 10px; font-weight: 650; }
.urun:last-child { grid-column: 1 / -1; }
.urun:last-child img { aspect-ratio: 16 / 9; }
@media (min-width: 700px) {
  .urunler { grid-template-columns: repeat(6, 1fr); }
  .urun { grid-column: span 2; }
  .urun:nth-child(4), .urun:nth-child(5) { grid-column: span 3; }
  .urun:last-child img { aspect-ratio: 4 / 3; }
}
@media (min-width: 1100px) {
  .urunler { grid-template-columns: repeat(5, 1fr); }
  .urun, .urun:nth-child(4), .urun:nth-child(5) { grid-column: auto; }
  .urun img { aspect-ratio: 3 / 4; }
  .urun:last-child img { aspect-ratio: 3 / 4; }
}

/* özellik sıraları */
.sira { display: grid; gap: 36px; align-items: center; }
.sira-metin h2 { margin-bottom: 16px; }
.sira-metin > p { color: var(--ink-2); }
.sira-gorsel img.yuvarlak { border-radius: var(--r-l); box-shadow: var(--shadow); }
.sira-gorsel img.ekran { border-radius: var(--r); box-shadow: var(--shadow-l); border: 1px solid var(--line); }
@media (min-width: 1000px) {
  .sira { grid-template-columns: 5fr 7fr; gap: 72px; }
  .sira.ters { grid-template-columns: 7fr 5fr; }
  .sira.ters .sira-metin { order: 2; }
}
.tikler { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.tikler li { display: flex; gap: 10px; align-items: flex-start; }
.tikler .ikon { margin-top: 3px; }
.not { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; color: var(--ink-3); font-size: 0.9rem; }
.not .ikon { width: 18px; height: 18px; margin-top: 2px; }
.not.orta { justify-content: center; text-align: center; margin-top: 16px; }

/* akşam bandı */
.aksam { background: var(--night); color: #fff; padding-block: 72px; overflow: hidden; }
.aksam-ic { display: grid; gap: 36px; align-items: center; }
.aksam .olcu { color: var(--measure); }
.aksam h2 { margin-bottom: 16px; }
.aksam p { color: var(--night-ink); max-width: 46ch; }
.aksam-gorsel img { border-radius: var(--r-l); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
@media (min-width: 1000px) {
  .aksam { padding-block: 104px; }
  .aksam-ic { grid-template-columns: 4fr 8fr; gap: 64px; }
  .aksam-gorsel { margin-inline-end: calc(-1 * min(140px, (100vw - var(--max)) / 2 + var(--gutter) - 20px)); }
}

/* diğer özellikler: kartsız liste, üstte ince çizgi */
.daha { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.daha li { border-top: 1px solid var(--line); padding-block: 26px 30px; }
.daha .ikon.buyuk { display: block; }
.daha h3 { margin: 14px 0 6px; }
.daha p { color: var(--ink-2); }
.yakinda { margin-top: 10px !important; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; color: var(--ink-3) !important; }
.yakinda span { background: var(--measure); color: var(--ink); font-weight: 700; font-size: 0.75rem; padding: 2px 8px; border-radius: 99px; }
@media (min-width: 700px) { .daha { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .daha { grid-template-columns: repeat(3, 1fr); } }

/* sitede çizim ekranı (canlı deneme) */
.planlayici { background: var(--paper-2); }
.planlayici .bas { margin-inline: auto; text-align: center; }
.planlayici .olcu { justify-content: center; }
.demo { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-l); }
.demo-kapak { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; opacity: 0.55; filter: saturate(0.7); }
.demo-dugme { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px); min-height: 60px; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.demo-dugme .ikon { width: 18px; height: 18px; fill: currentColor; }
.demo iframe { display: block; width: 100%; height: min(80vh, 760px); min-height: 560px; border: 0; background: var(--paper); }

/* adımlar: aralarında ölçü çizgisi */
.adimlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: a; }
.adimlar li { position: relative; padding-top: 4px; }
.adimlar .no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; margin-bottom: 16px; }
.adimlar h3 { margin-bottom: 6px; }
.adimlar p { color: var(--ink-2); }
@media (min-width: 900px) {
  .adimlar { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .adimlar li:not(:last-child)::after {
    content: ''; position: absolute; top: 26px; inset-inline-start: 58px; inset-inline-end: -18px; height: 10px; color: var(--measure-ink); opacity: 0.6;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) left center / 1.5px 100% no-repeat,
      linear-gradient(currentColor, currentColor) right center / 1.5px 100% no-repeat;
  }
}

/* sorular */
.sss-ic { display: grid; gap: 28px; }
@media (min-width: 1000px) { .sss-ic { grid-template-columns: 4fr 8fr; gap: 64px; } }
.sss details { border-bottom: 1px solid var(--line); }
.sss details:first-child { border-top: 1px solid var(--line); }
.sss summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-weight: 650; font-size: 1.08rem; cursor: pointer; }
.sss summary::-webkit-details-marker { display: none; }
.sss summary .ikon { color: var(--ink-3); transition: transform 0.2s; }
.sss details[open] summary .ikon { transform: rotate(180deg); }
.sss details p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* son çağrı */
.son { padding-block: 24px 88px; }
.son-kutu { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 48px 24px; text-align: center; position: relative; overflow: hidden; }
.son-kutu::before { content: ''; position: absolute; inset-inline: 10%; top: 24px; height: 10px; color: var(--measure); opacity: 0.5;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 1.5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right center / 1.5px 100% no-repeat; }
.son-kutu h2 { max-width: 20ch; margin: 10px auto 14px; }
.son-kutu > p { color: var(--night-ink); margin-bottom: 30px; }
.son-kutu .dugmeler { justify-content: center; }
.son-eposta { margin-top: 22px !important; }
.son-eposta a { color: var(--night-ink); }
@media (min-width: 700px) { .son-kutu { padding: 72px 48px; } }

/* alt bilgi */
.alt { border-top: 1px solid var(--line); padding-block: 44px calc(44px + env(safe-area-inset-bottom)); font-size: 0.95rem; color: var(--ink-2); }
.alt-ic { display: grid; gap: 28px; }
.alt p { margin-top: 10px; }
.alt a { color: var(--ink-2); }
.alt-diller { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.alt-diller a { display: inline-block; padding-block: 8px; text-decoration: none; }
.alt-diller a[aria-current] { color: var(--ink); font-weight: 700; }
.alt-yasal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-3); }
@media (min-width: 800px) { .alt-ic { grid-template-columns: 1fr auto; } }

/* çerez bilgi kutusu */
.cerez { position: fixed; z-index: 80; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 560px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l); font-size: 0.9rem; line-height: 1.5; }
.cerez[hidden] { display: none; }
.cerez p { flex: 1; color: var(--ink-2); }
.cerez b { color: var(--ink); }
.cerez .dugme { flex: none; }
@media (max-width: 520px) { .cerez { flex-direction: column; align-items: stretch; } }

/* kök sayfa (dil seçimi; script çalışmazsa görünür) */
.kok-sec { min-height: 100vh; display: grid; place-content: center; gap: 24px; text-align: center; padding: 24px; }
.kok-sec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kok-sec ul a { display: inline-block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--card); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
