/* ============================================
   Q Services AI -- SaaS Custom Styles
   ============================================ */

/* --- Smooth Scroll --- */
html {
	scroll-behavior: smooth;
}

/* --- Hero Section --- */
.qsai-hero {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
	position: relative;
	overflow: hidden;
}

.qsai-hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}

.qsai-hero::after {
	content: "";
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.1);
	pointer-events: none;
}

/* --- Dashboard Mockup --- */
.qsai-dashboard-preview img {
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Phone Mockup --- */
.qsai-phone-preview img {
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* --- Stats Bar --- */
.qsai-stats-bar {
	background: var(--wp--preset--color--accent-5);
	border-top: 1px solid var(--wp--preset--color--accent-6);
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.qsai-stat-number {
	font-weight: 700;
	color: var(--wp--preset--color--accent-1);
	line-height: 1;
}

/* --- Feature Cards --- */
.qsai-feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: rgba(37, 99, 235, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 1.5rem;
}

/* --- Testimonial Cards --- */
.qsai-testimonial-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 12px;
	padding: var(--wp--preset--spacing--40);
}

.qsai-testimonial-stars {
	color: #f59e0b;
	letter-spacing: 0.1em;
}

/* --- CTA Gradient --- */
.qsai-cta-gradient {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	border-radius: 16px;
	position: relative;
	overflow: hidden;
}

.qsai-cta-gradient::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -25%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}

/* --- Header Sticky + Glassmorphism --- */
.qsai-header-sticky {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

/* --- Button Hover Lift --- */
.wp-block-button__link {
	transition: all 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Gradient Text --- */
.qsai-gradient-text {
	background: linear-gradient(135deg, #60a5fa, #34d399);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* --- Section Alternating Background --- */
.qsai-section-alt {
	background: var(--wp--preset--color--accent-5);
}

/* --- Pricing Save Badge --- */
.qsai-pricing-save-badge {
	background: #dcfce7;
	color: #166534;
	padding: 2px 10px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
}

/* --- Step Numbers --- */
.qsai-step-number {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.125rem;
}

/* --- Benefit Icon Circle --- */
.qsai-benefit-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: rgba(37, 99, 235, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 16px;
}

/* --- FAQ Section --- */
.qsai-faq-item {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	padding-bottom: var(--wp--preset--spacing--40);
}

/* --- Responsive --- */
@media (max-width: 781px) {
	.qsai-hero {
		text-align: center;
	}

	.qsai-hero .wp-block-buttons {
		justify-content: center;
	}

	.qsai-dashboard-preview {
		margin-top: var(--wp--preset--spacing--40);
	}
}
