/* Styles specific to the public /compliance security page (templ page.Compliance).
   Base landing-page styles come from index_sections.css (.ix-*); this file
   only adds the compliance-page extras, prefixed .cp-. */

/* ---- Hero ---- */
.cp-hero { position: relative; }
.cp-hero .hero-text { padding: 130px 0 90px; }
.cp-btn-glow { position: relative; }
.cp-btn-glow::after {
	content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
	background: linear-gradient(90deg, #2196f3, #00e5ff, #69f0ae, #2196f3);
	background-size: 300% 100%; filter: blur(10px); opacity: 0.55;
	animation: cpGlowShift 5s linear infinite;
}
@keyframes cpGlowShift { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

/* ---- Hero mock: the security console ---- */
.cp-mock-wrap { position: relative; padding: 96px 0 70px 26px; perspective: 1400px; }
.cp-mock-window {
	background: rgba(255,255,255,0.97);
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.55);
	box-shadow: 0 40px 90px -30px rgba(2,18,41,0.75), 0 0 0 1px rgba(13,71,161,0.06), 0 0 80px -20px rgba(0,229,255,0.35);
	overflow: hidden;
	transform: rotateY(-8deg) rotateX(2.5deg);
	transform-style: preserve-3d;
	transition: transform 0.5s ease;
	animation: cpHoverBob 7s ease-in-out infinite;
}
.cp-mock-wrap:hover .cp-mock-window { transform: rotateY(-2deg) rotateX(0.5deg); }
@keyframes cpHoverBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
.cp-mock-bar {
	display: flex; align-items: center; gap: 7px; padding: 11px 14px;
	background: linear-gradient(180deg, #f2f7fd, #e9f2fb);
	border-bottom: 1px solid rgba(33,150,243,0.12);
}
.cp-mock-bar .d { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.cp-mock-bar .d.r { background: #ff5f57; }
.cp-mock-bar .d.y { background: #febc2e; }
.cp-mock-bar .d.g { background: #28c840; }
.cp-mock-url {
	flex: 1; margin: 0 10px; background: #fff; border: 1px solid rgba(33,150,243,0.14);
	border-radius: 8px; padding: 4px 12px; font-size: 11.5px; color: #62708a; text-align: center;
	white-space: nowrap; overflow: hidden;
}
.cp-mock-url i { font-size: 9px; color: #28c840; margin-right: 5px; }
.cp-mock-body { padding: 14px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; background: linear-gradient(180deg, #f8fbff, #f1f6fc); }

.cp-posture { background: #fff; border-radius: 14px; border: 1px solid rgba(33,150,243,0.12); padding: 12px 12px 8px; box-shadow: 0 8px 22px -14px rgba(13,46,84,0.35); }
.cp-posture-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cp-posture-title { font-size: 12px; font-weight: 800; color: var(--ix-ink); display: flex; align-items: center; gap: 6px; }
.cp-posture-title i { color: #16a34a; }
.cp-posture-score { font-size: 10.5px; font-weight: 700; color: #16a34a; display: flex; align-items: center; gap: 6px; }
.cp-posture-score .ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#16a34a var(--p, 0%), rgba(22,163,74,0.15) 0); position: relative; animation: cpRing 1.8s ease-out 0.4s forwards; }
.cp-posture-score .ring .fill { position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
@keyframes cpRing { from { --p: 0%; } to { --p: 100%; } }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.cp-posture-list { list-style: none; margin: 0; padding: 0; }
.cp-posture-list li {
	display: flex; align-items: center; gap: 7px; padding: 6px 0; font-size: 11.5px; font-weight: 600; color: var(--ix-ink);
	border-top: 1px dashed rgba(33,150,243,0.12);
	opacity: 0; transform: translateX(-6px);
	animation: cpRowIn 0.45s ease forwards; animation-delay: calc(0.35s + var(--i) * 0.18s);
}
.cp-posture-list li:first-child { border-top: 0; }
.cp-posture-list li i { color: #16a34a; font-size: 12px; flex: 0 0 auto; }
.cp-posture-list li em { font-style: normal; font-weight: 500; color: #7a8797; font-size: 10px; margin-left: auto; white-space: nowrap; }
@keyframes cpRowIn { to { opacity: 1; transform: none; } }

.cp-feed { background: #0d1f36; border-radius: 14px; padding: 12px; color: #dbe7f5; display: flex; flex-direction: column; box-shadow: 0 10px 26px -14px rgba(2,18,41,0.9); }
.cp-feed-head { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.cp-feed-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #69f0ae; animation: cpPulse 1.4s ease-in-out infinite; }
.cp-feed-head em { font-style: normal; font-weight: 600; color: #69f0ae; font-size: 9.5px; text-transform: uppercase; margin-left: auto; }
@keyframes cpPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.cp-feed-rows { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.cp-feed-row {
	display: grid; grid-template-columns: auto 1fr; grid-template-areas: "t a" "w ip"; column-gap: 8px; row-gap: 1px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; line-height: 1.35;
	background: rgba(255,255,255,0.05); border-radius: 7px; padding: 5px 8px;
	opacity: 0; transform: translateY(6px);
	animation: cpRowIn 0.4s ease forwards; animation-delay: calc(0.6s + var(--i) * 0.22s);
}
.cp-feed-row .t { grid-area: t; color: #8fa6c2; }
.cp-feed-row .a { grid-area: a; font-weight: 700; text-align: right; }
.cp-feed-row .a.ok { color: #69f0ae; }
.cp-feed-row .a.warn { color: #ffd54f; }
.cp-feed-row .a.bad { color: #ff8a80; }
.cp-feed-row .w { grid-area: w; color: #e3edf8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-feed-row .ip { grid-area: ip; color: #8fa6c2; text-align: right; }
.cp-feed-export { margin-top: 10px; align-self: flex-end; font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(105,240,174,0.14); color: #69f0ae; display: inline-flex; align-items: center; gap: 5px; }

.cp-float {
	position: absolute; background: #fff; color: var(--ix-ink);
	font-size: 12.5px; font-weight: 700; padding: 9px 14px; border-radius: 999px;
	box-shadow: 0 16px 40px -14px rgba(13,46,84,0.55);
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	animation: cpFloatBob 6s ease-in-out infinite;
}
.cp-float i { color: var(--ix-blue); }
.cp-float.f1 { top: 62px; right: 18px; animation-delay: -1s; }
.cp-float.f2 { bottom: 40px; left: -14px; animation-delay: -3s; }
.cp-float.f3 { top: 150px; left: -18px; animation-delay: -5s; }
.cp-float.f1 i, .cp-float.f3 i { color: #16a34a; }
@keyframes cpFloatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- Controls section ---- */
.cp-controls { padding-bottom: 60px; }

/* ---- Checklist ---- */
.cp-checklist { padding: 90px 0 80px; background: linear-gradient(180deg, #ffffff, #f4f8fd); }
.cp-legend { display: flex; justify-content: center; gap: 22px; margin: -20px 0 26px; font-size: 13px; font-weight: 600; color: var(--ix-body); }
.cp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cp-pill { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cp-pill.yes { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.15); }
.cp-pill.partial { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,0.15); }
.cp-check-list { list-style: none; margin: 0; padding: 0; counter-reset: cp; }
.cp-check {
	display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: start;
	background: #fff; border: 1px solid var(--ix-line); border-radius: 18px;
	padding: 20px 22px; margin-bottom: 12px; position: relative; overflow: hidden;
	box-shadow: var(--ix-card-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cp-check::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #16a34a; }
.cp-check.st-partial::before { background: #f59e0b; }
.cp-check.st-no::before { background: #ef4444; }
.cp-check:hover { transform: translateY(-3px); box-shadow: var(--ix-card-shadow-hover); border-color: rgba(33,150,243,0.3); }
.cp-check-num {
	font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--ix-blue);
	background: rgba(33,150,243,0.08); border-radius: 10px; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
}
.cp-check-body h4 { font-size: 16px; font-weight: 700; color: var(--ix-ink); margin: 6px 0 6px; letter-spacing: -0.2px; }
.cp-check-body p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ix-body); }
.cp-status {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
	padding: 7px 12px; border-radius: 999px; margin-top: 6px;
}
.cp-status.yes { color: #15803d; background: rgba(22,163,74,0.12); }
.cp-status.partial { color: #b45309; background: rgba(245,158,11,0.14); }
.cp-status.no { color: #b91c1c; background: rgba(239,68,68,0.12); }
@media (max-width: 575.98px) {
	.cp-check { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
	.cp-check-num { width: auto; height: auto; padding: 4px 10px; justify-self: start; }
	.cp-status { margin-top: 0; justify-self: start; }
}

/* ---- Data protection ---- */
.cp-data { padding: 90px 0; }
.cp-data h2 { font-weight: 800; letter-spacing: -0.6px; margin-bottom: 14px; }
.cp-lead { font-size: 16.5px; line-height: 1.75; color: var(--ix-body); }
.cp-bullets { list-style: none; padding: 0; margin: 22px 0 0; }
.cp-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ix-ink); margin-bottom: 12px; line-height: 1.55; }
.cp-bullets li i { color: #16a34a; margin-top: 3px; }
.cp-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cp-data-tile {
	background: #fff; border: 1px solid var(--ix-line); border-radius: 16px; padding: 20px 18px;
	box-shadow: var(--ix-card-shadow); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cp-data-tile:hover { transform: translateY(-4px); box-shadow: var(--ix-card-shadow-hover); }
.cp-data-tile i { font-size: 20px; color: var(--ix-blue); margin-bottom: 12px; display: block; }
.cp-data-tile h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--ix-ink); }
.cp-data-tile p { font-size: 13px; line-height: 1.6; margin: 0; color: var(--ix-body); }
@media (max-width: 991.98px) { .cp-data-grid { margin-top: 34px; } }

/* ---- UK data residency band ---- */
.cp-uk {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: auto 1fr minmax(280px, 340px); gap: 34px; align-items: center;
	margin-bottom: 70px; padding: 34px 38px; border-radius: 26px; color: #fff;
	background: radial-gradient(620px 320px at 0% 50%, rgba(0,229,255,0.2), transparent 65%),
		radial-gradient(520px 300px at 100% 0%, rgba(105,240,174,0.16), transparent 60%),
		linear-gradient(135deg, #071a30, #0e2a49 60%, #0b3558);
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow: 0 40px 80px -40px rgba(2,18,41,0.75), inset 0 1px 0 rgba(255,255,255,0.08);
}
.cp-uk::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
	background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.cp-uk-glow {
	position: absolute; z-index: -1; left: -30%; top: 0; bottom: 0; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,0.07), transparent);
	animation: cpUkSheen 7s ease-in-out infinite;
}
@keyframes cpUkSheen { 0%, 55% { left: -40%; } 100% { left: 110%; } }

.cp-uk-beacon { position: relative; width: 168px; height: 168px; flex: 0 0 auto; }
.cp-uk-beacon .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(105,240,174,0.55); opacity: 0; animation: cpUkPing 3.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.cp-uk-beacon .r2 { animation-delay: 1.2s; }
.cp-uk-beacon .r3 { animation-delay: 2.4s; }
@keyframes cpUkPing { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.08); opacity: 0; } }
.cp-uk-beacon .sweep {
	position: absolute; inset: 10px; border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(0,229,255,0.5), rgba(0,229,255,0) 28%, rgba(0,229,255,0) 100%);
	-webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%);
	animation: cpUkSweep 5s linear infinite;
}
@keyframes cpUkSweep { to { transform: rotate(360deg); } }
.cp-uk-beacon .core {
	position: absolute; inset: 34px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
	background: linear-gradient(145deg, #2196f3, #00e5ff 55%, #69f0ae);
	box-shadow: 0 0 0 6px rgba(0,229,255,0.12), 0 18px 44px -10px rgba(0,229,255,0.75), inset 0 2px 0 rgba(255,255,255,0.45);
}
.cp-uk-beacon .core strong { font-size: 27px; font-weight: 900; letter-spacing: -1px; color: #06223d; }
.cp-uk-beacon .core em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 4px; margin: 4px 0 0 4px; color: #06223d; opacity: 0.8; }

.cp-uk-kicker {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
	font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #69f0ae;
	padding: 6px 12px; border-radius: 999px; background: rgba(105,240,174,0.1); border: 1px solid rgba(105,240,174,0.28);
}
.cp-uk-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #69f0ae; animation: cpPulse 1.4s ease-in-out infinite; }
.cp-uk-copy h3 { color: #fff; font-size: 29px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.2; margin: 0 0 10px; }
.cp-uk-copy h3 .grad { background: linear-gradient(90deg, #00e5ff, #69f0ae); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cp-uk-copy p { margin: 0; color: rgba(255,255,255,0.78); font-size: 14.5px; line-height: 1.7; }

.cp-uk-stores { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-uk-stores li {
	display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
	padding: 11px 14px; border-radius: 14px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px);
	transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cp-uk-stores li:hover { transform: translateX(-4px); background: rgba(255,255,255,0.1); border-color: rgba(105,240,174,0.4); }
.cp-uk-stores .ic {
	width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #2196f3, #00e5ff); color: #fff; font-size: 15px;
	box-shadow: 0 10px 22px -10px rgba(0,229,255,0.8);
}
.cp-uk-stores .what { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; min-width: 0; }
.cp-uk-stores .what em { display: block; font-style: normal; font-weight: 500; font-size: 11.5px; color: rgba(255,255,255,0.62); }
.cp-uk-stores .where {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #06223d;
	padding: 5px 10px; border-radius: 999px; background: linear-gradient(90deg, #69f0ae, #b9f6ca);
	box-shadow: 0 0 0 0 rgba(105,240,174,0.5); animation: cpUkTag 3s ease-out infinite; animation-delay: calc(var(--i) * 0.5s);
}
@keyframes cpUkTag { 0% { box-shadow: 0 0 0 0 rgba(105,240,174,0.5); } 60%, 100% { box-shadow: 0 0 0 9px rgba(105,240,174,0); } }

@media (max-width: 1199.98px) {
	.cp-uk { grid-template-columns: auto 1fr; }
	.cp-uk-stores { grid-column: 1 / -1; flex-direction: row; }
	.cp-uk-stores li { flex: 1; }
}
@media (max-width: 767.98px) {
	.cp-uk { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; margin-bottom: 48px; text-align: center; justify-items: center; }
	.cp-uk-beacon { width: 140px; height: 140px; }
	.cp-uk-beacon .core { inset: 28px; }
	.cp-uk-copy h3 { font-size: 24px; }
	.cp-uk-stores { flex-direction: column; width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	.cp-uk-glow, .cp-uk-beacon .sweep, .cp-uk-stores .where, .cp-uk-kicker .dot { animation: none; }
	.cp-uk-beacon .ring { animation: none; opacity: 0.35; }
	.cp-uk-beacon .r2 { transform: scale(0.8); }
	.cp-uk-beacon .r3 { transform: scale(0.62); }
}
@media (max-width: 575.98px) { .cp-data-grid { grid-template-columns: 1fr 1fr; } }

/* ---- AI ---- */
.cp-ai {
	padding: 90px 0 70px; color: #fff; position: relative; overflow: hidden;
	background: radial-gradient(900px 500px at 10% 0%, rgba(33,150,243,0.28), transparent 60%),
		radial-gradient(700px 400px at 90% 100%, rgba(105,240,174,0.16), transparent 60%),
		linear-gradient(180deg, var(--ix-navy-900), #0e2a49);
}
.cp-ai .section-title h2 { color: #fff; }
.cp-ai .section-title p { color: rgba(255,255,255,0.78); }
.cp-kicker-light { color: #69f0ae; }
.cp-ai-card {
	height: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
	border-radius: 18px; padding: 26px 24px; backdrop-filter: blur(6px);
	transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cp-ai-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.09); border-color: rgba(105,240,174,0.35); }
.cp-ai-icon {
	width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #2196f3, #00e5ff); color: #fff; font-size: 18px; margin-bottom: 16px;
	box-shadow: 0 10px 24px -10px rgba(0,229,255,0.7);
}
.cp-ai-card h4 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.cp-ai-card p { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---- FAQ ---- */
.cp-faq { padding: 90px 0; }
.cp-faq-item {
	background: #fff; border: 1px solid var(--ix-line); border-radius: 16px;
	padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--ix-card-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cp-faq-item:hover { transform: translateY(-2px); border-color: rgba(33,150,243,0.3); box-shadow: 0 16px 36px -24px rgba(13,71,161,0.55); }
.cp-faq-item summary {
	cursor: pointer; list-style: none; font-weight: 700; color: var(--ix-ink); font-size: 16px;
	padding: 16px 34px 16px 0; position: relative; outline: none;
}
.cp-faq-item summary::-webkit-details-marker { display: none; }
.cp-faq-item summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%; background: rgba(33,150,243,0.1); color: var(--ix-blue);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: transform 0.25s ease;
}
.cp-faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.cp-faq-item p { margin: 0 0 18px; color: var(--ix-body); line-height: 1.75; font-size: 14.5px; }

/* ---- CTA ---- */
.cp-cta-section { padding: 0 0 100px; }

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
	.cp-hero .hero-text { padding: 36px 4px 0; }
	.cp-checklist, .cp-data, .cp-faq { padding: 64px 0; }
	.cp-legend { flex-wrap: wrap; gap: 12px 20px; }
}

/* "Questions? Email us" line under the CTA download button. */
.cp-cta-alt { margin-top: 10px; font-size: 13px; }
.cp-cta-alt a { color: rgba(255,255,255,.85); text-decoration: underline; }
.cp-cta-alt a:hover { color: #fff; }
