/* Noetix Sağlık CRM — Docvivo-benzeri landing; klinik teal + serif vurgu */

:root {
    color-scheme: light;
    --bg: #f4faf9;
    --bg-soft: #e8f3f1;
    --surface: #ffffff;
    --ink: #0f2a32;
    --muted: #4d6670;
    --line: #d5e4e1;
    --teal: #0f766e;
    --teal-deep: #0b3d44;
    --mint: #d8f3ec;
    --sky: #e4eefc;
    --sand: #f6efe4;
    --lilac: #ece8f8;
    --shadow: 0 22px 50px rgba(15, 61, 68, 0.12);
    --radius: 18px;
    --font: "Sora", system-ui, sans-serif;
    --display: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(ellipse 90% 55% at 50% -10%, #d7efea 0%, transparent 58%),
        var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, ul { margin: 0; }
em {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    color: var(--teal);
}

.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip {
    position: absolute; top: .5rem; left: .5rem; z-index: 40;
    padding: .75rem 1rem; background: var(--surface);
    transform: translateY(-160%);
}
.skip:focus { transform: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.85rem; padding: 0 1.15rem; border-radius: 999px;
    border: 1px solid transparent; font-size: .9rem; font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .link-quiet:focus-visible, .journey-tabs button:focus-visible,
.nav-toggle:focus-visible, summary:focus-visible, .text-link:focus-visible {
    outline: 3px solid #2aa897; outline-offset: 3px;
}
.btn-dark { background: var(--teal-deep); color: #fff; }
.btn-dark:hover { background: #14545c; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); background: var(--surface); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--mint); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.link-quiet { color: var(--muted); font-size: .9rem; font-weight: 600; }
.link-quiet:hover { color: var(--teal); }
.text-link {
    display: inline-block; margin-top: 1rem; color: var(--teal);
    font-size: .9rem; font-weight: 700;
}
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 30;
    backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color 180ms ease, background 180ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, #fff 90%, transparent); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 4.25rem;
}
.brand {
    display: inline-flex; align-items: center; gap: .65rem;
    font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
}
.brand img { flex: none; border-radius: 8px; }
.header-actions { display: flex; align-items: center; gap: .85rem; }

/* Hero — brand first, lean first viewport */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.hero-inner { text-align: center; }
.channel-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.15rem;
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    font-size: .78rem; font-weight: 700; color: var(--muted);
}
.channel-row i { margin-right: .25rem; }
.channel-row li:nth-child(1) i { color: #1faa59; }
.channel-row li:nth-child(2) i { color: #d6249f; }
.channel-row li:nth-child(3) i { color: #0084ff; }
.channel-row li:nth-child(4) i { color: #0866ff; }
.channel-row li:nth-child(5) i { color: #4285f4; }

.brand-mark {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--teal-deep);
}
.hero h1 {
    margin-top: .35rem;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -.06em;
    font-weight: 800;
}
.hero h1 em {
    display: inline-block;
    font-size: 1.05em;
    color: var(--teal);
}
.hero-lead {
    max-width: 36rem; margin: 1rem auto 0;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.65; color: var(--muted);
}
.hero-actions {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem;
    margin-top: 1.4rem;
}

/* Journey / Docvivo 1-4 */
.journey { padding-bottom: clamp(3rem, 7vw, 5rem); }
.journey-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
    margin-bottom: 1.1rem;
}
.journey-tabs button {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 2.6rem; padding: .35rem .9rem .35rem .4rem;
    border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--muted); cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.journey-tabs button[aria-selected="true"] {
    background: var(--teal-deep); border-color: var(--teal-deep); color: #fff;
}
.step-num {
    display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
    border-radius: 999px; background: var(--mint); color: var(--teal-deep);
    font-size: .75rem; font-weight: 800;
}
.journey-tabs button[aria-selected="true"] .step-num {
    background: rgba(255,255,255,.16); color: #fff;
}
.step-label { font-size: .86rem; font-weight: 700; }

.journey-stage {
    display: grid; gap: 1.1rem;
    padding: clamp(1rem, 2.5vw, 1.6rem);
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(180deg, #dff0ec 0%, #e8eef8 100%);
    border: 1px solid #d0e2de;
}
.journey-copy { text-align: center; max-width: 34rem; margin-inline: auto; }
.journey-copy h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    letter-spacing: -.035em; line-height: 1.2;
}
.journey-copy p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }

.product-stage { min-width: 0; }
.product-frame {
    overflow: hidden; border-radius: 14px; background: var(--surface);
    border: 1px solid #cfe0dc; box-shadow: var(--shadow);
    animation: rise .45s ease both;
}
.product-chrome {
    display: flex; justify-content: space-between; align-items: center;
    gap: .75rem; padding: .7rem 1rem;
    background: var(--teal-deep); color: #fff; font-size: .8rem; font-weight: 700;
}
.product-chrome span { display: inline-flex; align-items: center; gap: .5rem; }
.product-chrome small { color: #b9d4d1; font-weight: 500; }

.inbox-mock {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr) minmax(0, .85fr);
    min-height: 280px;
}
.inbox-mock aside, .chat-mock { padding: .9rem; }
.inbox-mock aside:first-child { border-right: 1px solid var(--line); }
.card-mock { border-left: 1px solid var(--line); background: #f8fbfb; }
.thread {
    display: flex; gap: .55rem; align-items: center;
    padding: .55rem .45rem; border-radius: 8px; font-size: .78rem;
}
.thread.is-on { background: var(--mint); }
.thread i { color: var(--teal); width: 1rem; text-align: center; }
.thread strong, .thread small { display: block; }
.thread small { color: var(--muted); margin-top: .1rem; }
.chat-mock {
    display: flex; flex-direction: column; gap: .55rem; background: #f3f7f8;
}
.bubble {
    max-width: 88%; margin: 0; padding: .55rem .7rem; border-radius: 10px;
    font-size: .78rem; line-height: 1.4;
}
.bubble.in { background: #fff; border: 1px solid var(--line); }
.bubble.out { align-self: flex-end; background: var(--teal); color: #fff; }
.card-mock strong { font-size: .85rem; }
.card-mock dl { margin: .7rem 0 0; }
.card-mock dl > div { margin-top: .55rem; }
.card-mock dt { color: var(--muted); font-size: .72rem; }
.card-mock dd { margin: .15rem 0 0; font-size: .84rem; font-weight: 700; }

.route-mock, .sell-mock, .measure-mock { padding: 1.1rem; display: grid; gap: .7rem; }
.route-row, .sell-line {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem; align-items: center;
    padding: .8rem .85rem; border-radius: 10px;
    border: 1px solid var(--line); background: #fbfefe; font-size: .84rem;
}
.route-row.muted { opacity: .72; }
.route-row span, .sell-line small { color: var(--muted); }
.route-row em, .sell-line > span {
    font-style: normal; font-size: .75rem; font-weight: 700;
    padding: .25rem .45rem; border-radius: 6px; background: var(--mint); color: var(--teal-deep);
}
.sell-amount small { color: var(--muted); }
.sell-amount strong { display: block; margin-top: .2rem; font-size: 1.7rem; letter-spacing: -.04em; }
.sell-line i { color: var(--teal); }
.measure-mock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}
.stat {
    padding: .85rem; border-radius: 12px; background: #f4fafa; border: 1px solid var(--line);
}
.stat span, .stat small { display: block; color: var(--muted); font-size: .75rem; }
.stat strong { display: block; margin: .25rem 0; font-size: 1.45rem; letter-spacing: -.04em; }
.bars {
    grid-column: 1 / -1; display: flex; align-items: end; gap: .45rem;
    height: 6.5rem; padding: .6rem .2rem 0;
}
.bars span {
    flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #5ec4b4, #0f766e);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 1.6rem; }
.section-head h2 {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    letter-spacing: -.045em; line-height: 1.12; font-weight: 800;
}
.section-head p { margin-top: .7rem; color: var(--muted); line-height: 1.6; }

.sectors { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sector-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem;
}
.sector {
    min-height: 11rem; padding: 1.15rem; border-radius: 14px;
    display: flex; flex-direction: column; gap: .55rem;
}
.sector i { color: var(--teal-deep); font-size: 1.15rem; }
.sector h3 { font-size: 1.02rem; letter-spacing: -.02em; }
.sector p { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: auto; }
.tint-mint { background: var(--mint); }
.tint-sky { background: var(--sky); }
.tint-sand { background: var(--sand); }
.tint-lilac { background: var(--lilac); }

.solutions { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); background: #f7fcfb; border-block: 1px solid var(--line); }
.solution {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center;
    margin-top: clamp(2rem, 5vw, 3.25rem);
}
.solution.reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.solution.reverse .solution-copy { order: 2; }
.solution-copy h3 {
    font-size: clamp(1.4rem, 3vw, 2.05rem);
    letter-spacing: -.04em; line-height: 1.15; font-weight: 800;
}
.solution-copy > p { margin-top: .75rem; color: var(--muted); line-height: 1.65; }
.solution-copy ul {
    margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem;
}
.solution-copy li {
    position: relative; padding-left: 1.15rem; color: var(--ink);
    font-size: .92rem; font-weight: 600;
}
.solution-copy li::before {
    content: ""; position: absolute; left: 0; top: .45rem;
    width: .55rem; height: .55rem; border-radius: 999px; background: var(--teal);
}
.solution-visual, .solution-photo {
    border-radius: 16px; min-height: 16rem; overflow: hidden;
}
.solution-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.inbox-lite, .lead-lite, .route-lite {
    display: grid; gap: .65rem; padding: 1.25rem; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow);
}
.lite-row {
    display: flex; align-items: center; gap: .65rem;
    padding: .85rem 1rem; border-radius: 10px; background: #f5fafa;
    border: 1px solid var(--line); font-weight: 700; font-size: .9rem;
}
.lite-row.on { background: var(--mint); border-color: #b7e4d8; }
.lite-row i { color: var(--teal); width: 1.1rem; text-align: center; }
.lead-lite { background: linear-gradient(160deg, #eef5ff, #fff); }
.lead-lite strong { font-size: 1.1rem; }
.lead-lite span, .lead-lite em { color: var(--muted); font-size: .9rem; font-style: normal; }
.lead-lite em { color: var(--teal-deep); font-weight: 700; }
.route-lite div {
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1rem; border-radius: 10px; background: #f7fbfa;
    border: 1px solid var(--line); font-weight: 700;
}
.route-lite span {
    display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
    border-radius: 999px; background: var(--teal-deep); color: #fff; font-size: .78rem;
}

.ready { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ready-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem;
}
.ready-grid article {
    padding: 1.2rem; border-radius: 14px; background: var(--surface);
    border: 1px solid var(--line); min-height: 10rem;
}
.ready-grid i { color: var(--teal); margin-bottom: .7rem; }
.ready-grid h3 { font-size: 1rem; letter-spacing: -.02em; }
.ready-grid p { margin-top: .45rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }

.faq { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.faq-list { max-width: 46rem; margin: 0 auto; display: grid; gap: .55rem; }
details {
    border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
    padding: 0 1rem;
}
summary {
    cursor: pointer; list-style: none; padding: 1rem 0;
    font-weight: 700; font-size: .98rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+"; float: right; color: var(--teal); font-weight: 700;
}
details[open] summary::after { content: "–"; }
details p {
    padding: 0 0 1rem; color: var(--muted); line-height: 1.6; font-size: .92rem;
}

.closing { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.closing-card {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(circle at 85% 20%, rgba(94, 196, 180, .22), transparent 40%),
        var(--teal-deep);
    color: #f3fffc;
}
.closing-card h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    letter-spacing: -.04em; line-height: 1.15;
}
.closing-card h2 em { color: #9fe8d8; }
.closing-card p { margin-top: .55rem; color: #b7d5d0; }
.closing-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0 1.4rem;
    background: #f7fcfb;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .7fr));
    gap: 1.5rem;
}
.footer-brand p {
    margin-top: .75rem; max-width: 22rem;
    color: var(--muted); font-size: .88rem; line-height: 1.55;
}
.footer-grid nav { display: grid; gap: .45rem; align-content: start; }
.footer-grid nav strong { margin-bottom: .2rem; font-size: .84rem; }
.footer-grid nav a { color: var(--muted); font-size: .88rem; }
.footer-grid nav a:hover { color: var(--teal); }
.footer-base {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.footer-base small { color: var(--muted); }

@media (max-width: 960px) {
    .sector-grid, .ready-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solution, .solution.reverse { grid-template-columns: 1fr; }
    .solution.reverse .solution-copy { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .inbox-mock { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
    .card-mock { display: none; }
}

@media (max-width: 760px) {
    .header-actions .link-quiet { display: none; }
    .closing-card { flex-direction: column; align-items: flex-start; }
    .measure-mock { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .shell { width: calc(100% - 1.5rem); }
    .sector-grid, .ready-grid, .footer-grid { grid-template-columns: 1fr; }
    .inbox-mock { grid-template-columns: 1fr; }
    .inbox-mock aside:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
    .journey-tabs .step-label { display: none; }
    .journey-tabs button { padding-inline: .45rem; }
    .channel-row { gap: .4rem .8rem; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .journey-tabs button, .product-frame { transition: none; animation: none; }
    .btn:hover { transform: none; }
}
