/* ==========================================================================
   OSION — Tanıtım sitesi
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --brand: #1c64d3;
  --brand-hover: #1554b8;
  --brand-deep: #0a2a66;
  --brand-ink: #061a42;
  --brand-soft: #eaf2ff;
  --ink: #0f1b2d;
  --text: #2b3a4f;
  --muted: #5d6b80;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --success: #1a7f37;
  --warn: #b45309;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 26, 66, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 26, 66, 0.16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.02em; }

.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
.container.narrow { width: min(820px, 100% - 32px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* --- Düğmeler --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 10px;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(28, 100, 211, .35); outline-offset: 2px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(28, 100, 211, .28); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { background: var(--brand-soft); }
.btn-outline-white { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }

/* --- Üst menü --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(6, 26, 66, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(6, 26, 66, .12), inset 0 0 0 1px rgba(6, 26, 66, .08);
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .06em; color: var(--ink); }

.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  background: radial-gradient(1200px 500px at 85% -10%, #dbe9ff 0%, transparent 60%), linear-gradient(#fff, #f7faff);
}
.hero-bg span {
  position: absolute; border-radius: 50%; border: 1px solid rgba(28, 100, 211, .10);
  right: -160px; top: -160px; width: 640px; height: 640px;
}
.hero-bg span:nth-child(2) { width: 860px; height: 860px; right: -270px; top: -270px; }
.hero-bg span:nth-child(3) { width: 1080px; height: 1080px; right: -380px; top: -380px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin: 18px 0 18px; }
.hero h1 .hl {
  background: linear-gradient(90deg, var(--brand), #3aa0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: #dafbe1; color: var(--success);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

/* Uygulama görünümü (dekoratif) */
.hero-visual { position: relative; }
.mock-window {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafcff; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e9f2; }
.mock-bar i:first-child { background: #ff8a80; } .mock-bar i:nth-child(2) { background: #ffd166; } .mock-bar i:nth-child(3) { background: #7bd88f; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 18px; display: grid; gap: 14px; background: var(--bg-alt); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.mock-stats small { font-size: 11px; color: var(--muted); }
.mock-stats b { font-size: 18px; color: var(--ink); }
.mock-stats em { font-style: normal; font-size: 11px; color: var(--muted); }
.mock-stats em.up { color: var(--success); font-weight: 700; } .mock-stats em.warn { color: var(--warn); font-weight: 600; }
.mock-chart { height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: flex-end; gap: 10px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(#5aa2ff, var(--brand)); opacity: .9; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.mock-card-head { display: flex; align-items: center; gap: 10px; }
.mock-card-head div { flex: 1; display: flex; flex-direction: column; }
.mock-card-head b { font-size: 14px; color: var(--ink); } .mock-card-head small { font-size: 11px; color: var(--muted); }
.mock-logo { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--brand-deep); }
.mock-plate { display: inline-flex; align-items: center; border: 1.5px solid #1f2328; border-radius: 5px; font: 700 12px/22px var(--mono); padding-right: 6px; overflow: hidden; }
.mock-plate i { font-style: normal; background: #0b4ea2; color: #fff; font: 700 8px/22px var(--font); padding: 0 3px; margin-right: 5px; }
.mock-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-chips span { font-size: 11px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.mock-chips .mono { font-family: var(--mono); }
.mock-actions { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; }
.mock-actions span { text-align: center; font-size: 12px; font-weight: 600; border-radius: 8px; padding: 7px 0; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); }
.mock-actions .g { background: #dafbe1; border-color: #a7e3b6; color: var(--success); }
.mock-actions .b { background: var(--brand); border-color: var(--brand); color: #fff; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; color: var(--ink); }
.float-card small { font-size: 12px; color: var(--muted); }
.float-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.float-ic.ok { background: #dafbe1; color: var(--success); }
.float-scan { left: -34px; top: 38%; }
.float-pay { right: -18px; bottom: -22px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* --- Güven şeridi --- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 26px 18px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.trust-grid div + div { border-left: 1px solid var(--line); }
.trust-grid b { font-size: 28px; color: var(--brand-deep); font-weight: 800; }
.trust-grid span { font-size: 14px; color: var(--muted); }

/* --- Bölümler --- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d9f2; }
.feature-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-no { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Fiyatlar --- */
.billing-toggle { display: flex; width: max-content; margin: 0 auto 36px; padding: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; }
.billing-toggle button { border: none; background: none; font: 600 15px var(--font); color: var(--muted); padding: 10px 20px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(6, 26, 66, .1); }
.save-badge { font-size: 11px; font-weight: 700; color: var(--success); background: #dafbe1; border-radius: 999px; padding: 2px 8px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.pricing-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-sub { font-size: 13px; color: var(--muted); min-height: 20px; margin: 4px 0 20px; }
.plan-limits { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; overflow: hidden; }
.plan-limits div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; }
.plan-limits div + div { border-top: 1px solid var(--line); }
.plan-limits dt { color: var(--muted); }
.plan-limits dd { margin: 0; font-weight: 700; color: var(--ink); }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features li::before { content: "✓"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 28px 0 0; }

/* --- SSS --- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: #c9d9f2; box-shadow: 0 6px 18px rgba(6, 26, 66, .05); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* --- Son çağrı --- */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 70%, var(--brand-ink) 100%); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.cta-band p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Alt bilgi --- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--brand); }
.footer-credit { opacity: .85; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: 13px; color: var(--muted); }

/* --- Görünüme girince --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* --- Duyarlı --- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .float-scan { left: -10px; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mock-window { transform: none; }
  .float-pay { right: 6px; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(3) { border-left: none; }
  .trust-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 68px; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(6, 26, 66, .08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; font-size: 16px; }
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 560px) {
  .header-actions .btn-primary { padding: 0 14px; font-size: 14px; min-height: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-stats div:last-child { display: none; }
  .float-scan { left: 4px; top: -26px; }
  .float-pay { bottom: -26px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .plan { padding: 24px 20px; }
}
