/* LambCal Starter — premium dark UI layer (front + editor). */

:root {
	--lc-radius: 16px;
	--lc-glass-bg: rgba(255, 255, 255, 0.04);
	--lc-glass-brd: rgba(255, 255, 255, 0.09);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, 0.10), transparent 60%),
		radial-gradient(900px 500px at 0% 10%, rgba(255, 122, 61, 0.06), transparent 55%),
		var(--wp--preset--color--base);
}

/* ---------- Sticky glass nav ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	background: rgba(10, 14, 26, 0.6);
	border-bottom: 1px solid var(--lc-glass-brd);
}
.wp-block-navigation a { color: var(--wp--preset--color--muted); transition: color 0.15s ease; }
.wp-block-navigation a:hover { color: var(--wp--preset--color--contrast); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link {
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.7);
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(59, 130, 246, 0.85); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--lc-glass-brd);
	color: var(--wp--preset--color--contrast);
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--primary); background: rgba(59,130,246,0.08); }

/* ---------- Eyebrow pill ---------- */
.lc-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	background: rgba(59, 130, 246, 0.10);
	border: 1px solid rgba(59, 130, 246, 0.25);
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
}

/* ---------- Glass card ---------- */
.lc-glass {
	background: var(--lc-glass-bg);
	border: 1px solid var(--lc-glass-brd);
	border-radius: var(--lc-radius);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.lc-glass:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.35); }

/* ---------- Hero layout (CSS grid — reliable full-width) ---------- */
.lc-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 3.5rem;
	align-items: center;
	min-height: 78vh;
}
.lc-hero__copy { max-width: 36rem; }
.lc-hero__copy h1 { margin: 1.2rem 0; }
@media (max-width: 980px) {
	.lc-hero { grid-template-columns: 1fr; min-height: 0; gap: 1.5rem; text-align: center; }
	.lc-hero__copy { max-width: none; margin: 0 auto; }
	.lc-avatars { justify-content: center; }
	.lc-hero .lc-orb { min-height: 360px; order: -1; }
}

/* ---------- Hero glow orb (3D-render stand-in) ---------- */
.lc-orb {
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 58% 45%, rgba(59,130,246,0.22), transparent 62%);
}
.lc-orb::before { /* outer rotating colour halo */
	content: "";
	position: absolute;
	width: min(480px, 90%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(from 0deg, #3b82f6, #7c3aed, #ff7a3d, #22d3ee, #3b82f6);
	filter: blur(64px);
	opacity: 0.6;
	animation: lc-spin 16s linear infinite;
}
.lc-orb::after { /* glass sphere */
	content: "";
	position: absolute;
	width: min(360px, 70%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 28%, #ffffff 0%, #7fb0ff 22%, #1e40af 56%, #0a0e1a 80%);
	box-shadow: inset -22px -26px 70px rgba(0,0,0,0.6), inset 26px 18px 80px rgba(59,130,246,0.55), 0 0 130px rgba(59,130,246,0.4);
	animation: lc-float 6s ease-in-out infinite;
}
.lc-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.10);
	pointer-events: none;
}
.lc-ring--1 { width: min(440px, 84%); aspect-ratio: 1; animation: lc-spin 26s linear infinite; }
.lc-ring--2 { width: min(540px, 100%); aspect-ratio: 1; border-style: dashed; border-color: rgba(255,255,255,0.07); animation: lc-spin 46s linear infinite reverse; }
@keyframes lc-spin { to { transform: rotate(360deg); } }
@keyframes lc-float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .lc-orb::before, .lc-orb::after, .lc-ring { animation: none; } }

/* ---------- Section reveal on scroll ---------- */
.lc-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lc-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Avatars row (social proof) ---------- */
.lc-avatars { display: flex; align-items: center; }
.lc-avatars span {
	width: 34px; height: 34px; border-radius: 50%; margin-left: -8px;
	border: 2px solid var(--wp--preset--color--base);
	background: linear-gradient(135deg, #3b82f6, #7c3aed);
	display: inline-block;
}
.lc-avatars span:first-child { margin-left: 0; }
