/* Cotton Isles sitesi: oyunun pastel paleti (ContentView.swift renkleri), yuvarlak yazı, çıkartma kartlar.
   HTML'yi cottonisles-build.py üretir; bu dosya elle düzenlenir. */
:root {
  --ink: #6c4e62;
  --ink-2: #8a7083;
  --ink-3: #a8949f;
  --cream: #fffaf4;
  --paper: #ffffff;
  --lavender: #b29edc;
  --lavender-2: #e9e2f7;
  --mint: #6ec496;
  --mint-2: #dff3e7;
  --berry: #ee6c7a;
  --berry-2: #fde3e6;
  --gold: #ffcc66;
  --gold-2: #fff1d4;
  --sky: #a9dbea;
  --sky-2: #e4f4f8;
  --sea: #8fcfe2;
  --night: #2d2a4f;
  --shadow: 0 10px 30px rgba(150, 128, 190, .18), 0 2px 6px rgba(150, 128, 190, .12);
  --radius: 28px;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 500 17px/1.6 "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- üst menü */
.nav {
  position: sticky; top: 0; z-index: 20;
  padding: 12px 0;
  transition: background .25s, box-shadow .25s;
}
.nav.stuck { background: rgba(255, 250, 244, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(108, 78, 98, .08); }
.nav .wrap { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 19px; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 10px rgba(238, 108, 122, .25); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; color: var(--ink-2); }
.nav ul a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.lang { display: flex; background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px rgba(108, 78, 98, .08); }
.lang a { padding: 5px 10px; border-radius: 999px; font-weight: 900; font-size: 13px; text-decoration: none; color: var(--ink-3); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(108, 78, 98, .15); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 900; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.pill.soon { background: var(--lavender); }
@media (max-width: 760px) {
  .nav ul { display: none; }
  .lang { margin-left: auto; }
  .pill .lg { display: none; }
  .nav .wrap { gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .pill { padding: 8px 13px; font-size: 13px; }
}

/* ---------------------------------------------------------------- mağaza düğmesi */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px 11px 18px; border-radius: 18px;
  background: #1d1a24; color: #fff; text-decoration: none;
  box-shadow: 0 8px 20px rgba(29, 26, 36, .25);
  transition: transform .2s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 19px; }
.store small { font-size: 11px; font-weight: 700; opacity: .8; letter-spacing: .02em; }
.store.soon { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); cursor: default; }
.store.soon svg { fill: var(--ink); }
.store.soon:hover { transform: none; }

/* ---------------------------------------------------------------- giriş */
.hero {
  position: relative; overflow: hidden;
  margin-top: -64px; padding: 112px 0 40px;
  background:
    radial-gradient(120px 46px at 12% 22%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(160px 54px at 86% 14%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(130px 44px at 70% 58%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(180deg, #bfe6f1 0%, #d8f0f5 55%, var(--cream) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); font-weight: 800; font-size: 14px; color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(108, 78, 98, .08);
}
.chip img { width: 20px; height: 20px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--berry); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.cta .note { font-weight: 800; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.cta .note::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-2); }

.stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.stage .isle { position: absolute; width: 34%; filter: drop-shadow(0 14px 18px rgba(60, 120, 150, .22)); animation: bob 7s ease-in-out infinite; }
.stage .isle.a { left: -6%; top: 10%; }
.stage .isle.b { right: -4%; top: 2%; width: 28%; animation-delay: -2.5s; }
.stage .isle.c { right: 0; bottom: 4%; width: 30%; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .stage .isle, .float { animation: none !important; } }

/* telefon çerçevesi */
.phone {
  position: relative; width: min(290px, 70vw); aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 9px; background: #fff;
  box-shadow: 0 30px 60px rgba(90, 70, 120, .25), 0 0 0 1px rgba(108, 78, 98, .06);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone.tilt { transform: rotate(3deg); }
.phone.tilt-l { transform: rotate(-3deg); }

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .stage { min-height: 0; padding: 20px 0 10px; }
  .stage .isle { width: 30%; }
}

/* ---------------------------------------------------------------- bölümler */
section { padding: 84px 0; }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 12px 0 12px; }
.head p { color: var(--ink-2); font-size: 18px; }
.eyebrow { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--berry); }

/* ek · sula · hasat */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: var(--shadow); text-align: center;
}
.step .ic { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; }
.step .ic img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .08)); }
.step:nth-child(1) .ic { background: var(--gold-2); }
.step:nth-child(2) .ic { background: var(--sky-2); }
.step:nth-child(3) .ic { background: var(--mint-2); }
.step .n { position: absolute; top: 16px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lavender-2); color: var(--lavender); font-weight: 900; font-size: 15px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* özellik satırları */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 2px dashed rgba(178, 158, 220, .35); }
.feature.flip .shot { order: 2; }
.feature .shot { display: grid; place-items: center; position: relative; }
.feature .shot::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blob, var(--lavender-2)), transparent);
}
.feature .phone { width: min(270px, 66vw); }
.feature h3 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; }
.feature p { color: var(--ink-2); font-size: 18px; }
.feature .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 14px; color: var(--ink-2); background: var(--paper); padding: 6px 12px 6px 6px; border-radius: 999px; box-shadow: 0 2px 8px rgba(108, 78, 98, .08); }
.feature .tag img { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 26px; text-align: center; padding: 34px 0; }
  .feature.flip .shot { order: 0; }
}

/* komşu portreleri */
.faces { display: flex; flex-wrap: wrap; gap: 14px 10px; margin-top: 22px; }
.face { width: 84px; text-align: center; }
.face img { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(108, 78, 98, .15); }
.face b { display: block; font-size: 13px; font-weight: 900; line-height: 1.2; }
.face small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 860px) { .faces { justify-content: center; } }

/* ada şeridi */
.isles { display: flex; gap: 14px; overflow-x: auto; padding: 8px 16px 18px; margin: 26px -16px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.isles::-webkit-scrollbar { display: none; }
.islet { flex: 0 0 132px; scroll-snap-align: start; background: var(--paper); border-radius: 22px; padding: 12px 10px 10px; text-align: center; box-shadow: 0 4px 14px rgba(108, 78, 98, .1); }
.islet img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.islet b { display: block; font-size: 13px; font-weight: 900; line-height: 1.25; margin-top: 4px; }
.islet small { display: block; font-size: 11px; font-weight: 800; color: var(--ink-3); }

/* sürprizler */
.bits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bit { background: var(--paper); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.bit .ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; margin-bottom: 12px; }
.bit .ic img { width: 38px; height: 38px; object-fit: contain; }
.bit .ic.r { border-radius: 50%; overflow: hidden; }
.bit .ic.r img { width: 100%; height: 100%; object-fit: cover; }
.bit h3 { font-size: 19px; margin-bottom: 6px; }
.bit p { color: var(--ink-2); font-size: 15.5px; }
.t-gold { background: var(--gold-2); } .t-sky { background: var(--sky-2); } .t-mint { background: var(--mint-2); }
.t-berry { background: var(--berry-2); } .t-lav { background: var(--lavender-2); }
@media (max-width: 900px) { .bits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bits { grid-template-columns: 1fr; } }

/* gece bandı */
.night {
  background: radial-gradient(2px 2px at 12% 20%, #fff, transparent), radial-gradient(2px 2px at 30% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 62% 30%, #fff, transparent), radial-gradient(2px 2px at 84% 64%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 48% 88%, #fff, transparent),
    linear-gradient(180deg, #3a3563 0%, var(--night) 100%);
  color: #f4eefb; border-radius: 40px; margin: 0 16px; overflow: hidden;
}
.night .feature { padding: 10px 0; }
.night h3 { color: #fff; }
.night p { color: #d8cfe8; }
.night .eyebrow { color: var(--gold); }
.night .feature .shot::before { --blob: rgba(255, 204, 102, .28); }
.night .phone { background: #4a4478; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* ilkeler */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--paper); border-radius: 24px; padding: 22px 20px; box-shadow: var(--shadow); }
.promise .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.promise .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.promise:nth-child(1) .ic { background: var(--lavender-2); color: var(--lavender); }
.promise:nth-child(2) .ic { background: var(--mint-2); color: var(--mint); }
.promise:nth-child(3) .ic { background: var(--gold-2); color: #d9a23a; }
.promise:nth-child(4) .ic { background: var(--berry-2); color: var(--berry); }
.promise h3 { font-size: 18px; margin-bottom: 6px; }
.promise p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* sık sorulanlar */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 22px; box-shadow: 0 3px 12px rgba(108, 78, 98, .08); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 900; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--lavender-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b29edc' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* son çağrı */
.final { text-align: center; }
.final .card {
  position: relative; overflow: hidden; border-radius: 40px; padding: 56px 24px 0;
  background: linear-gradient(180deg, #c9eaf3, #e8f6f2);
}
.final h2 { font-size: clamp(30px, 4.6vw, 46px); margin: 14px auto 12px; max-width: 16em; }
.final p { color: var(--ink-2); font-size: 18px; max-width: 34em; margin: 0 auto; }
.final .cta { justify-content: center; }
.final .mascot { width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 24px rgba(238, 108, 122, .25); }
.final .row { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 34px; }
.final .row img { width: 24%; max-width: 210px; margin: 0 -2%; filter: drop-shadow(0 10px 12px rgba(60, 120, 150, .2)); }
.final .row img:nth-child(2) { width: 30%; max-width: 260px; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- yazı sayfaları */
.page { padding: 40px 0 80px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); margin: 12px 0 10px; }
.page .meta { color: var(--ink-3); font-weight: 700; font-size: 15px; margin-bottom: 26px; }
.doc { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.doc h2 { font-size: 22px; margin: 30px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--berry); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc .short { background: var(--mint-2); border-radius: 20px; padding: 18px 22px; margin-bottom: 8px; }
.doc .short h2 { margin: 0 0 8px; font-size: 18px; }
.doc .short ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(108, 78, 98, .1); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 900; }
@media (max-width: 560px) { .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; } .doc thead { display: none; } .doc td { border: 0; padding: 2px 0; } .doc tr { padding: 10px 0; border-bottom: 1px solid rgba(108, 78, 98, .1); } .doc td:first-child { font-weight: 900; color: var(--ink); } }

.mail {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 30px;
}
.mail img { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(108, 78, 98, .15); }
.mail div { flex: 1 1 220px; }
.mail h2 { font-size: 22px; margin-bottom: 4px; }
.mail p { color: var(--ink-2); }
.mail a.btn { background: var(--mint); color: #fff; text-decoration: none; font-weight: 900; padding: 12px 20px; border-radius: 999px; box-shadow: 0 6px 14px rgba(110, 196, 150, .35); white-space: nowrap; }
.page h2.sub { font-size: 24px; margin: 10px 0 16px; }
.page .faq { margin: 0; max-width: none; }

/* ---------------------------------------------------------------- alt bilgi */
footer { padding: 40px 0 46px; color: var(--ink-3); font-weight: 700; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-top: 2px dashed rgba(178, 158, 220, .35); padding-top: 26px; }
footer ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* görünürken yumuşak giriş */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
