/* =========================================================
   Bitek Yazılım — design system v2 (2026-10)
   Light, product-led layout. Ink text, logo yellow as the brand mark,
   violet as the interactive accent, a yellow→violet gradient as the
   single expressive element. Each product page tints with its own color.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..700&display=swap');

:root {
    --ink: #0b1220;
    --ink-2: #1f2a3c;
    --slate: #425466;
    --muted: #6b7a8f;
    --line: #e3e8ee;
    --line-2: #eef2f6;
    --soft: #f6f8fb;
    --white: #ffffff;
    --yellow: #ffd200;
    --violet: #5b47fb;
    --violet-dark: #4330e0;
    --accent: var(--violet);            /* product pages override this */
    --accent-soft: #efecff;
    --grad: linear-gradient(100deg, #ffd200 0%, #ff9d1a 28%, #ff4f7b 58%, #7a5cff 82%, #5b47fb 100%);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 12px 32px rgba(11, 18, 32, 0.08);
    --shadow-lg: 0 2px 6px rgba(11, 18, 32, 0.06), 0 30px 70px rgba(11, 18, 32, 0.14);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --wrap: 1180px;
    --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--slate);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding: 80px 0; }
.section--ink { background: var(--ink); color: #aab4c3; }
.section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }

/* Stripe-style faint vertical guides behind light sections */
.guides { position: relative; isolation: isolate; }
.guides::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    max-width: var(--wrap);
    margin: 0 auto;
    background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
    background-size: 25% 100%;
    border-right: 1px solid var(--line-2);
    pointer-events: none;
}

/* ---------- Typography ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.95rem; font-weight: 600; color: var(--accent);
    margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.display {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
}
.title {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
/* Two-tone heading: lead sentence in ink, the rest in slate */
.display .soft, .title .soft { color: var(--muted); }
.section--ink .title .soft, .section--ink .display .soft { color: #7d8aa0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--slate); max-width: 34em; }
.head { max-width: 760px; margin-bottom: 56px; }
.head .lead { margin-top: 18px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px;
    border-radius: 999px;
    font: 600 0.98rem/1 'Geist', sans-serif;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.btn::after { content: '›'; font-size: 1.25em; line-height: 0; transform: translateY(-1px); transition: transform 0.2s ease; }
.btn:hover::after { transform: translate(3px, -1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(0.92); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f3f7; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn--plain::after, .btn--noarrow::after { display: none; }
.link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--accent);
}
.link::after { content: '›'; font-size: 1.2em; line-height: 1; transition: transform 0.2s ease; }
.link:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(1.6) blur(16px);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > li { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px; border-radius: 999px;
    font-size: 0.97rem; font-weight: 500; color: var(--ink);
    background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link.active { background: var(--line-2); }
.nav-link .fa-chevron-down { font-size: 0.65rem; opacity: 0.6; transition: transform 0.2s ease; }
.has-menu:hover .nav-link .fa-chevron-down, .has-menu:focus-within .nav-link .fa-chevron-down { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu {
    position: absolute; top: calc(100% + 10px); left: -14px;
    min-width: 360px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu--wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.menu-item:hover { background: var(--soft); }
.menu-icon {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--line-2); color: var(--ink); font-size: 0.95rem;
}
.menu-item strong { display: block; font-size: 0.97rem; margin-bottom: 1px; }
.menu-item span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 4px; margin-top: 4px; border-top: 1px solid var(--line-2); font-size: 0.9rem; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 12px; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 20px; } .menu-toggle span:nth-child(3) { top: 25px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; }
.hero-ribbon {
    position: absolute; z-index: -1;
    top: -260px; right: -260px;
    width: 1100px; height: 620px;
    background: var(--grad);
    background-size: 180% 100%;
    border-radius: 50%;
    transform: rotate(-18deg);
    filter: blur(60px) saturate(1.1);
    opacity: 0.55;
    animation: ribbon 14s ease-in-out infinite alternate;
}
@keyframes ribbon { to { background-position: 100% 0; transform: rotate(-12deg) translateX(-40px); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; position: relative; }
.hero .display { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-meta { margin-top: 28px; font-size: 0.92rem; color: var(--muted); }
.hero-meta strong { color: var(--ink); }

/* Product deck (home hero) */
.showcase { position: relative; }
.showcase-stage { position: relative; width: 86%; margin-top: 60px; aspect-ratio: 1440 / 970; }
.showcase-slide {
    position: absolute; inset: 0;
    border-radius: 14px; overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transition: transform 0.9s var(--ease), opacity 0.9s ease, filter 0.9s ease;
    cursor: pointer;
}
.showcase-slide img { width: 100%; height: auto; }
.showcase-stage .showcase-slide[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
.showcase-stage .showcase-slide[data-pos="1"] { z-index: 2; transform: translate(8%, -9%); opacity: 0.95; filter: saturate(0.5) brightness(0.96); }
.showcase-stage .showcase-slide[data-pos="2"] { z-index: 1; transform: translate(16%, -18%); opacity: 0.85; filter: saturate(0.3) brightness(0.93); }
.showcase-tabs { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; width: 86%; }
.showcase-tab {
    position: relative; overflow: hidden; text-align: left;
    padding: 12px 14px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line); border-radius: 12px;
    font-family: inherit; cursor: pointer; color: var(--ink);
    transition: border-color 0.2s ease;
}
.showcase-tab strong { display: block; font-size: 0.93rem; }
.showcase-tab span { display: block; font-size: 0.8rem; color: var(--muted); }
.showcase-tab.is-active { border-color: var(--ink); }
.showcase-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.showcase-tab.is-active .showcase-progress { animation: progress 6s linear forwards; }
.showcase.is-paused .showcase-tab.is-active .showcase-progress { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Browser / device frames ---------- */
.browser-frame { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #f3f5f8; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe3; }
.browser-dots i:first-child { background: #ff5f57; } .browser-dots i:nth-child(2) { background: #febc2e; } .browser-dots i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; max-width: 300px; margin: 0 auto; padding: 3px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url .fa-lock { font-size: 0.65rem; margin-right: 4px; color: #28a745; }
.browser-frame picture, .browser-frame img { display: block; width: 100%; height: auto; }
.browser-visit { display: none; }

.device-duo { position: relative; padding: 0 0 44px 44px; }
.duo-desktop { box-shadow: var(--shadow-lg); }
.duo-phone {
    position: absolute; left: 0; bottom: 0; z-index: 3;
    width: 25%; aspect-ratio: 9 / 19;
    border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--ink);
    box-shadow: var(--shadow-lg);
}
.duo-phone picture, .duo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.shot img { width: 100%; height: auto; }

/* ---------- Logo strip ---------- */
.logos { padding: 34px 0 10px; }
.logos-label { text-align: center; font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.logos-label a { color: var(--ink); font-weight: 600; }
.logos-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.logos-mask:hover .logos-track { animation-play-state: paused; }
.logos-list { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logos-list img { opacity: 0.55; filter: grayscale(1); transition: opacity 0.2s ease; }
.logos-list img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product bento (home) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 420px;
    padding: 30px 30px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--third { grid-column: span 2; }
.tile-tag { font-size: 0.85rem; font-weight: 600; color: var(--c, var(--violet)); margin-bottom: 8px; }
.tile h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; }
.tile p { font-size: 1rem; color: var(--slate); max-width: 30em; }
.tile .link { margin-top: 14px; color: var(--c, var(--violet)); }
.tile-visual {
    margin: 28px -30px 0;
    padding: 26px 30px 0;
    flex: 1;
    display: flex; align-items: flex-end;
    background: linear-gradient(180deg, transparent, var(--tint, #f1efff));
}
.tile-visual .shot, .tile-visual .browser-frame { width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* Solutions grid */
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.solution { display: flex; flex-direction: column; gap: 10px; padding: 32px 30px 34px; background: #fff; transition: background 0.2s ease; }
.solution:hover { background: var(--soft); }
.solution i { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: var(--yellow); font-size: 1.05rem; margin-bottom: 6px; }
.solution h3 { font-size: 1.2rem; }
.solution p { font-size: 0.98rem; flex: 1; }
.solution .link { font-size: 0.95rem; }

/* ---------- Stats (ink band) ---------- */
.stats-band { position: relative; overflow: hidden; }
.stats-band::after { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 70%; background: var(--grad); filter: blur(90px); opacity: 0.35; z-index: 0; }
.stats-band .wrap { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.stat { border-left: 1px solid rgba(255, 255, 255, 0.16); padding-left: 22px; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; color: #fff; line-height: 1.05; }
.stat span { display: block; margin-top: 8px; font-size: 0.95rem; color: #9aa6b8; }

/* ---------- Integrations hub ---------- */
.hub-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.hub-node { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 0.95rem; font-weight: 500; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04); }
.hub-node i { color: var(--violet); width: 18px; text-align: center; }
.hub-core { grid-column: 2; grid-row: 2; justify-content: center; background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.hub-core i { color: var(--yellow); }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%235b47fb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checklist--2 { grid-template-columns: 1fr 1fr; }

/* ---------- Reference cards ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.ref-card { display: flex; flex-direction: column; gap: 14px; }
.ref-shot { transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.ref-shot picture { aspect-ratio: 16 / 10; overflow: hidden; }
.ref-shot img { height: 100%; object-fit: cover; object-position: top; }
.ref-card:hover .ref-shot { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-meta strong { display: block; font-size: 1.05rem; }
.ref-meta span { display: block; font-size: 0.93rem; color: var(--muted); }
.ref-card--cta .ref-cta-box { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 34px; border-radius: 14px; background: var(--ink); color: #aab4c3; position: relative; overflow: hidden; }
.ref-card--cta .ref-cta-box::after { content: ''; position: absolute; right: -30%; bottom: -60%; width: 90%; height: 90%; background: var(--grad); filter: blur(60px); opacity: 0.45; }
.ref-cta-box > * { position: relative; z-index: 1; }
.ref-cta-box strong { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; color: #fff; line-height: 1.2; }
.ref-card--cta { grid-column: span 2; }

/* Logo wall (references page) */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logo-cell { background: #fff; height: 130px; display: flex; align-items: center; justify-content: center; padding: 22px; }
.logo-cell img { max-width: 100%; height: auto; opacity: 0.65; filter: grayscale(1); transition: opacity 0.2s ease, filter 0.2s ease; }
.logo-cell:hover img { opacity: 1; filter: none; }
.logo-cta { grid-column: 1 / -1; height: 84px; gap: 10px; background: var(--soft); font-weight: 600; color: var(--ink); }
.logo-cta:hover { background: var(--line-2); }

/* ---------- CTA split ---------- */
.cta-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.cta-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.cta-card i { font-size: 1.1rem; color: var(--violet); margin-bottom: 6px; }
.cta-card strong { font-size: 1.05rem; }
.cta-card span { font-size: 0.93rem; color: var(--muted); }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.page-hero::before {
    content: ''; position: absolute; z-index: -1;
    top: -340px; right: -300px; width: 900px; height: 600px;
    background: var(--hero-grad, var(--grad));
    border-radius: 50%; transform: rotate(-18deg);
    filter: blur(70px); opacity: 0.38;
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.page-hero .display { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .actions { justify-content: center; }
.crumbs { display: flex; gap: 8px; font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Feature rows (product pages) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature--flip .feature-text { order: 2; }
.feature h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 16px; }
.feature p { font-size: 1.08rem; }

/* Feature grid */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.fitem i { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.fitem h3 { font-size: 1.12rem; margin-bottom: 6px; }
.fitem p { font-size: 0.98rem; }
.fgrid--lines { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fgrid--lines .fitem { background: #fff; padding: 30px 28px 32px; }

/* Before / after comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.compare-col h3 { font-size: 1.15rem; margin-bottom: 18px; }
.compare-col li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.compare-col li:first-child { border-top: 0; }
.compare-col--before li::before { content: '✕'; color: #c4495c; font-weight: 700; }
.compare-col--after { background: var(--ink); border-color: var(--ink); color: #c8d0dc; }
.compare-col--after h3 { color: #fff; }
.compare-col--after li { color: #dfe5ee; border-color: rgba(255, 255, 255, 0.1); }
.compare-col--after li::before { content: '✓'; color: var(--yellow); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: -2px; left: 0; padding-top: 18px; border-top: 2px solid var(--accent); width: 46px; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 1.12rem; margin: 22px 0 6px; }
.step p { font-size: 0.97rem; }
.section--ink .step { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .step::before { color: var(--yellow); border-color: var(--yellow); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 40px 24px 0; font-size: 1rem; }

/* Product pages: related + other products */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.related-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.related-card i { color: var(--violet); margin-bottom: 8px; }
.related-card strong { font-size: 1.05rem; }
.related-card span { font-size: 0.93rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.about-grid p { font-size: 1.1rem; margin-bottom: 18px; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.9rem; color: var(--muted); }
.facts dd { font-weight: 600; color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.principle i { color: var(--yellow); font-size: 1.3rem; margin-bottom: 16px; }
.principle h3 { font-size: 1.12rem; margin-bottom: 8px; }
.principle p { font-size: 0.97rem; }

/* Need guide (services) */
.need-list { border-top: 1px solid var(--line); }
.need-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.need-text { font-size: 1.12rem; color: var(--ink-2); }
.need-service { flex-shrink: 0; font-weight: 600; color: var(--violet); }
.need-service::after { content: ' ›'; }
.need-row:hover .need-text { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item i { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--accent-soft); color: var(--violet); }
.contact-item strong { display: block; }
.contact-item a, .contact-item span { color: var(--slate); font-size: 0.97rem; }
.contact-item a:hover { color: var(--violet); }
.form-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 6px; }
.form-card > p { margin-bottom: 24px; font-size: 0.97rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px;
    font: 400 1rem/1.4 'Geist', sans-serif; color: var(--ink);
    background: var(--soft); border: 1px solid var(--line); border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px var(--accent-soft); }
.kvkk-check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 0.92rem; color: var(--slate); cursor: pointer; }
.kvkk-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--violet); }
.kvkk-check a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-card .btn { width: 100%; height: 50px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 0.95rem; }
.alert--ok { background: #e8f7ee; color: #146c3a; border: 1px solid #bfe6cd; }
.alert--err { background: #fdeef0; color: #8f1d2c; border: 1px solid #f3c7cf; }
.map { margin-top: 0; border-top: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.2); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; font-weight: 600; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 1.02rem; color: var(--slate); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: 0.9rem !important; color: var(--muted) !important; }
.legal-note { margin-top: 40px; padding: 18px 22px; background: var(--soft); border-left: 3px solid var(--violet); border-radius: 6px; }
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 0.96rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--slate); }
.legal-table th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.legal-table thead th { background: var(--soft); }
.legal-table small { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound-code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; color: var(--ink); background: #fff; }
.chip:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 80px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-about img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 24em; margin-bottom: 20px; }
.site-footer h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a:hover { color: var(--violet); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-legal button { color: var(--muted); background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--ink); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 2000;
    max-width: 920px; margin: 0 auto;
    display: flex; align-items: center; gap: 28px;
    padding: 20px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(16px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; }
.cookie-banner-text p { font-size: 0.9rem; margin: 0; }
.cookie-banner-text a { color: var(--violet); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.active { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav, .header-actions .btn--ghost { display: none; }
    .menu-toggle { display: block; }
    .site-header .wrap { gap: 16px; }
    .header-actions { margin-left: auto; }
    body.menu-open { overflow: hidden; }
    body.menu-open .nav {
        display: flex; flex-direction: column; align-items: stretch; gap: 2px;
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
        padding: 18px 22px 40px; background: #fff; overflow-y: auto;
    }
    body.menu-open .nav-link { width: 100%; height: 50px; font-size: 1.1rem; justify-content: space-between; border-radius: 10px; }
    body.menu-open .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 10px; display: grid; grid-template-columns: 1fr; }
    body.menu-open .menu-foot { display: none; }
    body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@media (max-width: 992px) {
    .section { padding: 90px 0; }
    .hero-grid, .page-hero-grid, .hub-grid, .feature, .cta-split, .about-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
    .feature--flip .feature-text { order: 0; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile--wide, .tile--half, .tile--third { grid-column: span 2; }
    .solutions, .refs, .fgrid, .related { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .principles { grid-template-columns: 1fr 1fr; }
    .logo-wall { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .ref-card--cta { grid-column: span 2; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .section { padding: 70px 0; }
    .hero { padding: 50px 0 70px; }
    .page-hero { padding: 50px 0 60px; }
    .head { margin-bottom: 36px; }
    .lead { font-size: 1.08rem; }
    .actions .btn { flex: 1; }
    .showcase-stage, .showcase-tabs { width: 88%; }
    .showcase-tab span { display: none; }
    .showcase-tab strong { font-size: 0.82rem; }
    .bento, .solutions, .refs, .fgrid, .related, .compare, .cta-cards, .checklist--2, .principles, .steps, .form-row { grid-template-columns: 1fr; }
    .tile--wide, .tile--half, .tile--third, .ref-card--cta { grid-column: auto; }
    .tile { min-height: 0; padding: 24px 22px 0; }
    .tile-visual { margin: 22px -22px 0; padding: 20px 22px 0; }
    .stats { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
    .hub { grid-template-columns: 1fr 1fr; }
    .hub-core { grid-column: 1 / -1; grid-row: auto; order: -1; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .logo-cell { height: 100px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature + .feature { margin-top: 80px; }
    .device-duo { padding: 0 0 30px 22px; }
    .duo-phone { width: 28%; border-width: 4px; border-radius: 18px; }
    .form-card { padding: 24px 20px; }
    .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; left: 12px; right: 12px; bottom: 12px; }
    .cookie-banner-actions .btn { flex: 1; }
    .need-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .faq-item p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .logos-track { animation: none; }
}

/* ---------- Additions for product/service templates ---------- */
.stats--light { margin-top: 0; padding: 30px 0 0; border-top: 1px solid var(--line); }
.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat b { color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.stats--light .stat span { color: var(--muted); }
.fgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.note { margin-top: 26px; padding: 16px 20px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: 0.95rem; max-width: 52em; }
.faq--dark { border-top-color: rgba(255, 255, 255, 0.14); }
.faq--dark .faq-item { border-bottom-color: rgba(255, 255, 255, 0.14); }
.faq--dark .faq-item summary { color: #fff; }
.faq--dark .faq-item summary::after { color: #9aa6b8; }
.faq--dark .faq-item p { color: #aab4c3; }

/* Checklist tick follows the page accent (product color) */
.checklist li::before {
    content: '✓';
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; color: var(--accent);
    background: var(--accent-soft);
}

.tile-visual .shot { max-height: 330px; }
.tile--third .tile-visual .shot { max-height: 230px; }
.showcase-tab .dot { width: 8px; height: 8px; border-radius: 2px; }
.feature-visual .shot, .feature-visual .browser-frame { box-shadow: var(--shadow-lg); }

/* Single phone and pairs */
.phone-solo { width: min(300px, 70%); margin: 0 auto; aspect-ratio: 9 / 19; border: 8px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone-solo picture, .phone-solo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-pair { display: flex; justify-content: center; gap: 22px; }
.phone-pair .phone-solo { width: 44%; margin: 0; }
.phone-pair .phone-solo:last-child { transform: translateY(40px); }

/* HTML UI mocks (illustrative panels) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.mock-pill { font-size: 0.75rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.mock-tree li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-size: 0.95rem; }
.mock-tree li:nth-child(odd) { background: var(--soft); }
.mock-tree li i { color: var(--accent); width: 16px; text-align: center; }
.mock-tree li em { margin-left: auto; font-style: normal; font-size: 0.8rem; color: var(--muted); }
.mock-tree .lvl1 { margin-left: 22px; }
.mock-tree .lvl2 { margin-left: 44px; color: var(--slate); }
.mock-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-size: 0.95rem; color: var(--ink-2); }
.mock-checks li:last-child { border-bottom: 0; }
.mock-checks li::before { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; }
.mock-checks .ok::before { content: '✓'; background: #e3f6ea; color: #1f8a4c; }
.mock-checks .warn::before { content: '!'; background: #fff4d6; color: #a86b00; }
.mock-checks .todo::before { content: '•'; background: var(--line-2); color: var(--muted); }

@media (max-width: 992px) { .fgrid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .fgrid--4 { grid-template-columns: 1fr; }
    .stats--light { grid-template-columns: 1fr 1fr; }
    .phone-pair .phone-solo:last-child { transform: translateY(24px); }
}

/* Bento: equal-height visual windows so tiles in a row line up */
.tile-visual { flex: none; height: 290px; overflow: hidden; align-items: flex-start; }
.tile-visual .shot, .tile--third .tile-visual .shot { max-height: none; height: 100%; }
.tile-visual .shot picture, .tile-visual .shot img { height: 100%; width: 100%; object-fit: cover; object-position: top left; }
.tile { justify-content: flex-start; }
.tile .link { margin-bottom: auto; }
.hero .display { font-size: clamp(2.4rem, 4.6vw, 4rem); }
@media (max-width: 640px) { .tile-visual { height: 220px; } }

/* Fixes (2026-10-24 review) */
.brand img { height: 40px; }
.footer-about img { height: 38px; }
/* Menu: the generic ".menu-item span" rule was overriding the icon box */
.menu-item .menu-icon { display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; font-size: 0.95rem; color: var(--ink); }
.menu-item .menu-icon i { display: block; line-height: 1; }
.menu-text strong { display: block; font-size: 0.97rem; margin-bottom: 1px; }
.menu-text span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* Numbers band: every figure carries its source */
.stats--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s ease, background 0.2s ease; }
a.stat-card:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.stat-src { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #cfd6e2; }
.stat-src .dot { margin: 0; }
.stat-card b { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; letter-spacing: -0.04em; color: #fff; line-height: 1.1; margin-top: 10px; }
.stat-card > span:last-child { font-size: 0.93rem; color: #9aa6b8; }
@media (max-width: 992px) { .stats--cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .stats--cards { grid-template-columns: 1fr; } }

/* Eyebrow labels removed site-wide (owner feedback): give headings a little top air instead */
.page-hero .display, .hero .display { margin-top: 4px; }
