/* Bilge Teknik Mühendislik — tek motif: logodaki altıgenin pahlı köşesi; renkler logodan */
:root {
  --bg: #0a1f3f;        /* logonun laciverti */
  --surface: #12294d;
  --ink: #eef3f7;
  --muted: #b2c1d1;
  --accent: #1fb4d6;    /* logonun camgöbeği */
  --accent-ink: #0a1f3f;
  --paper: #eef2f5;     /* logonun zemini */
  --steel: #93a7bd;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-statement: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  --step-display: clamp(2.6rem, 0.5rem + 4.6vw, 5rem);

  --m: clamp(16px, 2.4vw, 32px);   /* tek dış kenar boşluğu */
  --gap: clamp(120px, 14vw, 220px);
  --ch: 28px;                      /* pah boyu */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.5 "Albert Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 10px; }

/* motif */
.chamfer, .btn, .tile-img, .hero-media .fade, .about-photo, .thumb, .cta-main, .coupon {
  clip-path: polygon(0 0, calc(100% - var(--c, var(--ch))) 0, 100% var(--c, var(--ch)), 100% 100%, var(--c, var(--ch)) 100%, 0 calc(100% - var(--c, var(--ch))));
}

/* buttons: one shape (chamfered rectangle) */
.btn {
  --c: 12px; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); background: #55cbe7; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: var(--step-small); --c: 9px; }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { background: #1b3a66; }
.link { font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: color .2s; }
.link:hover { color: var(--accent); }

/* bar */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--m);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; color: var(--accent-ink); }
.mark img { width: 46px; height: auto; transition: transform .5s var(--ease); }
.mark:hover img { transform: scale(1.08) rotate(-6deg); }
.mark-light { display: none; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.bar nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; }
.bar nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bar nav a:not(.btn):hover::after { transform: scaleX(1); }
.bar nav { background: var(--bg); padding-left: 24px; --c: 12px; clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.bar nav .btn { background: var(--accent); color: var(--accent-ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 100svh; padding: 12px;
}
.hero > * { min-width: 0; }
.hero-card {
  --c: clamp(80px, 12vw, 200px);
  background: var(--paper); color: var(--accent-ink); display: flex; flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
  min-height: calc(100svh - 24px);
}
.stripe { display: flex; height: 56px; overflow: hidden; margin-top: 76px; min-width: 0; }
.stripe i { flex: 0 0 28px; background: var(--accent-ink); transform: skewX(-45deg); margin-right: 28px; }
.stripe i:nth-child(3n) { background: var(--accent); }
.hero-text { padding: clamp(32px, 5vw, 72px) var(--m) clamp(48px, 8vw, 120px) clamp(20px, 4vw, 56px); margin-top: auto; }
.hero-logo { width: min(440px, 86%); height: auto; margin: 0 0 40px -6px; }
.hero h1 { font-size: clamp(2.2rem, 0.4rem + 4vw, 4.25rem); }
.hero-lead { margin-top: 36px; max-width: 40ch; font-size: var(--step-body); }
.hero-act { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-act .btn { background: var(--accent-ink); color: var(--ink); }
.hero-act .btn:hover { background: #1b3a66; }
.hero-media { margin: 0; position: relative; display: flex; flex-direction: column; }
.hero-media .fade { --c: clamp(60px, 9vw, 150px); position: relative; flex: 1; background: var(--surface); overflow: hidden; min-height: 60svh; }
.hero-media .fade img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08); opacity: 0; transition: opacity 1.6s ease;
}
.hero-media .fade img.on { opacity: 1; }
.hero-media .fade img.on { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media figcaption { font-size: var(--step-small); color: var(--muted); padding: 10px 0 0; }

/* intro statement */
.intro { padding: var(--gap) var(--m) 0; }
.statement {
  font-size: var(--step-statement); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em;
  max-width: 30ch; margin: 0 auto; text-align: center;
}
.thumb { --c: 0.22em; display: inline-block; width: 1.35em; height: 0.9em; vertical-align: -0.08em; margin: 0 0.1em; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }

/* features */
.features {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 28px);
  padding: var(--gap) var(--m) 0;
}
.feat-head { grid-column: 1 / span 3; }
.feat-head h2 { font-size: var(--step-head); }
.feat-head p { margin-top: 24px; max-width: 30ch; }
.tiles {
  grid-column: 4 / -1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 10px;
}
.tile-img { aspect-ratio: 4 / 4.2; display: grid; place-items: center; overflow: hidden; }
.t-wide { grid-column: span 2; }
.t-wide .tile-img { aspect-ratio: auto; height: calc(100% - 0px); }
.t-wide { display: flex; flex-direction: column; }
.t-wide .tile-img { flex: 1; min-height: 0; }
.t-wide { grid-row: span 1; }
.t-paper .tile-img { background: var(--paper); }
.t-cyan .tile-img { background: var(--accent); }
.t-navy .tile-img { background: var(--surface); }
.t-steel .tile-img { background: var(--steel); }
.tile-img img {
  width: 86%; height: 70%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15);
  transition: transform .6s var(--ease);
}
.t-wide .tile-img img, .tile:nth-child(4) .tile-img img { object-fit: cover; width: 100%; height: 100%; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile h3 { font-size: var(--step-body); letter-spacing: -0.02em; margin-top: 16px; font-weight: 500; }
.tile p { margin-top: 6px; font-size: 1rem; color: var(--muted); max-width: 32ch; }

/* how */
.how { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 28px); }
.how-head { grid-column: 1 / span 5; }
.how-head h2 { font-size: var(--step-head); }
.how-head p { margin-top: 24px; max-width: 40ch; }
.diagram { grid-column: 1 / -1; margin-top: 64px; }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram rect { transition: transform 1.4s var(--ease), fill 1.4s; }
.how-steps { grid-column: 1 / -1; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.how-steps h3 { font-size: var(--step-body); letter-spacing: -0.02em; }
.how-steps p { margin-top: 10px; max-width: 34ch; }

/* about */
.about { padding: var(--gap) var(--m) 0; }
.panel {
  background: var(--surface); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 60fr 40fr; gap: 40px; padding: 56px 56px 0;
}
.about-left h2 { font-size: var(--step-head); max-width: 9ch; }
.about-photo { --c: clamp(48px, 7vw, 120px); margin: 56px 0 0; width: min(38vw, 620px); aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; background: var(--bg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.about-photo figcaption { position: absolute; left: 20px; bottom: 76px; font-size: var(--step-small); background: var(--bg); padding: 4px 10px; }
.about-right { display: flex; flex-direction: column; gap: 56px; align-items: flex-start; padding: 6px 0 56px; }
.about-right h3 { font-size: var(--step-lead); letter-spacing: -0.02em; font-weight: 500; }
.about-right p { margin-top: 12px; max-width: 34ch; }

/* cta */
.cta { padding: var(--gap) 0 0; overflow: hidden; }
.cta-row { display: grid; grid-template-columns: 1fr 4fr 1fr; gap: 12px; margin: 0 calc(-1 * var(--m)); }
.cta-row > * { height: 380px; }
.cta-side { overflow: hidden; }
.cta-photo { background: var(--paper); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); mix-blend-mode: multiply; }
.cta-flat { background: var(--steel); }
.cta-main { --c: 40px; background: var(--accent); color: var(--accent-ink); padding: 40px clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px 48px; }
.cta-main h2 { font-size: var(--step-statement); max-width: 14ch; }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta-main p { max-width: 42ch; }

/* contact coupon */
.contact { padding: var(--gap) var(--m) clamp(72px, 9vw, 140px); }
.coupon {
  --c: 36px; display: grid; grid-template-columns: 46fr 10px 54fr; background: var(--paper); color: var(--accent-ink);
  max-width: 1180px; margin: 0 auto; position: relative;
}

.coupon-left { padding: 48px; display: flex; flex-direction: column; gap: 28px; }
.coupon-left h2 { font-size: var(--step-statement); max-width: 12ch; }
.perf { position: relative; }
.perf::after { content: ""; position: absolute; left: 2px; top: 24px; bottom: 24px; border-left: 5px dotted var(--bg); }
.perf i { position: absolute; left: -9px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.perf i:first-child { top: -14px; }
.perf i:last-child { bottom: -14px; }
.picker { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picker legend { padding: 0; margin-bottom: 12px; font-weight: 500; }
.picker label { position: relative; cursor: pointer; }
.picker input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.picker span {
  --c: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #d3dce4; font-weight: 500;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: background-color .2s, transform .2s var(--ease);
}
.picker label:hover span { transform: translateY(-2px); }
.picker input:checked + span { background: var(--accent-ink); color: var(--accent); }
.picker input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.team { font-size: var(--step-body); margin-top: auto; }
.coupon-right { padding: 48px; display: flex; flex-direction: column; gap: 10px; }
.coupon input, .coupon textarea {
  font: inherit; font-size: 1rem; color: var(--accent-ink); background: #dbe3ea; border: 0; padding: 14px 16px; min-height: 52px; width: 100%; resize: vertical;
}
.coupon input::placeholder, .coupon textarea::placeholder { color: #45566b; }
.coupon input:focus-visible, .coupon textarea:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 0; }
.submit {
  font: inherit; font-weight: 600; min-height: 56px; border: 0; background: var(--accent-ink); color: var(--accent); cursor: pointer; margin-top: 6px;
  transition: transform .2s var(--ease), background-color .2s;
}
.submit:hover { background: #1b3a66; }
.submit:active { transform: scale(.99); }

/* footer */
.foot { background: var(--paper); color: var(--accent-ink); padding: 56px var(--m) 28px; }
.blocks { display: block; width: 100%; height: auto; }
.blocks .bk path { fill: var(--accent-ink); transform-box: fill-box; transform-origin: bottom; transition: transform .9s var(--ease); }
.blocks .bt text { fill: var(--accent); font: 600 76px "Albert Sans", sans-serif; text-anchor: middle; }
.blocks:hover .bk path:nth-child(odd) { transform: scaleY(1.04); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 56px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; grid-column: span 3; font-size: 1rem; line-height: 2; }
.foot-grid ul a { text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-contact { grid-column: 9 / -1; display: grid; gap: 12px; font-size: 1rem; align-content: start; }
.foot-contact img { width: min(320px, 100%); height: auto; margin-bottom: 8px; }
.credits { margin-top: 48px; font-size: var(--step-small); max-width: 75ch; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-size: var(--step-small); }

/* entrance */
.js .rise, .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in, .js .reveal.in { opacity: 1; transform: none; }

/* tablet */
@media (max-width: 1000px) {
  .feat-head { grid-column: 1 / -1; margin-bottom: 40px; }
  .tiles { grid-column: 1 / -1; }
  .how-head { grid-column: 1 / span 9; }
  .panel { display: flex; flex-direction: column; padding: 40px 40px 0; }
  .about-left { display: contents; }
  .about-right { padding-bottom: 0; }
  .about-photo { order: 2; width: 70%; margin: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .bar { position: relative; background: var(--bg); }
  .bar nav { padding-left: 0; clip-path: none; }
  .hero-media { order: -1; }
  .hero-media .fade { min-height: 0; flex: none; height: 40svh; }
  .cta-main { grid-template-columns: 1fr; }
  .hero-media figcaption { display: none; }
  .hero-card { min-height: auto; margin-top: -24px; position: relative; --c: 90px; }
  .stripe { margin-top: 0; }
  .hero-text { padding-bottom: 110px; }
  .hero h1 { font-size: 9vw; }
  .bar .mark { color: var(--ink); }
  .mark-dark { display: none; }
  .mark-light { display: block; }
  .bar nav .btn { background: var(--accent); color: var(--accent-ink); }
}

/* phone */
@media (max-width: 720px) {
  .bar { padding: 12px var(--m); }
  .bar nav a:not(.btn) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 12px; }
  .hero-media { order: -1; }
  .hero-media .fade { min-height: 48svh; flex: none; height: 48svh; }
  .hero-media figcaption { display: none; }
  .hero-card { min-height: auto; margin-top: -24px; position: relative; --c: 64px; }
  .stripe { margin-top: 0; height: 40px; }
  .stripe i { flex-basis: 20px; margin-right: 20px; }
  .hero-text { padding: 28px 20px 88px; }
  .hero h1 { font-size: 8.6vw; }
  .bar nav .btn { background: var(--accent); color: var(--accent-ink); }
  .statement { text-align: left; font-size: 1.5rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .t-wide { order: -1; }
  .t-wide .tile-img { aspect-ratio: 8 / 5; flex: none; height: auto; }
  .tile h3 { font-size: 1.0625rem; }
  .tile p { font-size: .9375rem; }
  .how-head { grid-column: 1 / -1; }
  .how { grid-template-columns: 1fr; }
  .diagram { display: none; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .how-steps li { padding-left: 32px; position: relative; }
  .how-steps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--accent); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
  .about { padding-left: 10px; padding-right: 10px; }
  .panel { padding: 32px 20px; gap: 32px; }
  .about-left h2 { font-size: 8.5vw; }
  .about-photo { width: 86vw; align-self: center; margin: 0 0 -32px; }
  .cta-row { grid-template-columns: 1fr 1fr; margin: 0 var(--m); gap: 8px; }
  .cta-main { grid-column: 1 / -1; order: -1; height: auto; min-height: 300px; }
  .cta-main { grid-template-columns: 1fr; }
  .cta-side { height: 120px; }
  .coupon { grid-template-columns: 1fr; grid-template-rows: auto 10px auto; }
  .coupon-left, .coupon-right { padding: 28px 20px; }
  .perf::after { left: 24px; right: 24px; top: 2px; bottom: auto; border-left: 0; border-top: 5px dotted var(--bg); }
  .perf i { top: -9px !important; bottom: auto !important; }
  .perf i:first-child { left: -14px; }
  .perf i:last-child { left: auto; right: -14px; }
  .coupon input, .coupon textarea { min-height: 54px; }
  .foot-grid ul { grid-column: span 6; }
  .foot-contact { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
}

/* örnek cihaz arayüzü (data-ui) */
.tile-ui { place-items: stretch; padding: 14%; }
.ui { background: #071730; color: var(--ink); display: flex; flex-direction: column; gap: 10px; padding: 16px; font-size: .9375rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.ui-top { display: flex; justify-content: space-between; font-weight: 600; }
.ui-live { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.ui-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ui-spark { width: 100%; height: 56px; background: #0d2447; }
.ui-spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ui-row { display: flex; justify-content: space-between; color: var(--muted); }
.ui-row b { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) {
  .tile-ui { padding: 8px; }
  .ui { padding: 10px; gap: 6px; font-size: .8125rem; }
  .ui-top { flex-direction: column; gap: 2px; }
  .ui-spark { height: 40px; }
  .ui-row { flex-direction: column; }
}
