/* ═══════════════════════════════════════════════════
   Emirsoft — theme.css  |  Tema B · Teknik Mürekkep
   Tüm sayfalarda en son yüklenir; bölüm CSS'lerinin üzerine yazar.
   Değerler site.css :root değişkenlerinden gelir.
   ═══════════════════════════════════════════════════ */

body { background: #fff; color: var(--text); font-feature-settings: "ss01", "cv11"; }

/* ── Tipografi ─────────────────────────────────── */
h1, h2, h3, h4, .section-title, .hero-title, .nav-brand, .svc-title, .stat-num {
    font-family: var(--font-display);
}
h1 { letter-spacing: -1.6px; }
h2, .section-title { letter-spacing: -1px; }
.section-tag, .ai-eyebrow, .hero-badge, .tag, .insight-link, .nav-chip {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}
.section-tag { font-size: .72rem; color: var(--accent); }

/* ── Nav ───────────────────────────────────────── */
#main-nav, #main-nav.scrolled { background: rgba(255, 255, 255, .92); }
.nav-brand { font-weight: 700; letter-spacing: -.8px; }
.nav-links { gap: 1.6rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-ai { color: var(--accent) !important; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.nav-chip {
    display: inline-block;
    font-size: .56rem;
    padding: .12rem .4rem;
    border-radius: 4px;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(52, 71, 212, .2);
    line-height: 1.2;
}
.mobile-ai { color: var(--accent) !important; font-weight: 600; }
.lang-btn { font-family: var(--font-mono); border-radius: 6px; }
.nav-consulting { border-radius: 6px; }

/* ── Butonlar ──────────────────────────────────── */
.btn-primary { border-radius: 8px; box-shadow: 0 1px 0 rgba(11, 18, 32, .06); }
.btn-ghost { border-radius: 8px; border-color: var(--border-hover); }

/* ── Hero ──────────────────────────────────────── */
.hero { min-height: 0; padding: 9rem 2rem 5rem; background: #fff; }
.hero-bg { background: radial-gradient(ellipse 60% 50% at 70% 0%, rgba(52, 71, 212, .06) 0%, transparent 70%); }
.hero-grid {
    background-image: linear-gradient(rgba(11, 18, 32, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-content { max-width: 920px; margin: 0 auto; width: 100%; }
.hero-badge {
    background: var(--accent-soft);
    border: 1px solid rgba(52, 71, 212, .22);
    border-radius: 6px;
    color: var(--accent);
    font-size: .72rem;
    padding: .4rem .8rem;
}
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.9rem); letter-spacing: -2.4px; line-height: 1.04; font-weight: 600; }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 1.12rem; max-width: 640px; color: var(--muted); }

/* ── İstatistik şeridi ─────────────────────────── */
.hero-stats-bar {
    background: #fff;
    gap: 0;
    padding: 0;
    max-width: 1120px;
    margin: 0 auto 4rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: calc(100% - 4rem);
}
.hero-stats-bar .stat { flex: 1; padding: 1.5rem 1rem; }
.hero-stats-bar .stat-sep { height: 56px; background: var(--border); }
.stat-num { font-weight: 600; letter-spacing: -1px; }
.stat-label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-mono); }

/* ── Bölümler ──────────────────────────────────── */
.section-alt { background: var(--bg-alt); border-color: var(--border); }
.section-divider { background: var(--border); }
.section-lead { color: var(--muted); }

/* ── İkon kutuları — açık lavanta/lacivert ─────── */
.svc-icon, .sol-feature-icon, .insight-icon, .consulting-icon, .contact-card-icon, .ai-need-icon, .ai-pilot-icon {
    background: var(--accent-soft) !important;
    border: 1px solid rgba(52, 71, 212, .16);
    color: var(--accent) !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sol-feature-icon { width: 44px; height: 44px; font-size: 1rem; }
.sol-feature-icon span { font-family: var(--font-mono); font-weight: 500 !important; font-size: .9rem; }
.insight-icon { width: 44px; height: 44px; font-size: 1rem; opacity: 1; margin-bottom: .6rem; }

/* ── Kartlar ───────────────────────────────────── */
.service-card, .insight-card, .sol-feature-card, .contact-card { border-radius: 12px; border-color: var(--border); background: #fff; box-shadow: none; }
.service-card:hover, .insight-card:hover, .sol-feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-ai { border-color: rgba(52, 71, 212, .35); background: linear-gradient(180deg, var(--accent-soft), #fff 70%); }
.svc-ai .svc-title { color: var(--accent); }
.partner-note { font-family: var(--font-mono); font-size: .68rem; }

/* ── Anasayfa: Yapay Zekâ bölümü ───────────────── */
.ai-focus { background: #fff; }
.ai-needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.ai-need {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.6rem;
    transition: border-color .25s, transform .25s;
}
.ai-need:hover { border-color: var(--accent); transform: translateY(-2px); }
.ai-need-no { position: absolute; top: 1.2rem; right: 1.2rem; font-family: var(--font-mono); font-size: .72rem; color: var(--muted-mono); }
.ai-need-icon, .ai-pilot-icon { width: 44px; height: 44px; margin-bottom: 1.1rem; }
.ai-need h3 { font-size: 1.08rem; letter-spacing: -.3px; margin-bottom: .5rem; }
.ai-need p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.ai-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-alt);
}
.ai-stage { padding: 1rem 1rem 1.1rem; font-size: .84rem; font-weight: 600; color: var(--ink); border-right: 1px solid var(--border); line-height: 1.35; }
.ai-stage:last-child { border-right: 0; }
.ai-stage span { display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; color: var(--accent); margin-bottom: .35rem; }
.ai-focus-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── AI sayfası ────────────────────────────────── */
.ai-hero {
    position: relative;
    padding: 9rem 2rem 5rem;
    background:
        radial-gradient(ellipse 60% 55% at 75% 0%, rgba(52, 71, 212, .08) 0%, transparent 70%),
        linear-gradient(rgba(11, 18, 32, .03) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(11, 18, 32, .03) 1px, transparent 1px) 0 0 / 56px 56px,
        #fff;
}
.ai-hero-inner { max-width: 920px; margin: 0 auto; }
.ai-eyebrow {
    display: inline-block;
    font-size: .72rem;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(52, 71, 212, .22);
    border-radius: 6px;
    padding: .4rem .8rem;
    margin-bottom: 1.6rem;
}
.ai-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -2.2px; line-height: 1.05; margin-bottom: 1.4rem; }
.ai-hero-lead { font-size: 1.15rem; max-width: 660px; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.ai-hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.ai-block { padding: 5.5rem 2rem; }
.ai-block-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ai-wrap { max-width: 1120px; margin: 0 auto; }
.ai-wrap h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1rem; max-width: 760px; }
.ai-lead { color: var(--muted); max-width: 640px; line-height: 1.75; font-size: 1.02rem; }
.ai-rows { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.ai-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1.6rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.ai-row:hover { background: var(--bg-alt); }
.ai-row-hl { background: var(--accent-soft); }
.ai-row-no { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); padding-top: .35rem; }
.ai-row h3 { font-size: 1.25rem; letter-spacing: -.4px; margin-bottom: .35rem; }
.ai-row p { color: var(--muted); max-width: 680px; line-height: 1.7; }
.ai-steps { list-style: none; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.ai-steps li { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.3rem 1.1rem; }
.ai-steps li > span { display: block; font-family: var(--font-mono); font-size: .75rem; color: var(--accent); margin-bottom: .6rem; }
.ai-steps h4 { font-size: .98rem; letter-spacing: -.2px; margin-bottom: .4rem; }
.ai-steps p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.ai-pilots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.ai-pilot { border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; background: #fff; transition: border-color .25s; }
.ai-pilot:hover { border-color: var(--accent); }
.ai-pilot h4 { font-size: 1rem; margin-bottom: .4rem; letter-spacing: -.2px; }
.ai-pilot p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.ai-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.ai-privacy { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.ai-privacy h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.ai-privacy p { font-size: .92rem; color: var(--muted); line-height: 1.75; }
.ai-cta { padding: 5rem 2rem; background: var(--ink); color: #fff; }
.ai-cta h2 { color: #fff; }
.ai-cta p { color: #B6BED0; margin-bottom: 1.75rem; max-width: 560px; }
.ai-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.ai-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* ── Çözüm / hizmet detay sayfaları ────────────── */
.sol-hero h1 { background: none; -webkit-text-fill-color: initial; color: var(--ink); }
.sol-hero-badge {
    background: var(--accent-soft) !important;
    border: 1px solid rgba(52, 71, 212, .22) !important;
    color: var(--accent) !important;
    border-radius: 6px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .72rem;
}
.sol-kpi-num span { color: var(--accent); }

/* ── Medya ─────────────────────────────────────── */
.media-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.media-tag {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(52, 71, 212, .16);
    border-radius: 5px;
    padding: .2rem .5rem;
    text-decoration: none;
}
a.media-tag:hover { border-color: var(--accent); }
.media-detail-video { position: relative; margin: 1.5rem 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: #000; }
.media-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-thumb-placeholder span { color: var(--accent); }
.media-empty span { color: var(--accent); display: inline-flex; }

/* ── Footer — açık ─────────────────────────────── */
#main-footer { background: var(--bg-alt); border-top: 1px solid var(--border); color: var(--muted); }
#main-footer h4 { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
#main-footer a:hover { color: var(--accent); }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1100px) { .nav-links { gap: 1.1rem; } }
@media (max-width: 900px) {
    .ai-needs, .ai-pilots { grid-template-columns: 1fr; }
    .ai-steps { grid-template-columns: 1fr 1fr; }
    .ai-stages { grid-template-columns: 1fr 1fr; }
    .ai-stage { border-bottom: 1px solid var(--border); }
    .ai-split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .hero { padding: 7rem 1.25rem 3rem; }
    .hero-title { letter-spacing: -1.4px; }
    .hero-stats-bar { width: calc(100% - 2.5rem); flex-wrap: wrap; }
    .ai-hero { padding: 7rem 1.25rem 3.5rem; }
    .ai-block, .ai-cta { padding: 3.5rem 1.25rem; }
    .ai-steps { grid-template-columns: 1fr; }
    .ai-row { grid-template-columns: 44px 1fr; padding: 1.25rem .25rem; }
}

/* ── Nav: tüm öğeler aynı dikey eksende ────────── */
.nav-links > li > a,
.nav-links > li > .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    height: 30px;
    line-height: 1;
}
.nav-chevron { line-height: 1; margin-top: 0; position: relative; top: -1px; height: 1em; }

/* ── AI sayfası: ön değerlendirme, ortaklık, SSS ── */
.ai-check { list-style: none; display: grid; gap: .7rem; }
.ai-check li { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .95rem 1.1rem; font-size: .93rem; color: var(--ink); line-height: 1.5; }
.ai-check-box { flex: 0 0 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--accent); border-radius: 5px; background: var(--accent-soft); }
.ai-partners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.ai-partner { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.ai-partner-name { font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -.4px; }
.ai-partner-role { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: .3rem 0 .9rem; }
.ai-partner p { color: var(--muted); line-height: 1.7; font-size: .93rem; }
.ai-textlink { color: var(--accent); font-weight: 600; margin-left: .5rem; }
.ai-textlink:hover { text-decoration: underline; }
.ai-faq { margin-top: 2rem; border-top: 1px solid var(--border); max-width: 820px; }
.ai-faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem .25rem; }
.ai-faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ai-faq-item summary::-webkit-details-marker { display: none; }
.ai-faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-weight: 500; }
.ai-faq-item[open] summary::after { content: "−"; }
.ai-faq-item p { margin-top: .7rem; color: var(--muted); line-height: 1.75; max-width: 720px; }
@media (max-width: 900px) { .ai-partners { grid-template-columns: 1fr; } }

/* ── AI ön değerlendirme formu ─────────────────── */
.ai-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.ai-chips .media-tag { font-size: .72rem; padding: .3rem .65rem; }
.ai-progress { margin-top: 1.75rem; font-family: var(--font-mono); font-size: .8rem; color: var(--muted-mono); display: flex; align-items: center; gap: .75rem; }
.ai-progress #ai-count { color: var(--accent); }
.ai-progress-bar { flex: 0 0 160px; height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; display: inline-block; }
.ai-progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.ai-assess { display: grid; gap: .75rem; }
.ai-q { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem; }
.ai-q-text { font-size: .93rem; color: var(--ink); line-height: 1.5; margin-bottom: .7rem; }
.ai-q-opts { display: flex; gap: .45rem; flex-wrap: wrap; }
.ai-q-opts button { font: inherit; font-size: .82rem; font-weight: 500; padding: .4rem .85rem; border: 1px solid var(--border-hover); background: #fff; color: var(--text); border-radius: 7px; cursor: pointer; transition: all .15s; }
.ai-q-opts button:hover { border-color: var(--accent); color: var(--accent); }
.ai-q-opts button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ai-assess-contact { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .5rem; }
.ai-assess-contact input { font: inherit; font-size: .9rem; padding: .75rem .9rem; border: 1px solid var(--border-hover); border-radius: 8px; background: #fff; color: var(--ink); }
.ai-assess-contact input:first-child { grid-column: 1 / -1; }
.ai-assess-contact input:focus { outline: 2px solid rgba(52, 71, 212, .25); border-color: var(--accent); }
.ai-assess-contact .ai-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ai-submit { justify-self: start; border: 0; cursor: pointer; font-family: inherit; margin-top: .25rem; }
.ai-submit:disabled { opacity: .6; cursor: default; }
.ai-assess-msg { font-size: .9rem; min-height: 1.2em; }
.ai-assess-msg.ok { color: #14803C; font-weight: 600; }
.ai-assess-msg.err { color: #B42318; }
.ai-assess.done .ai-q, .ai-assess.done .ai-assess-contact, .ai-assess.done .ai-submit { opacity: .45; pointer-events: none; }
@media (max-width: 640px) { .ai-assess-contact { grid-template-columns: 1fr; } }
