/* CityFix tanıtım sitesi — ortak stil (TR / EN). */
/* Inter yazı tipi sitenin kendi sunucusundan (Google Fonts beklemesi yok). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/site/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/site/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --night: #081022;
  --deep: #0F1B33;
  --signal: #FF7A3D;
  --ember: #CC4A1A;
  --mist: #B9C3D9;
  --dim: #7F8BA6;
  --paper: #F6F3EF;
  --ink: #0F1B33;
  --line: rgba(255, 255, 255, .1);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: #fff;
  font: 400 18px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.2vw, 64px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; color: var(--mist); max-width: 62ch; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.lede { font-size: clamp(18px, 1.6vw, 21px); }
.small { font-size: 15px; color: var(--dim); }

/* Üst menü */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); background: rgba(8, 16, 34, .72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--mist); }
.nav-links a:hover { color: #fff; }
.lang { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.lang:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Düğmeler */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.store img { height: 52px; width: auto; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 12px; font: 600 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #fff; }
.btn:hover { background: rgba(255, 255, 255, .09); }
.btn svg { width: 18px; height: 18px; }
.soon { display: inline-flex; align-items: center; height: 52px; padding: 0 18px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .22); color: var(--mist); font-size: 15px; }
.btn-ember { background: var(--ember); border-color: var(--ember); }
.btn-ember:hover { background: #E05A26; }

/* Açılış: karanlık şehir ağı + bildirim noktaları */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.hero-map { position: absolute; inset: -10% -10% 0 -10%; z-index: -1; opacity: .9; }
.hero-map svg { width: 100%; height: 100%; }
.hero-map .road { stroke: rgba(120, 150, 210, .16); stroke-width: 1.4; fill: none; }
.hero-map .road.main { stroke: rgba(120, 150, 210, .28); stroke-width: 2.4; }
.hero-map .pin { fill: var(--signal); }
.hero-map .ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 45%, rgba(255, 106, 42, .22), transparent 70%), linear-gradient(180deg, rgba(8, 16, 34, .2), var(--night) 96%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(48px, 8.4vw, 104px); letter-spacing: -.05em; line-height: .98; }
.hero .lede { margin-top: 26px; }
.hero .note { margin-top: 22px; font-size: 14px; color: var(--dim); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-map .ring { animation: ping 3.6s ease-out infinite; animation-delay: var(--d, 0s); }
  .js .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .js .hero .phone { animation: rise 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes ping { 0% { opacity: .9; transform: scale(.4); } 70% { opacity: 0; transform: scale(3.2); } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Gerçekçi iPhone çerçevesi; arkasında kutu yok. */
.phone { --w: 320px; position: relative; width: var(--w); max-width: 100%; margin-inline: auto; padding: calc(var(--w) * .011); border-radius: calc(var(--w) * .176);
  background: linear-gradient(135deg, #d4d7dc 0%, #6a6f78 9%, #2b2e34 26%, #17191d 52%, #34373e 78%, #9da1a9 93%, #d8dbe0 100%);
  box-shadow: 0 calc(var(--w) * .13) calc(var(--w) * .22) calc(var(--w) * -.05) rgba(0, 0, 0, .62), 0 calc(var(--w) * .025) calc(var(--w) * .05) rgba(0, 0, 0, .35); }
.phone .bz { background: #020203; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .027); }
.phone .scr { position: relative; overflow: hidden; border-radius: calc(var(--w) * .138); background: var(--sb, #fff); }
.phone .sb { height: calc(var(--w) * .1114); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * .085); color: #0A0A0A; font: 600 calc(var(--w) * .041) Inter, system-ui, sans-serif; letter-spacing: -.01em; }
.phone .sb i { width: calc(var(--w) * .2); height: calc(var(--w) * .028); background: currentColor; -webkit-mask: var(--sbicons) right/contain no-repeat; mask: var(--sbicons) right/contain no-repeat; }
.phone .di { position: absolute; left: 50%; top: calc(var(--w) * .025); width: calc(var(--w) * .292); height: calc(var(--w) * .086); transform: translateX(-50%); background: #000; border-radius: 999px; }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }
:root { --sbicons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 12'%3E%3Cg fill='black'%3E%3Crect x='0' y='8' width='3' height='4' rx='.8'/%3E%3Crect x='5' y='5.5' width='3' height='6.5' rx='.8'/%3E%3Crect x='10' y='3' width='3' height='9' rx='.8'/%3E%3Crect x='15' y='0' width='3' height='12' rx='.8'/%3E%3Cpath d='M31 2.3c2.3 0 4.4.9 6 2.4l1.2-1.2A10.3 10.3 0 0 0 31 .6a10.3 10.3 0 0 0-7.2 2.9L25 4.7a8.6 8.6 0 0 1 6-2.4zm0 3.4c1.4 0 2.6.5 3.6 1.4l1.2-1.2A7 7 0 0 0 31 4a7 7 0 0 0-4.8 1.9l1.2 1.2c1-.9 2.2-1.4 3.6-1.4zm0 3.4c.5 0 1 .2 1.3.5L31 11.4l-1.3-1.8c.3-.3.8-.5 1.3-.5z'/%3E%3Crect x='42.6' y='.6' width='20.8' height='10.8' rx='3.4' fill='none' stroke='black' stroke-width='1.1' opacity='.45'/%3E%3Crect x='44.2' y='2.2' width='17.6' height='7.6' rx='2'/%3E%3C/g%3E%3C/svg%3E"); }
.hero .phone { --w: min(340px, 78vw); }

/* Bölümler */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.alt { background: var(--deep); }

/* Sorun: üç sokak fotoğrafı */
.street { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.street figure { margin: 0; }
.street img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; filter: saturate(.92); }
.street figcaption { margin-top: 14px; font-weight: 600; font-size: 17px; }
.street + p { margin-top: 36px; }

/* Nasıl çalışır: gerçek bir sıra, numaralı */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 14px; align-content: start; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--night); background: var(--signal); }
.steps .phone { --w: 250px; margin: 18px 0 8px; }

/* Özellikler: dönüşümlü satırlar */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature:nth-child(even) .feature-shot { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.feature .phone { --w: 290px; }

/* Belediyeler: açık şerit */
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.paper p { color: #46506A; }
.paper .btn { color: var(--ink); border-color: rgba(15, 27, 51, .18); background: transparent; }
.paper .btn:hover { background: rgba(15, 27, 51, .06); }
.panel-shot { margin-top: clamp(40px, 5vw, 64px); border-radius: 18px; box-shadow: 0 60px 120px -40px rgba(15, 27, 51, .45), 0 20px 40px -20px rgba(15, 27, 51, .25); }
.municipal-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; padding: 0; list-style: none; }
.municipal-points li { font-size: 16px; color: #46506A; }
.municipal-points strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* Yapay zekâ: bugün → geliştiriliyor → vizyon zaman çizgisi */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--signal), rgba(255, 122, 61, .35) 55%, rgba(255, 122, 61, .08)); }
.timeline li { position: relative; padding-top: 38px; display: grid; gap: 10px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid var(--signal); }
.timeline li:first-child::before { background: var(--signal); }
.timeline .when { font-size: 15px; font-weight: 600; color: var(--signal); }

/* Biz kimiz */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about .founder { margin-top: 26px; font-weight: 600; color: #fff; }
.contact { display: grid; gap: 14px; }
.contact a.mail { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; text-decoration: none; color: var(--signal); word-break: break-word; }
.contact a.mail:hover { text-decoration: underline; }

/* Alt bilgi */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer .wrap { display: grid; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.footer nav a { color: var(--mist); text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer p { font-size: 14px; color: var(--dim); max-width: 80ch; }

/* Film penceresi */
.modal { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; color: #fff; overflow: hidden; }
.modal::backdrop { background: rgba(4, 8, 18, .86); backdrop-filter: blur(4px); }
.modal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal .close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* Tablet ve telefon */
@media (max-width: 1000px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero .phone { margin-top: 12px; }
  .municipal-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .street, .steps, .timeline { grid-template-columns: 1fr; }
  .street { gap: 28px; }
  .steps .phone { --w: min(280px, 80vw); margin-inline: auto; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-shot { order: 0; }
  .feature .phone { --w: min(290px, 80vw); }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--signal), rgba(255, 122, 61, .1)); }
  .timeline li { padding: 0 0 0 40px; }
  .municipal-points { grid-template-columns: 1fr; }
  .actions { gap: 12px; }
  .store img { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
