/* ============================================
   KAIROS — page styles
   ============================================ */

.kairos-page {
  --accent: #6e5cf0;
  --bg: #0d0a16;
  --bg-soft: #14101f;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(110, 92, 240, 0.16), transparent 60%),
    var(--bg);
}

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

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

/* subtle starfield via box-shadows */
.k-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 32% 68%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 56% 14%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 74% 42%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 88% 76%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 44% 88%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 8% 54%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 66% 60%, rgba(255,255,255,0.35), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.k-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  position: relative;
  z-index: 2;
}

.k-eyebrow { margin-bottom: 26px; color: #a99cf7; }

.k-title { font-size: clamp(48px, 7.5vw, 110px); }
.k-title em {
  font-style: normal;
  background: linear-gradient(110deg, #a99cf7, #ff9d6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.k-hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* live countdown chip */
.k-live {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(169, 156, 247, 0.25);
  background: rgba(110, 92, 240, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.k-live-num {
  font-size: 54px;
  color: #a99cf7;
  min-width: 84px;
  text-align: center;
}
.k-live-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.4;
}
.k-live-label strong {
  color: var(--ink);
  font-size: 17px;
}

/* phone */
.k-hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.k-phone-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at 50% 40%, rgba(110, 92, 240, 0.35), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.k-hero-phone img {
  position: relative;
  width: min(310px, 70vw);
  border-radius: 40px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(169, 156, 247, 0.2),
    0 0 80px rgba(110, 92, 240, 0.25);
}

.k-marquee .marquee-track span::after { color: #ff9d6b; }

/* ---------- features ---------- */
section { padding: clamp(90px, 12vw, 160px) 0; }

.section-head { margin-bottom: clamp(48px, 7vw, 90px); }
.section-head .label { margin-bottom: 20px; }
.section-title { font-size: clamp(40px, 6vw, 88px); }

.k-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.k-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);
}
.k-feature:hover {
  border-color: rgba(169, 156, 247, 0.4);
  background: rgba(110, 92, 240, 0.06);
  transform: translateY(-6px);
}

.k-feature-icon {
  font-size: 30px;
  margin-bottom: 20px;
  filter: grayscale(0.2);
}
.k-feature h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 12px;
}
.k-feature p { color: var(--ink-dim); font-size: 16px; }

/* ---------- screens ---------- */
.k-screens { background: var(--bg-soft); overflow: hidden; }

.k-screens-track {
  display: flex;
  gap: 28px;
  padding: 0 4vw 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.k-screens-track::-webkit-scrollbar { display: none; }

.k-screens-track img {
  width: min(280px, 68vw);
  flex-shrink: 0;
  border-radius: 34px;
  scroll-snap-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 240, 234, 0.08);
  transition: transform 0.5s var(--ease-out);
}
.k-screens-track img:hover { transform: translateY(-10px); }

/* ---------- download ---------- */
.k-download { text-align: center; position: relative; overflow: hidden; }
.k-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(110, 92, 240, 0.18), transparent 60%);
  pointer-events: none;
}
.k-download-inner { position: relative; }
.k-download .label { margin-bottom: 18px; color: #a99cf7; }
.cta-title { font-size: clamp(44px, 7vw, 110px); margin-bottom: 40px; }
.btn-lg { padding: 20px 44px; font-size: 17px; }
.k-download-note {
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 14px;
}

/* ---------- footer (4 sütun: marka + uygulamalar + stüdyo + yasal) ---------- */
@media (min-width: 861px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .k-hero { padding-top: 120px; }
  .k-hero-grid { grid-template-columns: 1fr; }
  .k-hero-phone img { width: min(240px, 58vw); }
  .k-feature-grid { grid-template-columns: 1fr; }
  .k-live { width: 100%; justify-content: center; }
}
