/* INSPARK digital card — shared styles */
:root {
  --slate: #333F48;          /* Inspark koyu gri-lacivert */
  --slate-deep: #252F37;
  --slate-panel: #3C4953;
  --green: #00B140;          /* Inspark yeşili */
  --green-cta: #009466;      /* beyaz yazı için kontrastlı yeşil */
  --blue: #00A3E0;           /* Inspark mavisi */
  --cream: #F3F4EE;
  --ink: #1E262C;
  --muted: #5E6B74;
  --line: #E3E6E8;
  --chip: #EEF0F1;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .28);
  --font-head: "Montserrat", "Calibri", Arial, Helvetica, sans-serif;
  --font-body: "Inter", "Calibri", Arial, Helvetica, sans-serif;
  --font-serif: "Merriweather", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: radial-gradient(120% 60% at 50% 0%, #3E4B55 0%, var(--slate) 45%, var(--slate-deep) 100%) fixed;
  background-color: var(--slate);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 18px 16px 130px;
}

/* ---------- Header ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 6px 2px 18px;
}
.brand { display: block; height: 30px; }
.brand img { height: 100%; width: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .2s;
}
.pill:hover, .pill:focus-visible { background: rgba(255, 255, 255, .2); }
.pill .spark { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); }

/* ---------- Profile card ---------- */
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.card-photo { aspect-ratio: 1 / 0.86; overflow: hidden; background: #F28C2E; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.card-body { padding: 22px 22px 24px; position: relative; }
.card-body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.name {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 8.6vw, 38px); line-height: 1.08; letter-spacing: -.5px;
  margin: 4px 0 10px;
}
.role {
  font-family: var(--font-serif); color: var(--muted);
  font-size: 16px; line-height: 1.6; margin: 0 0 22px;
}
.company-logo { height: 38px; width: auto; }

/* ---------- Quick links ---------- */
.links { margin-top: 18px; display: grid; gap: 10px; }
.link {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  text-decoration: none; color: #fff;
  transition: background .2s;
}
.link:hover, .link:focus-visible { background: rgba(255, 255, 255, .13); }
.link .ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.link .ico svg { width: 19px; height: 19px; }
.link small { display: block; color: rgba(255, 255, 255, .62); font-size: 12px; margin-bottom: 1px; }
.link span { font-size: 15px; font-weight: 600; word-break: break-word; }
.foot-note { text-align: center; color: rgba(255,255,255,.5); font-size: 12px; margin: 22px 0 0; letter-spacing: .3px; }

/* ---------- Bottom action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: #fff;
  box-shadow: 0 -8px 30px rgba(0,0,0,.18);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
}
.actionbar-inner { max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 62px; padding: 10px 18px; border-radius: 12px; border: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .4px;
  text-transform: uppercase; text-align: left; line-height: 1.2; text-decoration: none;
  transition: transform .12s, filter .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-light { background: var(--chip); color: var(--ink); }
.btn-light svg { color: var(--green-cta); }
.btn-green { background: var(--green-cta); color: #fff; }
.btn-green:hover { filter: brightness(1.06); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Modal / bottom sheet ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(14, 20, 25, .6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.sheet {
  width: 100%; max-width: 480px; max-height: 92dvh; overflow: auto;
  background: #fff; color: var(--ink);
  border-radius: 22px 22px 0 0;
  padding: 10px 22px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(30px); transition: transform .25s ease;
}
.overlay.open .sheet { transform: none; }
@media (min-width: 560px) {
  .overlay { align-items: center; }
  .sheet { border-radius: 22px; }
}
.grabber { width: 44px; height: 5px; border-radius: 3px; background: #D5D9DC; margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.close {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--chip); color: var(--ink); display: grid; place-items: center; flex: none;
}
.close svg { width: 18px; height: 18px; }

/* ---------- Exchange form ---------- */
.steps { display: flex; gap: 6px; }
.steps i { width: 26px; height: 5px; border-radius: 3px; background: #DDE1E4; transition: background .2s; }
.steps i.on { background: linear-gradient(90deg, var(--blue), var(--green)); }
.step { display: none; animation: fade .25s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step h2 { font-family: var(--font-head); font-size: 23px; margin: 14px 0 6px; letter-spacing: -.3px; }
.step p.hint { color: var(--muted); margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 15px 16px; font-size: 17px; /* 16px+ prevents iOS zoom */
  border: 1.5px solid var(--line); border-radius: 12px; outline: none; color: var(--ink);
  background: #FAFBFB; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,163,224,.15); background: #fff; }
.field.invalid input { border-color: #C95128; }
.err { color: #AE2F24; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-nav { display: flex; gap: 10px; margin-top: 8px; }
.form-nav .btn { min-height: 54px; justify-content: center; text-align: center; flex: 1; }
.form-nav .back { flex: 0 0 auto; padding: 0 18px; }
.success { text-align: center; padding: 10px 0 4px; }
.success .check {
  width: 72px; height: 72px; margin: 10px auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--green));
}
.success .check svg { width: 36px; height: 36px; color: #fff; }
.success .stack { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Success stories ---------- */
.hero { padding: 4px 2px 18px; }
.hero h1 { font-family: var(--font-head); font-size: 30px; line-height: 1.1; margin: 0 0 8px; letter-spacing: -.4px; }
.hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 20px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 8px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 20px; background: linear-gradient(90deg, #5CCBF5, #45D47E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 11.5px; color: rgba(255,255,255,.7); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story {
  display: flex; flex-direction: column; text-align: left;
  background: #fff; color: var(--ink); border: 0; border-radius: 16px; padding: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .15s;
  min-width: 0;
}
.story:active { transform: scale(.98); }
.logo-box {
  height: 74px; border-radius: 11px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; padding: 6px;
}
.logo-box { position: relative; }
.logo-box img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.wordmark {
  font-family: var(--font-head); font-weight: 800; color: var(--slate);
  font-size: 15px; line-height: 1.1; text-align: center; letter-spacing: -.2px; padding: 0 4px;
}
.wordmark::after { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; margin: 6px auto 0; background: linear-gradient(90deg, var(--blue), var(--green)); }
.story h3 { font-family: var(--font-head); font-size: 14px; margin: 0 0 2px; line-height: 1.25; }
.story .sector { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.story .desc { font-size: 12.5px; line-height: 1.4; color: #2C363D; margin: 0 0 10px; flex: 1; }
.minis { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.minis img { width: 22px; height: 22px; }
.minis .txt { font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--chip); padding: 3px 7px; border-radius: 6px; }

.detail-logo { height: 84px; margin: 6px 0 14px; }
.detail h2 { font-family: var(--font-head); font-size: 24px; margin: 0 0 4px; letter-spacing: -.3px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 16px; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--chip); color: var(--slate); }
.tag.hl { background: rgba(0,177,64,.12); color: #00753A; }
.detail h4 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: #088DC9; margin: 16px 0 6px; }
.detail p { margin: 0; line-height: 1.55; font-size: 15px; color: #2C363D; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.tool { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #F6F7F8; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.tool img { width: 32px; height: 32px; flex: none; }
.tool .dot { width: 32px; height: 32px; flex: none; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.source { display: inline-block; margin-top: 18px; color: #088DC9; font-weight: 600; font-size: 14px; }
.cta-box { margin-top: 22px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.cta-box p { margin: 0 0 12px; color: rgba(255,255,255,.8); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.story .ask { color: #088DC9; font-weight: 600; }
.wordmark.beymen { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .38em; font-size: 17px; color: #111; padding-left: .38em; text-transform: uppercase; }
.wordmark.beymen::after { display: none; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 4px; }
.sgrid.three .sd:first-child, .sgrid.one .sd { grid-column: 1 / -1; }
.sd { border-radius: 14px; padding: 14px 14px 13px; color: #fff; background: #0A7FBF; }
.sd:nth-child(1) { background: #013F92; }
.sd:nth-child(4), .sgrid.three .sd:nth-child(3) { background: #009466; }
.sd b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.05; margin-bottom: 6px; letter-spacing: -.5px; }
.sd span { font-size: 13px; line-height: 1.35; display: block; }
.bl { margin: 0; padding-left: 20px; }
.bl li { margin: 0 0 7px; line-height: 1.5; font-size: 15px; color: #2C363D; }
.bl li::marker { color: var(--green); }
.extra { margin-top: 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid #CFE6F7; background: #F3F9FD; font-size: 14px; line-height: 1.5; color: #2C363D; }
.extra b { color: #013F92; }
