/* DenizBackup ana sayfa tasarım örneği: grafit + turuncu, ürün çalışırken gösterilir */
:root {
  --bg: #18191b;
  --surface: #222427;
  --tile: #2b2d31;
  --ink: #eff0f1;
  --muted: #9c9ea3;
  --accent: #ff4a1f;
  --accent-ink: #18191b;
  --light: #eff0f1;
  --light-ink: #18191b;
  --mid: #c7c9cd;

  --t0: 14px;
  --t1: 17px;
  --t2: clamp(26px, 2.4vw, 36px);
  --t3: clamp(36px, 5vw, 76px);
  --t4: clamp(56px, 8vw, 120px);

  --m: 40px;
  --radius: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: var(--t1); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 50; padding: 10px 16px; color: var(--accent-ink); background: var(--accent); }
.skip:focus { top: 14px; }
.topbar { position: absolute; z-index: 40; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.wrap { padding: 0 var(--m); }
section { position: relative; }

/* ---------- butonlar ---------- */
.btn { display: inline-block; padding: 15px 26px; border-radius: 0; font-size: var(--t1); font-weight: 500; text-decoration: none; transition: transform .15s var(--ease), background-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-light { color: var(--light-ink); background: var(--light); }
.btn-light:hover { background: #fff; }
.btn-accent { color: var(--accent-ink); background: var(--accent); }
.btn-accent:hover { background: #ff6238; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; padding-top: 6px; }
.hero-left { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 40px var(--m); background: var(--bg); }
.mark img { border-radius: 8px; }
.hero-copy { max-width: 560px; }
.hero-film { margin: 28px 0; }
.hero-film video { width: 100%; max-height: 38svh; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: 0; }
.hero-film figcaption { max-width: 62ch; padding-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.hero-film figcaption strong { color: var(--ink); font-weight: 500; }
.hero h1 { font-size: var(--t2); line-height: 1.15; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; }
.mask > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) .1s forwards; }
.mask + .mask > span { animation-delay: .21s; }
.hero-sub { max-width: 44ch; margin: 18px 0 28px; color: var(--ink); }
[data-after] { opacity: 0; transform: translateY(14px); animation: fadeUp .7s var(--ease) .75s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-right { position: relative; display: grid; place-items: center; padding: 90px var(--m) 60px; background: var(--surface); }
.toplink { position: absolute; top: 40px; right: var(--m); font-size: 15px; text-decoration: none; }
.toplink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ürünün kendi arayüzü: data-ui içinde kendi kuralları geçerli */
.ui, .cmd, .jcard, .dialog { font-size: var(--t0); line-height: 1.5; }
.job { width: min(100%, 450px); padding: 22px; border: 1px solid #3a3c41; border-radius: 12px; background: #1b1c1f; }
.ui-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 16px; }
.ui-state { padding: 3px 10px; border-radius: 99px; color: var(--muted); background: var(--tile); font-size: var(--t0); transition: background-color .2s, color .2s; }
.ui-state.run { color: var(--accent-ink); background: var(--accent); }
.ui-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.ui-facts dt { color: var(--muted); }
.ui-facts dd { text-align: right; font-variant-numeric: tabular-nums; word-break: break-all; }
.ui-field { display: block; margin: 14px 0 12px; }
.ui-field span { display: block; margin-bottom: 6px; color: var(--muted); }
.ui-field input { width: 100%; padding: 10px 12px; border: 1px solid #3a3c41; border-radius: 6px; color: var(--ink); background: var(--bg); font: inherit; font-size: 15px; }
.ui-field input:focus { border-color: var(--accent); }
.ui-btn { display: block; width: 100%; padding: 12px 16px; border: 1px solid #3a3c41; border-radius: 6px; color: var(--ink); background: var(--tile); font: inherit; font-size: 15px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.ui-btn:hover { background: #34363a; }
.ui-btn:active { transform: translateY(1px); }
.ui-btn.primary { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.ui-btn.primary:hover { background: #ff6238; }
.ui-btn[disabled] { opacity: .6; cursor: progress; }
.ui-result { margin-top: 16px; padding-top: 4px; animation: fadeUp .5s var(--ease) both; }
.ui-result[hidden] { display: none; }
.ui-code { display: block; margin: 8px 0 4px; padding: 10px 12px; border-radius: 6px; color: var(--muted); background: var(--bg); font-family: Consolas, "Cascadia Code", monospace; font-size: 12.5px; line-height: 1.5; word-break: break-all; }
.ui-msg { min-height: 1.5em; margin-top: 10px; font-size: 15px; }
.ui-msg.ok { font-weight: 500; }
.ui-msg.bad { color: var(--accent); }

/* ---------- komut listesi ---------- */
.commands { padding: 200px 0 160px; background: var(--bg); }
.commands h2, .plans-sec h2 { margin-bottom: 28px; font-size: var(--t2); }
.cmd { max-width: 1100px; }
.cmd-input { width: min(100%, 880px); height: 1.9em; padding: 0 22px; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--surface); font: inherit; font-size: var(--t2); }
.cmd-input::placeholder { color: var(--muted); }
.cmd-list { margin: 28px 0 0; padding: 0; list-style: none; }
.cmd-row { display: block; width: 100%; padding: .12em 22px .18em; border: 0; border-radius: var(--radius); color: var(--muted); background: transparent; font: inherit; font-size: var(--t3); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-align: left; cursor: pointer; transition: color .15s, background-color .15s; }
.cmd-row:hover { color: var(--ink); }
.cmd-row[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); }
.cmd-desc { display: none; max-width: 52ch; padding-top: 6px; font-size: var(--t1); font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.cmd-row[aria-selected="true"] .cmd-desc { display: block; animation: fadeUp .35s var(--ease) both; }
.cmd-empty { margin-top: 28px; color: var(--muted); }

/* ---------- arşiv (fotoğraflar) ---------- */
.archive { padding: 0 0 200px; background: var(--bg); }
.archive-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.archive .frame { overflow: hidden; background: var(--surface); }
.archive figcaption { max-width: 62ch; padding: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.archive figcaption strong { color: var(--ink); font-weight: 500; }
.archive img { width: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.a-shelves { grid-column: 1 / span 7; }
.a-shelves img { aspect-ratio: 3 / 2; will-change: transform; }
.a-text { grid-column: 9 / span 4; align-self: center; }
.a-text h2 { margin-bottom: 22px; font-size: var(--t2); line-height: 1.2; }
.a-text p + p { margin-top: 14px; }
.a-text p { color: var(--ink); }
.a-ledger { grid-column: 1 / span 8; margin-top: 60px; }
.a-ledger img { aspect-ratio: 16 / 10; }
.a-cables { grid-column: 9 / span 4; margin-top: 60px; }
.a-cables img { aspect-ratio: 4 / 5; object-position: center 30%; }

/* ---------- nasıl çalışır: dört alan ---------- */
.how { display: grid; grid-template-columns: repeat(4, 25vw); }
.how-field { position: relative; min-height: 84svh; padding: 40px 28px 32px; }
.how-field h2 { max-width: 12ch; font-size: var(--t2); font-weight: 700; line-height: 1.1; }
.how-field .jcard { position: absolute; top: 38%; left: 50%; margin-left: -130px; }
.clause { position: absolute; left: 28px; bottom: 28px; font-size: var(--t2); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.f1 { color: var(--light-ink); background: var(--light); }
.f2 { color: var(--ink); background: var(--surface); }
.f3 { color: var(--light-ink); background: var(--mid); }
.f4 { color: var(--ink); background: var(--tile); }
.jcard { width: 260px; padding: 16px; border: 1px solid #3a3c41; border-radius: 10px; color: var(--ink); background: #1b1c1f; transition: transform .15s var(--ease); }
.jcard:hover { transform: translateY(-6px); }
.jc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 15px; }
.jc-head span { color: var(--muted); }
.jcard dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.jcard dt { color: var(--muted); }
.jcard dd { text-align: right; }
.jcard dd.empty { color: var(--muted); }
.jc-bar { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: var(--tile); }
.jc-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: fill 4s var(--ease) infinite alternate; }
@keyframes fill { from { transform: scaleX(.2); } to { transform: scaleX(1); } }

/* ---------- paketler ---------- */
.plans-sec { padding: 200px 0 200px; background: var(--bg); }
.plans { position: relative; }
.plan-btn { display: block; width: 50%; padding: 0 0 0 .6em; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: var(--t3); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-align: left; cursor: pointer; position: relative; transition: color .15s; }
.plan-btn:hover { color: var(--ink); }
.plan.is-on .plan-btn { color: var(--ink); }
.plan.is-on .plan-btn::before { content: ""; position: absolute; left: 0; top: .5em; width: .3em; height: .3em; border-radius: 50%; background: var(--accent); }
.plan-stage { position: absolute; top: 0; left: 58%; width: 42%; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.plan.is-on .plan-stage { visibility: visible; opacity: 1; }
.plan-price { display: flex; align-items: baseline; gap: 12px; }
.plan-price strong { font-size: var(--t4); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: 18px; }
.plan-cap { max-width: 44ch; margin: 18px 0 14px; font-size: 18px; }
.plan-list { margin: 0 0 26px; padding: 0 0 0 1.1em; color: var(--ink); font-size: 18px; }
.plan-list li::marker { color: var(--accent); }

/* ---------- sık sorulan sorular ---------- */
.faq { padding: 160px 0 200px; background: var(--light); color: var(--light-ink); }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.faq h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: 96px; font-size: var(--t2); }
.faq-list { grid-column: 5 / span 8; display: grid; gap: 8px; }
.faq details { border-radius: var(--radius); background: #e2e4e7; transition: background-color .2s; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 24px; font-size: var(--t1); font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] { color: var(--accent-ink); background: var(--accent); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { max-width: 52ch; padding: 0 24px 24px; }

/* ---------- kapanış ---------- */
.cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; min-height: 90svh; padding: 40px var(--m); color: var(--accent-ink); background: var(--accent); }
.cta-line { grid-column: 1 / span 6; align-self: end; }
.cta h2 { max-width: 12ch; font-size: var(--t4); line-height: .95; letter-spacing: -.04em; font-weight: 700; }
.cta-line p { max-width: 44ch; margin-top: 22px; }
.dialog { grid-column: 8 / span 5; align-self: center; justify-self: end; width: min(100%, 440px); padding: 26px; border: 1px solid #3a3c41; border-radius: 12px; color: var(--ink); background: #1b1c1f; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); /* taste-skill-ignore: açık diyalog */ }
.dialog h3 { margin-bottom: 4px; font-size: 20px; font-weight: 500; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 8px; background: var(--bg); }
.seg button { padding: 10px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font: inherit; font-size: 15px; cursor: pointer; transition: color .15s, background-color .15s; }
.seg button[aria-checked="true"] { color: var(--ink); background: var(--tile); }
.rec { margin: 18px 0 16px; font-size: 16px; }
.rec strong { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }

/* ---------- altbilgi ---------- */
.foot { padding: 140px var(--m) 28px; overflow: hidden; color: var(--muted); background: var(--surface); font-size: 15px; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; }
.foot-about { grid-column: 1 / span 4; }
.foot-lead { max-width: 30ch; color: var(--ink); font-size: var(--t2); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.foot-mail { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 20px; font-weight: 500; text-underline-offset: 5px; }
.foot-mail:hover { color: var(--accent); }
.foot-note { max-width: 36ch; margin-top: 10px; }
.foot-cols { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.col-title { margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.foot-cols a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; }
.foot-cols a:hover { color: var(--accent); }
.wordmark { display: block; margin: 110px 0 20px; color: var(--ink); font-size: calc((100vw - 2 * var(--m)) / 5.3); font-weight: 700; line-height: .82; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; transition: color .2s; }
.wordmark:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink); }
.foot-bottom a { color: var(--ink); }
.credits { max-width: 110ch; margin-top: 36px; color: var(--muted); font-size: var(--t0); line-height: 1.7; }
.credits a { color: var(--ink); }

/* ---------- giriş hareketleri ---------- */
[data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise], .no-js [data-after] { opacity: 1; transform: none; }

/* ---------- telefon ---------- */
@media (max-width: 900px) {
  :root { --m: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-right { order: -1; min-height: 58svh; padding: 76px var(--m) 28px; }
  .hero { position: relative; }
  .hero-left { position: static; gap: 56px; padding: 40px var(--m) 40px; }
  .mark { position: absolute; top: 22px; left: var(--m); z-index: 2; }
  .toplink { top: 22px; }
  .hero h1 { font-size: 8.4vw; }
  .hero-film { display: none; }
  .job { width: min(100%, 78vw + 40px); min-width: 280px; }
  .commands { padding: 110px 0 100px; }
  .cmd-input { height: 56px; font-size: 20px; }
  .cmd-row { font-size: 8.5vw; }
  .cmd-desc { font-size: 16px; }
  .archive { padding-bottom: 110px; }
  .archive-grid { grid-template-columns: 1fr; gap: 24px; }
  .a-shelves, .a-text, .a-ledger, .a-cables { grid-column: 1; margin-top: 0; }
  .how { grid-template-columns: 1fr 1fr; }
  .how-field { min-height: 64svh; padding: 28px 20px 32px; }
  .how-field h2 { max-width: none; margin-bottom: 18px; font-size: 24px; }
  .how-field .jcard { position: static; margin: 20px 0 0; }
  .clause { position: static; margin-top: 4px; font-size: 24px; }
  .f1 .clause { order: 0; }
  .how-field { display: flex; flex-direction: column; }
  .how-field h2 { order: 0; }
  .how-field .clause { order: 1; }
  .how-field .jcard { order: 2; }
  .plans-sec { padding: 110px 0 60px; }
  .plan-btn { width: 100%; padding-left: .7em; font-size: 10vw; }
  .plan-stage { position: static; display: none; width: 100%; padding: 24px 20px 110px .7em; visibility: visible; opacity: 1; }
  .plan.is-on .plan-stage { display: block; animation: fadeUp .35s var(--ease) both; }
  .plan-price strong { font-size: 18vw; line-height: 1.05; }
  .plan-cap, .plan-list { font-size: 17px; }
  .plan-stage .btn { display: block; text-align: center; }
  .faq { padding: 70px 0 110px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq h2, .faq-list { grid-column: 1; position: static; font-size: 9vw; }
  .faq summary { min-height: 64px; padding: 12px 18px; font-size: 18px; }
  .faq details p { padding: 0 18px 20px; font-size: 16px; }
  .cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; min-height: 84svh; padding: 36px var(--m); }
  .cta h2 { font-size: 13vw; }
  .dialog { width: 100%; justify-self: stretch; }
  .dialog .ui-btn { min-height: 52px; }
  .foot { padding-top: 90px; padding-bottom: 24px; }
  .foot-about, .foot-cols { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .wordmark { margin-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mask > span, [data-after], [data-rise], .jc-bar i, .ui-result, .cmd-row[aria-selected="true"] .cmd-desc { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .how { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .foot-about { grid-column: 1 / -1; }
  .foot-cols { grid-column: 1 / -1; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .how { grid-template-columns: 1fr 1fr; }
  .how-field { min-height: 70svh; }
  .a-text { grid-column: 8 / span 5; }
  .a-shelves { grid-column: 1 / span 7; }
  .cmd-row { font-size: 6vw; }
}

/* ---------- görsel kaynakları sayfası ---------- */
.sources { max-width: 760px; min-height: 100svh; padding: 120px var(--m) 100px; }
.sources h1 { margin: 28px 0 18px; font-size: var(--t2); }
.sources p { margin-bottom: 28px; }
.sources ul { margin: 0; padding: 0; list-style: none; }
.sources li { padding: 10px 0; }
.sources a { text-underline-offset: 4px; }
.back { color: var(--muted); font-size: 15px; }

/* ---------- ortak üst menü ---------- */
:root { --head-h: 84px; }
.site-head { position: relative; z-index: 30; display: flex; align-items: center; gap: 28px; min-height: var(--head-h); padding: 24px var(--m) 12px; background: var(--bg); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; margin-left: auto; font-size: 16px; }
.site-nav a, .site-nav button { padding: 6px 0; border: 0; color: var(--ink); background: none; font: inherit; text-decoration: none; cursor: pointer; }
.site-nav a:hover, .site-nav button:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-nav form { margin: 0; }
.site-nav .nav-cta { padding: 11px 22px; color: var(--accent-ink); background: var(--accent); font-weight: 700; text-decoration: none; transition: background-color .15s, transform .15s var(--ease); }
.site-nav .nav-cta:hover { background: #ff6238; text-decoration: none; transform: translateY(-2px); }
.nav-toggle { display: none; margin-left: auto; padding: 10px 16px; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--surface); font: inherit; font-size: 16px; cursor: pointer; }

.hero { min-height: calc(100svh - var(--head-h)); padding-top: 0; }
.hero-left { justify-content: flex-end; }
.hero-film { margin-top: 0; margin-bottom: auto; }
.hero-right { padding-top: 60px; }

@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .site-head { flex-wrap: wrap; padding: 20px var(--m) 12px; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 14px 0 6px; }
  .site-head.open .site-nav, .site-nav.open { display: flex; }
  .site-nav a, .site-nav button { padding: 14px 0; font-size: 18px; text-align: left; }
  .site-nav .nav-cta { margin-top: 10px; padding: 16px; text-align: center; }
  .hero { min-height: 0; }
}

/* fotoğraflar: siyah beyaz, üzerine gelince ya da odaklanınca renkli */
.archive img, .hero-film video { transition: filter .5s ease; }
.archive img:hover, .archive figure:hover img, .hero-film video:hover { filter: grayscale(0) contrast(1); }
.site-head > .brand, .site-head > .site-nav { animation: fadeUp .7s var(--ease) .05s both; }
@media (prefers-reduced-motion: reduce) { .site-head > .brand, .site-head > .site-nav { animation: none; } }
