/* ============================================================
   home.css — loaded ONLY on the homepage.
   Keeps first-paint fast: no service-grid, no slider, no terminal.
   ============================================================ */

/* ===== Lite Hero ===== */
.hero-lite {
	min-height: 80vh;
	display: flex; align-items: center;
	padding: 140px 0 60px;
	position: relative;
}
.hero-lite-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px; border-radius: 100px; font-size: 12px; font-weight: 500;
	background: rgba(103, 211, 204, .12);
	border: 1px solid rgba(103, 211, 204, .35);
	color: var(--accent-mid); font-family: var(--mono);
	margin-bottom: 30px;
}
.hero-badge .dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--accent-mid);
	box-shadow: 0 0 0 0 var(--glow-strong);
	animation: pulse 1.6s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(103, 211, 204, .7); }
	70% { box-shadow: 0 0 0 12px rgba(103, 211, 204, 0); }
	100% { box-shadow: 0 0 0 0 rgba(103, 211, 204, 0); }
}
.hero-lite h1 {
	font-size: clamp(40px, 7vw, 80px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
	margin-bottom: 20px;
}
.hero-lite .lead {
	font-size: clamp(15px, 1.6vw, 18px);
	color: var(--text-soft);
	max-width: 640px;
	margin: 0 auto 36px;
	line-height: 1.6;
}
.hero-ctas {
	display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
	margin-bottom: 50px;
}
.hero-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
	max-width: 720px; margin: 0 auto;
}
.stat { text-align: center; padding: 18px 12px; border-radius: 14px;
	background: linear-gradient(180deg, rgba(15, 33, 30, .6), rgba(7, 17, 15, .6));
	border: 1px solid var(--border-subtle); }
.stat b {
	display: block;
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800; line-height: 1;
	background: var(--gradient-1);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	margin-bottom: 4px;
}
.stat span { font-size: 11px; color: var(--text-muted); font-family: var(--mono); }

/* ===== Compliance strip ===== */
.compliance-strip {
	padding: 30px 0; border-block: 1px solid var(--border-subtle);
	background: rgba(7, 17, 15, .4); backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.compliance-strip .inner {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.comp-label {
	font-family: var(--mono); font-size: 11px; text-transform: uppercase;
	letter-spacing: .18em; color: var(--text-muted); margin-right: 10px;
}
.comp-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 100px;
	background: rgba(103, 211, 204, .06);
	border: 1px solid var(--border-subtle);
	font-size: 12px; color: var(--text-soft); font-weight: 500;
}
.comp-chip .check { color: var(--accent-mid); font-weight: 800; }

/* ===== Teaser grid — the heart of the lean homepage ===== */
.teasers { padding: 100px 0; }
.teaser-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.teaser-card {
	position: relative; padding: 32px 28px; border-radius: 20px;
	background: linear-gradient(180deg, rgba(15, 33, 30, .6), rgba(7, 17, 15, .6));
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
	display: flex; flex-direction: column;
	transition: all .4s cubic-bezier(.2, .8, .2, 1);
	overflow: hidden;
	color: inherit; text-decoration: none;
}
.teaser-card::before {
	content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
	background: linear-gradient(135deg, rgba(103, 211, 204, .4), transparent 50%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0; transition: opacity .4s; pointer-events: none;
}
.teaser-card:hover {
	transform: translateY(-6px);
	border-color: rgba(103, 211, 204, .4);
}
.teaser-card:hover::before { opacity: 1; }
.teaser-card:hover .teaser-arrow {
	transform: translate(4px, -4px);
	background: var(--gradient-1);
	color: var(--text-invert);
	border-color: var(--accent-mid);
}
.teaser-icon {
	width: 56px; height: 56px; border-radius: 14px;
	background: linear-gradient(135deg, rgba(103, 211, 204, .25), rgba(103, 211, 204, .05));
	border: 1px solid rgba(103, 211, 204, .4);
	display: grid; place-items: center;
	margin-bottom: 20px;
}
.teaser-icon svg { width: 28px; height: 28px; color: var(--accent-mid); }
.teaser-card h3 {
	font-size: 18px; font-weight: 700; line-height: 1.3;
	color: var(--text-main); margin-bottom: 12px;
	letter-spacing: -.01em;
}
.teaser-card p {
	font-size: 14px; line-height: 1.6; color: var(--text-soft);
	flex-grow: 1; margin-bottom: 24px;
}
.teaser-foot {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 18px; border-top: 1px solid rgba(103, 211, 204, .1);
	font-family: var(--mono); font-size: 12px;
	color: var(--accent-mid); text-transform: uppercase; letter-spacing: .08em;
}
.teaser-arrow {
	width: 36px; height: 36px; border-radius: 10px;
	border: 1px solid var(--border-subtle);
	background: rgba(103, 211, 204, .06);
	color: var(--accent-mid);
	display: grid; place-items: center;
	transition: all .3s ease;
}
.teaser-arrow svg { width: 14px; height: 14px; }

/* ===== Home CTA ===== */
.home-cta { padding: 60px 0 100px; }
.home-cta-box {
	position: relative; padding: 60px 40px; border-radius: 24px; text-align: center;
	background:
		radial-gradient(600px 300px at 50% 0%, rgba(103, 211, 204, .3), transparent 60%),
		linear-gradient(180deg, rgba(15, 33, 30, .8), rgba(7, 17, 15, .8));
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(103, 211, 204, .35);
	max-width: 880px; margin: 0 auto;
}
.home-cta-box h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.home-cta-box p { color: var(--text-soft); font-size: 16px; margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 980px) {
	.teaser-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.teaser-grid { grid-template-columns: 1fr; }
	.hero-lite { padding: 120px 0 40px; }
	.home-cta-box { padding: 40px 24px; }
}


/* === CHANGE 3: Rotating conic-gradient glow on home CTA box (per design file p4_4) === */
.home-cta-box {
    overflow: hidden; /* clip rotating gradient to the box's rounded edges */
}
.home-cta-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    z-index: -1;
    background: conic-gradient(from 0deg,
        transparent,
        var(--accent-mid),
        transparent 30%,
        transparent 60%,
        var(--accent-dark),
        transparent 90%);
    animation: homeCtaSpin 8s linear infinite;
    opacity: 0.35;
    pointer-events: none;
}
@keyframes homeCtaSpin {
    to { transform: rotate(360deg); }
}


/* === HERO STYLING — EXACT MATCH from design file p4_4 === */

/* Hero base (matches design .hero) */
.hero-lite {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 140px 0 80px;
	overflow: hidden;
}

/* Hero inner grid (matches design .hero-inner) */
.hero-lite > .container {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.hero-lite-inner {
	max-width: none;
	margin: 0;
	text-align: left;
}

/* Hero h1 (matches design .hero h1) */
.hero-lite h1 {
	font-size: clamp(38px, 6vw, 76px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-weight: 800;
	margin-bottom: 22px;
}
.hero-lite h1 .grad {
	background: linear-gradient(90deg, var(--accent-mid) 0%, var(--accent-light) 45%, #fff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-size: 200% 200%;
	animation: heroGradShift 6s ease infinite;
}
@keyframes heroGradShift {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}

/* Lead paragraph (matches design .hero p.lead) */
.hero-lite p.lead {
	font-size: 18px;
	color: var(--text-soft);
	max-width: 560px;
	margin-bottom: 34px;
}

/* CTAs row */
.hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

/* Stats row (matches design .hero-stats) */
.hero-stats {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.hero-stats .stat b {
	display: block;
	font-size: 28px;
	font-weight: 800;
	background: linear-gradient(90deg, #fff, var(--accent-mid));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-stats .stat span {
	color: var(--text-muted);
	font-size: 13px;
	font-family: var(--mono);
}

/* Hero Visual (matches design .hero-visual) */
.hero-lite-visual {
	position: relative;
	height: 520px;
	perspective: 1400px;
}
.shield-scene {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transform-style: preserve-3d;
}

/* Hero logo: float + Y-axis flip (matches design .hero-logo) */
.hero-logo {
	position: absolute;
	width: 280px;
	height: 280px;
	display: grid;
	place-items: center;
	z-index: 2;
	transform-style: preserve-3d;
	animation: heroLogoFloat 10s ease-in-out infinite;
	filter: drop-shadow(0 20px 60px var(--glow-strong)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes heroLogoFloat {
	0%, 100% { transform: translateY(0) rotateY(0); }
	50%      { transform: translateY(-20px) rotateY(180deg); }
}

/* Concentric rings (matches design .ring) */
.ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(103, 211, 204, 0.25);
	box-shadow: 0 0 30px rgba(103, 211, 204, 0.1) inset;
}
.ring.r1 { width: 360px; height: 360px; animation: heroRingSpin 40s linear infinite; }
.ring.r2 { width: 440px; height: 440px; animation: heroRingSpin 60s linear infinite reverse; border-style: dashed; }
.ring.r3 { width: 520px; height: 520px; animation: heroRingSpin 90s linear infinite; opacity: 0.5; }
@keyframes heroRingSpin { to { transform: rotate(360deg); } }

/* Floating compliance badges (matches design .floating-badge) */
.floating-badge {
	position: absolute;
	padding: 10px 16px;
	border-radius: 14px;
	background: rgba(15, 33, 30, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--border-subtle);
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	animation: heroBadgeFloat 7s ease-in-out infinite;
	z-index: 3;
}
.floating-badge .ic {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: var(--gradient-1);
	color: var(--text-invert);
	font-size: 14px;
}
.fb-1 { top: 10%; left: -5%; animation-delay: 0s; }
.fb-2 { top: 30%; right: -10%; animation-delay: -2s; }
.fb-3 { bottom: 25%; left: -8%; animation-delay: -4s; }
.fb-4 { bottom: 8%; right: 5%; animation-delay: -1s; }
@keyframes heroBadgeFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-14px); }
}

/* Responsive (matches design file breakpoints) */
@media (max-width: 960px) {
	.hero-lite > .container {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.hero-lite-visual { height: 380px; }
	.hero-logo { width: 220px; height: 220px; }
	.hero-lite-inner { text-align: center; margin: 0 auto; }
}
@media (max-width: 560px) {
	.hero-logo { width: 180px; height: 180px; }
}


/* === Hero stats: force 4-column grid so the Client rating card stays in the row === */
.hero-lite .hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
@media (max-width: 600px) {
	.hero-lite .hero-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* === Trusted Partner Network marquee (between Explore and CTA on homepage) === */
.partners-marquee-section { padding: 60px 0; }
.partners-marquee {
	position: relative;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(15, 33, 30, .5), rgba(7, 17, 15, .5));
	border: 1px solid var(--border-subtle);
	overflow: hidden;
	padding: 32px 0 28px;
}
.marquee-label {
	text-align: center;
	font-family: var(--mono); font-size: 11px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.22em;
	color: var(--accent-mid);
	margin-bottom: 24px;
	display: flex; align-items: center; justify-content: center; gap: 14px;
}
.marquee-label::before,
.marquee-label::after {
	content: ""; width: 40px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-mid), transparent);
}
.marquee-viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 80px;
	animation: marqueeScroll 36s linear infinite;
	will-change: transform;
}
.partners-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.marquee-logo {
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 14px 24px;
	background: linear-gradient(135deg, rgba(103, 211, 204, 0.22), rgba(103, 211, 204, 0.05));
	border: 1px solid rgba(103, 211, 204, 0.4);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: all 0.4s cubic-bezier(.2, .8, .2, 1);
}
.marquee-logo img {
	max-height: 80px;
	width: auto;
	height: auto;
	display: block;
}
.marquee-logo:hover {
	transform: translateY(-3px);
}
@media (max-width: 900px) {
	.marquee-track { gap: 56px; animation-duration: 28s; }
	.marquee-logo { padding: 10px 16px; }
	.marquee-logo img { max-height: 60px; }
}
