/* Inter (SIL OFL), self-hosted: no third-party font request, KVKK-friendly. */
@font-face { font-family:'Inter'; font-style:normal; font-display:swap; font-weight:100 900;
  src:url('../fonts/web/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-display:swap; font-weight:100 900;
  src:url('../fonts/web/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ============================================================
   Ewreka Graft Pro — public landing page
   ============================================================ */
:root {
  --brand: #0e7490;
  --brand-2: #06b6d4;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 30px rgba(15,23,42,.07);
  --shadow-lg: 0 24px 70px rgba(15,23,42,.16);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 15.5px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.2; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 1px solid transparent; border-radius: 12px;
  padding: 12px 24px; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .12s, filter .12s; font-family: inherit;
}
.btn:hover { filter: brightness(1.09); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-outline:hover { background: var(--bg); filter: none; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); filter: none; transform: none; }

/* ---- topbar ---- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover { background: var(--bg); color: var(--brand); }
.nav .spacer { flex: 1; }
.nav .btn { padding: 9px 18px; font-size: 14px; }

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(700px 420px at 0% 0%, rgba(14,116,144,.10), transparent 55%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
  padding: 84px 0 0; overflow: hidden;
}
.hero-grid { text-align: center; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  color: var(--brand); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 99px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.hero-shot { margin: 56px auto -2px; max-width: 1000px; position: relative; }
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.browser-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--line); display: block; }
.browser-bar i:nth-child(1) { background: #fca5a5; } .browser-bar i:nth-child(2) { background: #fcd34d; } .browser-bar i:nth-child(3) { background: #86efac; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 3px 14px; }

/* ---- sections ---- */
section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head .kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* features */
.features { background: #fff; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .15s, box-shadow .15s;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard .ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14,116,144,.12), rgba(6,182,212,.14)); margin-bottom: 16px;
}
.fcard .ico svg { width: 23px; height: 23px; color: var(--brand); }
.fcard h3 { font-size: 16px; margin-bottom: 7px; }
.fcard p { color: var(--muted); font-size: 13.5px; }

/* screenshots */
.shots { background: var(--bg); }
.shot-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.shot-tabs button {
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 9px 20px;
  font: 600 13.5px/1 inherit; color: var(--ink-2); cursor: pointer; transition: all .12s;
}
.shot-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.shot-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.shot-stage { max-width: 980px; margin: 0 auto; }
.shot-stage .browser { border-radius: 16px; }
.shot-stage img { width: 100%; }
.shot-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* highlight rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 76px; }
.split .txt .kicker { color: var(--brand); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.split .txt h3 { font-size: 26px; font-weight: 800; margin: 8px 0 14px; }
.split .txt p { color: var(--muted); margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; color: var(--ink-2); font-size: 14.5px; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 99px;
  background: rgba(14,116,144,.12); color: var(--brand); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.split .vis .browser { border-radius: 14px; }

/* security strip */
.secstrip { background: #0b1526; color: #cbd5e1; }
.secstrip .sec-head h2, .secstrip .sec-head .kicker { color: #fff; }
.secstrip .sec-head .kicker { color: var(--brand-2); }
.secstrip .sec-head p { color: #8fa0b8; }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 22px; }
.scard h3 { color: #fff; font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.scard h3 svg { width: 18px; height: 18px; color: var(--brand-2); flex-shrink: 0; }
.scard p { font-size: 13.5px; color: #94a6bd; }

/* demo form */
.demo { background: var(--bg); }
.demo-card {
  max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); padding: 36px;
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.input {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  padding: 11px 14px; font: inherit; font-size: 14.5px; transition: border-color .12s, box-shadow .12s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,116,144,.13); }
textarea.input { resize: vertical; min-height: 84px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-ok {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px;
  padding: 14px 18px; font-size: 14.5px; margin-bottom: 14px; display: none;
}
.form-err {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px;
  padding: 12px 16px; font-size: 13.5px; margin-bottom: 14px; display: none;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* footer */
footer { background: #0b1526; color: #7c8aa0; padding: 40px 0; }
.foot-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-in .logo { color: #fff; font-size: 16px; }
.foot-in .spacer { flex: 1; }
.foot-in a { color: #9fb0c7; font-size: 13.5px; }
.foot-in .powered { font-size: 12px; }

/* logo lockup */
.logo-lockup { display: inline-flex; align-items: center; gap: 12px; }
.logo-lockup img { width: 40px; height: 40px; border-radius: 11px; }
.logo-lockup .tx { display: flex; flex-direction: column; line-height: 1.08; }
.logo-lockup .ew { font-size: 9px; font-weight: 600; letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
.logo-lockup .gp { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo-lockup .gp .pro {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal;
}
.logo-lockup.dark .ew { color: #8fa3b8; }
.logo-lockup.dark .gp { color: #fff; }
.logo-lockup.dark .gp .pro { background: linear-gradient(120deg, #22d3ee, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* footer credit — original ewreka logo colors on a light chip */
.foot-credit {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding-top: 22px; font-size: 12.5px;
}
.ewreka-sig { display: inline-flex; align-items: center; gap: 14px; opacity: .95; }
.ewreka-sig:hover { opacity: 1; }
.ewreka-sig .lbl {
  text-align: right; font-size: 10px; font-weight: 600; letter-spacing: .16em;
  line-height: 1.65; color: #8a93a3; text-transform: uppercase; white-space: nowrap;
}
.ewreka-sig .sep { width: 1px; height: 34px; background: rgba(255,255,255,.18); flex-shrink: 0; }
.ewreka-sig img { height: 38px; width: auto; display: block; }
.ewreka-sig .ewfb { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }

/* responsive */
@media (max-width: 960px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .sgrid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.rev .vis { order: -1; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
  .demo-card { padding: 24px; }
  .hero { padding-top: 56px; }
}

/* ---- navigation bar: never let it push the page sideways ----
   The header is one nowrap flex row: logo + links + two buttons. Below roughly
   900px that row is wider than the viewport, the buttons run past the right
   edge and the WHOLE PAGE scrolls horizontally — every section then looks
   shifted. v1.1 already did this from ~790px; the fifth menu link widened the
   band rather than creating it. These rules drop the row's contents in order of
   importance instead of letting it overflow. */
.nav-in { min-width: 0; }
.nav-in > .logo-lockup { min-width: 0; flex-shrink: 1; }
.nav-links { min-width: 0; }
/* A wrapped menu item makes the header two lines tall and shifts the hero
   down; the links either fit on one line or they are hidden. */
.nav-links a { white-space: nowrap; }
.nav .btn { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 980px) {
  /* The links are all reachable from the page itself, so they go first. */
  .nav-links { display: none; }
}
@media (max-width: 430px) {
  /* Then the secondary button; the primary call to action always survives. */
  .nav .btn-ghost { display: none; }
  .nav-in { gap: 12px; }
  .nav .btn { padding: 9px 14px; font-size: 13.5px; }
  .logo-lockup .tx { font-size: 15px; }
}

/* ============================================================
   Usage guide (/rehber) — v1.3
   ============================================================ */
.guide-hero { padding:74px 0 40px; background:linear-gradient(180deg,#0b1220 0%,#101a2c 100%); color:#e8eefb; }
.guide-hero h1 { font-size:clamp(30px,4.4vw,46px); margin:10px 0 12px; letter-spacing:-.02em; }
.guide-hero p { max-width:70ch; color:#a9b8d1; font-size:17px; line-height:1.65; }
.guide-hero .eyebrow { color:#7fd7c8; font-weight:700; letter-spacing:.14em; font-size:12px; text-transform:uppercase; }

.guide-wrap { display:grid; grid-template-columns:262px minmax(0,1fr); gap:44px; padding:44px 0 90px; }
@media (max-width: 940px) { .guide-wrap { grid-template-columns:1fr; gap:22px; } }

.guide-toc { position:sticky; top:78px; align-self:start; max-height:calc(100vh - 100px); overflow:auto; }
@media (max-width: 940px) { .guide-toc { position:static; max-height:none; border-bottom:1px solid #e6ebf2; padding-bottom:14px; } }
.guide-toc h4 { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:#8595ad; margin:0 0 10px; }
.guide-toc a {
  display:block; padding:6px 10px; border-radius:8px; color:#3c4a60; text-decoration:none;
  font-size:13.5px; line-height:1.4; border-left:2px solid transparent;
}
.guide-toc a:hover { background:#f2f6fb; color:#0e2a47; }
.guide-toc a.active { background:#eef6ff; color:#0b5cab; border-left-color:#0b5cab; font-weight:600; }

.guide-body h2 {
  font-size:26px; margin:56px 0 6px; letter-spacing:-.015em; scroll-margin-top:86px;
  padding-top:18px; border-top:1px solid #e6ebf2;
}
.guide-body h2:first-of-type { margin-top:0; border-top:0; padding-top:0; }
.guide-body h3 { font-size:17px; margin:26px 0 8px; color:#12243c; }
.guide-body p, .guide-body li { color:#3c4a60; line-height:1.72; font-size:15.5px; }
.guide-body ol, .guide-body ul { padding-left:22px; margin:10px 0 14px; }
.guide-body li { margin:5px 0; }
.guide-body code {
  background:#f1f5f9; border:1px solid #e2e8f0; border-radius:5px;
  padding:1px 6px; font-size:13px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.guide-lead { font-size:16.5px; color:#54627a; }

.g-note, .g-warn, .g-tip {
  border-radius:10px; padding:13px 16px; margin:16px 0; font-size:14.5px; line-height:1.62;
  border:1px solid; display:block;
}
.g-note { background:#f2f8ff; border-color:#cfe4fb; color:#134d80; }
.g-tip  { background:#f0fdf7; border-color:#c3ead8; color:#0f6446; }
.g-warn { background:#fffaf0; border-color:#f5e0b8; color:#8a5a10; }
.g-note b, .g-tip b, .g-warn b { display:block; margin-bottom:3px; }

.g-steps { counter-reset:gs; list-style:none; padding-left:0; }
.g-steps > li {
  counter-increment:gs; position:relative; padding-left:40px; margin:14px 0;
}
.g-steps > li::before {
  content:counter(gs); position:absolute; left:0; top:1px;
  width:26px; height:26px; border-radius:50%; background:#0b5cab; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
}
.g-table { width:100%; border-collapse:collapse; margin:14px 0; font-size:14.5px; }
.g-table th, .g-table td { border:1px solid #e6ebf2; padding:9px 12px; text-align:left; vertical-align:top; }
.g-table th { background:#f7f9fc; font-weight:600; color:#12243c; }
.g-faq { border:1px solid #e6ebf2; border-radius:10px; padding:0 16px; margin:10px 0; }
.g-faq summary { cursor:pointer; font-weight:600; color:#12243c; padding:13px 0; font-size:15px; }
.g-faq[open] summary { border-bottom:1px solid #eef2f7; margin-bottom:10px; }
.g-faq p:last-child { margin-bottom:14px; }

/* ---- illustrated guide: figures, callouts, lightbox ---- */
.g-fig { margin: 18px 0 24px; }
.g-fig figure { margin: 0; }
.g-fig img {
  display: block; width: 100%; height: auto; cursor: zoom-in;
  border: 1px solid #dbe3ec; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 26px rgba(15,23,42,.07);
  background: #fff;
}
.g-fig figcaption {
  margin-top: 8px; font-size: 13px; color: #7a879b; line-height: 1.5;
}
.g-fig figcaption b { color: #3c4a60; }
.g-fig.narrow img { max-width: 560px; }

/* numbered legend that pairs with the red markers burned into the screenshot */
.g-legend { list-style: none; padding-left: 0; margin: 12px 0 4px; counter-reset: gl; }
.g-legend li {
  counter-increment: gl; position: relative; padding-left: 38px; margin: 8px 0;
  font-size: 15px; line-height: 1.6; color: #3c4a60;
}
.g-legend li::before {
  content: counter(gl); position: absolute; left: 0; top: 1px;
  width: 25px; height: 25px; border-radius: 50%;
  background: #db2730; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.g-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 24px; }
@media (max-width: 760px) { .g-shots { grid-template-columns: 1fr; } }

/* lightbox */
.g-lb {
  position: fixed; inset: 0; background: rgba(8,12,20,.92); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 24px;
  overflow: auto;
}
.g-lb.open { display: flex; }
.g-lb img { max-width: 100%; max-height: 100%; border-radius: 8px; cursor: zoom-out; }
.g-lb .x {
  position: fixed; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; border: 0; font-size: 24px; cursor: pointer;
  line-height: 1;
}
.g-lb .x:hover { background: rgba(255,255,255,.26); }

/* The guide is figure-heavy: give it more room than the marketing sections so
   a screenshot is readable without opening the lightbox. */
.wrap-guide { max-width: 1420px; }
.wrap-guide .guide-wrap { grid-template-columns: 250px minmax(0, 1fr); gap: 52px; }
@media (max-width: 1040px) { .wrap-guide .guide-wrap { grid-template-columns: 1fr; gap: 22px; } }

/* v1.5 — row of phone screenshots in the guide */
.g-fig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-fig-row .g-fig { margin: 0; }
.g-fig-row img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .g-fig-row { grid-template-columns: 1fr 1fr; } }
