/*
Theme Name: F13 Cloud
Theme URI: https://f13tech.com
Author: F13 Tech
Description: F13 Hub tanıtım ve satış teması — Türkiye'de barındırılan, geliştirmeden yayına tek panelde Odoo platformu. Yazı tipleri tema içinden yüklenir (harici font sunucusu yok).
Version: 1.3.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: f13-cloud
*/

/* ---------- Base ---------- */
:root { --f13-gradient: linear-gradient(105deg, #000a0c 0%, #00151a 34%, #022a35 62%, #006e85 100%); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 2px; }
.eyebrow { font: 600 .78rem/1 var(--wp--preset--font-family--display); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--brand); margin: 0 0 .6rem; }
.lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* Buttons written inside HTML blocks do not pull in core's block CSS: style them here. */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.wp-block-button__link { display: inline-block; text-decoration: none; border-radius: 8px; padding: .8rem 1.3rem; font: 600 .95rem/1.2 var(--wp--preset--font-family--display); background: var(--wp--preset--color--brand); color: #fff; border: 1px solid transparent; }
.wp-block-button__link:hover { background: var(--wp--preset--color--brand-dark); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--wp--preset--color--brand); }
main > .wp-block-post-content > .alignfull:first-child { margin-top: 0; }

/* ---------- Header ---------- */
.f13-header { background: var(--f13-gradient); color: #fff; position: relative; z-index: 10; }
.f13-header a { color: #fff; text-decoration: none; }
.f13-header .wp-block-site-title a { font: 700 1.1rem/1 var(--wp--preset--font-family--display); letter-spacing: .02em; }
.f13-header .wp-block-navigation a { opacity: .88; font-weight: 600; }
.f13-header .wp-block-navigation a:hover { opacity: 1; }
.f13-header .wp-block-navigation__responsive-container.is-menu-open { background: #00151a !important; color: #fff !important; }
.f13-brandmark { display: flex; align-items: center; gap: .6rem; }
.f13-brandmark svg { width: 30px; height: 30px; flex: none; }
.f13-header .btn-login a { border: 1px solid rgba(192,228,255,.45); padding: .45rem .9rem; border-radius: 8px; opacity: 1 !important; }

/* ---------- Hero ---------- */
.f13-hero { background: var(--f13-gradient); color: #d6e9ee; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem) !important; margin-top: 0 !important; position: relative; overflow: hidden; }
.f13-hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(0,110,133,.45), transparent 70%); pointer-events: none; }
.f13-hero > * { position: relative; z-index: 1; }
.f13-hero h1 { color: #fff; max-width: 17ch; }
.f13-hero h1 em { font-style: normal; color: var(--wp--preset--color--sky); }
.f13-hero .lead { color: #cfe3e8; }
.f13-hero .eyebrow { color: var(--wp--preset--color--sky); }
.f13-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(192,228,255,.55); background: transparent; }
.f13-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--wp--preset--color--night); }
.f13-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--sky); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; padding: 0; list-style: none; }
.trust li { font: 500 .8rem/1 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--sky); border: 1px solid rgba(192,228,255,.3); background: rgba(0,0,0,.2); padding: .55rem .75rem; border-radius: 6px; margin: 0; }

/* Build pipeline illustration in the hero */
.pipeline { display: grid; gap: .55rem; font: 500 .85rem/1.3 var(--wp--preset--font-family--mono); color: #d6e9ee; background: rgba(0,10,12,.55); border: 1px solid rgba(192,228,255,.18); border-radius: 12px; padding: 1.1rem 1.2rem; max-width: 460px; margin-left: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.pipeline .row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .6rem; border-radius: 6px; background: rgba(255,255,255,.04); }
.pipeline .row span:last-child { white-space: nowrap; }
.pipeline .ok { color: #7fe3b4; } .pipeline .run { color: #ffd479; } .pipeline .dim { color: #86a9b1; }
.pipeline .stage { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #86a9b1; margin-top: .3rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--wp--preset--spacing--60) !important; margin-block: 0 !important; }
.section.tinted { background: var(--wp--preset--color--mist); }
.section.dark { background: var(--wp--preset--color--night); color: #cfe3e8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--wp--preset--color--sky); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.feature { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1.3rem 1.3rem 1.1rem; }
.feature h3 { margin: .2rem 0 .4rem; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--wp--preset--color--muted); font-size: .98rem; }
.feature .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--brand); font: 700 .8rem/1 var(--wp--preset--font-family--mono); }

/* Problem → solution split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.split > div { border-radius: 12px; padding: 1.4rem; }
.split .before { background: #fff; border: 1px dashed #d9a9a9; }
.split .after { background: #fff; border: 1px solid var(--wp--preset--color--brand); box-shadow: 0 10px 30px rgba(0,110,133,.12); }
.split h3 { margin-top: 0; }
.split ul { margin: 0; padding-left: 1.1rem; }

/* Stages (Production / Staging / Development) */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stage-card { border-radius: 12px; padding: 1.3rem; background: rgba(255,255,255,.04); border: 1px solid rgba(192,228,255,.16); }
.stage-card .pill { display: inline-block; font: 600 .75rem/1 var(--wp--preset--font-family--display); padding: .4rem .65rem; border-radius: 999px; margin-bottom: .7rem; }
.pill.p { background: #0a4e5d; color: #bfeaf4; } .pill.s { background: #4a3a10; color: #ffe2a0; } .pill.d { background: #2f2766; color: #d8d2ff; }
.stage-card p { margin: 0; font-size: .98rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 2rem; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1.2rem; margin: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wp--preset--color--brand); color: #fff; font: 700 .9rem/1 var(--wp--preset--font-family--display); margin-bottom: .6rem; }
.steps strong { display: block; color: var(--wp--preset--color--night); margin-bottom: .2rem; }
.steps span { color: var(--wp--preset--color--muted); font-size: .96rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 1.6rem; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: #fff; }
.compare { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .98rem; }
.compare th, .compare td { padding: .8rem 1rem; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; vertical-align: top; }
.compare thead th { font: 600 .78rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--mist); }
.compare thead th.us { color: var(--wp--preset--color--brand); }
.compare td.us { background: #f3fafb; font-weight: 600; color: var(--wp--preset--color--night); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: #0e7a4f; font-weight: 700; } .no { color: #a33; font-weight: 700; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.plan.featured { border: 2px solid var(--wp--preset--color--brand); box-shadow: 0 16px 40px rgba(0,110,133,.14); }
.plan h3 { margin: 0; }
.plan .for { color: var(--wp--preset--color--muted); margin: 0; font-size: .96rem; }
.plan .price { font: 700 1.5rem/1.1 var(--wp--preset--font-family--display); color: var(--wp--preset--color--night); margin: .2rem 0; }
.plan .price small { display: block; font: 400 .85rem/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); margin-top: .2rem; }
.plan ul { margin: 0; padding-left: 1.1rem; flex: 1; }
.plan li { margin: .3rem 0; }
.plan .cta { display: block; text-align: center; padding: .75rem 1rem; border-radius: 8px; font: 600 .95rem/1 var(--wp--preset--font-family--display); text-decoration: none; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--brand); }
.plan.featured .cta { background: var(--wp--preset--color--brand); color: #fff; }
.plan .tag { align-self: flex-start; font: 600 .7rem/1 var(--wp--preset--font-family--display); letter-spacing: .1em; text-transform: uppercase; background: var(--wp--preset--color--brand); color: #fff; padding: .35rem .6rem; border-radius: 999px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 0 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font: 600 1.02rem/1.4 var(--wp--preset--font-family--display); color: var(--wp--preset--color--night); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--wp--preset--color--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--wp--preset--color--text); }

/* Call to action band */
.cta-band { background: var(--f13-gradient); color: #d6e9ee; border-radius: 16px; padding: clamp(1.8rem, 4vw, 3rem) !important; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #cfe3e8; }
.cta-band .wp-block-buttons { justify-content: center; }
.cta-band .wp-block-button__link { background: #fff; color: var(--wp--preset--color--night); }

/* Page heading for inner pages */
.page-hero { background: var(--f13-gradient); color: #cfe3e8; padding-block: clamp(2.5rem, 6vw, 4rem) !important; margin-top: 0 !important; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); }
.page-hero .lead { color: #cfe3e8; }
.page-hero .eyebrow { color: var(--wp--preset--color--sky); }

/* Callouts */
.callout { border-left: 3px solid var(--wp--preset--color--brand); background: var(--wp--preset--color--mist); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; }

/* ---------- Lead form ---------- */
.f13-form, .f13-form * { box-sizing: border-box; }
.demo-grid { display: grid; gap: 2rem; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .demo-grid { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); } }
.f13-form { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.f13-form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.f13-form label { display: grid; gap: .35rem; font-weight: 600; color: var(--wp--preset--color--night); font-size: .95rem; }
.f13-form label small { font-weight: 400; color: var(--wp--preset--color--muted); }
.f13-form input[type=text], .f13-form input[type=email], .f13-form input[type=tel], .f13-form select, .f13-form textarea { font: 1rem/1.4 var(--wp--preset--font-family--body); padding: .7rem .8rem; border: 1px solid #c3d4d8; border-radius: 8px; background: #fff; color: var(--wp--preset--color--text); width: 100%; }
.f13-form input:focus, .f13-form select:focus, .f13-form textarea:focus { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 0; border-color: transparent; }
.f13-form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--wp--preset--color--text); }
.f13-form .consent input { margin-top: .25rem; }
.f13-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f13-form button { justify-self: start; font: 600 1rem/1 var(--wp--preset--font-family--display); background: var(--wp--preset--color--brand); color: #fff; border: 0; border-radius: 8px; padding: .9rem 1.4rem; cursor: pointer; }
.f13-form button:hover { background: var(--wp--preset--color--brand-dark); }
.f13-notice { border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1rem; }
.f13-notice.ok { background: #e7f6ee; color: #0e5a3d; border: 1px solid #9fd8bb; }
.f13-notice.err { background: #fdeeee; color: #8a1f1f; border: 1px solid #efb4b4; }

/* ---------- Documentation page ---------- */
.f13-docs { display: grid; gap: 2.2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .f13-docs { grid-template-columns: 240px minmax(0, 1fr); } }
.f13-docs nav { font-size: .95rem; }
@media (min-width: 960px) { .f13-docs nav { position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow: auto; } }
.f13-docs nav ol { list-style: none; margin: 0; padding: 0; }
.f13-docs nav a { display: block; padding: .3rem .6rem; border-radius: 6px; text-decoration: none; color: var(--wp--preset--color--text); }
.f13-docs nav a:hover { background: var(--wp--preset--color--mist); }
.f13-docs nav .grp { font: 600 .7rem/1.3 var(--wp--preset--font-family--display); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 1rem 0 .3rem .6rem; }
.f13-docs article { max-width: 74ch; }
.f13-docs section { scroll-margin-top: 1.5rem; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 1rem; margin-bottom: 2.2rem; }
.f13-docs h2 { font-size: 1.6rem; margin: 0 0 .6rem; }
.f13-docs h3 { margin: 1.5rem 0 .4rem; }
.f13-docs .ui { font: 600 .84em/1 var(--wp--preset--font-family--body); display: inline-block; padding: .2rem .5rem; border-radius: 6px; border: 1px solid var(--wp--preset--color--line); background: #fff; color: var(--wp--preset--color--night); white-space: nowrap; }
.f13-docs code, .f13-docs pre { font-family: var(--wp--preset--font-family--mono); background: var(--wp--preset--color--mist); border-radius: 5px; }
.f13-docs code { font-size: .86em; padding: .05rem .35rem; }
.f13-docs pre { padding: .8rem 1rem; overflow-x: auto; border: 1px solid var(--wp--preset--color--line); }
.f13-docs pre code { background: none; padding: 0; }
.f13-docs .roles { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.f13-docs .role { font: 500 .75rem/1 var(--wp--preset--font-family--display); padding: .4rem .6rem; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); background: #fff; }
.f13-docs .role.all { color: var(--wp--preset--color--brand); }
.f13-docs .role.staff { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--night); }
.f13-docs .note, .f13-docs .tip { border-left: 3px solid #f0c46b; background: #fff6e5; color: #6b4a00; padding: .7rem 1rem; border-radius: 0 8px 8px 0; margin: 0 0 1rem; }
.f13-docs .tip { border-color: #8fd0b3; background: #eaf6f1; color: #0e5a3d; }
.f13-docs .table { overflow-x: auto; margin: 0 0 1.2rem; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; background: #fff; }
.f13-docs table { border-collapse: collapse; width: 100%; font-size: .96rem; }
.f13-docs th, .f13-docs td { text-align: left; vertical-align: top; padding: .55rem .8rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.f13-docs th { font: 600 .72rem/1.3 var(--wp--preset--font-family--display); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--mist); }
.f13-docs td:first-child { font-weight: 600; color: var(--wp--preset--color--night); white-space: nowrap; }
.f13-docs .stages { margin-top: 0; }
.f13-docs .stages div { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 1rem; }
.f13-docs .stages h4 { margin: 0 0 .4rem; }
.f13-docs .stage { font: 600 .8em/1 var(--wp--preset--font-family--display); padding: .25rem .55rem; border-radius: 999px; }
.f13-docs .stage.p { color: #006e85; background: #e3f2f5; } .f13-docs .stage.s { color: #9a6a00; background: #fff4dc; } .f13-docs .stage.d { color: #5b4bb3; background: #efecff; }
.f13-docs .faq dt { font-weight: 700; color: var(--wp--preset--color--night); margin-top: 1rem; }
.f13-docs .faq dd { margin: .3rem 0 0; }
.f13-docs .part { font: 600 .75rem/1 var(--wp--preset--font-family--display); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--brand); margin: 0 0 .4rem; }
.f13-docs .path { font-weight: 600; color: var(--wp--preset--color--night); }

/* ---------- Footer ---------- */
.f13-footer { background: var(--wp--preset--color--night); color: #9fb9bf; font-size: .95rem; }
.f13-footer a { color: #d6e9ee; text-decoration: none; }
.f13-footer a:hover { color: #fff; text-decoration: underline; }
.f13-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.f13-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.f13-footer .legal { border-top: 1px solid rgba(192,228,255,.12); padding-top: 1rem; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
