/* ═══════════════════════════════════════════════════════════════
   KabaOS — os.kabaforce.com  (yeniden tasarım v3)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f4f5f8;
  --ink: #14161d;
  --ink-soft: #565f6e;
  --ink-faint: #8a93a3;
  --line: rgba(20, 22, 29, 0.09);
  --line-strong: rgba(20, 22, 29, 0.16);
  --brand: #ff7a3d;
  --brand-strong: #ef5f1c;
  --brand-soft: #fff1e8;
  --ink-dark: #0d1017;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 24, 40, 0.05);
  --shadow: 0 18px 44px rgba(20, 24, 40, 0.10);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.08; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Background decoration */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
}
.bg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.bg-glow-a { width: 520px; height: 520px; top: -180px; right: -120px; background: radial-gradient(circle, #ffd3b8, transparent 70%); }
.bg-glow-b { width: 460px; height: 460px; top: 260px; left: -160px; background: radial-gradient(circle, #cfe0ff, transparent 70%); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; backdrop-filter: blur(14px); background: rgba(251, 251, 253, 0.72); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff; font-size: 17px; box-shadow: 0 6px 16px rgba(255, 122, 61, 0.35);
}
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-links a { transition: color .18s; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 12px 26px rgba(255, 122, 61, 0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 122, 61, 0.40); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-line { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 84px 24px 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-strong); background: var(--brand-soft); border: 1px solid #ffd9c4; padding: 7px 14px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.18); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; margin: 22px 0 18px; }
.lede { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 34ch; }
.lede b { color: var(--ink); }
.hero-cta { display: flex; gap: 14px; margin: 32px 0; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; }
.hero-trust span { font-size: 13px; color: var(--ink-faint); }

/* ── Terminal ── */
.hero-visual { position: relative; }
.terminal {
  background: var(--ink-dark); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(13, 16, 23, 0.35); border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.term-bar .tl { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.term-bar .tl:nth-child(2) { background: #febc2e; }
.term-bar .tl:nth-child(3) { background: #28c840; }
.term-title { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.4); }
.term-body { padding: 22px 24px 26px; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 1.9; color: #e8ecf4; white-space: pre-wrap; word-break: break-word; }
.term-body b { color: #fff; font-weight: 600; }
.c-brand { color: #ff9b63; font-weight: 600; }
.c-ok { color: #4ade80; }
.c-dim { color: rgba(255,255,255,0.45); }
.cursor { color: var(--brand); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Sections ── */
.section { padding: 76px 24px; }
.section-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--brand-strong); background: var(--brand-soft); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.03rem; }
.tag-s { color: #6aaeff; } .tag-x { color: var(--brand); }

/* ── Editions ── */
.fam-label { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; margin: 30px 0 16px; padding-left: 4px; }
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edition {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.edition:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.edition header { margin-bottom: 10px; }
.ed-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; margin: 2px 0 14px; color: var(--ink); }
.ed-price span { font-size: 0.9rem; font-weight: 500; color: var(--ink-faint); }
.ed-price .free { color: var(--brand-strong); font-size: 1.4rem; }
.ed-price .from { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 2px; }
.ed-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 10px; }
.ed-tag-soon { color: var(--brand-strong); }
.edition h3 { font-size: 1.35rem; font-weight: 700; }
.edition > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }
.edition ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.edition li { position: relative; padding-left: 24px; font-size: 0.93rem; color: var(--ink); }
.edition li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.ed-cta { font-weight: 600; font-size: 0.95rem; color: var(--brand-strong); transition: gap .18s; }
.ed-cta:hover { color: var(--brand); }
.ed-cta-muted { color: var(--ink-faint); cursor: default; }
.edition-soon { background: var(--surface-2); border-style: dashed; }
.edition-ent { background: linear-gradient(180deg, #ffffff, #fbfcfe); }
.edition-x { border-color: #ffd9c4; background: linear-gradient(180deg, #fffaf6, #fff); }
.edition-x:hover { border-color: var(--brand); }

/* ── Features ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; background: var(--brand-soft); border-radius: 14px; margin-bottom: 16px; }
.feature h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }
.feature code { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--brand-strong); }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2px 22px; transition: border-color .18s, box-shadow .18s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.04rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 18px; font-size: 0.97rem; }
.faq-item code { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--brand-strong); }
.faq-item a { color: var(--brand-strong); font-weight: 600; }

/* ── Download ── */
.download { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; background: var(--ink-dark); border-radius: 32px; padding: 52px; color: #fff; box-shadow: 0 30px 70px rgba(13,16,23,0.28); }
.download .pill { background: rgba(255,122,61,0.18); color: #ff9b63; }
.download h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 6px 0 14px; }
.download .dl-copy > p { color: rgba(255,255,255,0.65); font-size: 1.02rem; }
.download .btn-line { color: #fff; border-color: rgba(255,255,255,0.28); }
.download .btn-line:hover { border-color: #fff; }
.dl-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 8px 22px; }
.dl-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dl-row:last-child { border-bottom: none; }
.dl-row span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.dl-row b { font-size: 14px; font-weight: 600; text-align: right; }
.mono { font-family: 'JetBrains Mono', monospace; word-break: break-all; }
.sha { font-size: 10px !important; color: rgba(255,255,255,0.6); max-width: 190px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 14px; max-width: 34ch; }
.foot-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 10px; transition: color .18s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
  .hero-visual { order: 2; }
  .terminal { transform: none; }
  .edition-grid, .feature-grid { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero-trust { gap: 22px; flex-wrap: wrap; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Disabled State ── */
.btn-disabled, .btn.is-disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  transform: none !important;
  background: #4b5563 !important;
  border-color: #6b7280 !important;
  color: #e5e7eb !important;
}
.btn-disabled:hover, .btn.is-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

