/* ============================================
   KEEP IN TOGETHER — yerel işletme keşif platformu
   ============================================ */

.kit-page {
  --accent: #2ec4b6;
  --accent-2: #ffb86b;
  --bg: #07100f;
  --bg-soft: #0c1817;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(46, 196, 182, 0.13), transparent 60%),
    var(--bg);
}

.kit-page ::selection { background: #2ec4b6; color: #04211d; }
.kit-page .btn-accent { background: #2ec4b6; color: #04211d; }
.kit-page .btn-accent:hover { box-shadow: 0 12px 40px rgba(46, 196, 182, 0.4); }

.nav-divider { color: var(--ink-faint); font-weight: 400; }
.nav-app-name { color: #7adcd2; }

section { padding: clamp(90px, 12vw, 160px) 0; }
.section-head { margin-bottom: clamp(48px, 7vw, 90px); }
.section-head .label { margin-bottom: 20px; color: #7adcd2; }
.section-title { font-size: clamp(40px, 6vw, 88px); }

/* ---------- hero ---------- */
.kt-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

.kt-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 2;
}

.kt-eyebrow { margin-bottom: 26px; color: #7adcd2; }

.kt-title { font-size: clamp(44px, 6.6vw, 100px); }
.kt-title em {
  font-style: normal;
  background: linear-gradient(110deg, #7adcd2, #ffd2a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kt-sub {
  margin-top: 30px;
  max-width: 480px;
  color: var(--ink-dim);
  font-size: 18px;
}

.kt-hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---- map visual ---- */
.kt-map {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(122, 220, 210, 0.18);
  background:
    radial-gradient(circle at 30% 28%, rgba(46, 196, 182, 0.18), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(255, 184, 107, 0.12), transparent 45%),
    #0a1413;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(46, 196, 182, 0.12);
}
/* faux street grid */
.kt-map::before,
.kt-map::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(122, 220, 210, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 220, 210, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.kt-map::after {
  background-image:
    linear-gradient(rgba(122, 220, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 220, 210, 0.05) 1px, transparent 1px);
  background-size: 138px 138px;
  transform: rotate(0.001deg);
}

.kt-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; /* yol en altta */
}
.kt-route path {
  fill: none;
  stroke: rgba(122, 220, 210, 0.5);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: ktDash 14s linear infinite;
}
@keyframes ktDash { to { stroke-dashoffset: -120; } }

.kt-pin {
  position: absolute;
  z-index: 3; /* pinler yolun üstünde */
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  /* ucu (sol-alt köşe) tam koordinata otursun */
  transform: translate(-50%, -100%) rotate(-45deg);
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.5);
  animation: ktPin 2.6s ease-out infinite;
}
.kt-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #04211d;
  border-radius: 50%;
}
.kt-pin.warm { background: var(--accent-2); box-shadow: 0 0 0 0 rgba(255, 184, 107, 0.5); }
/* konumlar yol eğrisinin düğüm noktalarıyla aynı (A–E) */
.kt-pin.p1 { left: 22%; top: 70%; animation-delay: 0s; }
.kt-pin.p2 { left: 33%; top: 44%; animation-delay: 0.5s; }
.kt-pin.p3 { left: 56%; top: 32%; animation-delay: 1s; }
.kt-pin.p4 { left: 64%; top: 58%; animation-delay: 1.5s; }
.kt-pin.p5 { left: 80%; top: 74%; animation-delay: 2s; }
.kt-pin.warm { box-shadow: 0 0 0 0 rgba(255, 184, 107, 0.5); }
@keyframes ktPin {
  0% { box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(46, 196, 182, 0); }
}
.kt-pin.warm {
  animation-name: ktPinWarm;
}
@keyframes ktPinWarm {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 107, 0.45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(255, 184, 107, 0); }
}
.kt-card { z-index: 4; }

/* floating business card */
.kt-card {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(300px, 84%);
  padding: 16px;
  border-radius: 18px;
  background: rgba(12, 24, 23, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(122, 220, 210, 0.22);
  display: flex;
  gap: 14px;
  align-items: center;
  animation: ktFloat 5s ease-in-out infinite;
}
@keyframes ktFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.kt-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2ec4b6, #ffb86b);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.kt-card-body { flex: 1; min-width: 0; }
.kt-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 3px;
}
.kt-card-meta { color: var(--ink-dim); font-size: 12.5px; }
.kt-card-rating {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.kt-marquee .marquee-track span::after { color: #ffd2a8; }

/* ---------- stats ---------- */
.kt-stats {
  padding: clamp(40px, 6vw, 64px) 0;
  border-block: 1px solid var(--line);
}
.kt-stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.kt-stat-num {
  font-size: clamp(40px, 5.4vw, 76px);
  color: #7adcd2;
  display: block;
  line-height: 1;
}
.kt-stat-label {
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- features ---------- */
.kt-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kt-feature {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out);
}
.kt-feature:hover {
  border-color: rgba(122, 220, 210, 0.4);
  background: rgba(46, 196, 182, 0.05);
  transform: translateY(-6px);
}
.kt-feature-icon { font-size: 30px; margin-bottom: 20px; }
.kt-feature h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 12px;
}
.kt-feature p { color: var(--ink-dim); font-size: 16px; }

/* ---------- business owners ---------- */
.kt-biz { background: var(--bg-soft); }
.kt-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.kt-biz-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.kt-biz-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-dim);
  font-size: 16px;
}
.kt-biz-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.kt-biz-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 220, 210, 0.18);
  background:
    radial-gradient(circle at 70% 10%, rgba(46, 196, 182, 0.14), transparent 55%),
    rgba(10, 20, 19, 0.6);
  padding: clamp(28px, 4vw, 44px);
}
.kt-dash-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.kt-dash-row:last-child { border-bottom: 0; }
.kt-dash-row span { color: var(--ink-dim); font-size: 14px; }
.kt-dash-row strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: #7adcd2;
}

/* ---------- download ---------- */
.kt-download { text-align: center; position: relative; overflow: hidden; }
.kt-download::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46, 196, 182, 0.14), transparent 60%);
  pointer-events: none;
}
.kt-download-inner { position: relative; }
.kt-download .label { margin-bottom: 18px; color: #7adcd2; }
.cta-title { font-size: clamp(44px, 7vw, 110px); margin-bottom: 40px; }
.btn-lg { padding: 20px 44px; font-size: 17px; }
.kt-download-note { margin-top: 22px; color: var(--ink-faint); font-size: 14px; }

@media (min-width: 861px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .kt-hero { padding-top: 124px; }
  .kt-hero-grid { grid-template-columns: 1fr; }
  .kt-feature-grid { grid-template-columns: 1fr; }
  .kt-biz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kt-stats .container { grid-template-columns: 1fr; gap: 28px; }
}
