/* HandyNote tanıtım sitesi. Renkler uygulamanın varsayılan teması (ikon gradyanı #D0AF34 → #BAD85A),
   kağıt ve defter çizgileri not ekranından, yazı tipleri uygulamadaki OFL lisanslı fontlardan. */

@font-face { font-family: "Lora"; src: url("fonts/Lora-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Rusça/Ukraynaca ve Vietnamca harfler: uygulamadaki fontlardan alt küme, yalnız o harfler gerekince yüklenir */
@font-face { font-family: "Lora"; src: url("fonts/Lora-Regular-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Regular-vietnamese.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Bold-cyrillic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Bold-vietnamese.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Regular-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Regular-vietnamese.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Bold-cyrillic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Bold-vietnamese.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-Regular-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116; }

:root {
  --a1: #d0af34;
  --a2: #bad85a;
  --paper: #fbf8f0;
  --paper-2: #f4efe1;
  --card: #fffdf8;
  --ink: #25231c;
  --ink-2: #5f5a4b;
  --rule: rgba(70, 58, 20, 0.13);
  --edge: rgba(70, 58, 20, 0.18);
  --a-ink: color-mix(in oklab, var(--a1) 52%, #1a1600);
  --on-a: #1f1c10;
  --shadow: 0 18px 40px -18px rgba(60, 45, 0, 0.35), 0 2px 6px rgba(60, 45, 0, 0.08);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1120px;
  color-scheme: light;
}

/* Koyu tema: uygulamadaki gibi tema renginin koyu tonları, katmanlar birbirinden ayrık */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1a15;
    --paper-2: #222119;
    --card: #2a2820;
    --ink: #eeeadd;
    --ink-2: #aba591;
    --rule: rgba(255, 244, 205, 0.09);
    --edge: rgba(255, 244, 205, 0.14);
    --a-ink: color-mix(in oklab, var(--a1) 78%, #fff);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1a15;
  --paper-2: #222119;
  --card: #2a2820;
  --ink: #eeeadd;
  --ink-2: #aba591;
  --rule: rgba(255, 244, 205, 0.09);
  --edge: rgba(255, 244, 205, 0.14);
  --a-ink: color-mix(in oklab, var(--a1) 78%, #fff);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: var(--a-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--a-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -0.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hand { font-family: var(--hand); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Uygulamadaki üst şerit: tema renginden komşu tona geçen ince bant */
.band { height: 5px; background: linear-gradient(90deg, var(--a1), var(--a2)); }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  transition: background-color 0.3s;
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.tile {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.tile svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.tools { display: flex; align-items: center; gap: 6px; }
.chip {
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.04em;
  height: 34px; min-width: 34px; padding: 0 10px; border-radius: 17px;
  background: transparent; color: var(--ink-2); border: 1px solid var(--edge); cursor: pointer;
  display: inline-grid; place-items: center;
}
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip svg { width: 18px; height: 18px; }
.chip [data-icon] { display: none; }
:root:not([data-theme]) .chip [data-icon="system"],
:root[data-theme="light"] .chip [data-icon="light"],
:root[data-theme="dark"] .chip [data-icon="dark"] { display: block; }
/* Dil seçici: görünen kısım kod (TR, DE…), tıklanınca telefonun/tarayıcının kendi listesi açılır */
.lang-pick { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px 0 8px; }
.lang-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; }
.lang-pick:focus-within { outline: 2px solid var(--a1); outline-offset: 2px; }

/* ---------- Giriş ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--hand); font-size: 1.6rem; color: var(--a-ink); margin: 0 0 8px; line-height: 1; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 14ch; }
.hero h1 .u { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--a1) 45%, transparent) 62%, color-mix(in srgb, var(--a2) 45%, transparent) 92%, transparent 92%); padding: 0 2px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36ch; margin: 22px 0 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 190px; padding: 10px 20px 11px; border-radius: 12px; text-decoration: none;
  background: var(--ink); color: var(--paper); line-height: 1.15;
  transition: transform 0.15s ease;
}
.store:hover { transform: translateY(-2px); }
.store small { font-size: 0.78rem; opacity: 0.75; }
.store b { font-size: 1.15rem; }
.store.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: 0.95rem; }
.facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--a1); margin-right: 8px; vertical-align: 2px; }

.stage { position: relative; height: 600px; }
.phone {
  position: relative; border-radius: 34px; padding: 9px; background: #15140f;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; background: #ddd; }
.stage .phone { position: absolute; width: 262px; }
.stage .back { right: 6%; top: 40px; transform: rotate(4deg); opacity: 0.97; }
.stage .front { left: 6%; top: 0; transform: rotate(-3deg); z-index: 2; }
.note-hand {
  position: absolute; z-index: 3; left: -6%; bottom: 46px; width: 190px;
  font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--a-ink); transform: rotate(-4deg);
}
.note-hand svg { width: 70px; height: 44px; display: block; margin: 0 0 2px 90px; }

/* Kalem işareti: çizgi açılışta yazılır (uygulamanın açılış canlandırması gibi) */
.mark-line { stroke-dasharray: 1000; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero .tile .mark-line, .brand .tile .mark-line { animation: write 1.1s 0.2s cubic-bezier(.6, .1, .3, 1) both; }
}
@keyframes write { from { stroke-dashoffset: 1000; } }

/* ---------- Bölüm başlıkları (uygulamadaki "Sabitlenenler 2" başlığı gibi) ---------- */
section { padding: 84px 0; }
.alt-bg { background: var(--paper-2); }
.sec { display: flex; align-items: center; gap: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; hyphens: auto; }
.sec::before { content: ""; width: 5px; align-self: stretch; margin: 6px 0; border-radius: 3px; background: linear-gradient(var(--a1), var(--a2)); }
.sec .count { font: 700 0.9rem/1 var(--sans); padding: 5px 10px; border-radius: 12px; background: color-mix(in srgb, var(--a1) 22%, transparent); color: var(--a-ink); }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--rule); margin-left: 8px; }
.intro { color: var(--ink-2); max-width: 60ch; font-size: 1.1rem; margin-bottom: 40px; }

/* ---------- Özellikler: solda defter sayfası, sağda yapışkan telefon ---------- */
.features { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.group { padding: 8px 0 48px; }
.group + .group { border-top: 1px dashed var(--edge); padding-top: 40px; }
.group header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.group h3 { font-size: 1.55rem; }
.group .tag { font-family: var(--hand); font-size: 1.35rem; color: var(--a-ink); }
/* Defter çizgisi: maddeler satır çizgilerinin üstüne yazılır */
.ruled { list-style: none; margin: 0; padding: 0; --lh: 2.15rem; }
.ruled li {
  position: relative; padding: 0.35rem 0 0.3rem 26px; line-height: 1.45;
  border-bottom: 1px solid var(--rule);
}
.ruled li::before {
  content: ""; position: absolute; left: 4px; top: 0.95rem; width: 8px; height: 8px; border-radius: 2px;
  background: var(--a1); transform: rotate(45deg);
}
.ruled b { font-weight: 700; }
.pill { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 7px 4px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; background: var(--ink); color: var(--paper); }

.sticky { position: sticky; top: 104px; }
.sticky .phone { width: 280px; }
.sticky .phone img { transition: opacity 0.25s ease; }
.sticky .phone img.fade { opacity: 0; }
.sticky .cap { font-family: var(--hand); font-size: 1.35rem; color: var(--ink-2); text-align: center; margin-top: 14px; min-height: 2em; }

/* Etkileşimli liste kartı: uygulamadaki not kartı (sol renk şeridi, işaret kutuları, sayaç) */
.notecard {
  margin-top: 22px; max-width: 420px; background: #dcead8; color: #23301f; border-radius: 6px;
  padding: 12px 16px 12px 22px; position: relative; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.notecard::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 5px; border-radius: 3px; background: #3c8b3c; }
.notecard .t { font-size: 1.25rem; display: flex; justify-content: space-between; }
.notecard .t small { font-size: 0.85rem; opacity: 0.7; }
.notecard ul { list-style: none; margin: 8px 0; padding: 0; }
.notecard li { border-bottom: 1px solid rgba(35, 48, 31, 0.15); }
.notecard label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; user-select: none; }
.notecard input { width: 18px; height: 18px; accent-color: #3c8b3c; margin: 0; }
.notecard input:checked + span { text-decoration: line-through; opacity: 0.55; }
.notecard .foot { display: flex; gap: 10px; font-size: 0.9rem; opacity: 0.8; }
:root[data-theme="dark"] .notecard { background: #34452f; color: #e7f0e2; }
:root[data-theme="dark"] .notecard li { border-color: rgba(231, 240, 226, 0.14); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .notecard { background: #34452f; color: #e7f0e2; }
  :root:not([data-theme="light"]) .notecard li { border-color: rgba(231, 240, 226, 0.14); }
}

/* Tema paleti: uygulamadaki 24 rengin aynısı; seçilen renk sitenin rengi olur */
.palette { display: grid; grid-template-columns: repeat(12, 30px); gap: 10px; margin: 22px 0 6px; }
.palette button {
  width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); transition: transform 0.15s;
}
.palette button:hover { transform: scale(1.12); }
.palette button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.palette-note { font-family: var(--hand); font-size: 1.3rem; color: var(--ink-2); }

/* ---------- Premium ---------- */
.premium { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.price { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 6px 0 16px; }
.price em { font-style: normal; background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticket {
  background: var(--card); border: 1px solid var(--edge); border-radius: 14px; padding: 8px 26px;
  box-shadow: var(--shadow);
}
.ticket dl { margin: 0; }
.ticket div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--edge); }
.ticket div:last-child { border-bottom: 0; }
.ticket dt { font-weight: 700; }
.ticket dd { margin: 0; color: var(--ink-2); }
.free { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Ekranlar ---------- */
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.arrows { display: flex; gap: 8px; margin-bottom: 18px; }
.arrows .chip { width: 42px; height: 42px; border-radius: 21px; }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 24px 26px;
  scrollbar-width: thin; scrollbar-color: var(--edge) transparent;
  max-width: var(--wrap); margin: 0 auto;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots .phone { border-radius: 28px; padding: 7px; }
.shots .phone img { border-radius: 22px; }
.shots figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.4; }
.shots figcaption b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- Gizlilik özeti ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.privacy blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4;
  padding-left: 22px; border-left: 3px solid var(--a1);
}
.privacy ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--ink-2); }
.privacy li { margin-bottom: 8px; }
.privacy li::marker { color: var(--a-ink); }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.mail { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2.2rem); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--a1); word-break: break-all; }
.mail:hover { border-bottom-color: var(--a2); }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--ink-2); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--ink-2); }

/* ---------- Gizlilik sayfası ---------- */
.doc { max-width: 760px; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 10px; }
.doc h2 { font-size: 1.35rem; margin: 2.2em 0 0.6em; }
.doc .meta { color: var(--ink-2); }
.doc li { margin-bottom: 8px; }
.doc code { font-size: 0.9em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.doc hr { display: none; }
html[lang="tr"] .doc [lang="en"], html[lang="en"] .doc [lang="tr"] { display: none; }

/* ---------- Dar ekran ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding-top: 40px; }
  .hero .wrap, .premium, .privacy, .contact { grid-template-columns: 1fr; gap: 36px; }
  .stage { height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
  .stage .phone { width: 205px; }
  .stage .front { left: 2%; }
  .stage .back { right: 2%; }
  .note-hand { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sticky { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .top .wrap { gap: 10px; }
  .brand span { font-size: 1.05rem; }
  .lead { font-size: 1.08rem; }
  .store { flex: 1 1 100%; }
  .stage { height: 400px; }
  .stage .phone { width: 172px; padding: 7px; border-radius: 26px; }
  .stage .phone img { border-radius: 20px; }
  .palette { grid-template-columns: repeat(8, 30px); column-gap: min(10px, calc((100% - 240px) / 7)); }
  .ticket { padding: 4px 18px; }
  .ticket div { grid-template-columns: 1fr; gap: 2px; }
  .shots { grid-auto-columns: 62vw; gap: 18px; padding: 12px 18px 22px; }
  .arrows { display: none; }
  .sec { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
