/* Ionor Grid tanıtım sayfası. Düzen: ürün tanıtım sayfası kalıbı (ürün başlığı, yapışkan bölüm çubuğu, açılır
   maddeli bölümler, SSS, kapanış kutusu). Logo yeşil (#146C43, #6FE3A0); düğme ve bağlantılar da yeşil. Yalnız açık tema. */
:root {
  --paper:#ffffff; --sand:#f4f6f9; --line:#dadce0; --line-soft:#e8eaed;
  --ink:#1f1f1f; --ink-2:#444746; --ink-3:#5f6368;
  --action:#146c43; --action-hover:#0f5634; --on-action:#ffffff;
  --koz:#6fe3a0; --koz-soft:#e4f6ea; --link:#11663f; --focus:#11663f;
  --font:"Onest","Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;
  --shadow-1:0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);
  --shadow-2:0 1px 3px rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15);
  --top:64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 72px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.fine { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* Düğmeler: hap biçimli */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background .15s, box-shadow .15s, border-color .15s; }
.btn.lg { height: 48px; padding: 0 26px; font-size: 16px; }
.btn.primary { background: var(--action); color: var(--on-action); }
.btn.primary:hover { background: var(--action-hover); box-shadow: var(--shadow-1); }
.btn.outline { background: #fff; color: var(--action); border-color: var(--line); }
.btn.outline:hover { background: var(--koz-soft); border-color: #c4d3e3; }
.only-noauth { display: none !important; }
/* Giriş kapalıyken (FAZ A: /bff/session available:false) oturum düğmeleri gizlenir, "dene" düğmesi birincil olur */
.no-auth [data-signin] { display: none !important; }
.no-auth .only-noauth { display: inline-flex !important; }
.no-auth .top [data-try] { display: none !important; }
.no-auth .btn[data-try] { background: var(--action); color: var(--on-action); border-color: transparent; }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 30; background: #fff; height: var(--top); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.top.scrolled { box-shadow: 0 1px 2px rgba(60,64,67,.15); border-bottom-color: var(--line-soft); }
.top-in { display: flex; align-items: center; gap: 32px; height: 100%; width: min(1440px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); flex: none; }
.brand-name { font-size: 22px; letter-spacing: -.01em; }
.brand-name b, .lockup b { font-weight: 600; color: var(--action); }
.menu { display: flex; gap: 4px; }
.menu a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.menu a:hover { background: var(--sand); color: var(--ink); }
.top-act { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* Ürün başlığı (hero) */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.lockup { display: flex; align-items: center; gap: 12px; font-size: 30px; color: var(--ink-2); margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.cta.center { justify-content: center; }
.hint { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.hero-art { position: relative; padding: 24px 0 40px; }
.frame { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-2); background: #fff; border: 1px solid var(--line-soft); }
.frame img { width: 100%; }
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-2); font-size: 13px; }
.f-formula { top: 0; right: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.f-formula .fx { font-style: italic; color: var(--ink-3); font-weight: 600; }
.f-formula code { font: 500 14px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--action); }
.f-card { left: -28px; bottom: 0; width: 260px; padding: 14px 16px; display: grid; gap: 6px; }
.fc-h { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.py { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--koz-soft); color: var(--link); font-size: 11px; font-weight: 700; }
.fc-b { color: var(--ink-2); }
.fc-ok { color: #1e7b45; font-weight: 500; }

/* Yapışkan bölüm çubuğu */
.subnav { position: sticky; top: calc(var(--top) + 12px); z-index: 25; display: flex; justify-content: center; padding: 0 16px; margin-bottom: 40px; pointer-events: none; }
.subnav-in { pointer-events: auto; display: flex; gap: 4px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-1); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 22px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 16px; }
.subnav a:hover { background: var(--sand); }
.subnav a.on { background: var(--koz-soft); color: var(--action); font-weight: 500; }

/* İki sütunlu bölüm */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; }
.split.flip .split-text { order: 2; }
.split h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.18; }
.split-text p { margin-top: 20px; font-size: 17px; color: var(--ink-2); line-height: 1.65; }

/* Ortalanmış başlık + açılır maddeler */
.block { padding: 72px 0; }
.block-head { text-align: center; max-width: 820px; }
.block-head h2, .faq > h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.18; }
.block-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.acc-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; margin-top: 56px; }
.acc-row.flip { grid-template-columns: 1fr 1.35fr; }
.acc-row.flip .acc-media { order: 2; }
.acc-media > .frame { display: none; }
.acc-media > .frame:first-child { display: block; }
.acc-row:has(.acc details[open]) .acc-media > .frame { display: none; }
.acc-row:has(.acc details:nth-of-type(1)[open]) .acc-media > .frame:nth-child(1),
.acc-row:has(.acc details:nth-of-type(2)[open]) .acc-media > .frame:nth-child(2),
.acc-row:has(.acc details:nth-of-type(3)[open]) .acc-media > .frame:nth-child(3),
.acc-row:has(.acc details:nth-of-type(4)[open]) .acc-media > .frame:nth-child(4) { display: block; }
/* Görseli tek olan grup: her maddede aynı görsel */
.acc-media:has(> .frame:only-child) > .frame { display: block !important; }
.acc details { border-left: 2px solid var(--line); padding: 4px 0 4px 24px; margin: 0 0 28px; }
.acc details[open] { border-left-color: var(--action); }
.acc summary, .faq summary { list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 21px; line-height: 1.35; color: var(--ink-3); }
.acc details[open] summary h3 { color: var(--ink); font-weight: 500; }
.acc summary:hover h3 { color: var(--ink); }
.acc details p { margin-top: 12px; color: var(--ink-2); line-height: 1.65; }

/* Güvenlik ve dosya çizimleri (gerçek arayüzün sadeleştirilmiş taklidi, ekran görüntüsü değil) */
.mock { position: relative; display: grid; gap: 20px; justify-items: center; padding: 32px; background: radial-gradient(circle at 70% 30%, var(--koz-soft), transparent 60%); }
.mock-card { width: min(420px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--shadow-2); padding: 20px 22px; display: grid; gap: 8px; }
.mock-card.small { width: min(300px, 100%); justify-self: end; }
.mock-h { font-weight: 600; display: flex; gap: 10px; align-items: center; }
.shield { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--action); color: #fff; font-size: 14px; }
.mock-b { color: var(--ink-2); font-size: 14px; }
.mock-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.chip.on { background: var(--action); color: #fff; border-color: transparent; }
.xlsx-art { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 32px; }
.file { width: 180px; height: 220px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-2); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.file strong { font-weight: 600; font-size: 15px; }
.file i { display: block; height: 8px; border-radius: 4px; background: var(--line-soft); }
.file i.s { width: 60%; }
.ext { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--action); color: #fff; }
.ext.xlsx { background: #1e7b45; }
.file.grid i { background: var(--koz-soft); }
.arrow { font-size: 32px; color: var(--ink-3); }

/* SSS */
.faq > h2 { text-align: center; }
.faq-list { max-width: 900px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; }
.faq summary h3 { font-size: 20px; line-height: 1.4; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(45deg); margin-right: 6px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 4px 24px; color: var(--ink-2); line-height: 1.65; max-width: 760px; }

/* Kapanış kutusu */
.final { margin: 56px auto 96px; background: var(--sand); border-radius: 28px; padding: 72px 24px; display: grid; justify-items: center; text-align: center; gap: 24px; }
.final h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.18; }
.final .cta { margin-top: 0; }

/* Alt bilgi */
.foot { background: var(--sand); padding: 56px 0 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; }
.foot-cols h3 { font-size: 17px; color: var(--ink-2); margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--ink-3); text-decoration: none; font-size: 14px; padding: 5px 0; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-bar { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 44px; }
.notfound .sub { margin-top: 12px; color: var(--ink-2); }
.notfound p:last-child { margin-top: 28px; }

@media (max-width: 1000px) {
  .menu { display: none; }
  .hero, .split, .acc-row { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .split.flip .split-text, .acc-row.flip .acc-media { order: 0; }
  .split { padding: 48px 0; }
  .block { padding: 48px 0; }
  .acc-row { margin-top: 32px; }
  .f-card { left: 8px; }
}
@media (max-width: 640px) {
  .hide-s { display: none !important; }
  .top-in { gap: 12px; }
  .brand-name { font-size: 19px; }
  .btn.lg { width: 100%; }
  .lead { font-size: 17px; }
  .lockup { font-size: 24px; }
  .f-card { width: 190px; font-size: 12px; padding: 10px 12px; gap: 4px; bottom: -12px; }
  .f-card .fc-b { display: none; }
  .f-formula { padding: 8px 12px; }
  .f-formula code { font-size: 12px; }
  .f-formula { right: 8px; }
  .subnav { top: calc(var(--top) + 8px); }
  .subnav a { padding: 8px 14px; font-size: 14px; }
  .xlsx-art { gap: 12px; padding: 16px 0; }
  .file { width: 130px; height: 170px; padding: 12px; }
  .final { border-radius: 20px; padding: 48px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
