/* --------------------------------------------------
   Onkos Pass Operational Intelligence
--------------------------------------------------- */

/*
 * This stylesheet controls only the Operational
 * Intelligence section inside index.html.
 *
 * All rules remain scoped under:
 * .op-operational-intelligence
 */


/* --------------------------------------------------
   Section Foundation
--------------------------------------------------- */

.op-operational-intelligence{
	position:relative;
	padding:120px 0;
	margin-top:24px;
	overflow:hidden;

	background:
		radial-gradient(
			circle at 72% 20%,
			rgba(37,99,235,.20),
			transparent 34%
		),
		linear-gradient(
			180deg,
			#0F172A 0%,
			#111C31 52%,
			#0F172A 100%
		);

	border-radius:30px;
}


/* Restrained operational grid */

.op-operational-intelligence::before{
	content:"";
	position:absolute;
	inset:0;

	background-image:
		linear-gradient(
			rgba(96,165,250,.05) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(96,165,250,.05) 1px,
			transparent 1px
		);

	background-size:64px 64px;

	-webkit-mask-image:
		linear-gradient(
			to bottom,
			transparent 0%,
			black 14%,
			black 86%,
			transparent 100%
		);

	mask-image:
		linear-gradient(
			to bottom,
			transparent 0%,
			black 14%,
			black 86%,
			transparent 100%
		);

	pointer-events:none;
}


/* Restrained blue field */

.op-operational-intelligence::after{
	content:"";
	position:absolute;
	top:10%;
	right:4%;

	width:520px;
	height:520px;

	background:rgba(37,99,235,.10);
	border-radius:50%;

	filter:blur(110px);

	pointer-events:none;
}


/* Keep section content above decorative layers */

.op-operational-intelligence .container{
	position:relative;
	z-index:2;
}


/* --------------------------------------------------
   Main Two-Column Layout
--------------------------------------------------- */

.op-operational-intelligence .op-intelligence-hero-row{
	min-height:720px;
	align-items:center;
}


/* --------------------------------------------------
   Left Message
--------------------------------------------------- */

.op-operational-intelligence .op-intelligence-message{
	max-width:545px;
	padding-right:20px;
}


/* --------------------------------------------------
   Section Label
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-message
.section-sub-title{
	position:relative;

	display:inline-flex;
	align-items:center;

	width:auto;
	margin:0 0 24px;
	padding:10px 18px 10px 36px;

	color:#DBEAFE;

	background:rgba(37,99,235,.12);

	border:1px solid rgba(96,165,250,.24);
	border-radius:999px;

	font-size:14px;
	font-weight:500;
	line-height:1;

	backdrop-filter:none;
	-webkit-backdrop-filter:none;
}


/* Blue Dot */

.op-operational-intelligence
.op-intelligence-message
.section-sub-title::before{
	content:"";

	position:absolute;

	left:18px;
	top:50%;

	width:6px;
	height:6px;

	background:#2563EB;

	border-radius:50%;

	transform:translateY(-50%);
}


/* --------------------------------------------------
   Main Heading
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-message
h2{
	margin:0;

	color:#FFFFFF;
	font-size:clamp(46px,4vw,60px);
	font-weight:500;
	line-height:1.08;
	letter-spacing:-0.04em;
}


/* Supporting statement */

.op-operational-intelligence
.op-intelligence-lead{
	margin:22px 0 0;

	color:#BFDBFE;
	font-size:20px;
	font-weight:600;
	line-height:1.5;
}


/* Supporting description */

.op-operational-intelligence
.op-intelligence-copy{
	max-width:500px;
	margin:26px 0 0;

	color:rgba(226,232,240,.72);
	font-size:17px;
	font-weight:400;
	line-height:1.75;
}


/* --------------------------------------------------
   Actions
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-actions{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:14px;

	margin-top:34px;
}


/* Primary action */

.op-operational-intelligence
.op-intelligence-actions
.btn-default{
	color:#FFFFFF;
	background:#2563EB;
	border-color:#2563EB;
}


/* Primary button animated layer */

.op-operational-intelligence
.op-intelligence-actions
.btn-default::after{
	background:#1D4ED8;
}


/* Primary hover */

.op-operational-intelligence
.op-intelligence-actions
.btn-default:is(:hover, :focus-visible){
	color:#FFFFFF;
	background:#1D4ED8;
}


/* Secondary action */

.op-operational-intelligence
.op-intelligence-actions
.op-intelligence-secondary{
	color:#FFFFFF;
	background:transparent;
	border:1px solid rgba(226,232,240,.28);
}


/* Remove primary-style background animation */

.op-operational-intelligence
.op-intelligence-actions
.op-intelligence-secondary::after{
	background:rgba(255,255,255,.07);
}


/* Secondary hover */

.op-operational-intelligence
.op-intelligence-actions
.op-intelligence-secondary:hover{
	color:#FFFFFF;
	background:rgba(255,255,255,.07);
	border-color:rgba(226,232,240,.48);
}


/* --------------------------------------------------
   Architecture Canvas
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-architecture{
	position:relative;

	min-height:610px;

	display:flex;
	flex-direction:column;
	justify-content:center;
	gap:16px;

	padding:38px;

	background:
		linear-gradient(
			145deg,
			rgba(37,99,235,.085),
			transparent 44%
		),
		rgba(15,23,42,.76);

	border:1px solid rgba(148,163,184,.20);
	border-radius:26px;

	box-shadow:
		0 30px 70px rgba(2,6,23,.38);

	backdrop-filter:blur(16px);
	-webkit-backdrop-filter:blur(16px);

	overflow:hidden;
}


/* Inner light treatment */

.op-operational-intelligence
.op-intelligence-architecture::before{
	content:"";
	position:absolute;
	inset:0;

	background:
		linear-gradient(
			115deg,
			rgba(255,255,255,.025),
			transparent 42%
		);

	pointer-events:none;
}


/* --------------------------------------------------
   Architecture Rail
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-architecture-line{
	position:absolute;

	top:72px;
	left:68px;

	width:1px;
    height:245px; 

	background:rgba(148,163,184,.24);

	z-index:0;
}


/* Moving blue pulse */

.op-operational-intelligence
.op-intelligence-architecture-pulse{
	position:absolute;
	top:0;
	left:-3px;

	width:7px;
	height:68px;

	background:
		linear-gradient(
			to bottom,
			transparent,
			#2563EB,
			transparent
		);

	border-radius:999px;

	animation:
		op-intelligence-pulse 4.2s linear infinite;
}


@keyframes op-intelligence-pulse{
	from{
		transform:translateY(0);
	}

	to{
		transform:translateY(200px);
	}
}


/* --------------------------------------------------
   Architecture Nodes
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-node{
	position:relative;

	min-height:88px;

	display:flex;
	align-items:center;
	gap:20px;

	padding:18px 20px;

	background:rgba(30,41,59,.72);
	border:1px solid rgba(148,163,184,.15);
	border-radius:17px;

	z-index:1;

	transition:
		transform 240ms ease,
		border-color 240ms ease,
		background-color 240ms ease,
		box-shadow 240ms ease;
}


/* Node hover */

.op-operational-intelligence
.op-intelligence-node:hover{
	transform:translateX(4px);

	background:rgba(30,41,59,.92);
	border-color:rgba(96,165,250,.34);

	box-shadow:
		0 14px 30px rgba(2,6,23,.24);
}


/* Active intelligence node */

.op-operational-intelligence
.op-intelligence-node.is-active{
	background:
		linear-gradient(
			90deg,
			rgba(37,99,235,.18),
			transparent
		),
		rgba(30,41,59,.92);

	border-color:rgba(96,165,250,.52);

	box-shadow:
		0 18px 40px rgba(2,6,23,.28);
}


/* Node number */

.op-operational-intelligence
.op-intelligence-node-number{
	position:relative;

	flex:0 0 42px;
	width:42px;
	height:42px;

	display:flex;
	align-items:center;
	justify-content:center;

	color:#BFDBFE;
	background:rgba(37,99,235,.14);
	border:1px solid rgba(96,165,250,.30);
	border-radius:13px;

	font-size:12px;
	font-weight:700;
	line-height:1;

	z-index:1;
}


/* Node content */

.op-operational-intelligence
.op-intelligence-node-content{
	min-width:0;
}


/* Node eyebrow */

.op-operational-intelligence
.op-intelligence-node-content > span{
	display:block;
	margin-bottom:4px;

	color:#93C5FD;
	font-size:11px;
	font-weight:700;
	line-height:1.2;
	letter-spacing:.08em;
	text-transform:uppercase;
}


/* Node heading */

.op-operational-intelligence
.op-intelligence-node-content h3{
	margin:0;

	color:#FFFFFF;
	font-size:18px;
	font-weight:600;
	line-height:1.35;
}


/* --------------------------------------------------
   Guidance and Ask OP Branches
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-branches{
	position:relative;

	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;

	margin-left:60px;

	z-index:1;
}


/* Individual branch */

.op-operational-intelligence
.op-intelligence-branch{
	min-height:142px;

	padding:20px;

	background:rgba(15,23,42,.74);
	border:1px solid rgba(148,163,184,.15);
	border-radius:15px;

	transition:
		transform 240ms ease,
		border-color 240ms ease,
		background-color 240ms ease,
		box-shadow 240ms ease;
}


/* Branch hover */

.op-operational-intelligence
.op-intelligence-branch:hover{
	transform:translateY(-4px);

	background:rgba(30,41,59,.88);
	border-color:rgba(96,165,250,.38);

	box-shadow:
		0 16px 34px rgba(2,6,23,.26);
}


/* Branch type */

.op-operational-intelligence
.op-intelligence-branch > span{
	display:block;
	margin-bottom:8px;

	color:#93C5FD;
	font-size:11px;
	font-weight:700;
	line-height:1.2;
	letter-spacing:.08em;
	text-transform:uppercase;
}


/* Branch heading */

.op-operational-intelligence
.op-intelligence-branch h3{
	margin:0;

	color:#FFFFFF;
	font-size:17px;
	font-weight:600;
	line-height:1.3;
}


/* Branch description */

.op-operational-intelligence
.op-intelligence-branch p{
	margin:8px 0 0;

	color:rgba(226,232,240,.64);
	font-size:13px;
	line-height:1.55;
}


/* --------------------------------------------------
   Governed Outcome
--------------------------------------------------- */

.op-operational-intelligence
.op-intelligence-outcome{
	position:relative;

	display:flex;
	align-items:center;
	gap:15px;

	margin-left:60px;
	padding:17px 19px;

	background:
		linear-gradient(
			90deg,
			rgba(5,150,105,.12),
			rgba(5,150,105,.05)
		);

	border:1px solid rgba(16,185,129,.24);
	border-radius:15px;

	z-index:1;
}


/* Outcome check icon */

.op-operational-intelligence
.op-intelligence-outcome-icon{
	flex:0 0 38px;
	width:38px;
	height:38px;

	display:flex;
	align-items:center;
	justify-content:center;

	color:#FFFFFF;
	background:#059669;
	border-radius:50%;

	font-size:14px;
}


/* Outcome label */

.op-operational-intelligence
.op-intelligence-outcome > div > span{
	display:block;
	margin-bottom:3px;

	color:#6EE7B7;
	font-size:11px;
	font-weight:700;
	letter-spacing:.08em;
	text-transform:uppercase;
}


/* Outcome heading */

.op-operational-intelligence
.op-intelligence-outcome h3{
	margin:0;

	color:#FFFFFF;
	font-size:17px;
	font-weight:600;
	line-height:1.35;
}


/* --------------------------------------------------
   Tablet
--------------------------------------------------- */

@media only screen and (max-width: 1199px){

	.op-operational-intelligence{
		padding:100px 0;
	}

	.op-operational-intelligence
	.op-intelligence-hero-row{
		min-height:auto;
	}

	.op-operational-intelligence
	.op-intelligence-message{
		max-width:760px;
		padding-right:0;
		margin-bottom:60px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture{
		max-width:900px;
		min-height:auto;
	}

}


/* --------------------------------------------------
   Medium Devices
--------------------------------------------------- */

@media only screen and (max-width: 991px){

	.op-operational-intelligence{
		padding:80px 0;
		border-radius:24px;
	}

	.op-operational-intelligence
	.op-intelligence-message
	h2{
		font-size:46px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture{
		padding:30px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture-line{
		left:60px;
	}

	.op-operational-intelligence
	.op-intelligence-branches,
	.op-operational-intelligence
	.op-intelligence-outcome{
		margin-left:52px;
	}

}


/* --------------------------------------------------
   Mobile
--------------------------------------------------- */

@media only screen and (max-width: 767px){

	.op-operational-intelligence{
		padding:70px 0;
		margin-top:16px;
		border-radius:20px;
	}

	.op-operational-intelligence
	.op-intelligence-message{
		margin-bottom:42px;
	}

	.op-operational-intelligence
	.op-intelligence-message
	h2{
		font-size:38px;
		line-height:1.1;
	}

	.op-operational-intelligence
	.op-intelligence-lead{
		font-size:18px;
	}

	.op-operational-intelligence
	.op-intelligence-copy{
		font-size:16px;
	}

	.op-operational-intelligence
	.op-intelligence-actions{
		flex-direction:column;
		align-items:stretch;
	}

	.op-operational-intelligence
	.op-intelligence-actions
	.btn-default{
		width:100%;
		text-align:center;
	}

	.op-operational-intelligence
	.op-intelligence-architecture{
		padding:22px;
		border-radius:20px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture-line{
		top:58px;
		bottom:66px;
		left:44px;
	}

	.op-operational-intelligence
	.op-intelligence-node{
		min-height:78px;
		gap:14px;
		padding:15px;
	}

	.op-operational-intelligence
	.op-intelligence-node-number{
		flex-basis:38px;
		width:38px;
		height:38px;
	}

	.op-operational-intelligence
	.op-intelligence-node-content h3{
		font-size:16px;
	}

	.op-operational-intelligence
	.op-intelligence-branches{
		grid-template-columns:1fr;
		margin-left:44px;
	}

	.op-operational-intelligence
	.op-intelligence-outcome{
		margin-left:44px;
	}

}


/* --------------------------------------------------
   Small Mobile
--------------------------------------------------- */

@media only screen and (max-width: 479px){

	.op-operational-intelligence
	.op-intelligence-message
	h2{
		font-size:34px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture{
		padding:18px;
	}

	.op-operational-intelligence
	.op-intelligence-architecture-line{
		left:38px;
	}

	.op-operational-intelligence
	.op-intelligence-node{
		padding:13px;
	}

	.op-operational-intelligence
	.op-intelligence-node-number{
		flex-basis:34px;
		width:34px;
		height:34px;
		font-size:11px;
	}

	.op-operational-intelligence
	.op-intelligence-branches,
	.op-operational-intelligence
	.op-intelligence-outcome{
		margin-left:38px;
	}

	.op-operational-intelligence
	.op-intelligence-branch{
		padding:17px;
	}

}

/* --------------------------------------------------
   Operational Intelligence Branch Connector
--------------------------------------------------- */

/*
 * Reserve visible space above the two branch cards.
 * Without this padding, the connector is covered by
 * the cards themselves.
 */

.op-operational-intelligence
.op-intelligence-branches{
	position:relative;

	padding-top:42px;
	margin-top:2px;
}


/*
 * Central vertical drop from the active
 * Operational Intelligence node.
 */

.op-operational-intelligence
.op-intelligence-branches::before{
	content:"";
	position:absolute;

	top:-18px;
	left:50%;

	width:2px;
	height:40px;

	background:
		linear-gradient(
			to bottom,
			rgba(37,99,235,.18),
			#2563EB
		);

	box-shadow:
		0 0 12px rgba(37,99,235,.42);

	transform:translateX(-50%);

	z-index:2;
}


/*
 * Horizontal split toward the two cards.
 */

.op-operational-intelligence
.op-intelligence-branches::after{
	content:"";
	position:absolute;

	top:21px;
	left:25%;
	right:25%;

	height:2px;

	background:
		linear-gradient(
			90deg,
			rgba(37,99,235,.34),
			#2563EB 50%,
			rgba(37,99,235,.34)
		);

	box-shadow:
		0 0 12px rgba(37,99,235,.34);

	z-index:2;
}


/* Branch cards need to own their vertical connectors */

.op-operational-intelligence
.op-intelligence-branch{
	position:relative;
}


/*
 * Vertical connection from the horizontal split
 * into each branch card.
 */

.op-operational-intelligence
.op-intelligence-branch::before{
	content:"";
	position:absolute;

	top:-21px;
	left:50%;

	width:2px;
	height:21px;

	background:
		linear-gradient(
			to bottom,
			#2563EB,
			rgba(37,99,235,.34)
		);

	transform:translateX(-50%);

	z-index:2;
}


/*
 * Animated signal on the left branch.
 */

.op-operational-intelligence
.op-intelligence-branch:first-child::after{
	content:"";
	position:absolute;

	top:-26px;
	left:50%;

	width:8px;
	height:8px;

	background:#2563EB;
	border-radius:50%;

	box-shadow:
		0 0 0 5px rgba(37,99,235,.10),
		0 0 16px rgba(37,99,235,.90);

	transform:translateX(-50%);

	animation:
		op-intelligence-branch-signal 2.8s ease-in-out infinite;

	z-index:3;
}


/*
 * Animated signal on the Ask OP branch.
 */

.op-operational-intelligence
.op-intelligence-branch:last-child::after{
	content:"";
	position:absolute;

	top:-26px;
	left:50%;

	width:8px;
	height:8px;

	background:#2563EB;
	border-radius:50%;

	box-shadow:
		0 0 0 5px rgba(37,99,235,.10),
		0 0 16px rgba(37,99,235,.90);

	transform:translateX(-50%);

	animation:
		op-intelligence-branch-signal 2.8s ease-in-out infinite .35s;

	z-index:3;
}


@keyframes op-intelligence-branch-signal{

	0%,
	100%{
		opacity:.35;

		box-shadow:
			0 0 0 3px rgba(37,99,235,.08),
			0 0 8px rgba(37,99,235,.42);

		transform:
			translateX(-50%)
			scale(.8);
	}

	50%{
		opacity:1;

		box-shadow:
			0 0 0 7px rgba(37,99,235,.12),
			0 0 18px rgba(37,99,235,.95);

		transform:
			translateX(-50%)
			scale(1.1);
	}
}
/* Section glow v1: hero glow, no grid lines */
.op-operational-intelligence::before { display: none; }
.op-operational-intelligence {
    background:
        radial-gradient(ellipse 55% 55% at 72% 24%, rgba(37, 99, 235, 0.42), rgba(37, 99, 235, 0.14) 45%, transparent 75%),
        radial-gradient(ellipse 45% 40% at 20% 90%, rgba(37, 99, 235, 0.30), rgba(30, 58, 138, 0.18) 50%, transparent 78%),
        #0F172A;
}
