/*
Theme Name: Clause360
Theme URI: https://www.clause360.com
Author: Clause360
Description: The Clause360 marketing website: homepage with the live contract and product tour, pricing, solutions by team, security, blog and contact form. Pages and menus are created on activation; settings are under Appearance > Customize > Clause360.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: clause360
*/

:root {
	--ink: #16242e; --muted: #56656d; --paper: #f5f6f4; --sheet: #ffffff; --rule: #e1e6e3;
	--brand: #0f5b4e; --brand-deep: #0b4339; --brand-soft: #e2f1ec; --ins: #1e5aa8; --del: #b42318; --amber: #a15c00;
	--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
	--arabic: "IBM Plex Sans Arabic", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
	--wrap: max(24px, calc((100vw - 1180px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; }
[lang="ar"] { font-family: var(--arabic); }
.screen-reader-text, .c360-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c360-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.c360-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #4fd1ae; outline-offset: 2px; }

/* Buttons */
.c360-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 9px; background: var(--brand); color: #fff !important; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font: 600 16px var(--sans); }
.c360-button:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.c360-button.large { padding: 13px 24px; font-size: 17px; }
.c360-button.ghost { background: transparent; color: var(--brand) !important; }
.c360-button.ghost:hover { background: var(--brand-soft); }
.c360-button.ghost.light { color: #fff !important; border-color: rgba(255,255,255,.5); }
.c360-link { color: var(--ink); text-decoration: none; font-weight: 500; }
.c360-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.c360-small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* Header */
.c360-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--wrap); background: rgba(245, 246, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.c360-logo { font: 700 22px var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.c360-logo span { color: var(--brand); }
.c360-logo.small { font-size: 19px; }
.c360-menu { flex: 1; }
.c360-menu-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.c360-menu-list > li { position: relative; }
.c360-menu-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.c360-menu-list a:hover, .c360-menu-list .current-menu-item > a { color: var(--ink); background: rgba(22, 36, 46, .05); }
.c360-menu-list .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.c360-menu-list .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--sheet); border-radius: 12px; box-shadow: 0 0 0 1px var(--rule), 0 24px 50px -24px rgba(22, 36, 46, .45); display: none; }
.c360-menu-list li:hover > .sub-menu, .c360-menu-list li:focus-within > .sub-menu { display: block; }
.c360-menu-list .sub-menu a { color: var(--ink); }
.c360-cta { display: flex; align-items: center; gap: 14px; }
.c360-cta .short { display: none; }
.c360-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; }
.c360-burger span { width: 18px; height: 2px; background: var(--ink); }
@media (max-width: 900px) {
	.c360-menu { display: none; order: 3; flex-basis: 100%; }
	.c360-burger { display: inline-flex; }
	.c360-nav { flex-wrap: wrap; }
	.c360-nav.open .c360-menu { display: block; }
	.c360-nav.open .c360-menu-list { flex-direction: column; }
	.c360-nav.open .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 12px; }
	.c360-cta { margin-left: auto; }
}
@media (max-width: 560px) { .c360-cta .long, .c360-cta .c360-link { display: none; } .c360-cta .short { display: inline; } .c360-nav { padding: 12px 16px; gap: 10px; } }

/* Sections */
.c360-section { padding: 72px var(--wrap); }
.c360-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; }
.c360-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.c360-lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.c360-kicker { color: var(--brand); font-weight: 600; margin: 0 0 8px; }
.c360-page-head { padding-bottom: 36px; }
.c360-page-head h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -0.025em; max-width: 18em; }
.c360-page-head.center h1, .c360-page-head.center .c360-lede { margin-left: auto; margin-right: auto; text-align: center; }
.c360-prose { max-width: 46em; }
.c360-prose h2 { margin: 1.6em 0 .4em; font-size: 1.45rem; }
.c360-prose p { margin: 0 0 1em; }

/* Hero */
.c360-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 84px var(--wrap) 110px; background: #0f1d26; color: #dbe6e2; }
.c360-hero-bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(900px 520px at 78% 38%, rgba(31,140,115,.28), transparent 65%),
	radial-gradient(700px 400px at 8% 100%, rgba(30,90,168,.18), transparent 70%),
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07'%3E%3Crect x='24' y='24' width='36' height='36'/%3E%3Crect x='24' y='24' width='36' height='36' transform='rotate(45 42 42)'/%3E%3Ccircle cx='42' cy='42' r='6'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.c360-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.c360-hero-ar { color: #8fd4c1; font-size: 1.3rem; margin: 18px 0 0; }
.c360-hero .c360-lede { color: #b4c4bf; margin-top: 18px; }
.c360-hero .c360-small { color: #8ea19b; margin-top: 18px; }
.c360-hero .c360-button { background: #1f8c73; border-color: #1f8c73; }
.c360-hero .c360-button.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.c360-stage-wrap { position: relative; padding-top: 58px; min-width: 0; }
.c360-stages { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.c360-stages button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #c5d3cf; font: 500 14px var(--sans); cursor: pointer; }
.c360-stages button span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; }
.c360-stages button.done span { background: rgba(31,140,115,.45); }
.c360-stages button.on { background: #1f8c73; border-color: #1f8c73; color: #fff; }
.c360-doc { background: var(--sheet); color: var(--ink); border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); overflow: hidden; }
.c360-doc-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.c360-lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 7px; overflow: hidden; }
.c360-lang button { border: 0; background: var(--sheet); padding: 3px 10px; font: 500 13px var(--sans); color: var(--muted); cursor: pointer; }
.c360-lang button.on { background: var(--ink); color: #fff; }
.c360-doc-body { display: grid; gap: 0 24px; padding: 22px 26px; font-family: var(--serif); font-size: 15px; line-height: 1.75; min-height: 300px; position: relative; }
.c360-doc-body.both { grid-template-columns: 1fr 1fr; }
.c360-doc-body .pane h3 { font-size: 17px; margin-bottom: 10px; }
.c360-doc-body .pane p { margin: 0 0 10px; }
.c360-doc-body .pane.ar { display: none; font-family: var(--arabic); }
.c360-doc-body.ar .pane.en { display: none; } .c360-doc-body.ar .pane.ar, .c360-doc-body.both .pane.ar { display: block; }
.c360-doc-body mark { background: var(--brand-soft); color: inherit; border-bottom: 1.5px solid var(--brand); padding: 0 2px; }
.c360-doc-body ins { color: var(--ins); text-decoration-thickness: 2px; } .c360-doc-body del { color: var(--del); }
.c360-doc-body:not([data-stage="1"]):not([data-stage="2"]) ins, .c360-doc-body:not([data-stage="1"]):not([data-stage="2"]) del { text-decoration: none; color: inherit; }
.c360-doc-body:not([data-stage="1"]):not([data-stage="2"]) del { display: none; }
.c360-status { grid-column: 1 / -1; margin-top: 10px; padding: 12px 14px; border-left: 3px solid var(--brand); background: #f3f7f5; border-radius: 0 8px 8px 0; font: 14px/1.5 var(--sans); }
.c360-status:empty { display: none; }
.c360-caption { color: #9fb1ab; font-size: 14px; margin: 12px 0 0; max-width: 58%; }
.c360-cards { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.c360-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); font-size: 13px; line-height: 1.35; opacity: 0; animation: c360-in .6s ease-out forwards, c360-float 7s ease-in-out infinite; }
.c360-card b { display: block; } .c360-card span { color: var(--muted); }
.c360-card .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: #1f8c73; } .dot.ink { background: var(--ins); } .dot.amber { background: var(--amber); }
.c360-card.c1 { top: 0; right: 0; animation-delay: .9s, 1.5s; } .c360-card.c2 { top: 0; left: 0; animation-delay: 1.6s, 2.2s; } .c360-card.c3 { bottom: -46px; right: 0; animation-delay: 2.3s, 2.9s; }
@keyframes c360-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes c360-float { 50% { translate: 0 -6px; } }
@media (max-width: 980px) { .c360-hero { grid-template-columns: 1fr; } .c360-caption { max-width: none; } }
@media (max-width: 720px) { .c360-cards { display: none; } .c360-stage-wrap { padding-top: 0; } .c360-doc-body.both { grid-template-columns: 1fr; } }

/* Facts */
.c360-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: -54px var(--wrap) 0; background: var(--sheet); border-radius: 14px; box-shadow: 0 24px 50px -30px rgba(22,36,46,.4), 0 0 0 1px var(--rule); position: relative; z-index: 3; }
.c360-facts > div { padding: 26px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--rule); }
.c360-facts > div:first-child { border-left: 0; }
.c360-facts strong { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--brand); margin-bottom: 6px; }
.c360-facts span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .c360-facts { grid-template-columns: 1fr 1fr; } .c360-facts > div:nth-child(3) { border-left: 0; } .c360-facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* Tour */
.c360-tour-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.c360-tour-tabs button { position: relative; overflow: hidden; border: 1px solid var(--rule); background: var(--sheet); padding: 9px 16px; border-radius: 999px; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; }
.c360-tour-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.c360-tour-tabs button.on.auto i { position: absolute; left: 0; bottom: 0; height: 3px; background: #4fd1ae; animation: c360-progress 6.5s linear forwards; }
@keyframes c360-progress { from { width: 0; } to { width: 100%; } }
.c360-tour-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; animation: c360-in .45s ease-out; }
.c360-tour-panel[hidden] { display: none; }
.c360-tour-panel h3 { font-size: 1.6rem; } .c360-tour-panel .copy p { color: var(--muted); }
.c360-tour-panel .frame { background: var(--sheet); border-radius: 12px; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -36px rgba(22,36,46,.5); overflow: hidden; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: #f7f9f8; font-size: 12px; color: var(--muted); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5ddda; } .frame .bar span { margin-left: 10px; }
.frame .screen { padding: 18px 20px 22px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .t-kpis div { border: 1px solid var(--rule); border-radius: 9px; padding: 10px; } .t-kpis span { display: block; font-size: 12px; color: var(--muted); } .t-kpis b { font-size: 1.2rem; }
.t-bars div { display: grid; grid-template-columns: 100px 1fr 24px; gap: 8px; align-items: center; margin: 6px 0; } .t-bars span { color: var(--muted); } .t-bars i { height: 9px; border-radius: 5px; background: linear-gradient(90deg, #2a9e83, var(--brand)); }
.t-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .t-types div { border: 1px solid var(--rule); border-radius: 9px; padding: 10px; } .t-types div.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); } .t-types span { display: block; font-size: 12.5px; color: var(--brand); }
.t-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .t-form span { font-size: 12.5px; color: var(--muted); } .t-form b { display: block; border: 1px solid var(--rule); border-radius: 7px; padding: 6px 10px; color: var(--ink); font-weight: 500; }
.t-ok { margin: 0; background: #e3f4ec; color: #0b5e3e; border-radius: 8px; padding: 10px 12px; }
.t-paper { border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; font-family: var(--serif); } .t-paper ins { color: var(--ins); } .t-paper del { color: var(--del); }
.t-msg { border-radius: 10px; padding: 9px 12px; font-size: 13.5px; } .t-msg b { display: block; font-size: 12px; } .t-msg.them { background: #f0f5fc; } .t-msg.us { background: #eef7f3; }
.t-chain { list-style: none; margin: 0; padding: 0; } .t-chain li { padding: 8px 0 8px 28px; position: relative; border-left: 2px solid var(--rule); margin-left: 8px; } .t-chain li::before { content: ''; position: absolute; left: -9px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--rule); } .t-chain li.done::before { background: var(--brand); border-color: var(--brand); } .t-chain li.now::before { border-color: var(--amber); } .t-chain span { display: block; font-size: 13px; color: var(--muted); }
.t-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; height: 130px; border-bottom: 1px solid var(--rule); } .t-cols i { position: relative; background: linear-gradient(180deg, #2a9e83, var(--brand)); border-radius: 5px 5px 0 0; } .t-cols b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 12px; }
.t-table { width: 100%; border-collapse: collapse; } .t-table td { padding: 7px 4px; border-bottom: 1px solid var(--rule); } .t-table td:last-child { text-align: right; color: var(--muted); } .t-table .warn { color: var(--amber); font-weight: 600; }
.t-bi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 1px solid var(--rule); border-radius: 6px; padding: 14px; font-family: var(--serif); }
@media (max-width: 900px) { .c360-tour-panel { grid-template-columns: 1fr; gap: 20px; } .t-kpis, .t-types { grid-template-columns: 1fr 1fr; } .t-bi { grid-template-columns: 1fr; } }

/* Teams, points, bands */
.c360-team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.c360-team-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c360-team { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; transition: transform .15s; }
.c360-team:hover { transform: translateY(-3px); border-color: var(--brand); }
.c360-team strong { color: var(--ink); } .c360-team span:last-child { font-size: 13.5px; color: var(--muted); }
.c360-team .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); font: 700 20px var(--serif); margin-bottom: 6px; }
.ico.t0::before { content: '§'; } .ico.t1::before { content: '⚖'; } .ico.t2::before { content: '⇄'; } .ico.t3::before { content: '◎'; } .ico.t4::before { content: '↗'; } .ico.t5::before { content: '∑'; }
.ico.t1, .ico.t4 { background: #e8f0fb; color: var(--ins); } .ico.t2, .ico.t5 { background: #fdf1dc; color: var(--amber); }
@media (max-width: 980px) { .c360-team-grid, .c360-team-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .c360-team-grid, .c360-team-grid.five { grid-template-columns: 1fr 1fr; } }
.c360-band { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.c360-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0; }
.c360-points > div { padding: 20px 0; border-top: 1px solid var(--rule); }
.c360-points dt { font-weight: 600; font-size: 1.1rem; } .c360-points dd { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 900px) { .c360-points { grid-template-columns: 1fr; } }
.c360-dark { background: var(--ink); color: #dbe6e2; } .c360-dark h2 { color: #fff; } .c360-dark .c360-head p { color: #a9bab4; }
.c360-cta-band { text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.c360-cta-band h2 { color: #fff; } .c360-cta-band .c360-actions { justify-content: center; }
.c360-cta-band .c360-button { background: #fff; color: var(--brand) !important; border-color: #fff; }
.c360-cta-band .c360-button.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.c360-faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; max-width: 50em; }
.c360-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.c360-faq details p { color: var(--muted); margin: 10px 0 0; }

/* Pricing */
.c360-price-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.c360-price-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--muted); font-size: 14px; }
.c360-price-tile strong { font-size: 1.55rem; color: var(--ink); }
.c360-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.c360-toggle { display: inline-flex; padding: 4px; background: #e6ebe8; border-radius: 10px; }
.c360-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 7px; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; }
.c360-toggle button.on { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 3px rgba(22,36,46,.12); }
.c360-toggle button:disabled { opacity: .45; cursor: not-allowed; }
.c360-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.c360-plans.two { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.c360-plans[hidden] { display: none; }
.c360-plan { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.c360-plan.featured { border: 2px solid var(--brand); }
.c360-plan .badge { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.c360-plan .badge.alt { background: var(--ins); }
.c360-plan .for { margin: 0; color: var(--muted); font-size: 14.5px; min-height: 2.6em; }
.c360-plan .price { display: flex; align-items: flex-end; gap: 10px; min-height: 64px; }
.c360-plan .price strong { font-size: 2.6rem; font-weight: 700; line-height: 1; } .c360-plan .price strong.quote { font-size: 1.5rem; }
.c360-plan .price span { font-size: 12.5px; color: var(--muted); line-height: 1.35; } .c360-plan .price em { font-style: normal; }
.c360-plan ul { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; font-size: 14.5px; }
.c360-plan li { padding-left: 22px; position: relative; }
.c360-plan li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.c360-table-wrap { overflow-x: auto; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; margin-top: 20px; }
.c360-compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.c360-compare th, .c360-compare td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: center; }
.c360-compare thead th { background: #f7f9f8; } .c360-compare tbody th { text-align: left; font-weight: 500; }
.c360-compare .yes { color: var(--brand); font-weight: 700; } .c360-compare .no { color: #b5c0bc; }
@media (max-width: 980px) { .c360-plans { grid-template-columns: 1fr 1fr; } .c360-price-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .c360-plans, .c360-plans.two { grid-template-columns: 1fr; } }

/* Solutions */
.c360-solution-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.c360-solution-points h2 { font-size: 1.2rem; padding-top: 26px; border-top: 1px solid var(--rule); }
.c360-solution-points h2:nth-of-type(-n+2) { border-top: 0; }
.c360-solution-points p { color: var(--muted); margin: 8px 0 26px; }
@media (max-width: 900px) { .c360-solution-points { grid-template-columns: 1fr; } }

/* Blog */
.c360-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.c360-post-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.c360-post-card .thumb img { border-radius: 10px; margin-bottom: 8px; }
.c360-post-card h2 { font-size: 1.25rem; } .c360-post-card h2 a { color: var(--ink); text-decoration: none; }
.c360-post-card p { margin: 0; color: var(--muted); } .c360-more { font-weight: 600; margin-top: auto; }
.c360-article { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.c360-article-cta { margin-top: 40px; padding: 26px; background: var(--brand-soft); border-radius: 14px; }
.c360-pager .nav-links { display: flex; gap: 8px; margin-top: 26px; }
@media (max-width: 900px) { .c360-posts { grid-template-columns: 1fr; } }

/* Contact form */
.c360-form { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; margin-top: 20px; }
.c360-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.c360-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.c360-form input, .c360-form select, .c360-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #c9d2ce; border-radius: 8px; font: 16px var(--sans); background: #fff; color: var(--ink); }
.c360-notice { padding: 12px 14px; border-radius: 8px; } .c360-notice.ok { background: #e3f4ec; color: #0b5e3e; } .c360-notice.warn { background: #fdebc8; color: #7a4800; }
@media (max-width: 600px) { .c360-fields { grid-template-columns: 1fr; } }

/* Footer */
.c360-footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding: 48px var(--wrap) 28px; background: var(--sheet); border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.c360-foot-brand p { margin: 8px 0 0; max-width: 26em; }
.c360-foot-col { display: flex; flex-direction: column; gap: 8px; }
.c360-foot-col h3 { font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.c360-foot-col a { color: var(--muted); text-decoration: none; } .c360-foot-col a:hover { color: var(--ink); text-decoration: underline; }
.c360-copy { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 14px; margin: 0; }
@media (max-width: 720px) { .c360-footer { grid-template-columns: 1fr 1fr; } .c360-foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .c360-card { opacity: 1; } }

/* Only real pages highlight in the menu (not links to sections of the homepage) */
.c360-menu-list .menu-item-type-custom.current-menu-item > a { background: none; color: var(--muted); }
/* Draft shows the original wording; negotiation and review show the changes; later stages the agreed text */
.c360-doc-body.c360-doc-body[data-stage="0"] ins { display: none; }
.c360-doc-body.c360-doc-body[data-stage="0"] del { display: inline; text-decoration: none; color: inherit; }

/* =================== 1.1: floating header, motion, dark footer =================== */

/* Announcement bar */
.c360-announce { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px; background: linear-gradient(90deg, #0b4339, #0f5b4e 50%, #1e5aa8); color: #e6f4ef; font-size: 14px; text-align: center; }
.c360-announce a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.c360-announce .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4fd1ae; box-shadow: 0 0 0 0 rgba(79,209,174,.7); animation: c360-pulse 2s infinite; }
@keyframes c360-pulse { 70% { box-shadow: 0 0 0 10px rgba(79,209,174,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,174,0); } }

/* Floating header: transparent over the dark hero, frosted glass once scrolled */
.c360-nav-shell { position: sticky; top: 0; z-index: 50; padding: 12px var(--wrap) 0; transition: padding .3s; pointer-events: none; }
.c360-nav-shell .c360-nav { pointer-events: auto; position: relative; top: auto; padding: 10px 14px 10px 20px; border: 1px solid var(--rule); border-radius: 16px; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -18px rgba(22,36,46,.35); transition: background .3s, box-shadow .3s, border-color .3s; }
.c360-dark-top .c360-nav-shell { margin-bottom: -86px; }
.c360-dark-top:not(.scrolled) .c360-nav { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.c360-dark-top:not(.scrolled) .c360-logo, .c360-dark-top:not(.scrolled) .c360-link { color: #fff; }
.c360-dark-top:not(.scrolled) .c360-menu-list > li > a { color: #c9d8d3; }
.c360-dark-top:not(.scrolled) .c360-menu-list > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.c360-dark-top:not(.scrolled) .c360-burger { background: transparent; border-color: rgba(255,255,255,.3); }
.c360-dark-top:not(.scrolled) .c360-burger span { background: #fff; }
.scrolled .c360-nav-shell { padding-top: 8px; }
.scrolled .c360-nav { box-shadow: 0 18px 40px -22px rgba(22,36,46,.45); }
.c360-hero { padding-top: 150px; }
.c360-logo { display: inline-flex; align-items: center; gap: 8px; }
.c360-logo .mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 210deg, #4fd1ae, #0f5b4e, #1e5aa8, #4fd1ae); box-shadow: inset 0 0 0 5px rgba(255,255,255,.85); }
.c360-dark-top:not(.scrolled) .c360-logo .mark { box-shadow: inset 0 0 0 5px #0f1d26; }
.c360-button.glow { box-shadow: 0 8px 22px -10px rgba(15,91,78,.8); }

/* Solutions dropdown as a grid with icons */
.c360-menu-list .sub-menu { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 460px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.c360-menu-list li:hover > .sub-menu, .c360-menu-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.c360-menu-list .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--ink) !important; font-weight: 600; }
.c360-menu-list .sub-menu a::before { content: ''; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); }
.c360-menu-list .sub-menu li:nth-child(1) a::before { content: '§'; } .c360-menu-list .sub-menu li:nth-child(2) a::before { content: '⚖'; background: #e8f0fb; color: var(--ins); }
.c360-menu-list .sub-menu li:nth-child(3) a::before { content: '⇄'; background: #fdf1dc; color: var(--amber); } .c360-menu-list .sub-menu li:nth-child(4) a::before { content: '◎'; }
.c360-menu-list .sub-menu li:nth-child(5) a::before { content: '↗'; background: #e8f0fb; color: var(--ins); } .c360-menu-list .sub-menu li:nth-child(6) a::before { content: '∑'; background: #fdf1dc; color: var(--amber); }
.c360-menu-list .sub-menu a::before { display: grid; place-items: center; font: 700 15px var(--serif); color: var(--brand-deep); }
.c360-menu-list .sub-menu a:hover { background: var(--paper); }
@media (max-width: 900px) {
	.c360-dark-top .c360-nav-shell { margin-bottom: -76px; }
	.c360-nav.open { background: rgba(255,255,255,.97) !important; }
	.c360-nav.open .c360-logo, .c360-nav.open .c360-link, .c360-nav.open .c360-menu-list a { color: var(--ink) !important; }
	.c360-nav.open .c360-burger span { background: var(--ink) !important; }
	.c360-menu-list .sub-menu { grid-template-columns: 1fr; min-width: 0; opacity: 1; visibility: visible; transform: none; }
}

/* Floating shapes behind the hero */
.c360-hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: c360-drift 18s ease-in-out infinite alternate; }
.c360-hero-bg .o1 { width: 420px; height: 420px; background: #1f8c73; top: -80px; right: 8%; }
.c360-hero-bg .o2 { width: 320px; height: 320px; background: #1e5aa8; bottom: -60px; left: -40px; animation-duration: 22s; opacity: .4; }
.c360-hero-bg .o3 { width: 220px; height: 220px; background: #4fd1ae; top: 40%; left: 42%; animation-duration: 26s; opacity: .25; }
@keyframes c360-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(.95); } }
.c360-doc { transition: transform .6s ease; }
.c360-stage-wrap:hover .c360-doc { transform: translateY(-4px); }

/* Capabilities ticker */
.c360-ticker { overflow: hidden; padding: 26px 0; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.c360-ticker .track { display: flex; gap: 14px; width: max-content; animation: c360-marquee 40s linear infinite; }
.c360-ticker:hover .track { animation-play-state: paused; }
.c360-ticker span { white-space: nowrap; padding: 10px 18px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-weight: 500; color: var(--ink); }
.c360-ticker span::before { content: '✓'; color: var(--brand); font-weight: 700; margin-right: 8px; }
@keyframes c360-marquee { to { transform: translateX(-50%); } }

/* Reveal on scroll (only when JavaScript runs) */
.c360-js .c360-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.c360-js .c360-reveal.in { opacity: 1; transform: none; }

/* Hover lift on cards */
.c360-team, .c360-price-tile, .c360-plan, .c360-post-card, .c360-points > div { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.c360-team:hover, .c360-price-tile:hover, .c360-post-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -26px rgba(22,36,46,.5); }
.c360-plan:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(22,36,46,.5); }

/* Glow around the recommended plan */
.c360-plan.featured { border: 2px solid transparent; background: linear-gradient(var(--sheet), var(--sheet)) padding-box, linear-gradient(130deg, #4fd1ae, #0f5b4e, #1e5aa8, #4fd1ae) border-box; background-size: 100% 100%, 300% 300%; animation: c360-border 8s linear infinite; }
@keyframes c360-border { to { background-position: 0 0, 300% 0; } }

/* Dark footer */
.c360-footer { display: block; background: #0f1d26; color: #a9bab4; border-top: 0; padding: 0 var(--wrap) 28px; position: relative; overflow: hidden; }
.c360-footer::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #1f8c73; filter: blur(120px); opacity: .18; top: -200px; right: -120px; pointer-events: none; }
.c360-foot-cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 0 0 56px; padding: 40px; transform: translateY(-1px); border-radius: 0 0 22px 22px; background: linear-gradient(135deg, #0f5b4e, #0b4339 60%, #163e6e); color: #fff; box-shadow: 0 30px 60px -40px rgba(0,0,0,.7); }
.c360-foot-cta h2 { color: #fff; } .c360-foot-cta p { margin: 8px 0 0; color: #cfe5de; }
.c360-foot-cta .c360-actions { margin: 0; }
.c360-foot-cta .c360-button:not(.ghost) { background: #fff; color: var(--brand) !important; border-color: #fff; }
.c360-foot-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.c360-logo.light { color: #fff; } .c360-logo.light .mark { box-shadow: inset 0 0 0 5px #0f1d26; }
.c360-footer .c360-foot-brand p { margin: 10px 0 0; max-width: 26em; }
.c360-footer .ar { font-family: var(--arabic); color: #8fd4c1; }
.c360-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.c360-badges span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #cfe0da; }
.c360-footer a.mail { color: #fff; font-weight: 600; text-decoration: none; }
.c360-footer .c360-foot-col h3 { color: #fff; font-size: 14px; }
.c360-footer .c360-foot-col a { color: #a9bab4; }
.c360-footer .c360-foot-col a:hover { color: #fff; }
.c360-foot-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.c360-foot-bottom .social { display: flex; gap: 10px; }
.c360-foot-bottom .social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); color: #cfe0da; transition: background .2s, color .2s; }
.c360-foot-bottom .social a:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .c360-foot-grid { grid-template-columns: 1fr 1fr; } .c360-foot-brand { grid-column: 1 / -1; } .c360-foot-cta { padding: 28px 22px; } }

/* Floating buttons */
.c360-float-talk { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 16px 34px -14px rgba(22,36,46,.7); transform: translateY(120px); transition: transform .4s ease; }
.c360-float-talk:hover { background: var(--brand); }
.c360-top { position: fixed; right: 20px; bottom: 80px; z-index: 40; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(22,36,46,.6); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; pointer-events: none; }
.scrolled .c360-float-talk { transform: none; }
.far .c360-top { opacity: 1; transform: none; pointer-events: auto; }
.c360-mobile-bar { display: none; }
@media (max-width: 720px) {
	.c360-float-talk { display: none; }
	.c360-top { bottom: 84px; }
	.c360-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s; }
	.c360-mobile-bar .c360-button { flex: 1; }
	.scrolled .c360-mobile-bar { transform: none; }
	body { padding-bottom: 0; }
	.c360-footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .c360-js .c360-reveal { opacity: 1; transform: none; } .c360-ticker .track { animation: none; flex-wrap: wrap; width: auto; } }

/* Logo: one word, with 360 readable on dark and light */
.c360-logo .word { white-space: nowrap; }
.c360-logo .word em { font-style: normal; color: var(--brand); }
.c360-dark-top:not(.scrolled) .c360-logo .word em, .c360-logo.light .word em { color: #4fd1ae; }

/* The call-to-action panel floats across the light page and the dark footer */
.c360-footer { background: linear-gradient(180deg, var(--paper) 0, var(--paper) 70px, #0f1d26 70px); padding-top: 0; }
.c360-footer::before { top: 40px; }
.c360-foot-cta { border-radius: 22px; margin-top: 0; box-shadow: 0 30px 60px -30px rgba(15, 29, 38, .55); }
/* Room for the floating buttons beside the bottom row */
@media (min-width: 721px) { .c360-foot-bottom { padding-right: 190px; } }
.c360-logo .word { color: inherit; }

/* Seamless dark top on the homepage */
.c360-dark-top:not(.scrolled) .c360-nav-shell { background: #0f1d26; }
/* Phones: a single compact header row and a short announcement */
@media (max-width: 560px) {
	.c360-cta .c360-button { display: none; }
	.c360-nav-shell { padding-left: 12px; padding-right: 12px; }
	.c360-nav-shell .c360-nav { padding: 8px 8px 8px 14px; flex-wrap: nowrap; }
	.c360-nav-shell .c360-nav.open { flex-wrap: wrap; }
	.c360-announce { font-size: 13px; gap: 6px; padding: 7px 12px; }
	.c360-announce .pulse { display: none; }
	.c360-hero { padding-top: 120px; }
	.c360-dark-top .c360-nav-shell { margin-bottom: -70px; }
}
