/* ============================================================
   OTORAPORUM.COM — tasarım sistemi
   Marka: lacivert (logo) + parlak mavi; durum renkleri
   ekspertiz dili (orijinal/boyalı/değişen). SEO içerik sitesi:
   okunabilirlik önce gelir.
   Tipografi: Sora (display) · Figtree (gövde) · JetBrains Mono (ölçüm)
   ============================================================ */

:root {
    --ink: #0B2239;
    --ink-soft: #4A5F76;
    --bg: #F6F9FC;
    --card: #FFFFFF;
    --line: #DDE6F0;
    --blue: #1E6BE0;
    --blue-deep: #12439B;
    --navy: #0B2239;
    --ok: #0FA36B;
    --paint: #E8A013;
    --changed: #DD3A3A;
    --wa: #23B558;
    --radius: 18px;
    --font-display: "Sora", sans-serif;
    --font-body: "Figtree", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
a { color: inherit; }
.mono { font-family: var(--font-mono); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

.eyebrow {
    font-family: var(--font-mono); font-size: 12px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
    margin: 0 0 14px;
}
.section { padding: 92px 0; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section__title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section__sub { color: var(--ink-soft); max-width: 640px; margin-top: -4px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    font-family: var(--font-body);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(30, 107, 224, .3); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(35, 181, 88, .26); }
.btn--wa:hover { background: #1B9E4A; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.tag {
    display: inline-block; padding: 3px 11px; border-radius: 999px;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.tag--ok { background: #E2F6ED; color: #0B7A50; }
.tag--paint { background: #FBF0D8; color: #A26E08; }
.tag--changed { background: #FBE3E3; color: #B22B2B; }

/* ---------- topbar (lisans mesajı + hızlı iletişim) ---------- */
.topbar { background: var(--navy); color: #C9DAF2; }
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 38px; padding-top: 7px; padding-bottom: 7px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.topbar__msg b { color: #fff; font-weight: 700; }
.topbar__links { display: flex; gap: 18px; white-space: nowrap; }
.topbar__links a { color: #7FA9EF; text-decoration: none; font-weight: 700; }
.topbar__links a:hover { color: #fff; }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(246, 249, 252, .88); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.nav__brand img { width: 42px; height: 42px; }
.nav__brand em { font-style: normal; color: var(--blue); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 9px 18px; font-size: 14px; }
.nav__burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(680px 420px at 82% 8%, rgba(30, 107, 224, .1), transparent 65%),
        radial-gradient(520px 380px at 8% 92%, rgba(15, 163, 107, .07), transparent 65%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: center; }
.hero__title { font-size: clamp(32px, 4.9vw, 52px); font-weight: 800; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub { font-size: 18px; color: var(--ink-soft); }
.hero__sub strong { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
.hero__bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero__bullets li { padding-left: 26px; position: relative; font-size: 15px; color: var(--ink-soft); }
.hero__bullets li::before {
    content: "✓"; position: absolute; left: 2px; top: 0;
    color: var(--ok); font-weight: 800;
}

/* ---------- diyagramlar ---------- */
.dgr-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; box-shadow: 0 24px 56px rgba(11, 34, 57, .1);
}
.dgr-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0 4px; }
.dgr-card__title { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.dgr-card__legend { display: flex; gap: 12px; font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; }
.dgr-card__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }

.dgr { position: relative; }
.dgr img { display: block; width: 100%; border-radius: 10px; }
/* Parlama süpürmesi: rapor görselinin üzerinden yumuşak ışık geçer */
.dgr--shine { overflow: hidden; border-radius: 10px; }
.dgr--shine::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: dgr-shine 5.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes dgr-shine {
    0%, 55% { transform: translateX(-120%); }
    75%, 100% { transform: translateX(120%); }
}
.dgr__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.dgr__panel { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--n, 0) * 90ms); }
.dgr.is-live .dgr__panel { opacity: 1; }
.dgr__badge, .dgr__label {
    position: absolute; transform: translate(-50%, -50%);
    font-family: var(--font-mono); font-weight: 700; white-space: nowrap;
    border-radius: 999px; color: #fff;
    opacity: 0; transition: opacity .4s ease, transform .4s ease;
    transition-delay: calc(var(--n, 0) * 90ms + 180ms);
    pointer-events: none;
}
.dgr.is-live .dgr__badge, .dgr.is-live .dgr__label { opacity: 1; }
.dgr__badge { font-size: clamp(5.5px, .92vw, 8.5px); padding: .2em .62em; box-shadow: 0 1px 4px rgba(11,34,57,.25); }
.dgr__badge--ok { background: var(--ok); }
.dgr__badge--paint { background: var(--paint); }
.dgr__badge--changed { background: var(--changed); }
.dgr__label {
    font-size: clamp(6px, 1.05vw, 10px); padding: .2em .65em;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
    box-shadow: 0 3px 10px rgba(11, 34, 57, .1);
}
.dgr__label--ok { border-color: var(--ok); color: #0B7A50; }
.dgr__label--paint { border-color: var(--paint); color: #A26E08; }
.dgr__label--changed { border-color: var(--changed); color: #B22B2B; }

.dgr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; align-items: start; }
.dgr-duo figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* ---------- özellikler ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 34, 57, .09); }
.feature__icon {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
    background: #E8F0FD; color: var(--blue);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- seo içerik bölümü ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose p, .prose li { color: #33475C; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--blue); font-weight: 600; }
/* .prose a butonların rengini ezmesin (özgüllük tuzağı) */
.prose a.btn--primary { color: #fff; }
.prose a.btn--ghost { color: var(--ink); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }
.prose .lead { font-size: 19px; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border: 1px solid var(--line); }
.prose th { background: #EEF4FB; font-family: var(--font-display); font-size: 13.5px; }
.callout-box {
    background: #E8F0FD; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0;
    padding: 18px 22px; margin: 26px 0;
}
.callout-box p { margin: 0; }

/* ---------- blog kartları ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.post-card {
    display: block; text-decoration: none;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 34, 57, .09); }
.post-card__cat { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.post-card h3 { font-size: 17.5px; margin: 10px 0 8px; }
.post-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.post-card__more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue); }

/* ---------- makale sayfası ---------- */
.article-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.article-hero .eyebrow { color: #7FA9EF; }
.article-hero h1 { font-size: clamp(28px, 4.4vw, 42px); max-width: 780px; }
.article-hero__meta { font-size: 14px; color: #9DB3CC; }
.breadcrumb { font-size: 13px; margin-bottom: 20px; color: #9DB3CC; }
.breadcrumb a { color: #C9DAF2; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-body { padding: 56px 0 80px; }
.article-cta {
    background: var(--navy); color: #fff; border-radius: var(--radius);
    padding: 34px; margin-top: 48px; text-align: center;
}
.article-cta h2 { color: #fff; font-size: 24px; margin-top: 0; }
.article-cta p { color: #B9CBE0; max-width: 520px; margin: 0 auto 22px; }

/* ---------- paketler ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 34, 57, .09); }
.plan h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.plan__for { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 14.5px; color: #33475C; }
.plan li::before {
    content: "✓"; position: absolute; left: 2px; top: 0;
    color: var(--ok); font-weight: 800;
}
.plan li.plan__plus::before { content: "+"; color: var(--blue); }
.plan .btn { margin-top: auto; }
.plan--hot { border: 2px solid var(--blue); box-shadow: 0 24px 52px rgba(30, 107, 224, .14); }
.plan__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff;
    font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    border-radius: 999px; padding: 4px 14px; white-space: nowrap;
}
/* ---------- lisans bandı (hero altı) ---------- */
.license-band {
    background: linear-gradient(135deg, #0B2239 0%, #10305A 100%);
    border-top: 1px solid rgba(127, 169, 239, .25);
    border-bottom: 1px solid rgba(127, 169, 239, .25);
    position: relative; overflow: hidden;
}
.license-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(560px 220px at 85% -30%, rgba(30, 107, 224, .3), transparent 70%);
}
.license-band__inner {
    position: relative;
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
    column-gap: 18px; row-gap: 4px; text-align: center;
    padding-top: 22px; padding-bottom: 24px;
}
.license-band__big {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(22px, 3.4vw, 32px); letter-spacing: -.01em;
    color: #fff; white-space: nowrap;
}
.license-band__txt { font-size: clamp(14.5px, 1.8vw, 17px); color: #AFC3DC; }
.license-band__txt b { color: #7FE0B4; }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 12px; margin-top: 40px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; padding: 18px 30px 18px 0; position: relative; font-family: var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-mono); font-size: 22px; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- iletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact__lead { color: var(--ink-soft); max-width: 430px; }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact__list li { display: grid; gap: 2px; }
.contact__label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--ink-soft); }
.contact__list a { font-weight: 700; text-decoration: none; font-size: 17px; }
.contact__list a:hover { color: var(--blue); }
.contact__direct {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 32px;
    box-shadow: 0 22px 48px rgba(11, 34, 57, .08);
}
.contact__direct h3 { font-size: 21px; margin: 0 0 10px; }
.contact__direct > p:first-of-type { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.contact__direct .btn--wa { font-size: 16px; padding: 15px 20px; }
.contact__direct-or { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.contact__direct-or a { font-weight: 700; text-decoration: none; }
.contact__direct-or a:hover { color: var(--blue); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #B9CBE0; padding: 44px 0 26px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 46px; height: 46px; }
.footer__brand b { display: block; color: #fff; font-family: var(--font-display); }
.footer__brand span { font-size: 13px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer__links a { text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; font-size: 13px; text-align: right; font-family: var(--font-mono); }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 12.5px; }
.footer__legal a { text-decoration: none; }

/* ---------- whatsapp float ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 70;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(35, 181, 88, .4);
    transition: transform .18s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--wa); opacity: 0;
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(.8); opacity: .8; }
    70%, 100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .wa-float::after, .dgr--shine::after { animation: none; }
    .dgr__panel, .dgr__badge, .dgr__label { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .features, .posts { grid-template-columns: 1fr 1fr; }
    .dgr-duo { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
    .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 880px) {
    .hero__inner { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; gap: 40px; }
    .nav__links { display: none; position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; }
    .nav__links.is-open { display: flex; }
    .nav__links a { padding: 13px 24px; }
    .nav__cta { margin-left: auto; }
    .nav__burger { display: flex; flex-direction: column; gap: 5px; justify-content: center; background: none; border: 0; padding: 8px; cursor: pointer; }
    .nav__burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
}
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    /* Topbar dar ekranda tek mesaj + WhatsApp'a iner */
    .topbar__inner { font-size: 11px; gap: 10px; }
    .topbar__links a[data-cfg-href] { display: none; }
    /* Nav dar ekranda sıkışmasın: marka + CTA küçülür */
    .nav__inner { gap: 12px; }
    .nav__brand { font-size: 16px; }
    .nav__brand img { width: 34px; height: 34px; }
    .nav__cta { padding: 8px 12px; font-size: 13px; }
    .features, .posts { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 60px; }
    .hero__ctas .btn { flex: 1 1 100%; }
    .footer__inner, .footer__legal { flex-direction: column; align-items: flex-start; }
    .footer__links { margin-left: 0; }
    .footer__contact { text-align: left; }
}
