/*
Theme Name: AI Passport Child
Theme URI: https://ai-passport.top
Description: Child theme of Twenty Twenty-Four for the AI Passport single-product store. Bold, cohesive tech UI with gradient accents, glowing cards, spec tiles and an "independent retailer" footer disclaimer. No page builder, no hardcoded product data.
Author: AI Passport
Template: twentytwentyfour
Version: 3.0.0
Text Domain: aipassportchild
*/

/* ===================================================================
   DESIGN TOKENS
   =================================================================== */
:root {
	--ap-dark: #0b1120;
	--ap-dark-2: #131c31;
	--ap-ink: #1a1d24;
	--ap-accent: #e2573a;
	--ap-accent-2: #8b5cf6;
	--ap-accent-3: #22d3ee;
	--ap-muted: #aeb6c8;
	--ap-faint: #8a93a6;
	--ap-grad: linear-gradient(120deg, #e2573a 0%, #f07b3f 30%, #8b5cf6 70%, #22d3ee 100%);
}

body {
	-webkit-font-smoothing: antialiased;
}

/* ===================================================================
   GRADIENT TEXT  +  SECTION META
   =================================================================== */
.ap-gradient-text {
	background: var(--ap-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

.ap-kicker {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--ap-accent);
	margin-bottom: 0 !important;
}

.ap-kicker-dark {
	color: var(--ap-accent-3);
}

.ap-section-title {
	margin-top: .25rem;
}

/* ===================================================================
   BADGES / BUTTONS
   =================================================================== */
.ap-badge {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: #dbe2ef;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	padding: .45rem 1rem;
	margin-bottom: 1.25rem;
}

.wp-block-button__link {
	background: linear-gradient(120deg, #e2573a, #f07b3f) !important;
	color: #ffffff !important;
	border-radius: 999px !important;
	font-weight: 700;
	box-shadow: 0 12px 30px -8px rgba(226, 87, 58, .6);
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	filter: brightness(1.07);
	box-shadow: 0 16px 38px -8px rgba(226, 87, 58, .7);
}

.ap-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(255, 255, 255, .28);
	box-shadow: none;
}

.ap-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .12) !important;
}

/* ===================================================================
   HERO
   =================================================================== */
.ap-hero {
	position: relative;
	overflow: hidden;
	background-image:
		radial-gradient(1000px 520px at 85% -10%, rgba(139, 92, 246, .28), transparent 60%),
		radial-gradient(900px 600px at 0% 120%, rgba(34, 211, 238, .20), transparent 55%),
		radial-gradient(700px 400px at 60% 20%, rgba(226, 87, 58, .18), transparent 60%),
		linear-gradient(180deg, #0b1120 0%, #101b33 100%);
}

/* faint tech grid */
.ap-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
	pointer-events: none;
}

/* angled divider at the bottom of the hero */
.ap-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 46px;
	background: var(--wp--preset--color--base);
	-webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 100%, 0 100%);
	opacity: .9;
}

.ap-hero .wp-block-column {
	position: relative;
	z-index: 1;
}

.ap-hero .wp-block-buttons {
	justify-content: flex-start;
	flex-wrap: wrap;
}

/* hero stats */
.ap-stat p:first-child {
	margin-bottom: .15rem;
	background: var(--ap-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

.ap-stat p:last-child {
	font-size: .82rem;
	margin-bottom: 0;
}

/* hero visual */
.ap-hero-visual {
	position: relative;
}

.ap-hero-img {
	position: relative;
	z-index: 1;
}

.ap-hero-img img {
	border-radius: 28px;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .12),
		0 40px 90px -24px rgba(0, 0, 0, .7),
		0 0 60px -10px rgba(139, 92, 246, .45);
	max-width: 440px;
	margin-inline: auto;
}

.ap-float-tag {
	position: absolute;
	z-index: 2;
	background: rgba(19, 28, 49, .85);
	border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(6px);
	color: #eef2f9;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .04em;
	border-radius: 12px;
	padding: .55rem .8rem;
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55);
}

.ap-float-tag-1 {
	top: 6%;
	left: -2%;
	background: linear-gradient(120deg, #e2573a, #f07b3f);
	border: none;
	color: #fff;
}

.ap-float-tag-2 {
	bottom: 8%;
	right: -2%;
}

/* ===================================================================
   THREE WAYS — cards
   =================================================================== */
.ap-card {
	position: relative;
	border-radius: 20px;
	box-shadow: 0 18px 50px -22px rgba(11, 17, 32, .3);
	transition: transform .2s ease, box-shadow .2s ease;
	overflow: hidden;
}

/* colored gradient band on top of each card */
.ap-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	z-index: 3;
}

.ap-card-1::before { background: linear-gradient(90deg, #e2573a, #f07b3f); }
.ap-card-2::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.ap-card-3::before { background: linear-gradient(90deg, #22d3ee, #67e8f9); }

.ap-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 64px -24px rgba(11, 17, 32, .4);
}

.ap-card-top {
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	margin: 0 -30px 0 -30px;
}

.ap-card-img img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	background: #fff;
	border-radius: 0;
	transition: transform .35s ease;
}

.ap-card:hover .ap-card-img img {
	transform: scale(1.05);
}

.ap-card-num {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -20px 0 0 0;
	border-radius: 12px;
	background: var(--ap-grad);
	color: #fff !important;
	font-size: 1.3rem;
	font-weight: 800;
	box-shadow: 0 10px 22px -8px rgba(139, 92, 246, .5);
}

.ap-card h3 {
	margin-top: .35rem;
}

/* ===================================================================
   SPECS — glowing tiles
   =================================================================== */
.ap-spec {
	position: relative;
	border-radius: 18px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .09);
	padding: 1.4rem .6rem;
	margin-inline: 4px;
	text-align: center;
	transition: transform .2s ease, background .2s ease;
}

.ap-spec:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, .08);
}

.ap-spec-icon {
	font-size: 1.6rem;
	line-height: 1;
	margin-bottom: .4rem;
	background: var(--ap-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

.ap-spec-val {
	font-size: 1.35rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: .2rem;
}

.ap-spec-label {
	font-size: .82rem;
	color: var(--ap-faint);
	margin-bottom: 0;
}

/* ===================================================================
   PRODUCT band — glowing wrap
   =================================================================== */
.ap-product-wrap {
	position: relative;
	border-radius: 24px;
	background: #ffffff;
	border: 1px solid rgba(11, 17, 32, .08);
	box-shadow: 0 30px 70px -30px rgba(11, 17, 32, .35);
	padding: 2.5rem 1.5rem;
}

.ap-product-wrap .wp-block-shortcode .woocommerce {
	margin: 0;
}

.ap-product-wrap .woocommerce .product {
	padding-top: 0;
}

/* ===================================================================
   FINAL CTA
   =================================================================== */
.ap-final {
	position: relative;
	overflow: hidden;
	background-image:
		radial-gradient(700px 420px at 20% 0%, rgba(34, 211, 238, .16), transparent 60%),
		radial-gradient(800px 500px at 90% 110%, rgba(139, 92, 246, .22), transparent 60%),
		linear-gradient(180deg, #0b1120 0%, #101b33 100%);
}

.ap-final-inner {
	position: relative;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .03);
	padding: 2.5rem 1.5rem;
}

.ap-final .wp-block-buttons {
	justify-content: center;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.ap-footer a {
	color: #c9d2e2;
	text-decoration: none;
}

.ap-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.ap-footer .ap-disclaimer {
	font-size: .85rem;
	color: var(--ap-faint);
}

.ap-footer .ap-copyright {
	font-size: .8rem;
	color: #6b7486;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 781px) {
	.ap-hero-img img {
		max-width: 320px;
	}
	.ap-spec {
		margin-inline: 0;
		margin-bottom: 12px;
	}
	.ap-float-tag-1 { left: 4%; }
	.ap-float-tag-2 { right: 4%; }
	.ap-card-top { margin: 0 -24px 0 -24px; }
}
