/* ═══════════════════════════════════════════════════════════════════════════
   RAE SOFTWARE — raesoftware.com
   Kimlik: Apple-elit beyaz zemin · lacivert el yazısı logo (#1B2668) · Inter ·
   dev tipografi · bento grid · Liquid Glass nav · scroll-reveal animasyonlar.
   Tek tema (ışık) — logo lacivertine göre bilinçli karar (v7 kilidi 2026-07-13).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #1d1d1f;
  --soft: #6e6e73;
  --muted: #86868b;
  --bg: #ffffff;
  --panel: #f5f5f7;
  --hairline: #e8e8ed;
  --navy: #1b2668;
  --navy-soft: #eef0fa;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Animasyon sistemi: Apple tarzı scroll-reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .18s; } .d3 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fast { animation: none !important; }
  .tw { animation: none !important; opacity: .5 !important; }
}

/* ── Üst bar — Liquid Glass ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 11px 22px;
  display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 24px; align-items: center; font-size: .8rem; color: var(--soft); flex-wrap: wrap; }
.site-nav a { text-decoration: none; transition: color .15s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.pill {
  background: var(--ink); color: #fff; padding: 6px 16px; border-radius: 999px;
  font-weight: 600; font-size: .76rem; transition: opacity .15s;
}
.site-nav a.pill:hover { opacity: .85; color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 100px 22px 92px; }
.hero .logo { width: min(58vw, 340px); height: auto; }
.hero .word {
  display: block; margin-top: 4px;
  font-size: .78rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted);
}
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin: 42px 0 12px; }
.hero p { color: var(--soft); font-size: 1.08rem; max-width: 30rem; margin: 0 auto 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  text-decoration: none; transition: transform .25s, box-shadow .25s, opacity .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,38,104,.22); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.ink { background: var(--ink); color: #fff; }
.link { color: var(--navy); font-weight: 600; font-size: .92rem; margin-left: 18px; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ── Bento grid — üç ilke ─────────────────────────────────────────────────── */
.bento-wrap { padding: 8px 22px 68px; max-width: var(--maxw); margin: 0 auto; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.cell {
  border-radius: 22px; padding: 32px 30px;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s;
}
.cell:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(20,20,40,.10); }
.cell h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.cell p { font-size: .88rem; margin: 0; }

.c1 {
  grid-row: 1 / 3; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px;
  background-image: radial-gradient(24rem 16rem at 85% -10%, rgba(255,255,255,.14), transparent 60%);
}
.c1 p { color: rgba(255,255,255,.72); }
.c1 .glyph { width: 110px; opacity: .3; margin-bottom: auto; }

.c2 { background: var(--panel); }
.c2 p, .c3 p { color: var(--soft); }
.c2 h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 16px; }

.c3 {
  background: rgba(255,255,255,.6); border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  background-image: linear-gradient(135deg, rgba(27,38,104,.05), rgba(109,213,204,.07));
}
.c3 h3 em { font-style: italic; font-weight: 400; }
.c3 h3 strong { font-weight: 800; }

/* "Özenli" — teknik çizimle ölçülmüş: ince hatlar + crop işaretleri + 4,2 cm */
.measured { position: relative; display: inline-block; padding: 3px 12px; outline: 1px solid rgba(27,38,104,.38); }
.measured i { position: absolute; width: 10px; height: 10px; border: 0 solid rgba(27,38,104,.55); font-style: normal; }
.measured i.tl { top: -6px; left: -6px; border-top-width: 1px; border-left-width: 1px; }
.measured i.tr { top: -6px; right: -6px; border-top-width: 1px; border-right-width: 1px; }
.measured i.bl { bottom: -6px; left: -6px; border-bottom-width: 1px; border-left-width: 1px; }
.measured i.br { bottom: -6px; right: -6px; border-bottom-width: 1px; border-right-width: 1px; }
.measured .rule { position: absolute; top: -15px; left: 0; right: 0; height: 7px; border-left: 1px solid rgba(27,38,104,.5); border-right: 1px solid rgba(27,38,104,.5); }
.measured .rule::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid rgba(27,38,104,.5); }
.measured .rule::after {
  content: "4,2 cm"; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  background: var(--panel); padding: 0 6px; font-size: .52rem; font-weight: 600;
  letter-spacing: .06em; color: rgba(27,38,104,.7); white-space: nowrap;
}

/* "Hızlı" — italik; arada bir soldan sağa hızla silinir, soldan dolarak döner */
.fast { font-style: italic; display: inline-block; padding-right: 4px; animation: fast-wipe 6s linear infinite 2s; will-change: clip-path; }
@keyframes fast-wipe {
  0%, 72%   { clip-path: inset(-10% -10% -10% -10%); }
  78%       { clip-path: inset(-10% -10% -10% 110%); }
  78.01%    { clip-path: inset(-10% 110% -10% -10%); }
  86%, 100% { clip-path: inset(-10% -10% -10% -10%); }
}

/* "Önce Gizlilik" — Threads buzlanması: 10 sn sonra buz + yıldız; mouse
   dairesi (~4 cm) net; basılı tutunca tamamen açık */
.frost-wrap { position: relative; }
.frost-over {
  position: absolute; inset: -8px; padding: 8px; opacity: 0;
  transition: opacity 1.6s ease; pointer-events: none;
  background: rgba(245,245,247,.6); border-radius: 12px;
  --mx: -300px; --my: -300px;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), transparent 0 62px, #000 96px);
  mask-image: radial-gradient(circle at var(--mx) var(--my), transparent 0 62px, #000 96px);
}
.frost-over p { filter: blur(7px); color: var(--soft); font-size: .88rem; margin: 0; }
.frost-card.frosted .frost-over { opacity: 1; }
.frost-card.peek .frost-over { opacity: 0; }
.frost-card { cursor: default; user-select: none; -webkit-user-select: none; }
.tw { position: absolute; font-size: .75rem; color: #8f97c4; opacity: 0; animation: tw 2.6s ease-in-out infinite; }
@keyframes tw {
  0%, 100% { opacity: 0; transform: scale(.5) rotate(0deg); }
  50%      { opacity: .9; transform: scale(1.1) rotate(18deg); }
}

/* ── Gizlilik manifestosu ─────────────────────────────────────────────────── */
.manifesto {
  text-align: center; padding: 92px 22px; background: var(--panel);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.manifesto h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 20px; }
.manifesto h2 .navy { color: var(--navy); }
.manifesto p.body { color: var(--soft); font-size: 1.06rem; max-width: 36rem; margin: 0 auto 34px; }
.mini-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.mini { background: #fff; border: 1px solid var(--hairline); border-radius: 18px; padding: 18px 22px; min-width: 190px; max-width: 240px; text-align: center; }
.mini b { display: block; font-size: .95rem; margin-bottom: 3px; }
.mini span { font-size: .78rem; color: var(--soft); }
.manifesto .closer { margin-top: 30px; font-size: .95rem; font-weight: 600; color: var(--navy); }

/* ── Projeler ─────────────────────────────────────────────────────────────── */
.sect { padding: 68px 22px 6px; max-width: var(--maxw); margin: 0 auto; }
.sect h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.sect p { color: var(--soft); margin: 6px 0 0; }

.show {
  max-width: var(--maxw); margin: 26px auto 14px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(34rem 20rem at 8% -12%, rgba(109,213,204,.35), transparent 62%),
    radial-gradient(28rem 18rem at 96% 0%, rgba(134,239,172,.28), transparent 60%),
    #fbfdfd;
  padding: 56px 44px; text-align: center;
}
.show img.dog { width: 84px; height: 84px; margin-bottom: 14px; }
.show h3 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 2.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; }
.show .sub { color: var(--soft); font-size: 1.02rem; margin: 0 0 16px; }
.dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 18px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; }
.show p.desc { color: var(--soft); font-size: .92rem; max-width: 36rem; margin: 0 auto 24px; }

.ghost {
  max-width: var(--maxw); margin: 0 auto 60px;
  border: 1.5px dashed #d5d5dc; border-radius: 26px; padding: 40px;
  text-align: center; color: var(--muted);
}
.ghost .plus {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px dashed #cfcfd6;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 12px; color: var(--soft);
}
.ghost b { color: var(--soft); display: block; margin-bottom: 2px; }

/* .show ve .ghost yatayda daralsın (wrap padding'i yerine) */
.show, .ghost { margin-left: 22px; margin-right: 22px; }
@media (min-width: 1124px) {
  .show, .ghost { margin-left: auto; margin-right: auto; }
}

/* ── Hakkında + İletişim ──────────────────────────────────────────────────── */
.about { background: var(--panel); padding: 60px 22px; border-top: 1px solid var(--hairline); }
.about .inner { max-width: 52rem; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.about h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.about p { color: var(--soft); font-size: .9rem; margin: 0 0 10px; }
.about a { color: var(--navy); font-weight: 600; text-decoration: none; }
.about a:hover { text-decoration: underline; }

/* ── Footer — Apple alt tabanı ────────────────────────────────────────────── */
.site-footer {
  padding: 15px 22px; border-top: 1px solid var(--hairline); background: var(--panel);
  font-size: .72rem; color: var(--muted);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; margin-left: 26px; }
.footer-links a { color: #515154; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links i { font-style: normal; color: #d2d2d7; margin: 0 10px; }
.footer-country { margin-left: auto; color: #515154; }

/* ── Hukuki belge sayfaları ───────────────────────────────────────────────── */
.doc { max-width: 66ch; margin: 0 auto; padding: 56px 22px 90px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.doc .doc-meta { color: var(--muted); font-size: .82rem; margin: 6px 0 22px; }
.doc h2 { font-size: 1.2rem; margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.doc p { margin: 12px 0; color: #3c3c40; font-size: .95rem; }
.doc ul { margin: 12px 0 12px 22px; }
.doc li { margin: 6px 0; color: #3c3c40; font-size: .95rem; }
.doc a { color: var(--navy); }

@media (max-width: 760px) {
  .hero { padding: 72px 22px 64px; }
  .bento { grid-template-columns: 1fr; }
  .c1 { grid-row: auto; min-height: 230px; }
  .about .inner { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; font-size: .74rem; }
}
