/* ==========================================================================
   MCALAB — paylaşılan tasarım sistemi  ·  "Arcade Bold"
   Parlak sıcak palet · Bricolage Grotesque + Hanken Grotesk · sert ofset gölge.
   Tüm sayfalar (index, destek, sartlar) bu tek kaynağı kullanır.
   ========================================================================== */

:root {
  --paper: #FFF6EE;
  --paper-2: #FBE9D8;
  --ink: #1B130E;
  --ink-soft: #6A574A;
  --vermilion: #FF4A1C;
  --cobalt: #2138E8;
  --sunny: #FFC93C;
  --peach: #FFDFCB;
  --sky: #DBE1FF;
  --butter: #FFEFBB;
  --mint: #CFF3DC;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: radial-gradient(var(--paper-2) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
::selection { background: var(--sunny); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

/* i18n toggle -------------------------------------------------------------- */
[data-lang] { display: none; }
html[lang="tr"] [data-lang="tr"], html[lang="en"] [data-lang="en"] { display: revert; }

/* ==== Header ============================================================== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,246,238,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 10px; }
.brand .sq { width: 34px; height: 34px; background: var(--vermilion); border: 2px solid var(--ink); border-radius: 9px; transform: rotate(-8deg); flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: -.03em; color: var(--paper);
  box-shadow: 2px 2px 0 var(--ink); }
.brand .lab { color: var(--vermilion); }
.header-cta { display: inline-flex; gap: 10px; align-items: center; }

/* ==== Buttons ============================================================= */
.btn { font-family: var(--font-display); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.primary { background: var(--vermilion); color: #fff; }
.btn.primary:hover { color: #fff; }
.btn.sm { padding: 9px 15px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn.sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn.ghost { box-shadow: none; background: transparent; }
.btn.ghost:hover { transform: none; box-shadow: none; background: var(--ink); color: var(--paper); }

.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--butter); }
.eyebrow .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--vermilion); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .28; } }

.kicker { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--vermilion); margin-bottom: 10px; }

/* ==== Hero =============================================================== */
.hero { padding: 60px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); margin: 22px 0 0; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--vermilion); }
.hero h1 .hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .34em; background: var(--sunny); z-index: -1; border-radius: 3px; transform: rotate(-1.2deg); }
.hero .lead { font-size: clamp(16px, 1.9vw, 20px); color: var(--ink-soft); max-width: 48ch; margin-top: 24px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero .meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta .tick { color: var(--cobalt); flex: none; }

/* Hero stage: phone on a bright panel */
.stage { position: relative; border: 2px solid var(--ink); border-radius: 24px; background: var(--sky);
  box-shadow: var(--shadow-lg); padding: 40px 24px; display: grid; place-items: center; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(27,19,14,.10) 1.4px, transparent 1.4px); background-size: 18px 18px; }
.chip { position: absolute; width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 14px; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); }
.chip svg { width: 26px; height: 26px; }
.chip.a { top: 26px; left: 26px; background: var(--vermilion); transform: rotate(-10deg); }
.chip.b { bottom: 30px; right: 26px; background: var(--sunny); transform: rotate(9deg); }
.chip.c { top: 42px; right: 34px; background: var(--paper); transform: rotate(6deg); width: 44px; height: 44px; }

/* Phone showing Zıpla (cloud teması, canlı) */
.phone { position: relative; z-index: 1; width: 264px; border: 3px solid var(--ink); border-radius: 38px; background: var(--ink); padding: 9px; box-shadow: var(--shadow-lg); }
.phone.tilt { transform: rotate(-4deg); }
.screen { background: #bfe3ff; color: var(--ink); border-radius: 30px; overflow: hidden; display: block; }
.screen canvas { display: block; width: 100%; height: auto; }

/* ==== Sections =========================================================== */
.section { padding: 54px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }

/* Principles */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { border: 2px solid var(--ink); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.pcard:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.pcard:nth-child(1) { background: var(--peach); }
.pcard:nth-child(2) { background: var(--sky); }
.pcard:nth-child(3) { background: var(--mint); }
.pcard:nth-child(4) { background: var(--butter); }
.pcard .ic { width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); display: grid; place-items: center; margin-bottom: 16px; }
.pcard .ic svg { width: 24px; height: 24px; }
.pcard h3 { font-size: 19px; margin-bottom: 6px; }
.pcard p { font-size: 14.5px; color: #3a2c22; }

/* ==== Product card (Zıpla — dark, featured) ============================== */
.product { border: 2px solid var(--ink); border-radius: 26px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden; }
.product-in { display: grid; grid-template-columns: 1.1fr 1fr; }
.product-copy { padding: clamp(28px, 4vw, 48px); }
.product-copy .tag { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sunny); }
.product-copy h2 { font-size: clamp(40px, 6vw, 66px); color: var(--paper); margin: 8px 0 16px; }
.product-copy p { color: #E8DCD0; font-size: 15.5px; max-width: 46ch; }
.product-copy .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.product-copy .btns .btn { border-color: var(--paper); box-shadow: 4px 4px 0 rgba(255,255,255,.22); }
.product-copy .btns .btn:hover { box-shadow: 6px 6px 0 rgba(255,255,255,.32); color: var(--ink); }
.product-copy .btns .btn.primary { border-color: var(--ink); color: #fff; }
.product-copy .btns .btn.ghost { border: none; box-shadow: none; color: #E8DCD0; }
.product-copy .btns .btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.pills { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pill { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .04em; padding: 7px 13px; border: 2px dashed #6b584a; border-radius: 999px; color: #E8DCD0; }
.pill b { color: var(--sunny); font-weight: 800; }
.product-art { position: relative; background:
    repeating-linear-gradient(180deg, transparent 0 38px, rgba(255,255,255,.05) 38px 40px),
    linear-gradient(200deg, #2a1f18, #1b130e); border-left: 2px solid var(--paper); display: grid; place-items: center; padding: 24px; }
.product-art canvas { width: 100%; height: 100%; max-height: 380px; display: block; }

/* ==== Teaser strip (Uygulamalar — çok yakında) ========================== */
.teaser { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  border: 2px dashed var(--ink); border-radius: 20px; padding: 22px 26px; background: var(--butter); }
.teaser .tico { width: 54px; height: 54px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-6deg); }
.teaser .tico svg { width: 28px; height: 28px; }
.teaser h3 { font-size: 22px; }
.teaser p { font-size: 14.5px; color: #4a3a20; margin-top: 4px; max-width: 52ch; }
.teaser .tcta { flex: none; }

/* ==== Studio ============================================================= */
.studio { border: 2px solid var(--ink); border-radius: 26px; background: var(--sunny); box-shadow: var(--shadow-lg); padding: clamp(30px, 5vw, 60px); }
.studio .kicker { color: var(--ink); }
.studio h2 { font-size: clamp(28px, 4.4vw, 50px); max-width: 22ch; margin-bottom: 20px; }
.studio p { font-size: 17px; color: #3a2c14; max-width: 64ch; margin-bottom: 14px; }
.studio p:last-child { margin-bottom: 0; }

/* ==== Contact ============================================================ */
.contact { text-align: center; border: 2px solid var(--ink); border-radius: 26px; background: var(--vermilion); color: #fff; box-shadow: var(--shadow-lg); padding: clamp(40px, 6vw, 72px) 28px; }
.contact h2 { font-size: clamp(30px, 5vw, 54px); margin-bottom: 14px; }
.contact p { color: #ffe4d9; max-width: 46ch; margin: 0 auto 28px; font-size: 17px; }
.contact .btn { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 rgba(0,0,0,.35); font-size: 17px; padding: 15px 26px; }
.contact .btn:hover { box-shadow: 9px 9px 0 rgba(0,0,0,.4); color: var(--ink); }

/* ==== Article (destek / sartlar) ======================================== */
.article { max-width: 760px; margin: 0 auto; padding: 46px 0 10px; }
.article h1 { font-size: clamp(32px, 5.4vw, 52px); margin: 16px 0 8px; }
.article .eff { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; font-weight: 600; }
.article .lead { font-size: 18px; color: var(--ink-soft); margin: 8px 0 26px; max-width: 60ch; }
.article h2 { font-size: 22px; margin: 34px 0 10px; display: flex; align-items: center; gap: 12px; }
.article h2::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 5px; background: var(--vermilion); transform: rotate(-8deg); flex: none; }
.article p, .article li { font-size: 16px; color: #3a2c22; }
.article a { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.article a:hover { color: var(--vermilion); }
.article ul { margin: 10px 0 10px 4px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.article li { padding-left: 26px; position: relative; }
.article li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--sunny); border: 2px solid var(--ink); border-radius: 3px; }
.article .q { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 17px; margin-top: 20px; }
.article .muted { color: var(--ink-soft); font-size: 14.5px; }
.article .nav-links { margin-top: 32px; padding-top: 22px; border-top: 2px solid var(--ink); font-weight: 600; }

.box { border: 2px solid var(--ink); border-radius: 18px; background: var(--sky); box-shadow: var(--shadow); padding: 22px 24px; margin: 18px 0; }
.box .muted { color: #33406b; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.box .mail { display: inline-block; margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.box .mail:hover { color: var(--vermilion); }
.box p { color: #2f2a3a; }

/* ==== Footer ============================================================= */
.site-footer { border-top: 2px solid var(--ink); margin-top: 58px; padding: 40px 0; }
.footer-in { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.footer-links a:hover { color: var(--vermilion); }
.footer-fine { color: var(--ink-soft); font-size: 14px; }

/* ==== Reveal (progressive enhancement) ================================== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==== Responsive ========================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .product-in { grid-template-columns: 1fr; }
  .product-art { border-left: none; border-top: 2px solid var(--paper); min-height: 300px; }
  .teaser { grid-template-columns: 1fr; text-align: left; }
  .teaser .tcta { justify-self: start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .grid4 { grid-template-columns: 1fr; }
  .header-cta .btn.primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
