/* İşteÇözüm Studio herkese açık site. Renkler ve yazı brand/README.md'den; dış yazı tipi ya da CDN yok.
   Düzen: koyu gece mavisi üst bölüm (başlık, kahraman alanı, sayfa bandı, alt bilgi) + açık içerik. */

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../brand/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../brand/fonts/hanken-grotesk-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --purple: #675DA4;
    --purple-light: #9A93CE;
    --purple-pale: #B9B3E3;
    --ink: #1E1C38;
    --coral: #F26B4F;
    --coral-dark: #D9553A;
    --night: #14284B;
    --night-deep: #0C1A33;

    --bg: #FFFFFF;
    --surface: #F6F5FB;
    --text: var(--ink);
    --muted: #5C5A75;
    --border: #E5E3F0;
    --link: var(--purple);
    --on-dark: #F3F2FA;
    --on-dark-muted: #AEB7CC;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(20, 40, 75, .06), 0 8px 24px rgba(20, 40, 75, .08);
    --shadow-lg: 0 2px 4px rgba(20, 40, 75, .06), 0 18px 48px rgba(20, 40, 75, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* Başlık */
.site-header { background: var(--night-deep); border-bottom: 1px solid rgba(255, 255, 255, .06); position: sticky; top: 0; z-index: 5; }
.page-home .site-header { background: rgba(12, 26, 51, .92); backdrop-filter: saturate(1.4) blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 8px 14px; border-radius: 10px; transition: color .15s, background .15s; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255, 255, 255, .07); }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 1rem; padding: 13px 24px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 20px rgba(242, 107, 79, .35); }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { color: var(--night); box-shadow: var(--shadow); }

/* Kahraman alanı */
.hero {
    position: relative; overflow: hidden; color: var(--on-dark);
    background:
        radial-gradient(900px 480px at 85% 30%, rgba(103, 93, 164, .38), transparent 60%),
        radial-gradient(600px 400px at 70% 90%, rgba(242, 107, 79, .16), transparent 60%),
        linear-gradient(180deg, var(--night-deep), var(--night));
    margin-top: -72px; padding: 152px 0 104px;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lead { font-size: 1.18rem; color: var(--on-dark-muted); max-width: 54ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { font-size: .95rem; font-weight: 700; letter-spacing: .01em; color: var(--coral); margin-bottom: .9rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-visual img { position: relative; width: 240px; border-radius: 54px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-6deg); }
.hero-orbit { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(185, 179, 227, .18); box-shadow: inset 0 0 0 46px rgba(185, 179, 227, .03); }
.hero-orbit::before { content: ""; position: absolute; inset: -56px; border-radius: 50%; border: 1px dashed rgba(185, 179, 227, .12); }

/* Bölümler */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin: 0; }

/* Uygulama kartları */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-card-head { display: flex; align-items: center; gap: 16px; }
.app-card-head > div { flex: 1; min-width: 0; }
.app-card h3 { margin: 0; font-size: 1.2rem; }
.app-card h3 a { color: var(--text); text-decoration: none; }
.app-meta { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.app-desc { color: var(--muted); margin: 0; flex: 1; }
.app-card-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.app-card-foot .link-arrow { margin-left: auto; }

.app-icon { display: inline-grid; place-items: center; flex: none; color: #fff; font-weight: 750; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 16px rgba(20, 40, 75, .18); }
.app-icon-md { width: 60px; height: 60px; border-radius: 15px; font-size: 1.3rem; }
.app-icon-lg { width: 112px; height: 112px; border-radius: 26px; font-size: 2.4rem; }
.tone-0 { background: linear-gradient(140deg, #F26B4F, #B8406B); }
.tone-1 { background: linear-gradient(140deg, #675DA4, #14284B); }
.tone-2 { background: linear-gradient(140deg, #2F7DD1, #14284B); }
.tone-3 { background: linear-gradient(140deg, #1F9D8A, #14466B); }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-muted { background: #EFEDF7; color: var(--purple); }
.pill-light { background: rgba(255, 255, 255, .1); color: var(--purple-pale); }
.pill-live { background: rgba(46, 204, 138, .14); color: #5FE0A6; }

.store-btn { display: inline-flex; flex-direction: column; justify-content: center; background: var(--ink); color: #fff; text-decoration: none; border-radius: 10px; padding: 8px 16px; font-weight: 650; font-size: .92rem; line-height: 1.2; transition: background .15s; }
.store-btn:hover { background: #000; color: #fff; }
.store-btn small { font-size: .68rem; font-weight: 500; opacity: .75; }
.store-btn-lg { padding: 10px 22px; font-size: 1.05rem; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }

.link-arrow { font-weight: 650; text-decoration: none; color: var(--purple); }
.link-arrow::after { content: " \2192"; }

.empty-card { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px dashed #CFCBE3; border-radius: var(--radius); background: var(--surface); }
.empty-card h3 { margin: 0 0 4px; }
.empty-card p { margin: 0; color: var(--muted); }

/* Özellikler */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; color: var(--coral); background: rgba(242, 107, 79, .1); }

.parent-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px 48px; border-radius: 24px; color: var(--on-dark); background: radial-gradient(520px 260px at 90% 0%, rgba(103, 93, 164, .5), transparent 70%), var(--night); }
.parent-band h2 { color: #fff; }
.parent-band p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }

/* İç sayfa bandı */
.page-band { color: var(--on-dark); background: radial-gradient(700px 300px at 90% 0%, rgba(103, 93, 164, .35), transparent 65%), linear-gradient(180deg, var(--night-deep), var(--night)); padding: 40px 0 56px; }
.page-band-sm { padding: 36px 0 44px; }
.page-band h1 { color: #fff; margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.band-meta { color: var(--on-dark-muted); margin: 8px 0 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .9rem; margin-bottom: 22px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.app-hero { display: flex; align-items: center; gap: 28px; }
.app-hero-text h1 { margin-bottom: 4px; }
.app-hero .app-meta { color: var(--on-dark-muted); margin-bottom: 12px; font-size: 1rem; }

.app-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.app-main h2 { font-size: 1.35rem; margin-top: 8px; }
.app-main .lead, .app-main .store-row, .app-main p { margin-bottom: 36px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; }
.info-card dt { color: var(--muted); font-size: .92rem; }
.info-card dd { margin: 0; font-weight: 600; text-align: right; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.link-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.link-card:hover { color: var(--text); border-color: var(--purple-pale); box-shadow: var(--shadow); }
.link-card h3 { margin: 0 0 4px; }
.link-card h3::after { content: " \2192"; color: var(--purple); }
.link-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Metin sayfaları */
.prose { max-width: 760px; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote, .callout { margin: 0 0 2em; padding: 16px 20px; border-left: 4px solid var(--coral); background: #FFF4F1; border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child, .callout p:last-child { margin: 0; }
.callout strong { display: block; color: var(--coral-dark); margin-bottom: 2px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--surface); }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.support-card h2 { font-size: 1.35rem; }
.support-card p { color: var(--muted); }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.error-page { text-align: center; padding: 120px 0; }
.error-page p { color: var(--muted); }
.error-code { font-size: 5rem; font-weight: 800; line-height: 1; margin-bottom: 12px; background: linear-gradient(140deg, var(--coral), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Alt bilgi */
.site-footer { background: var(--night-deep); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: .95rem; letter-spacing: .01em; color: #fff; margin-bottom: 14px; }
.site-footer nav a { display: block; color: var(--on-dark-muted); text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }

@media (max-width: 900px) {
    .hero-grid, .app-layout, .support-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .header-row { height: 64px; }
    .site-logo img { height: 34px; }
    .site-nav a { padding: 8px 9px; font-size: .9rem; }
    .site-nav a[href="/#studio"] { display: none; }
    .hero { margin-top: -64px; padding: 116px 0 72px; }
    .section { padding: 64px 0; }
    .app-grid { grid-template-columns: 1fr; }
    .app-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
    .app-icon-lg { width: 88px; height: 88px; border-radius: 21px; font-size: 1.9rem; }
    .parent-band { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
