/* Ciraxis — tek sayfalık kurumsal site.
   Renkler logodan: lacivert yazı, kırmızı X. Sketch32 bölümü ürünün kendi
   camgöbeği tonunu taşıyor ki iki marka birbirine karışmasın. */

:root {
  --navy: #02111f;
  --navy-2: #0b2236;
  --ink: #1b2a3a;
  --muted: #5b6b7c;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --red: #c81010;
  --red-2: #e02424;
  --cyan: #29b6e6;
  --cyan-2: #0f8fbf;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(2, 17, 31, .05), 0 12px 32px -12px rgba(2, 17, 31, .16);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.red { color: var(--red); }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--red); transition: right .2s;
}
.nav a:hover::after, .nav a.on::after { right: 0; }
.bar-end { display: flex; align-items: center; gap: 10px; }
/* Dil seçici: seçili olan dolu, diğeri sade — hangi dilde olduğun bir bakışta görünüyor. */
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang button {
  font: 600 12.5px var(--body); letter-spacing: .04em; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button:hover { color: var(--navy); }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Düğmeler ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  font: 600 15px var(--body); text-decoration: none; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(2, 17, 31, .5); }
.btn.primary:hover { background: var(--red); }
.btn.ghost { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn.ghost:hover { border-color: var(--navy); }
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn.ghost.light:hover { border-color: #fff; }
.btn.play { background: #fff; color: var(--navy); }
.btn.play:hover { box-shadow: 0 10px 24px -10px rgba(41, 182, 230, .8); }

/* ---------- Kahraman ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(41, 182, 230, .14), transparent 70%),
    radial-gradient(500px 360px at 70% 90%, rgba(200, 16, 16, .07), transparent 70%),
    linear-gradient(180deg, #f6fafc, #fff);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(2, 17, 31, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 90%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--cyan); margin-bottom: 4px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; }
.lead { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 560px; }
.lead.light { color: rgba(255, 255, 255, .78); }

.hero-art { position: relative; min-height: 470px; }
.orbit {
  position: absolute; top: 0; right: 10px; width: 250px; height: 250px;
  border: 1.5px dashed rgba(2, 17, 31, .16); border-radius: 50%; z-index: 2;
  animation: spin 40s linear infinite;
}
.chip {
  position: absolute; inset: 55px; border-radius: 34px; background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; animation: spin 40s linear infinite reverse;
}
.chip img { width: 104px; }
.dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.d1 { top: -6px; left: 50%; background: var(--red); }
.d2 { bottom: 30px; left: 8px; background: var(--cyan); }
.d3 { bottom: 30px; right: 8px; background: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.code-card {
  position: absolute; left: 0; bottom: 0; width: min(360px, 100%);
  background: var(--navy); color: #cfe2f1; border-radius: 16px; box-shadow: 0 30px 60px -25px rgba(2, 17, 31, .6);
  overflow: hidden; font: 13.5px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.code-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy-2); }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: #2a3f55; }
.code-head i:first-child { background: var(--red-2); }
.code-head b { margin-left: 8px; font-weight: 500; color: #8aa3b8; font-size: 12.5px; }
.code-card pre { margin: 0; padding: 16px 18px 12px; overflow-x: auto; }
.k { color: #ff7b7b; } .f { color: #6fd3f7; } .n { color: #ffd479; }
.code-ok { padding: 10px 18px 14px; font-family: var(--body); font-size: 13px; color: #7ee2a8; border-top: 1px solid rgba(255, 255, 255, .06); }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(126, 226, 168, .16); margin-right: 4px; }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.head { max-width: 720px; margin-bottom: 48px; }
.head h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; }
.sub { color: var(--muted); font-size: 17px; margin-top: 16px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.letter { display: block; font: 800 44px/1 var(--head); color: var(--navy); margin-bottom: 18px; }
.letter.red { color: var(--red); }
.pillar h3, .svc h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p, .svc p { color: var(--muted); font-size: 15.5px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* IoT akışı: dört adım, aralarında ok */
.flow { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow li {
  position: relative; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 4px;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -12px; z-index: 1; width: 9px; height: 9px;
  border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-50%) rotate(45deg);
}
.step { font: 700 12px var(--body); letter-spacing: .12em; color: var(--red-2); }
.flow-ico { margin: 10px 0 8px; }
.flow-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow b { font: 700 17px var(--head); }
.flow li > span:last-child { font-size: 14px; color: rgba(255, 255, 255, .66); line-height: 1.5; }
.svc { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(2, 17, 31, .06); margin-bottom: 18px;
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:nth-child(-n+2) .ico { background: rgba(200, 16, 16, .08); }
.svc:nth-child(-n+2) .ico svg { stroke: var(--red); }

/* ---------- Ürün kartları ---------- */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.prod.live { border-color: rgba(41, 182, 230, .45); box-shadow: 0 16px 36px -22px rgba(41, 182, 230, .7); }
a.prod:hover { transform: translateY(-3px); border-color: var(--cyan); }
.prod.soon { background: linear-gradient(180deg, #fbfcfd, #f5f8fa); }
.prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.prod-logo { width: 56px; height: 56px; border-radius: 15px; box-shadow: var(--shadow); background: #fff; padding: 4px; }
.prod-ico { width: 56px; height: 56px; border-radius: 15px; background: rgba(2, 17, 31, .06); display: grid; place-items: center; }
.prod-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  font: 700 11.5px var(--body); letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(2, 17, 31, .07); color: var(--muted);
}
.badge.on { background: rgba(22, 163, 74, .12); color: #15803d; }
.prod h3 { font-size: 21px; }
.prod p { color: var(--muted); font-size: 15.5px; flex: 1; }
.plats { display: flex; flex-wrap: wrap; gap: 6px; }
.plats span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.more { font-weight: 600; font-size: 14.5px; color: var(--cyan-2); margin-top: 4px; }

/* ---------- Ürün ---------- */
.product {
  background: radial-gradient(800px 500px at 90% 0%, rgba(41, 182, 230, .22), transparent 70%), var(--navy);
  color: #fff; padding: 96px 0 72px; overflow: hidden;
}
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.app-id { display: flex; align-items: center; gap: 16px; }
.app-id img { width: 68px; height: 68px; border-radius: 18px; background: #fff; padding: 6px; }
.product h2 { color: #fff; font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.tagline { font: 700 20px var(--head); color: var(--cyan); margin-top: 20px; letter-spacing: .02em; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, .88); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(41, 182, 230, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2329b6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.product-shot img {
  border-radius: 26px; width: 100%; max-width: 480px; margin-left: auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 72px;
  background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden;
}
.stats div { background: var(--navy); padding: 26px 22px; }
.stats b { display: block; font: 800 40px/1 var(--head); color: #fff; }
.stats span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .62); font-size: 14.5px; }

.shots-title { color: #fff; font-size: 22px; margin: 72px 0 22px; }
.strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(20px, calc((100vw - 1120px) / 2)) 16px; scrollbar-width: none; outline: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip img {
  flex: 0 0 auto; width: 260px; border-radius: 20px; scroll-snap-align: start;
  background: #0f2437;
}
.strip-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.round {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff;
}
.round:hover { border-color: #fff; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.boards span {
  font-size: 13.5px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8);
}

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s; min-width: 0;
}
a.c-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.c-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.c-value { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.c-value.small { font-size: 14.5px; font-weight: 500; line-height: 1.5; }

/* ---------- Altbilgi ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot-brand img { width: 230px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-links a { text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: #fff; }
.copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

/* ---------- Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1020px) {
  .services, .contact, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .prods { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
    box-shadow: 0 20px 30px -20px rgba(2, 17, 31, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .bar-end { margin-left: auto; }

  .hero { padding: 44px 0 64px; }
  .hero-grid, .product-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Dar ekranda yörünge süsü kod kartıyla çakışıyor; yalnızca kart kalıyor. */
  .hero-art { min-height: 0; max-width: 460px; }
  .orbit { display: none; }
  .code-card { position: relative; width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .product-shot img { margin: 0 auto; max-width: 380px; }
  .section { padding: 72px 0; }
  .product { padding: 72px 0 56px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 26px; }
  .lead { font-size: 16.5px; }
  .cta .btn { width: 100%; }
  .services, .contact { grid-template-columns: 1fr; }
  .flow { gap: 12px; }
  .flow li { padding: 18px 16px; }
  .flow b { font-size: 15.5px; }
  .flow li > span:last-child { font-size: 13px; }
  .code-card { font-size: 12.5px; }
  .strip { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .strip img { width: 72vw; }
  .stats b { font-size: 32px; }
  .stats div { padding: 20px 16px; }
  .foot-brand img { width: 190px; }
}
