/* PeekWake tanıtım sayfası. Renkler logodan: mürdüm gece, mercan, turkuaz; gündüz bölümleri krem kâğıt. */
:root {
  --night: #120614;
  --night-2: #1d0b20;
  --brick: #a5402c; /* kiremit: kişiler bölümü */
  --paper: #f5ede0;
  --paper-2: #ece1cf;
  --ink: #241326;
  --ink-soft: #6b5468;
  --coral: #e5533d;
  --coral-soft: #f08a6c;
  --teal: #2bb3a6;
  /* Uygulamanın kendi renkleri (Ui.kt): koyu zemin lacivert -> derin turkuaz, düğme turkuaz -> gök mavisi, yeni: turuncu */
  --app-navy: #0b1530;
  --app-deep: #0f3b4c;
  --app-turq: #2bb8a6;
  --app-sky: #1e9bd7;
  --app-orange: #ff8a00;
  --app-menu: #12203f;
  --teal-deep: #1a8f86;
  --cream-text: #f3e7dc;
  --cream-dim: #b9a3b4;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream-text);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; margin: 0; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
em { font-style: italic; font-variation-settings: 'SOFT' 100, 'opsz' 144; }

/* Kâğıt dokusu: çok hafif kumlanma (görsel dosya yok, SVG gürültü). */
.paper, .night, .plum { position: relative; isolation: isolate; }
.paper::before, .night::before, .plum::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Üst çubuk */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(16px, 5vw, 64px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand img { border-radius: 7px; }
.lang {
  background: none; border: 1px solid rgba(243, 231, 220, .3); border-radius: 999px;
  padding: 4px 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em;
}
.lang:hover { border-color: var(--cream-text); }

/* 1. Gece sahnesi */
.night { background: linear-gradient(180deg, #160819 0%, var(--night) 55%, #0d040f 100%); }
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: 'text phone' 'hint phone';
  align-items: center; column-gap: clamp(24px, 6vw, 96px);
  padding: 120px clamp(16px, 5vw, 64px) 80px;
  overflow: clip; /* hidden değil: odak ve tıklama bölümü yana kaydırmasın */
}
.hero::after {
  /* Uyanış: ekranın altından gelen sıcak ışık */
  content: ''; position: absolute; z-index: -1; right: -10%; bottom: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(229, 83, 61, .28), rgba(229, 83, 61, 0));
  pointer-events: none;
}
.hero-text { grid-area: text; max-width: 640px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 104px); line-height: .98; }
.hero h1 em { color: var(--coral-soft); font-weight: 500; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--cream-dim); max-width: 34em; margin: 28px 0 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
/* Mağaza düğmesi: koyu parlak gövde, telefonla aynı metalik kenar */
.store {
  display: inline-flex; align-items: center; gap: 14px; padding: 11px 26px 11px 20px; border-radius: 16px;
  color: #fff; position: relative; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 48%) padding-box,
    linear-gradient(180deg, #232836, #07090e) padding-box,
    linear-gradient(145deg, #f2f2f5, #8d8f97 25%, #e4e5ea 50%, #6c6e77 75%, #c8c9cf) border-box;
  border: 2px solid transparent;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.play-ico { width: 26px; height: 28px; flex: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.store-text { display: grid; line-height: 1.15; font-family: 'Michroma', var(--sans); font-weight: 400; font-size: 14px; letter-spacing: .04em; }
.store-text small { font-size: 8.5px; letter-spacing: .2em; color: #b3c4d6; margin-bottom: 4px; }
.store.small { padding: 8px 18px 8px 14px; gap: 10px; border-radius: 13px; }
.store.small .play-ico { width: 20px; height: 22px; }
.store.small .store-text { font-size: 11.5px; }
.store.small .store-text small { font-size: 7.5px; }
.quiet-link { color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid rgba(185, 163, 180, .4); padding-bottom: 2px; }
.quiet-link:hover { color: var(--cream-text); }
.hint { grid-area: hint; align-self: start; font-family: var(--hand); font-size: 22px; color: var(--teal); margin: 28px 0 0; max-width: 24em; line-height: 1.25; }

/* Telefon */
.phone {
  grid-area: phone; justify-self: center;
  position: relative;
  width: min(320px, 82vw); aspect-ratio: 9 / 19.2;
  border-radius: 48px; padding: 3px;
  /* Metalik (titanyum) kasa: ışık yansımaları kenar boyunca */
  background: linear-gradient(145deg, #f2f2f5 0%, #9a9ca4 14%, #e4e5ea 28%, #6c6e77 46%, #c8c9cf 62%, #7d7f88 80%, #e9eaee 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55),
    0 40px 90px -30px rgba(0, 0, 0, .9),
    0 0 120px -30px rgba(30, 155, 215, .45);
  transform: rotate(2.5deg);
}
/* Yan tuşlar: sağda güç, solda ses */
.phone::before, .phone::after {
  content: ''; position: absolute; width: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #6c6e77, #e4e5ea 45%, #8d8f97);
}
.phone::before { right: -3px; top: 25%; height: 70px; }
.phone::after { left: -3px; top: 18%; height: 110px; }
.screen {
  position: relative; height: 100%; border-radius: 45px; overflow: hidden; text-align: center;
  border: 9px solid #050407;
  /* Uygulamanın koyu teması: lacivert -> derin turkuaz, altta turkuaz ve gök mavisi ışık */
  background:
    radial-gradient(110% 55% at 50% 108%, rgba(43, 184, 166, .55), rgba(43, 184, 166, 0) 70%),
    radial-gradient(70% 45% at 85% 0%, rgba(30, 155, 215, .35), rgba(30, 155, 215, 0) 70%),
    linear-gradient(160deg, var(--app-navy) 0%, var(--app-deep) 100%);
}
.screen::before {
  /* Ön kamera */
  content: ''; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3550, #000 60%); z-index: 3;
}
.lock-time { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 1; margin-top: 56px; letter-spacing: -0.03em; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.lock-date { font-size: 14px; color: #b3c4d6; margin-top: 8px; text-transform: capitalize; }

.notif {
  position: absolute; left: 12px; right: 12px; top: 190px;
  display: grid; gap: 1px; text-align: left; padding: 12px 14px; border-radius: 20px; border: 0;
  background: rgba(255, 255, 255, .13); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-left: 3px solid var(--app-orange);
  font-size: 14px; line-height: 1.35;
  transform: translateY(-24px); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .5s;
}
.notif-app { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .04em; color: #b3c4d6; margin-bottom: 4px; }
.notif-app img { border-radius: 4px; }
.notif:focus-visible, .veil:focus-visible, .again:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[data-stage='notified'] .notif { transform: none; opacity: 1; }
[data-stage='notified'] .notif { animation: nudge 2.6s 1.2s infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateX(-4px); } 96% { transform: translateX(4px); } }

.surprise { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.veil {
  position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 0; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .7);
  font-family: var(--hand); font-size: 30px; color: var(--cream-text);
  opacity: 0; transform: scale(.6); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s;
}
.veil::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(243, 231, 220, .35);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(.94); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.gift { display: grid; justify-items: center; pointer-events: none; opacity: 0; transform: scale(.7); transition: opacity .6s .15s, transform .8s .15s cubic-bezier(.2, .9, .2, 1.2); }
.gift img { width: 150px; height: 150px; object-fit: contain; }
.gift .hand { font-family: var(--hand); font-size: 38px; line-height: 1; margin: 4px 0 0; color: var(--cream-text); }
.gift .from { margin: 6px 0 0; font-size: 13px; color: var(--app-turq); font-weight: 600; }

[data-stage='veiled'] .surprise, [data-stage='open'] .surprise { pointer-events: auto; background: rgba(11, 21, 48, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
[data-stage='veiled'] .veil { opacity: 1; transform: none; }
[data-stage='open'] .veil { opacity: 0; transform: scale(2.4); pointer-events: none; }
[data-stage='open'] .gift { opacity: 1; transform: none; }
[data-stage='veiled'] .notif, [data-stage='open'] .notif { opacity: 0; transform: translateY(-24px); pointer-events: none; animation: none; }

.again {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  border: 0; border-radius: 999px; padding: 7px 20px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--app-turq), var(--app-sky));
  box-shadow: 0 8px 20px -8px rgba(30, 155, 215, .7);
  opacity: 0; pointer-events: none; transition: opacity .4s .9s;
}
[data-stage='open'] .again { opacity: 1; pointer-events: auto; }

/* 2. Gündüz: zaman çizelgesi */
.paper {
  color: var(--ink);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(240, 138, 108, .14), rgba(240, 138, 108, 0) 70%),
    linear-gradient(180deg, #f8f1e6 0%, var(--paper) 50%, #efe4d3 100%);
}
.promise {
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(43, 184, 166, .12), rgba(43, 184, 166, 0) 70%),
    linear-gradient(180deg, #efe4d3 0%, var(--paper) 45%, #f8f1e6 100%);
}
.day { padding: clamp(80px, 12vw, 150px) clamp(16px, 5vw, 64px); }
.day-head { max-width: 1100px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.day-head h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.day-head p { margin: 0; color: var(--ink-soft); font-size: 19px; max-width: 26em; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; }
.timeline li {
  display: grid; grid-template-columns: 120px minmax(0, 520px) 1fr; align-items: center; gap: 28px;
  padding: 18px 0; border-top: 1px solid rgba(36, 19, 38, .12);
}
.timeline li:last-child { border-bottom: 1px solid rgba(36, 19, 38, .12); }
.timeline time { font-family: var(--serif); font-size: 34px; font-variant-numeric: tabular-nums; color: var(--ink); font-variation-settings: 'SOFT' 100, 'opsz' 72; }
.timeline .out, .timeline .self { }
.timeline .out .row { margin-left: 36px; }
.row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: #fffaf2; box-shadow: 0 1px 0 rgba(36, 19, 38, .06), 0 10px 24px -18px rgba(36, 19, 38, .45);
  border: 1.5px solid transparent;
}
.row.new { border-color: var(--app-orange); }
.row.planned { border-style: dashed; border-color: rgba(36, 19, 38, .25); background: transparent; box-shadow: none; }
.row div { display: grid; line-height: 1.35; min-width: 0; }
.row b { font-size: 15px; }
.row span { color: var(--ink); }
.row small { font-size: 12.5px; color: var(--teal-deep); font-weight: 600; margin-top: 2px; }
.ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--app-turq), var(--app-sky)); position: relative; }
.ico::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: #fff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico.note { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/></svg>"); }
.ico.heart { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>"); }
.ico.sun { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5'/><path d='M12 1v3M12 20v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M1 12h3M20 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>"); }
.ico.bell { background: var(--coral); --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 22a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2zm6-6V11c0-3.07-1.64-5.64-4.5-6.32V4a1.5 1.5 0 0 0-3 0v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/></svg>"); }
.ico.dot { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.ico.dot::after { display: none; }
.margin { font-family: var(--hand); font-size: 24px; line-height: 1.1; color: var(--coral); transform: rotate(-2deg); }
.margin::before { content: '← '; opacity: .7; }

/* 3. Kişiler: sıcak kiremit zemin (mor yerine) */
.plum {
  /* Kiremit tonları: sol üstte gün batımı mercanı, sağ altta koyu toprak; kartların arkasında hafif ışık */
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(240, 138, 108, .35), rgba(240, 138, 108, 0) 70%),
    linear-gradient(135deg, #c2553a 0%, #a5402c 45%, #7a2a1e 100%);
}
.people {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 12vw, 150px) clamp(16px, 5vw, 64px);
}
.people-text { max-width: 560px; justify-self: end; }
.people h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; }
.people p { color: rgba(245, 237, 224, .86); font-size: 19px; margin: 24px 0 0; }
.handshake { position: relative; width: min(420px, 100%); height: 300px; }
.card-c {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px;
  background: var(--paper); color: var(--ink); border: 0; min-width: 230px;
  box-shadow: 0 18px 40px -22px rgba(40, 8, 4, .7);
}
.card-c div { display: grid; line-height: 1.3; }
.card-c small { color: var(--ink-soft); font-size: 13px; }
.card-c.a { top: 0; left: 0; transform: rotate(-3deg); }
.card-c.b { top: 96px; right: 0; transform: rotate(2deg); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--night); color: var(--paper); }
.card-c.b .av { background: var(--teal); }
.linked {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%) rotate(-4deg);
  font-family: var(--hand); font-size: 42px; color: var(--paper); white-space: nowrap;
}

/* 4. Simgeler */
.symbols {
  padding: clamp(80px, 12vw, 140px) clamp(16px, 5vw, 64px); text-align: left;
  background:
    radial-gradient(60% 45% at 50% 75%, rgba(30, 155, 215, .14), rgba(30, 155, 215, 0) 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(229, 83, 61, .12), rgba(229, 83, 61, 0) 70%),
    linear-gradient(180deg, #0d040f 0%, var(--night) 100%);
}
.symbols h2 { font-size: clamp(36px, 5vw, 68px); max-width: 1100px; margin: 0 auto; }
.symbols .sub { max-width: 1100px; margin: 10px auto 0; font-family: var(--hand); font-size: 28px; color: var(--coral-soft); }
.shelf {
  list-style: none; padding: 0; max-width: 1100px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.shelf li { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 14px; border-top: 1px solid rgba(243, 231, 220, .14); }
.shelf img { width: 120px; height: 120px; object-fit: contain; }
.shelf span { font-size: 14px; color: var(--cream-dim); letter-spacing: .02em; }

/* 5. Söz */
.promise { padding: clamp(80px, 12vw, 150px) clamp(16px, 5vw, 64px); }
.promise h2 { font-size: clamp(40px, 6vw, 84px); max-width: 1100px; margin: 0 auto; }
.vows { list-style: none; counter-reset: v; padding: 0; max-width: 1100px; margin: 40px auto 0; }
.vows li {
  counter-increment: v; display: grid; grid-template-columns: 70px 1fr; align-items: baseline;
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; padding: 22px 0;
  border-top: 1px solid rgba(36, 19, 38, .14); font-variation-settings: 'SOFT' 50, 'opsz' 48;
}
.vows li::before { content: counter(v, decimal-leading-zero); font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--coral); letter-spacing: .06em; }
.aside { max-width: 1100px; margin: 48px auto 0; font-family: var(--hand); font-size: 26px; color: var(--teal-deep); }

/* Alt bilgi */
.foot {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  padding: 40px clamp(16px, 5vw, 64px); border-top: 1px solid rgba(243, 231, 220, .08);
  background: linear-gradient(180deg, var(--night), #08020a);
}
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 9px; }
.foot-brand div { display: grid; line-height: 1.3; }
.foot-brand span { color: var(--cream-dim); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.foot nav a { color: var(--cream-dim); text-decoration: none; }
.foot nav a:hover { color: var(--cream-text); }

/* Dar ekran */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: 'text' 'phone' 'hint'; padding-top: 100px; row-gap: 48px; min-height: auto; }
  .hint { text-align: center; justify-self: center; margin: 0; }
  .phone { transform: none; }
  .day-head { grid-template-columns: 1fr; gap: 16px; }
  .timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px; }
  .timeline time { font-size: 22px; }
  .timeline .margin { grid-column: 2; font-size: 21px; }
  .timeline .margin::before { content: '↑ '; }
  .timeline .out .row { margin-left: 18px; }
  .people { grid-template-columns: 1fr; }
  .people-text { justify-self: start; }
  .handshake { justify-self: center; height: 260px; }
  .card-c { min-width: 0; width: 82%; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf img { width: 96px; height: 96px; }
  .vows li { grid-template-columns: 44px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
