/* Softxware Apps — paylaşılan stiller (hub + Storya + yasal sayfalar) */
:root {
  --ground: #0b0b0f;
  --panel: #14141b;
  --panel-2: #1b1b24;
  --text: #f2f2f5;
  --muted: #9aa0aa;
  --brand: #3bbaf6;        /* Softxware kurumsal mavi */
  --accent: #3bbaf6;       /* site vurgu rengi = kurumsal mavi */
  --accent-strong: #1e9fe0;/* daha koyu mavi: kenarlık/altçizgi/parıltı */
  --storya: #e11d48;       /* Storya ürün rengi — yalnızca uygulama tile/ikonu */
  --border: #26262f;
  --radius: 16px;
  --max: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.doc { max-width: 760px; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(11,11,15,.82); backdrop-filter: saturate(140%) blur(10px); z-index: 10; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; color: var(--text); width: 200px; }
.brand .logo { height: 22px; width: auto; display: block; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 36px; }
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 12px 0 14px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 560px; }

/* App grid + card */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; padding: 12px 0 80px; }
.appcard { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: border-color .15s, transform .15s; }
.appcard:hover { border-color: var(--accent-strong); transform: translateY(-2px); text-decoration: none; }
.tile { width: 64px; height: 64px; border-radius: 15px; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(145deg, #e11d48, #7c1d3a); box-shadow: 0 8px 24px rgba(225,29,72,.35); }
.tile svg { width: 34px; height: 34px; }
.appcard h3 { margin: 0 0 2px; font-size: 19px; color: var(--text); }
.appcard p { margin: 0; color: var(--muted); font-size: 14px; }

/* Storya app page */
.apphead { display: flex; gap: 20px; align-items: center; padding: 48px 0 8px; flex-wrap: wrap; }
.apphead .tile { width: 96px; height: 96px; border-radius: 22px; }
.apphead .tile svg { width: 52px; height: 52px; }
.apphead h1 { font-size: 38px; letter-spacing: -.02em; margin: 0 0 4px; }
.apphead .sub { color: var(--muted); font-size: 17px; }
.lead { color: var(--text); font-size: 18px; max-width: 640px; margin: 22px 0 8px; }

.section-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 40px 0 14px; }

/* Store badges */
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 8px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #3a3a42; color: #fff; border-radius: 12px; padding: 10px 16px; min-width: 168px; transition: border-color .15s; }
.badge:hover { border-color: var(--accent); text-decoration: none; }
.badge svg { width: 24px; height: 24px; flex: 0 0 auto; }
.badge .b-top { display: block; font-size: 11px; color: #c9cbd1; line-height: 1.1; }
.badge .b-main { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; }

/* Link list (legal) */
.linklist { display: grid; gap: 10px; max-width: 520px; }
.linkrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--text); }
.linkrow:hover { border-color: var(--accent-strong); text-decoration: none; }
.linkrow .chev { color: var(--muted); }

/* Doc (legal) typography */
.dochead { border-bottom: 3px solid var(--accent-strong); padding: 36px 0 20px; margin-bottom: 8px; }
.dochead .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.dochead h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 10px; }
.updated { color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -.01em; }
.doc h2 .num { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.tablewrap { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { background: var(--panel-2); font-weight: 700; }
.note { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin: 22px 0; font-size: 15px; color: var(--muted); }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin: 28px 0 0; }

/* Footer */
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 28px 0 48px; margin-top: 24px; }
footer.site .inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  .badge { flex: 1 1 100%; }
  .topbar .inner { height: 56px; }
}
