/*
Theme Name: Synadopt Block
Description: Performance-first block theme for Synadopt enterprise AI consultancy.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: synadopt-block
Tags: full-site-editing, block-patterns, wide-blocks, accessibility-ready
*/

/* ── SKIP LINK ──────────────────────────────────────────── */
.syn-skip {
	position: absolute;
	inset-block-start: -999px;
	left: 1rem;
	z-index: 9999;
	padding: .5rem 1.25rem;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-weight: 700;
	font-size: .875rem;
	border-radius: 0 0 6px 6px;
	text-decoration: none;
}
.syn-skip:focus { inset-block-start: 0; }

/* ── FOCUS ──────────────────────────────────────────────── */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--cyan);
	outline-offset: 3px;
}

/* ── NAV ────────────────────────────────────────────────── */
.syn-nav {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(5,10,20,.92);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255,255,255,.07);
	padding-block: .875rem;
}
.syn-nav-logo {
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}
.syn-nav-logo span { color: var(--wp--preset--color--cyan); }
.wp-block-navigation a {
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .2s;
}
.wp-block-navigation a:hover { color: #fff; }

/* ── SECTION SPACING ────────────────────────────────────── */
.syn-section        { padding: 5rem 1.5rem; }
.syn-section-sm     { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) {
	.syn-section    { padding: 6rem 2rem; }
	.syn-section-sm { padding: 3rem 2rem; }
}

/* ── HERO ───────────────────────────────────────────────── */
.syn-hero {
	position: relative;
	overflow: hidden;
	padding-top: 8rem !important;
	padding-bottom: 6rem !important;
	text-align: center;
}
.syn-hero::before {
	content: '';
	position: absolute;
	top: -10rem; right: -10rem;
	width: 50rem; height: 50rem;
	background: radial-gradient(circle, rgba(123,47,255,.16) 0%, transparent 60%);
	border-radius: 50%;
	pointer-events: none;
}
.syn-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
	pointer-events: none;
}
.syn-hero > * { position: relative; z-index: 1; }

/* ── GRADIENT TEXT ──────────────────────────────────────── */
.syn-gradient-text {
	background: var(--wp--preset--gradient--brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-style: normal;
}

/* ── BADGE ──────────────────────────────────────────────── */
.syn-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: rgba(13,110,253,.12);
	border: 1px solid rgba(13,110,253,.28);
	border-radius: 50px;
	padding: .35rem 1rem;
	font-size: .75rem !important;
	font-weight: 700;
	color: var(--wp--preset--color--cyan) !important;
	margin-bottom: 1.5rem !important;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

/* ── HERO SUBTEXT ───────────────────────────────────────── */
.syn-hero-sub {
	font-size: clamp(1rem, 2vw, 1.2rem) !important;
	line-height: 1.7 !important;
	max-width: 680px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 2.5rem !important;
}

/* ── HERO BUTTONS ───────────────────────────────────────── */
.syn-hero .wp-block-buttons { justify-content: center; }
.syn-hero .wp-block-button__link {
	font-size: 1rem !important;
	font-weight: 700 !important;
}
.syn-hero .is-style-outline .wp-block-button__link {
	border-color: rgba(255,255,255,.25) !important;
	color: rgba(255,255,255,.85) !important;
}
.syn-hero .is-style-outline .wp-block-button__link:hover {
	border-color: #fff !important;
	color: #fff !important;
}

/* ── SOCIAL PROOF LINE ──────────────────────────────────── */
.syn-social-proof {
	margin-top: 2rem !important;
	font-size: .8rem !important;
	color: var(--wp--preset--color--muted) !important;
}

/* ── QUALIFICATION STRIP ────────────────────────────────── */
.syn-qualification {
	padding: 1.25rem 1.5rem;
	border-top: 1px solid rgba(255,255,255,.07);
	border-bottom: 1px solid rgba(255,255,255,.07);
}
.syn-qualification p {
	text-align: center;
	font-size: .875rem !important;
	font-weight: 600;
	color: var(--wp--preset--color--muted) !important;
	margin: 0 !important;
	letter-spacing: .02em;
}
.syn-qualification strong { color: #fff !important; }

/* ── TRUST BAR ──────────────────────────────────────────── */
.syn-trust-bar { padding: 2.5rem 1.5rem; }
.syn-trust-label {
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted) !important;
	white-space: nowrap;
	margin: 0 !important;
	text-align: center;
	margin-bottom: 1.5rem !important;
}
.syn-trust-logo {
	font-size: .88rem !important;
	font-weight: 700;
	letter-spacing: .07em;
	color: rgba(255,255,255,.22) !important;
	margin: 0 !important;
	text-align: center;
	transition: color .25s;
}
.syn-trust-logo:hover { color: rgba(255,255,255,.6) !important; }
.syn-trust-bar .wp-block-columns {
	align-items: center;
	gap: 1rem !important;
}

/* ── EYEBROW ────────────────────────────────────────────── */
.syn-eyebrow {
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cyan) !important;
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem !important;
}
.syn-eyebrow-center {
	justify-content: center;
}
.syn-eyebrow::before {
	content: '';
	display: inline-block;
	width: 20px; height: 2px;
	background: var(--wp--preset--color--cyan);
	flex-shrink: 0;
}

/* ── SECTION HEADINGS ───────────────────────────────────── */
.syn-section-heading { margin-bottom: .75rem !important; }
.syn-section-lead {
	font-size: 1.05rem !important;
	line-height: 1.8 !important;
	color: var(--wp--preset--color--muted) !important;
	margin-bottom: 3rem !important;
	max-width: 680px;
}
.syn-section-lead.is-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ── CARD ───────────────────────────────────────────────── */
.syn-card {
	background: rgba(255,255,255,.03) !important;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	padding: 2rem !important;
	transition: border-color .3s, transform .3s, box-shadow .3s;
}
.syn-card:hover {
	border-color: rgba(123,47,255,.4);
	transform: translateY(-3px);
	box-shadow: 0 16px 48px rgba(13,110,253,.12);
}
.syn-card .wp-block-heading { margin-bottom: .75rem !important; }

/* ── PROGRAM CARD ───────────────────────────────────────── */
.syn-program-flagship {
	background: linear-gradient(135deg, rgba(13,110,253,.08), rgba(123,47,255,.08)) !important;
	border: 1px solid rgba(123,47,255,.25) !important;
	border-radius: 16px;
	padding: 2rem !important;
	position: relative;
	transition: border-color .3s, transform .3s, box-shadow .3s;
}
.syn-program-flagship::before {
	content: '';
	position: absolute;
	top: -1px; left: 10%; right: 10%;
	height: 2px;
	background: var(--wp--preset--gradient--brand);
	border-radius: 0 0 4px 4px;
}
.syn-program-flagship:hover {
	border-color: rgba(123,47,255,.5) !important;
	transform: translateY(-3px);
	box-shadow: 0 20px 60px rgba(123,47,255,.15);
}
.syn-card-link {
	margin-top: 1.25rem !important;
	margin-bottom: 0 !important;
	font-size: .9rem !important;
	font-weight: 600;
}
.syn-card-link a {
	color: var(--wp--preset--color--cyan) !important;
	text-decoration: none;
}
.syn-card-link a:hover { text-decoration: underline; }
.syn-program-tier {
	font-size: .68rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent) !important;
	margin-bottom: .5rem !important;
}

/* ── STATS ──────────────────────────────────────────────── */
.syn-stats { background: linear-gradient(135deg, rgba(13,110,253,.06), rgba(123,47,255,.06)); }
.syn-stat { text-align: center; }
.syn-stat-num {
	font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	background: var(--wp--preset--gradient--brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: .5rem !important;
}

/* ── PLATFORM ITEM ──────────────────────────────────────── */
.syn-platform {
	text-align: center;
	padding: 1.5rem 1rem;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 12px;
	transition: border-color .3s;
}
.syn-platform:hover { border-color: rgba(13,110,253,.3); }
.syn-platform-name {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: rgba(255,255,255,.7) !important;
	margin-bottom: .4rem !important;
}
.syn-platform-desc {
	font-size: .8rem !important;
	color: var(--wp--preset--color--muted) !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

/* ── INDUSTRY CARD ──────────────────────────────────────── */
.syn-industry-card { position: relative; }
.syn-industry-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--wp--preset--gradient--brand);
	border-radius: 16px 16px 0 0;
}

/* ── STEPS ──────────────────────────────────────────────── */
.syn-steps-wrap { position: relative; }
@media (min-width: 768px) {
	.syn-steps-wrap::before {
		content: '';
		position: absolute;
		top: 1.6rem;
		left: calc(16.66% + 1.75rem);
		right: calc(16.66% + 1.75rem);
		height: 2px;
		background: var(--wp--preset--gradient--brand);
		z-index: 0;
	}
}
.syn-step { text-align: center; position: relative; z-index: 1; }
.syn-step-num {
	width: 3.25rem; height: 3.25rem;
	border-radius: 50%;
	background: var(--wp--preset--gradient--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 900;
	color: #fff;
	margin: 0 auto 1.25rem;
	box-shadow: 0 0 0 5px #0A1628, 0 0 0 7px rgba(123,47,255,.25);
}
.syn-step-tag {
	display: inline-block;
	font-size: .7rem;
	font-weight: 700;
	padding: .25rem .75rem;
	background: rgba(123,47,255,.15);
	border: 1px solid rgba(123,47,255,.3);
	border-radius: 50px;
	color: var(--wp--preset--color--cyan);
	margin-bottom: .75rem;
}

/* ── METRIC CARD ────────────────────────────────────────── */
.syn-metric {
	text-align: center;
	background: rgba(255,255,255,.04) !important;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	padding: 1.5rem 1rem;
}
.syn-metric-val {
	font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	background: var(--wp--preset--gradient--brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: .4rem !important;
}
.syn-metric-label { font-size: .75rem !important; color: var(--wp--preset--color--muted) !important; margin: 0 !important; }

/* ── MID CTA BANNER ─────────────────────────────────────── */
.syn-mid-cta {
	background: var(--wp--preset--gradient--brand) !important;
	padding: 4rem 2rem;
	text-align: center;
}
.syn-mid-cta h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.25rem) !important;
	margin-bottom: .75rem !important;
}
.syn-mid-cta .wp-block-buttons { justify-content: center; margin-top: 1.5rem; }
.syn-mid-cta .wp-block-button__link {
	background: rgba(0,0,0,.2) !important;
	border: 2px solid rgba(255,255,255,.4) !important;
	color: #fff !important;
}
.syn-mid-cta .wp-block-button__link:hover {
	background: rgba(0,0,0,.4) !important;
	border-color: #fff !important;
}

/* ── CASE STUDY ─────────────────────────────────────────── */
.syn-case-industry {
	font-size: .8rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent) !important;
	margin-bottom: .5rem !important;
}
.syn-quote {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: 1.25rem;
	font-style: italic;
	color: rgba(255,255,255,.8) !important;
	font-size: 1.02rem !important;
	line-height: 1.78 !important;
}
.syn-stars { color: #FFB800; letter-spacing: .1em; margin-bottom: .875rem !important; font-size: .9rem !important; }
.syn-attribution { font-size: .9rem !important; margin-top: 0 !important; }

/* ── WORKSHOP ───────────────────────────────────────────── */
.syn-workshop-card {
	background: linear-gradient(135deg, rgba(13,110,253,.08), rgba(123,47,255,.08)) !important;
	border: 1px solid rgba(123,47,255,.2);
	border-radius: 16px;
	padding: 2rem;
}
.syn-workshop-detail-label {
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cyan) !important;
	margin-bottom: .5rem !important;
	margin-top: 1.25rem !important;
}
.syn-workshop-detail-label:first-child { margin-top: 0 !important; }

/* ── PAIN ITEM ──────────────────────────────────────────── */
.syn-pain-item {
	border-left: 2px solid rgba(123,47,255,.35);
	padding-left: 1rem;
	margin-bottom: 1.25rem !important;
}
.syn-pain-item .wp-block-heading { margin-bottom: .35rem !important; }
.syn-pillar {
	border-top: 1px solid rgba(255,255,255,.07);
	padding-top: .875rem;
	margin-top: .875rem !important;
}
.syn-pillar:first-of-type { border-top: none; margin-top: 0 !important; padding-top: 0; }

/* ── CONTACT FORM ───────────────────────────────────────── */
.syn-contact-form { max-width: 680px; margin: 0 auto; }
.syn-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}
@media (max-width: 600px) { .syn-form-grid { grid-template-columns: 1fr; } }
.syn-field { display: flex; flex-direction: column; gap: .4rem; }
.syn-field label {
	font-size: .8rem;
	font-weight: 700;
	color: rgba(255,255,255,.7);
	letter-spacing: .03em;
}
.syn-field input, .syn-field textarea {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	color: #fff;
	font-family: inherit;
	font-size: .95rem;
	padding: .75rem 1rem;
	width: 100%;
	transition: border-color .2s;
}
.syn-field input:focus, .syn-field textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--cyan);
}
.syn-field textarea { resize: vertical; min-height: 100px; margin-bottom: 1rem; }
.syn-form-submit {
	display: inline-block;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	padding: .9rem 2.25rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s, transform .2s;
	width: 100%;
}
.syn-form-submit:hover { background: #0b5ed7; transform: translateY(-1px); }
.syn-form-note {
	font-size: .78rem !important;
	color: var(--wp--preset--color--muted) !important;
	text-align: center;
	margin-top: .75rem !important;
}
.syn-form-success {
	background: rgba(13,110,253,.1);
	border: 1px solid rgba(13,110,253,.3);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
}
.syn-form-error {
	background: rgba(220,53,69,.1);
	border: 1px solid rgba(220,53,69,.3);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	font-size: .9rem;
}

/* ── PAGE HERO (INTERIOR) ───────────────────────────────── */
.syn-page-hero {
	padding-top: 7rem !important;
	padding-bottom: 4rem !important;
	text-align: center;
}
.syn-page-hero h1 { margin-bottom: .75rem !important; }
.syn-page-hero-sub {
	font-size: 1.1rem !important;
	color: var(--wp--preset--color--muted) !important;
	max-width: 640px;
	margin: 0 auto 2rem !important;
}

/* ── CTA BOX ────────────────────────────────────────────── */
.syn-cta-box {
	text-align: center;
	background: linear-gradient(135deg, rgba(13,110,253,.08), rgba(123,47,255,.08)) !important;
	border: 1px solid rgba(123,47,255,.2);
	border-radius: 20px;
	padding: 3rem 2rem !important;
}
.syn-cta-box .wp-block-buttons { justify-content: center; margin-top: 1.5rem; }
.syn-cta-note {
	font-size: .8rem !important;
	color: var(--wp--preset--color--muted) !important;
	margin-top: .75rem !important;
}

/* ── TAG PILLS ──────────────────────────────────────────── */
.syn-tag {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	padding: .25rem .75rem;
	background: rgba(13,110,253,.1);
	border: 1px solid rgba(13,110,253,.2);
	border-radius: 50px;
	color: var(--wp--preset--color--cyan);
	white-space: nowrap;
	margin-right: .4rem;
	margin-bottom: .4rem;
}

/* ── SECTION DIVIDER ────────────────────────────────────── */
.syn-divider {
	border: none;
	border-top: 1px solid rgba(255,255,255,.07);
	margin: 0 !important;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.syn-footer { border-top: 1px solid rgba(255,255,255,.07); }
.syn-footer-logo {
	font-size: 1.3rem;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	display: block;
	margin-bottom: .75rem;
}
.syn-footer-logo span { color: var(--wp--preset--color--cyan); }
.syn-footer-tagline {
	font-size: .85rem !important;
	color: var(--wp--preset--color--muted) !important;
	margin: 0 !important;
	line-height: 1.6 !important;
}
.syn-footer-col-label {
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.4) !important;
	margin-bottom: 1rem !important;
}
.syn-footer-links { list-style: none; margin: 0 !important; padding: 0 !important; }
.syn-footer-links li { margin-bottom: .6rem !important; }
.syn-footer-links a {
	font-size: .875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	transition: color .2s;
}
.syn-footer-links a:hover { color: #fff; }
.syn-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.07);
	padding-top: 1.5rem;
	margin-top: 3rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.syn-footer-bottom p {
	font-size: .82rem !important;
	color: var(--wp--preset--color--muted) !important;
	margin: 0 !important;
}

/* ── SCROLL FADE-IN ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	[data-fade] {
		opacity: 0;
		translate: 0 18px;
		transition: opacity .55s ease, translate .55s ease;
	}
	[data-fade].syn-visible { opacity: 1; translate: 0 0; }
}

/* ── RESOURCE CARD ──────────────────────────────────────── */
.syn-resource-card { display: flex; flex-direction: column; }
.syn-resource-card .syn-card-link { margin-top: auto !important; }
.syn-resource-type {
	font-size: .68rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--wp--preset--color--accent) !important;
	margin-bottom: .5rem !important;
}

/* ── TEAM CARD ──────────────────────────────────────────── */
.syn-team-card { text-align: center; }
.syn-team-avatar {
	width: 80px; height: 80px;
	border-radius: 50%;
	background: var(--wp--preset--gradient--brand);
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 900;
	color: #fff;
}
.syn-team-name { font-size: 1rem !important; font-weight: 700 !important; margin-bottom: .25rem !important; }
.syn-team-role { font-size: .85rem !important; color: var(--wp--preset--color--cyan) !important; margin-bottom: .5rem !important; }

/* ── INLINE LINK ─────────────────────────────────────────── */
.syn-link-arrow {
	color: var(--wp--preset--color--cyan) !important;
	font-weight: 600;
	text-decoration: none;
}
.syn-link-arrow:hover { text-decoration: underline; }
