/* MeKick — tanıtım ana sayfası.
   Site kimliği logo paketinden (yeşil/terracotta halkalar, krem zemin);
   telefon maketlerinin içi uygulamanın kendi "Şeftali" paletini kullanır. */

:root {
  --ring-a: #3f6b58;
  --ring-b: #c97b5a;
  --ring-x: #14231f;
  --accent: #3f6b58;
  --accent-2: #c97b5a;
  --ink: #14231f;
  --muted: #5e6b66;
  --bg: #faf7f2;
  --surface: #f1ebe1;
  --card: #ffffff;
  --line: #e2d9cb;
  --deep: #14231f;
  --deep-ink: #f4f1ec;
  --deep-muted: #9fb0a9;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ring-a: #7fb39a;
    --ring-b: #e08a63;
    --ring-x: #f4f1ec;
    --accent: #7fb39a;
    --accent-2: #e08a63;
    --ink: #f4f1ec;
    --muted: #9aa8a2;
    --bg: #14231f;
    --surface: #1a2c27;
    --card: #1c2e29;
    --line: #2a3d37;
    --deep: #0e1916;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.sub { color: var(--muted); font-size: 18px; max-width: 620px; margin-top: 14px; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* ---------- Üst bar ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 21px; letter-spacing: -0.04em;
  color: var(--ink); text-decoration: none;
}
.brand .mark { width: 42px; height: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.top nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #10201b; } }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 88px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise .9s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; color: var(--accent-2); font-style: italic; }
@keyframes rise { to { transform: none; } }

.hero .sub, .hero .stores, .hero .note {
  opacity: 0; animation: fadeUp .8s var(--ease) .5s forwards;
}
.hero .stores { animation-delay: .65s; }
.hero .note { animation-delay: .8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px;
  border-radius: 16px;
  background: var(--ink); color: var(--bg);
  text-decoration: none; line-height: 1.15;
  transition: transform .25s var(--ease), box-shadow .25s;
  position: relative;
}
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(0,0,0,.55); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .72; }
.store b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.store.soon { opacity: .55; cursor: default; pointer-events: none; }
.store.suggested { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 60%, transparent); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Arka plan halkaları */
.orbit { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orbit i {
  position: absolute; border-radius: 50%;
  border: 2px solid var(--ring-a); opacity: .16;
  transform: translate(calc(var(--px, 0) * var(--d, 10px)), calc(var(--py, 0) * var(--d, 10px)));
  transition: transform .5s var(--ease);
}
.orbit i::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: currentColor;
  animation: spin 14s linear infinite;
}
.orbit i:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -80px; color: var(--ring-a); --d: 18px; }
.orbit i:nth-child(2) { width: 340px; height: 340px; right: 220px; top: 240px; border-color: var(--ring-b); color: var(--ring-b); --d: -26px; }
.orbit i:nth-child(2)::after { animation-duration: 9s; animation-direction: reverse; }
.orbit i:nth-child(3) { width: 180px; height: 180px; left: -60px; bottom: 20px; color: var(--ring-a); --d: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Logo çizimi */
.mark .draw { stroke-dasharray: 214; stroke-dashoffset: 214; animation: draw 1.2s var(--ease) forwards; }
.mark .draw.b { animation-delay: .25s; }
.mark .draw.x { stroke-dasharray: 60; stroke-dashoffset: 60; animation-delay: .9s; animation-duration: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Telefon ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  /* Şeftali paleti (uygulamanın teması) */
  --p: #c2666b; --pc: #fce4e3; --s: #4e9b8f; --sc: #ddf1ec; --t: #8799d5;
  --sf: #fff9f4; --sfc: #f8ede4; --ol: #efe3d9; --pi: #26211e; --pm: #6e625b;
  position: relative; width: 292px; height: 592px;
  border-radius: 46px; padding: 11px;
  background: #1b1513;
  box-shadow: 0 50px 80px -40px rgba(20, 35, 31, .55), 0 0 0 1.5px rgba(255,255,255,.08) inset;
  animation: float 7s ease-in-out infinite;
  transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px)) rotate(-3deg);
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0;
  width: 84px; height: 24px; border-radius: 20px; background: #1b1513; z-index: 5;
}
.screen-wrap {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden; background: var(--sf);
  color: var(--pi); font-size: 12px; line-height: 1.35;
}
.screen {
  position: absolute; inset: 0; padding: 52px 16px 16px;
  opacity: 0; transform: translateX(24px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.screen.on { opacity: 1; transform: none; }
.screen h4 { font: 400 22px/1.15 var(--serif); margin: 0 0 2px; }
.screen .mut { color: var(--pm); font-size: 11px; }
.p-search {
  height: 38px; border-radius: 14px; background: var(--sfc);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--pm);
}
.p-search::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; }
.p-chips { display: flex; gap: 6px; }
.p-chip {
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ol);
  font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.p-chip.on { background: var(--pc); border-color: transparent; color: #7a3a3e; }
.p-card {
  border: 1px solid var(--ol); border-radius: 18px; background: #fffdfb; overflow: hidden;
}
.p-card .pic { height: 74px; background: linear-gradient(120deg, var(--pc), var(--sc)); position: relative; }
.p-card:nth-of-type(2) .pic { background: linear-gradient(120deg, var(--sc), #e6eaff); }
.p-card .pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  translate: -100% 0; animation: sheen 4s ease-in-out infinite;
}
@keyframes sheen { 60%, 100% { translate: 100% 0; } }
.p-card .body { padding: 9px 12px 11px; display: flex; justify-content: space-between; gap: 8px; }
.p-card b { font-size: 12.5px; }
.p-badge {
  align-self: flex-start; padding: 3px 7px; border-radius: 7px;
  background: var(--sc); color: #1f4b44; font-size: 10px; font-weight: 700; white-space: nowrap;
}
.p-days { display: flex; gap: 6px; }
.p-day {
  flex: 1; padding: 7px 0; border-radius: 12px; border: 1px solid var(--ol);
  text-align: center; font-size: 10px; color: var(--pm);
}
.p-day b { display: block; font-size: 14px; color: var(--pi); }
.p-day.on { background: var(--p); border-color: var(--p); color: #fff; }
.p-day.on b { color: #fff; }
.p-slot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px; border: 1px solid var(--ol); background: #fffdfb;
}
.p-slot .time { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.p-slot .grow { flex: 1; }
.p-slot.pick { border-color: var(--p); background: var(--pc); }
.p-btn {
  margin-top: auto; height: 42px; border-radius: 999px; background: var(--p); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  position: relative; overflow: hidden;
}
.screen.on .p-btn::after {
  content: "✓ Yerin ayrıldı"; position: absolute; inset: 0;
  display: grid; place-items: center; background: var(--s);
  translate: 0 100%; animation: confirm 3.6s var(--ease) 1.4s forwards;
}
@keyframes confirm { 12%, 100% { translate: 0 0; } }
.p-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-tile { padding: 10px 12px; border-radius: 16px; background: var(--sfc); }
.p-tile b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.p-tile:first-child { background: var(--sc); }
.p-chart { border: 1px solid var(--ol); border-radius: 18px; padding: 12px; background: #fffdfb; }
.p-chart svg { width: 100%; height: 96px; }
.p-chart path.ln { fill: none; stroke: var(--p); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.screen.on .p-chart path.ln { animation: draw 1.6s var(--ease) .3s forwards; }
.p-chart path.ar { fill: var(--pc); opacity: 0; }
.screen.on .p-chart path.ar { animation: fadeUp 1s ease 1.2s forwards; }
.p-bar { height: 8px; border-radius: 8px; background: var(--sfc); overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--s); }
.screen.on .p-bar i { animation: grow 1.4s var(--ease) .5s forwards; }
@keyframes grow { to { width: 68%; } }

.dots { position: absolute; bottom: -34px; left: 50%; translate: -50% 0; display: flex; gap: 8px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px;
  background: var(--line); cursor: pointer; transition: width .3s, background .3s;
}
.dots button.on { width: 26px; background: var(--accent-2); }

/* Telefonun yanındaki yüzen etiketler */
.tag {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 18px 34px -22px rgba(20,35,31,.5);
  animation: bob 6s ease-in-out infinite;
}
.tag i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-style: normal; }
.tag.t1 { top: 96px; left: -52px; }
.tag.t2 { bottom: 120px; right: -40px; animation-delay: -3s; }
.tag.t2 i { background: color-mix(in srgb, var(--accent-2) 18%, transparent); color: var(--accent-2); }
@keyframes bob { 50% { translate: 0 -12px; } }

/* ---------- Kayan şerit ---------- */
.marquee {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 18px 0; white-space: nowrap;
}
.marquee div { display: inline-flex; gap: 44px; padding-right: 44px; animation: slide 30s linear infinite; }
.marquee span { font: 400 22px var(--serif); display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Scroll ile beliren öğeler ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Özellikler ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.feat {
  position: relative; padding: 28px 26px 30px;
  border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  transition: opacity .8s var(--ease), transform .45s var(--ease), border-color .3s, box-shadow .3s;
  transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s, 0s;
  overflow: hidden;
}
.feat:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 26px 44px -30px rgba(20,35,31,.45); }
.feat::before {
  content: ""; position: absolute; width: 150px; height: 150px; right: -60px; top: -60px;
  border-radius: 50%; border: 2px solid var(--accent-2); opacity: .0;
  transform: scale(.6); transition: opacity .4s, transform .6s var(--ease);
}
.feat:hover::before { opacity: .35; transform: none; }
.ico {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent);
  transition: transform .45s var(--ease);
}
.feat:nth-child(even) .ico { background: color-mix(in srgb, var(--accent-2) 15%, transparent); color: var(--accent-2); }
.feat:hover .ico { transform: rotate(-8deg) scale(1.08); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- Nasıl çalışır ---------- */
.how { background: var(--surface); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.steps.in::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .n {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--accent);
  font: 400 24px var(--serif); color: var(--accent);
}
.step:nth-child(2) .n { border-color: color-mix(in srgb, var(--accent) 50%, var(--accent-2)); color: inherit; }
.step:nth-child(3) .n { border-color: var(--accent-2); color: var(--accent-2); }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Üç halka: roller ---------- */
.roles .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.rings { width: 100%; max-width: 420px; margin: 0 auto; overflow: visible; }
.rings circle, .rings path { fill: none; stroke-width: 10; transition: transform 1.4s var(--ease), opacity 1s; }
.rings .ra { stroke: var(--ring-a); transform: translateX(-26px); }
.rings .rb { stroke: var(--ring-b); transform: translateX(26px); }
.rings .rx { stroke: var(--ring-x); stroke-linecap: round; opacity: 0; transition-delay: .9s; }
.rings.in .ra, .rings.in .rb { transform: none; }
.rings.in .rx { opacity: 1; }
.role-list { display: grid; gap: 14px; margin-top: 30px; }
.role {
  display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card);
  transition: opacity .8s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms), 0s;
}
.role:hover { transform: translateX(8px); }
.role .dot { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; border: 3px solid var(--ring-a); }
.role:nth-child(2) .dot { border-color: var(--ring-b); }
.role:nth-child(3) .dot { border-color: var(--ring-x); background: var(--ring-x); }
.role p { color: var(--muted); font-size: 15px; }

/* ---------- İndir ---------- */
.cta { padding: 0 0 96px; }
.cta .box {
  position: relative; overflow: hidden;
  border-radius: 36px; padding: 76px 32px;
  background: var(--deep); color: var(--deep-ink); text-align: center;
}
.cta h2 { font-size: clamp(34px, 5vw, 58px); }
.cta .sub { color: var(--deep-muted); margin-inline: auto; }
.cta .stores { justify-content: center; }
.cta .store { background: var(--deep-ink); color: #14231f; }
.cta .box i {
  position: absolute; border-radius: 50%; border: 2px solid #7fb39a; opacity: .22;
  width: 380px; height: 380px; left: -120px; top: -160px;
  animation: pulse 7s ease-in-out infinite;
}
.cta .box i + i { border-color: #e08a63; left: auto; top: auto; right: -110px; bottom: -190px; animation-delay: -3.5s; }
@keyframes pulse { 50% { transform: scale(1.14); opacity: .4; } }
.cta .box > *:not(i) { position: relative; }

/* ---------- Bilgi / iletişim ---------- */
.info { padding-top: 0; }
.info .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.panel { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.panel h3 { font: 400 24px var(--serif); margin-bottom: 14px; }
.panel p, .panel li { color: var(--muted); font-size: 15px; }
.panel p + p { margin-top: 12px; }
.panel ul { margin: 12px 0 0; padding-left: 18px; }
.panel strong { color: var(--ink); }
.contact { list-style: none; margin: 0 !important; padding: 0 !important; }
.contact li { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact li:last-child { border-bottom: 0; }
.contact .k { min-width: 130px; }
.contact .v { flex: 1; min-width: 200px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding: 30px 0 46px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--accent); }

/* ---------- Duyarlı ---------- */
@media (max-width: 920px) {
  .hero .wrap, .roles .wrap, .info .cols { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .stage { min-height: 640px; margin-top: 12px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .tag.t1 { left: 4px; }
  .tag.t2 { right: 4px; }
}
@media (max-width: 620px) {
  section { padding: 68px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps { gap: 36px; }
  .tag { display: none; }
  .phone { transform: rotate(-2deg) scale(.94); }
  .cta .box { padding: 56px 22px; border-radius: 28px; }
  .store { flex: 1 1 100%; justify-content: center; }
  .marquee span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .hero .sub, .hero .stores, .hero .note { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .mark .draw, .p-chart path.ln { stroke-dashoffset: 0; }
  .p-chart path.ar { opacity: 1; }
  .p-bar i { width: 68%; }
  .rings .ra, .rings .rb { transform: none; }
  .rings .rx { opacity: 1; }
  .steps::before { transform: none; }
}

.panel .contact + p { margin-top: 14px; }
