/* KlinikYanıt landing page. Plain CSS, no build step. */

:root {
  --bg-1: #eaf2fc;
  --bg-2: #d6e6f8;
  --ink: #0b1220;
  --muted: #5b6b82;
  --blue: #0b5fdb;
  --blue-dark: #0849a8;
  --blue-soft: #dbe9fb;
  --line: rgba(11, 18, 32, 0.08);
  --ok: #12a363;
  --card: #fff;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 32px -12px rgba(11, 60, 140, 0.18);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, 0.05), 0 30px 60px -20px rgba(11, 60, 140, 0.35);
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-1) 0, var(--bg-2) 900px, var(--bg-1) 1800px, #f4f8fd 100%);
  background-color: var(--bg-1);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: normal; color: var(--blue); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 40px); }

/* Buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 95, 219, .7); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border: 1px solid rgba(11, 18, 32, .12); }
.btn--ghost:hover { background: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 17px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.4;
}
.chip--solid { color: var(--blue-dark); background: var(--blue-soft); border-color: transparent; font-weight: 600; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.nav__bar {
  width: min(1160px, 100% - 24px); margin-inline: auto; padding: 8px 8px 8px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; }
.nav__links { display: none; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 24px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
h1 { font-size: clamp(2.3rem, 9.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero__sub { font-size: clamp(1.05rem, 3.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero__cta .btn { flex: 1 1 200px; }
.hero__note { margin-top: 36px; font-size: 13px; color: var(--muted); text-align: center; }

.stage { position: relative; padding: 0 0 56px; }
.stage__dm {
  background: #0b0f14; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .6);
}
.window__bar { display: flex; gap: 6px; padding: 10px 14px; background: #161b22; }
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a424d; }
.stage__phone {
  position: absolute; right: 4%; bottom: 0; width: 38%; max-width: 230px;
  border-radius: 26px; overflow: hidden; background: #fff; border: 5px solid var(--ink); box-shadow: var(--shadow-lg);
}
.stage__phone img { width: 100%; aspect-ratio: 375 / 560; object-fit: cover; object-position: top; }

.float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 9px 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap;
}
.float strong { color: var(--blue); }
.float--a { left: -4px; top: -18px; }
.float--b { left: 0; bottom: 4px; }
.float--c { right: 0; top: 24%; display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.dot--ok { background: var(--ok); }

/* Problem strip */
.problem { margin-top: 56px; padding: 64px 0; background: var(--ink); color: #fff; border-radius: 32px; width: min(1240px, 100% - 16px); margin-inline: auto; }
.problem__title { font-size: clamp(1.7rem, 5.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; max-width: 22em; text-wrap: balance; }
.problem em { color: #7db3ff; }
.problem__list { display: grid; gap: 14px; margin-top: 40px; }
.problem__list li { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.problem__n { display: block; font-size: 13px; font-weight: 600; color: #7db3ff; letter-spacing: .08em; }
.problem h3 { margin-top: 10px; font-size: 1.2rem; letter-spacing: -.01em; }
.problem__list p { margin-top: 8px; color: #b6c3d8; font-size: 16px; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .55) 12%, rgba(255, 255, 255, .55) 88%, rgba(255, 255, 255, 0)); }
.head { display: grid; justify-items: start; gap: 14px; margin-bottom: 40px; }
h2 { font-size: clamp(1.8rem, 6vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; max-width: 18em; }
.lede { color: var(--muted); font-size: 1.1rem; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Steps */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { padding: 26px; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.step h3 { margin-top: 18px; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Features */
.bento { display: grid; gap: 14px; }
.feat { padding: 26px; }
.feat h3 { margin-top: 16px; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat--wide { display: grid; gap: 20px; background: linear-gradient(135deg, #fff 40%, #eaf2fc); }
.feat--phone { display: grid; gap: 22px; overflow: hidden; padding-bottom: 0; }
.feat--phone img { width: min(260px, 100%); margin: 0 auto; border-radius: 22px 22px 0 0; border: 5px solid var(--ink); border-bottom: 0; align-self: end; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 20px 24px; font-weight: 600; list-style: none; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 9l5 5 5-5' fill='none' stroke='%230B5FDB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 60ch; }


.chip--channel { font-size: 13px; white-space: nowrap; background: rgba(255, 255, 255, .85); color: var(--ink); font-weight: 600; }
.chip--channel .dot { margin-right: -2px; }

/* Feature extras */
.scores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-content: center; }
.score { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 15px; }
.score b { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 16px; }
.score--hot b { background: #d9482b; }
.score--mid b { background: #e29a14; }
.score--cold b { background: #6b86a8; }
.mini { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.mini li { padding: 14px 16px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); }
.mini strong { display: block; font-size: 15px; }
.mini span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.langs .chip { font-size: 15px; padding: 6px 14px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }

/* Screens gallery */
.shots { display: grid; gap: 14px; align-items: start; }
.shot { overflow: hidden; padding: 0; }
.shot img { width: 100%; }
.shot--phone img { width: min(240px, 100%); margin: 24px auto 0; border-radius: 22px 22px 0 0; border: 5px solid var(--ink); border-bottom: 0; }
.shot--dm img { background: #0b0f14; }
.shot figcaption { padding: 18px 24px 22px; color: var(--muted); font-size: 16px; }
.shot figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }

/* Contact form */
.form { display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; color: var(--ink); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not(.hp):not([type="hidden"]), .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(11, 18, 32, .18); background: #f6f9fe; resize: vertical;
}
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.form .btn--light { background: var(--blue); color: #fff; width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form .btn--light:hover { background: var(--blue-dark); box-shadow: none; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 13px; color: var(--muted); }
.form__status { padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 500; }
.form__status--ok { background: #e3f6ec; color: #0b5a38; }
.form__status--error { background: #fdebe7; color: #8a2412; }
.form__status a { color: inherit; font-weight: 700; }

/* Final CTA */
.final { padding: 24px 0 72px; }
.final__card {
  display: grid; justify-items: stretch; gap: 18px; padding: 44px 26px; border-radius: 32px; color: #fff;
  background: radial-gradient(900px 400px at 90% -20%, #3b86f0 0, transparent 60%), linear-gradient(135deg, #0b5fdb, #0849a8);
  box-shadow: var(--shadow-lg);
}
.final h2 { color: #fff; }
.final em { color: #bcd8ff; }
.final__copy { display: grid; gap: 16px; align-content: start; }
.final__copy p { color: #d3e4fb; max-width: 32em; font-size: 1.1rem; }

/* Footer */
.footer { padding: 28px 0 44px; border-top: 1px solid var(--line); }
.footer__row { display: grid; gap: 14px; }
.footer__small { margin-top: 8px; font-size: 14px; color: var(--muted); }
.footer__optout { margin: 0; }
.footer a { text-underline-offset: 3px; }

/* >= 700px */
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .problem__list { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat--wide { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; align-items: center; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot--dm { grid-column: 1 / -1; }
  .footer__row { grid-template-columns: 1fr auto; align-items: end; }
  .problem { padding: 80px 0; }
  .final__card { padding: 64px 56px; }
}

/* >= 960px */
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: 0.95fr 1.05fr; gap: 48px; }
  .hero__cta { width: auto; }
  .hero__cta .btn { flex: 0 0 auto; }
  .stage { padding-bottom: 64px; }
  .stage__phone { right: -3%; width: 34%; }
  .float--a { left: -28px; top: -22px; }
  .float--b { left: -24px; bottom: 28px; }
  .float--c { display: inline-flex; right: -22px; top: 26%; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .shots { grid-template-columns: 1.5fr 1fr 1fr; }
  .shot--dm { grid-column: auto; }
  .final__card { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .feat--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .feat--phone { grid-column: 3; grid-row: 1 / span 3; grid-template-columns: 1fr; align-content: space-between; }
  .section { padding: 88px 0; }
  .feat--phone img { width: min(300px, 100%); }
}

/* Motion: gentle float on the stat chips, off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .float--b { animation-delay: -2s; }
  .float--c { animation-delay: -4s; }
  @keyframes bob { 50% { transform: translateY(-6px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
