/*
Theme Name: All Integrations Editable
Theme URI: https://allintegrations.com/
Author: All Integrations
Description: A fully editable block theme for All Integrations, built with native WordPress blocks and reusable patterns.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: all-integrations
*/

:root {
	--ai-shadow: 0 24px 70px rgba(0, 24, 58, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.ai-site-header {
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 0;
	z-index: 20;
}

.ai-site-header .wp-block-site-logo img {
	max-height: 76px;
	object-fit: contain;
	width: auto;
}

.ai-site-header .wp-block-navigation-item__content {
	transition: color 160ms ease;
}

.ai-site-header .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--cyan);
}

.ai-hero {
	background:
		radial-gradient(circle at 82% 20%, rgba(48, 213, 200, 0.24), transparent 28%),
		radial-gradient(circle at 8% 88%, rgba(0, 169, 255, 0.22), transparent 30%),
		linear-gradient(135deg, #001a3d 0%, #003b70 52%, #001a3d 100%);
	overflow: hidden;
	position: relative;
}

.ai-hero::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.ai-hero > .wp-block-group__inner-container,
.ai-hero > * {
	position: relative;
	z-index: 1;
}

.ai-eyebrow {
	border: 1px solid rgba(48, 213, 200, 0.42);
	border-radius: 999px;
	display: inline-block;
	letter-spacing: 0.12em;
	padding: 0.55rem 0.9rem;
	text-transform: uppercase;
}

.ai-service-card,
.ai-process-card {
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 38, 77, 0.06);
	height: 100%;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ai-service-card:hover,
.ai-process-card:hover {
	border-color: var(--wp--preset--color--cyan);
	box-shadow: var(--ai-shadow);
	transform: translateY(-5px);
}

.ai-service-icon,
.ai-step-number {
	align-items: center;
	background: var(--wp--preset--gradient--brand-glow);
	border-radius: 14px;
	color: var(--wp--preset--color--navy);
	display: inline-flex;
	font-weight: 800;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.ai-service-card ul {
	padding-left: 1.2rem;
}

.ai-service-card li + li {
	margin-top: 0.6rem;
}

.ai-cta {
	background:
		radial-gradient(circle at 88% 0%, rgba(101, 220, 70, 0.24), transparent 35%),
		linear-gradient(130deg, #002451 0%, #005a8d 100%);
	border-radius: 24px;
	box-shadow: var(--ai-shadow);
}

.wp-block-button .wp-block-button__link {
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.wp-block-button .wp-block-button__link:hover {
	box-shadow: 0 12px 28px rgba(0, 169, 255, 0.22);
	transform: translateY(-2px);
}

.ai-site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 781px) {
	.ai-site-header .wp-block-site-logo img {
		max-height: 58px;
	}

	.ai-hero {
		min-height: auto !important;
	}

	.ai-hero h1 {
		font-size: clamp(2.5rem, 12vw, 4rem) !important;
	}

	.ai-hero .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.ai-hero .wp-block-button,
	.ai-hero .wp-block-button__link {
		width: 100%;
	}
}
