* { box-sizing: border-box; }
html, body { max-width:100%; overflow-x:hidden; overflow-x:clip; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body { margin:0; background:#FFFFFF; font-family:'Inter',sans-serif; color:#14171F; }
img, svg, video { max-width:100%; }
a { color:#FF5A1F; text-decoration:none; }
a:hover { color:#D9440F; }
h1,h2,h3 { margin:0; }
::selection { background:#FF5A1F; color:#FFFFFF; }
button:focus, a:focus, input:focus, textarea:focus { outline:2px solid #FF5A1F; outline-offset:2px; }

.wrap { max-width:1140px; margin:0 auto; }
.mono { font-family:'JetBrains Mono',monospace; }
.display { font-family:'Space Grotesk',sans-serif; }

/* Animasyonlar */
@keyframes na10Draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes na10Flow { to { stroke-dashoffset:-24; } }
@keyframes na10FadeIn { from { opacity:0; transform:scale(.6); } to { opacity:1; transform:scale(1); } }
@keyframes na10Glow { 0%,100% { box-shadow:0 0 0 0 rgba(255,90,31,0.32); } 50% { box-shadow:0 0 0 14px rgba(255,90,31,0); } }
@keyframes chatPop { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .na10-anim-line, .na10-anim-node, .na10-hub { animation:none !important; stroke-dashoffset:0 !important; opacity:1 !important; transform:none !important; }
}

/* Responsive: JS yerine CSS ile masaüstü/mobil geçişi */
.desktop-only { display:flex; }
.mobile-only { display:none; }
.hero-grid { display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center; }
@media (max-width:760px) {
  .desktop-only { display:none !important; }
  .mobile-only { display:flex !important; }
  .hero-grid { grid-template-columns:1fr; }
}

.svc-card { background:#F7F8FA; border-radius:14px; padding:28px 24px; display:flex; flex-direction:column; gap:14px; transition:transform .18s; }
.svc-card:hover { transform:translateY(-4px); }
.chip-btn { font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600; color:#FFFFFF; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18); border-radius:100px; padding:9px 16px; cursor:pointer; transition:background .15s; max-width:100%; }
.chip-btn:hover { background:rgba(255,255,255,0.15); }
.chip-btn:disabled { opacity:0.5; cursor:default; }

.faq-item { background:#F7F8FA; border-radius:12px; overflow:hidden; }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; background:none; border:none; text-align:left; padding:20px 22px; cursor:pointer; font-family:'Inter',sans-serif; font-size:15.5px; font-weight:600; color:#14171F; }
.faq-a { padding:0 22px 20px; font-size:14.5px; line-height:1.65; color:#4B5262; display:none; }
.faq-item.open .faq-a { display:block; }

/* ---- İçerik (hizmet / sektör / blog) sayfaları ---- */
.page-hero { padding:clamp(44px,7vw,80px) 28px clamp(24px,4vw,40px); max-width:820px; margin:0 auto; }
.page-hero .eyebrow { font-size:12px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:#FF5A1F; margin-bottom:16px; display:block; }
.page-hero h1 { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(30px,4.2vw,46px); line-height:1.15; letter-spacing:-0.01em; margin-bottom:20px; }
.page-hero .lead { font-size:clamp(16px,1.8vw,19px); line-height:1.65; color:#4B5262; }

.breadcrumb { max-width:820px; margin:0 auto; padding:18px 28px 0; font-size:13px; color:#4B5262; }
.breadcrumb a { color:#4B5262; font-weight:500; }
.breadcrumb a:hover { color:#FF5A1F; }
.breadcrumb span { margin:0 7px; color:#9CA3AF; }

.prose { max-width:820px; margin:0 auto; padding:0 28px; font-size:16.5px; line-height:1.75; color:#374151; }
.prose > * + * { margin-top:22px; }
.prose h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(23px,3vw,30px); color:#14171F; line-height:1.25; margin-top:52px; }
.prose h3 { font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:20px; color:#14171F; margin-top:36px; }
.prose strong { color:#14171F; font-weight:600; }
.prose ul, .prose ol { padding-left:22px; }
.prose li + li { margin-top:9px; }
.prose li::marker { color:#FF5A1F; }
.prose blockquote { border-left:3px solid #FF5A1F; background:#F7F8FA; border-radius:0 12px 12px 0; padding:18px 22px; margin-left:0; margin-right:0; color:#4B5262; font-size:15.5px; }
.prose blockquote p { margin:0; }
.prose table { width:100%; border-collapse:collapse; font-size:15px; display:block; overflow-x:auto; }
.prose th, .prose td { border:1px solid #E5E7EB; padding:11px 14px; text-align:left; }
.prose th { background:#F7F8FA; font-weight:600; color:#14171F; }
.prose code { font-family:'JetBrains Mono',monospace; font-size:14px; background:#F7F8FA; border:1px solid #E5E7EB; border-radius:6px; padding:2px 6px; }
.prose hr { border:none; border-top:1px solid #E5E7EB; margin:44px 0; }

.cta-box { max-width:820px; margin:clamp(50px,8vw,80px) auto 0; padding:0 28px; }
.cta-inner { background:#14171F; border-radius:18px; padding:clamp(32px,5vw,48px); text-align:center; }
.cta-inner h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(23px,3vw,30px); color:#FFFFFF; margin-bottom:12px; }
.cta-inner p { font-size:15.5px; line-height:1.6; color:#9CA3AF; margin:0 auto 26px; max-width:520px; }
.cta-inner a { display:inline-block; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; color:#FFFFFF; background:#FF5A1F; border-radius:100px; padding:16px 30px; }

.link-cards { max-width:820px; margin:clamp(44px,7vw,70px) auto 0; padding:0 28px; }
.link-cards h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:22px; margin-bottom:20px; }
.link-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.link-grid a { display:block; background:#F7F8FA; border:1px solid #E5E7EB; border-radius:12px; padding:16px 18px; font-size:14.5px; font-weight:600; color:#14171F; transition:border-color .15s, transform .15s; }
.link-grid a:hover { border-color:#FF5A1F; color:#FF5A1F; transform:translateY(-2px); }

/* Footer */
.site-footer { border-top:1px solid #E5E7EB; background:#F7F8FA; padding:clamp(40px,6vw,60px) clamp(20px,5vw,64px) 28px; margin-top:clamp(60px,9vw,100px); }
.footer-grid { max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
@media (max-width:760px) { .footer-grid { grid-template-columns:1fr 1fr; } }
.footer-grid h3 { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.06em; color:#14171F; margin-bottom:14px; }
.footer-grid a { display:block; font-size:14px; color:#4B5262; margin-bottom:9px; font-weight:500; }
.footer-grid a:hover { color:#FF5A1F; }
.footer-grid p { font-size:14px; line-height:1.6; color:#4B5262; margin:0; }
.footer-bottom { max-width:1140px; margin:36px auto 0; padding-top:20px; border-top:1px solid #E5E7EB; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:#4B5262; }

/* Floating chat widget */
#akort-bubble { position:fixed; bottom:22px; right:22px; z-index:9998; width:60px; height:60px; border-radius:50%; background:#FF5A1F; border:none; cursor:pointer; box-shadow:0 8px 24px rgba(255,90,31,0.4); display:flex; align-items:center; justify-content:center; font-size:26px; transition:transform .18s; }
#akort-bubble:hover { transform:scale(1.08); }
#akort-chat { position:fixed; bottom:94px; right:22px; z-index:9999; width:min(380px, calc(100vw - 44px)); height:min(560px, calc(100vh - 130px)); height:min(560px, calc(100dvh - 130px)); background:#FFFFFF; border-radius:18px; box-shadow:0 20px 60px rgba(20,23,31,0.28); display:none; flex-direction:column; overflow:hidden; border:1px solid #E5E7EB; }
#akort-chat.open { display:flex; }
.akort-chat-head { background:#14171F; color:#FFFFFF; padding:16px 18px; display:flex; align-items:center; gap:10px; }
.akort-chat-body { flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:12px; background:#F7F8FA; }
.akort-msg { max-width:82%; border-radius:14px; padding:10px 14px; font-size:14px; line-height:1.5; animation:chatPop .2s ease; white-space:pre-wrap; word-wrap:break-word; }
.akort-msg.bot { background:#FFFFFF; color:#14171F; align-self:flex-start; border:1px solid #E5E7EB; }
.akort-msg.user { background:#FF5A1F; color:#FFFFFF; align-self:flex-end; }
.akort-chat-foot { display:flex; gap:8px; padding:12px; border-top:1px solid #E5E7EB; background:#FFFFFF; }
/* min-width:0 → flex:1 olan input dar ekranda küçülebilsin, yanındaki butonu dışarı itmesin */
.akort-chat-foot input { flex:1; min-width:0; border:1px solid #E5E7EB; border-radius:100px; padding:11px 16px; font-size:14px; font-family:'Inter',sans-serif; }
.akort-chat-foot button { background:#FF5A1F; color:#FFFFFF; border:none; border-radius:100px; width:42px; height:42px; cursor:pointer; font-size:18px; flex-shrink:0; }
.akort-chat-foot button:disabled { opacity:0.5; cursor:default; }

/* Mobil: iOS'ta 16px altı input odaklanınca sayfayı zoomluyor — o yüzden 16px */
@media (max-width:760px) {
  .akort-chat-foot input, #demoInput { font-size:16px; }

  /* Chat paneli mobilde alttan açılan tam genişlikte bir sayfa */
  #akort-bubble { bottom:16px; right:16px; width:56px; height:56px; }
  #akort-chat {
    right:0; left:0; bottom:0; width:100%;
    height:min(78dvh, calc(100dvh - 24px));
    border-radius:18px 18px 0 0; border-bottom:none;
    padding-bottom:env(safe-area-inset-bottom);
  }
  body.chat-open #akort-bubble { display:none; }
  body.chat-open { overflow:hidden; }
}
