/* ===========================================
   OmniSync Agency — Main Stylesheet
   =========================================== */

/* --- Custom Properties --- */
:root {
	--color-primary: #1e1b4b;
	--color-secondary: #8b5cf6;
	--color-accent: #f97316;
	--color-light: #f5f3ff;
	--color-dark: #0f0a2e;
	--color-gray-50: #f0edf8;
	--color-gray-100: #e0dcee;
	--color-gray-200: #c1bbd6;
	--color-gray-300: #9b94b3;
	--color-gray-400: #706991;
	--color-gray-500: #4c4670;
	--color-white: #ffffff;
	--color-success: #22c55e;
	--color-glow-1: #8b5cf6;
	--color-glow-2: #c084fc;
	--color-glow-3: #f97316;

	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

	--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
	--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	--max-width: 1200px;
	--header-height: 80px;
}

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(40px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
	from { opacity: 0; transform: translateX(40px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
	from { opacity: 0; transform: scale(0.9); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes gradientShift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50%      { transform: translateY(-15px); }
}
@keyframes floatSlow {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	33%      { transform: translateY(-10px) rotate(1deg); }
	66%      { transform: translateY(5px) rotate(-1deg); }
	100%     { transform: translateY(0px) rotate(0deg); }
}
@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0.3); }
	50%      { box-shadow: 0 0 0 15px rgba(139,92,246,0); }
}
@keyframes shimmer {
	0%   { background-position: -200% center; }
	100% { background-position: 200% center; }
}
@keyframes slideDown {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes countPop {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.15); }
	100% { transform: scale(1); }
}
@keyframes loadingBar {
	0%   { width: 0; }
	100% { width: 100%; }
}
@keyframes heroWordIn {
	0%   { opacity: 0; transform: translateY(30px) scale(0.95); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroBadgeIn {
	0%   { opacity: 0; transform: translateY(10px) scale(0.9); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroCtaIn {
	0%   { opacity: 0; transform: translateY(20px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes shapeOrbit {
	0%   { transform: rotate(0deg) translateX(120px) rotate(0deg); }
	100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes shapeOrbit2 {
	0%   { transform: rotate(0deg) translateX(80px) rotate(0deg); }
	100% { transform: rotate(-360deg) translateX(80px) rotate(360deg); }
}

/* ===========================================
   SCROLL REVEAL CLASSES
   =========================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up     { transform: translateY(40px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }
.reveal-scale  { transform: scale(0.9); }
.reveal-visible {
	opacity: 1 !important;
	transform: translateY(0) translateX(0) scale(1) !important;
}

/* service/pricing/testimonial cards get staggered delay via JS */

/* --- Reset --- */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-primary);
	background-color: var(--color-light);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover {
	color: var(--color-accent);
}

ul, ol { list-style: none; }

/* --- Skip Link --- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	padding: 8px 16px;
	background: var(--color-primary);
	color: var(--color-white);
	border-radius: var(--radius-sm);
	z-index: 10000;
	transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* --- Container --- */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* --- Section Spacing --- */
.section-padding { padding: 80px 0; }

/* --- Section Header --- */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 56px;
}
.section-header--left {
	text-align: left;
	margin: 0 0 56px;
	max-width: 800px;
}
.section-badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-secondary);
	margin-bottom: 12px;
	position: relative;
}
.section-badge::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-secondary);
	transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-visible .section-badge::after,
.section-header.reveal-visible .section-badge::after {
	width: 100%;
}
.section-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 16px;
	color: var(--color-dark);
}
.section-subtitle {
	font-size: 1.1rem;
	color: var(--color-gray-400);
	line-height: 1.7;
}
.page-intro {
	font-size: 1.1rem;
	color: var(--color-gray-400);
	line-height: 1.7;
	max-width: 640px;
}

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
	background: var(--color-secondary);
	color: var(--color-white);
	border-color: var(--color-secondary);
}
.btn-primary:hover {
	background: #7c3aed;
	border-color: #7c3aed;
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(139,92,246,0.35);
}
.btn-primary:active {
	transform: translateY(0);
}
.btn-outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-gray-200);
}
.btn-outline:hover {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(139,92,246,0.12);
}
.btn-accent {
	background: var(--color-accent);
	color: var(--color-primary);
	border-color: var(--color-accent);
}
.btn-accent:hover {
	background: #ea580c;
	border-color: #ea580c;
	color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(249,115,22,0.35);
}

/* Button Ripple */
.btn-ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.3);
	width: 20px;
	height: 20px;
	margin-left: -10px;
	margin-top: -10px;
	pointer-events: none;
	animation: rippleOut 0.6s ease-out forwards;
}
@keyframes rippleOut {
	0%   { transform: scale(0); opacity: 1; }
	100% { transform: scale(6); opacity: 0; }
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-gray-100);
	height: var(--header-height);
	transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.header-scrolled {
	height: 64px;
	background: rgba(255,255,255,0.98);
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}
.site-logo-text {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-dark);
	text-decoration: none;
	transition: transform 0.3s ease;
	display: inline-block;
}
.site-logo-text:hover {
	transform: scale(1.03);
}
.logo-accent { color: var(--color-secondary); }

.primary-nav { display: flex; align-items: center; }
.primary-menu {
	display: flex;
	align-items: center;
	gap: 32px;
}
.primary-menu li a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-gray-500);
	text-decoration: none;
	transition: color 0.2s;
	position: relative;
	padding: 4px 0;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
	color: var(--color-secondary);
}
.primary-menu li a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-secondary);
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.primary-menu li a:hover::after,
.primary-menu li.current-menu-item a::after {
	width: 100%;
}

/* Nav link hover lift */
.primary-menu li a {
	transition: color 0.2s, transform 0.2s;
}
.primary-menu li a:hover {
	transform: translateY(-1px);
}

.nav-toggle { display: none; }
.hamburger {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-primary);
	position: relative;
	transition: background 0.2s;
}
.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--color-primary);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

.btn-nav-cta { margin-left: 24px; }
.btn-nav-cta {
	animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ===========================================
   HERO
   =========================================== */
.hero-section {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	padding-top: var(--header-height);
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--color-light);
	overflow: hidden;
}

/* Morphing glow blobs */
.hero-bg .glow-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.45;
	will-change: transform;
	pointer-events: none;
}
.hero-bg .glow-blob--1 {
	width: 500px;
	height: 500px;
	background: var(--color-glow-1);
	top: -10%;
	left: -5%;
	animation: morphBlob1 16s ease-in-out infinite;
}
.hero-bg .glow-blob--2 {
	width: 400px;
	height: 400px;
	background: var(--color-glow-2);
	bottom: -10%;
	right: -5%;
	animation: morphBlob2 14s ease-in-out infinite;
}
.hero-bg .glow-blob--3 {
	width: 300px;
	height: 300px;
	background: var(--color-glow-3);
	top: 40%;
	right: 25%;
	opacity: 0.3;
	animation: morphBlob3 18s ease-in-out infinite;
}
.hero-bg .glow-blob--4 {
	width: 200px;
	height: 200px;
	background: var(--color-glow-1);
	bottom: 20%;
	left: 30%;
	opacity: 0.2;
	animation: morphBlob4 12s ease-in-out infinite;
}

@keyframes morphBlob1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25%      { transform: translate(60px, -40px) scale(1.1); }
	50%      { transform: translate(-30px, 50px) scale(0.9); }
	75%      { transform: translate(40px, 20px) scale(1.05); }
}
@keyframes morphBlob2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25%      { transform: translate(-50px, 30px) scale(1.15); }
	50%      { transform: translate(40px, -30px) scale(0.85); }
	75%      { transform: translate(-20px, -50px) scale(1.1); }
}
@keyframes morphBlob3 {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
	33%      { transform: translate(30px, 20px) scale(1.2); opacity: 0.25; }
	66%      { transform: translate(-20px, -30px) scale(0.8); opacity: 0.35; }
}
@keyframes morphBlob4 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(30px, -20px) scale(1.3); }
}

/* Soft glowing orbs instead of industrial shapes */
.hero-shape {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	transition: transform 0.15s ease-out;
	will-change: transform;
}
.hero-shape--1 {
	width: 280px;
	height: 280px;
	top: 5%;
	right: 8%;
	background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
	animation: floatSlow 8s ease-in-out infinite;
}
.hero-shape--2 {
	width: 200px;
	height: 200px;
	bottom: 12%;
	right: 15%;
	background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
	animation: float 6s ease-in-out infinite 1s;
}
.hero-shape--3 {
	width: 140px;
	height: 140px;
	top: 25%;
	left: 8%;
	background: radial-gradient(circle, rgba(192,132,252,0.1) 0%, transparent 70%);
	animation: float 7s ease-in-out infinite 0.5s;
}
.hero-shape--4 {
	width: 80px;
	height: 80px;
	bottom: 30%;
	left: 12%;
	border: 1.5px solid rgba(139,92,246,0.15);
	animation: float 5s ease-in-out infinite 2s;
	border-radius: 30% 70% 50% 50%;
}
.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}
.hero-badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-secondary);
	margin-bottom: 20px;
	padding: 6px 16px;
	background: rgba(139,92,246,0.08);
	border-radius: 100px;
	opacity: 0;
	transform: translateY(10px) scale(0.9);
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-badge--visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.hero-title {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--color-dark);
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}
.hero-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	animation: heroWordIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-word:nth-child(1) { animation-delay: 0.3s; }
.hero-word:nth-child(3) { animation-delay: 0.4s; }
.hero-word:nth-child(5) { animation-delay: 0.5s; }
.hero-word:nth-child(7) { animation-delay: 0.6s; }
.hero-word:nth-child(9) { animation-delay: 0.7s; }
.hero-subtitle {
	font-size: 1.15rem;
	color: var(--color-gray-400);
	line-height: 1.7;
	margin-bottom: 32px;
	max-width: 520px;
	opacity: 0;
	animation: heroCtaIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}
.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	opacity: 0;
	animation: heroCtaIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
.hero-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-illumination svg {
	color: var(--color-primary);
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 40px rgba(139,92,246,0.1));
	animation: floatSlow 6s ease-in-out infinite;
}

/* ===========================================
   SECTION DIVIDER WAVES
   =========================================== */
.section-divider {
	position: relative;
	width: 100%;
	height: 80px;
	overflow: hidden;
	line-height: 0;
	margin-top: -1px;
}
.section-divider svg {
	width: 100%;
	height: 100%;
	display: block;
}
.section-divider svg path:first-child {
	transform-origin: center;
	animation: waveDrift 12s ease-in-out infinite;
}
.section-divider svg path:last-child {
	transform-origin: center;
	animation: waveDrift 16s ease-in-out infinite reverse;
}
.section-divider--top { margin-bottom: -1px; }
.section-divider--flip { transform: rotate(180deg); }

@keyframes waveDrift {
	0%, 100% { transform: scaleY(1) translateY(0); }
	33%      { transform: scaleY(1.15) translateY(-3px); }
	66%      { transform: scaleY(0.85) translateY(2px); }
}

/* mobile: static waves */
@media (max-width: 768px) {
	.section-divider svg path:first-child,
	.section-divider svg path:last-child {
		animation: none !important;
	}
}

/* ===========================================
   SERVICES GRID
   =========================================== */
.services-section {
	background: var(--color-white);
	position: relative;
	overflow: hidden;
}
.services-section::before {
	content: '';
	position: absolute;
	top: -20%;
	right: -10%;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, transparent 70%);
	pointer-events: none;
}
.services-section::after {
	content: '';
	position: absolute;
	bottom: -15%;
	left: -5%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(192,132,252,0.04) 0%, transparent 70%);
	pointer-events: none;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	position: relative;
	z-index: 1;
}
.service-card {
	padding: 40px 32px;
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}
.service-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, rgba(139,92,246,0.02) 0%, transparent 50%);
	pointer-events: none;
}
.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(30,27,75,0.08), 0 4px 16px rgba(139,92,246,0.05);
}
.service-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(139,92,246,0.08);
	border-radius: var(--radius-md);
	margin-bottom: 20px;
	color: var(--color-secondary);
	transition: transform 0.3s ease, background 0.3s ease;
}
.service-card:hover .service-icon {
	transform: scale(1.1) rotate(-5deg);
	background: rgba(139,92,246,0.15);
}
.service-icon svg { width: 28px; height: 28px; }
.service-title {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--color-dark);
	transition: color 0.3s;
}
.service-card:hover .service-title {
	color: var(--color-secondary);
}
.service-description {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	line-height: 1.65;
}

/* ===========================================
   STATS
   =========================================== */
.stats-section {
	background: var(--color-primary);
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}
.stats-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
	pointer-events: none;
}
.stats-section::after {
	content: '';
	position: absolute;
	bottom: -50%;
	right: -10%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
	pointer-events: none;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
	position: relative;
	z-index: 1;
}
.stat-item {
	position: relative;
	padding: 8px 12px;
}
.stat-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(139,92,246,0.15);
	border-radius: var(--radius-md);
	color: var(--color-glow-2);
	margin: 0 auto 16px;
	transition: transform 0.3s ease, background 0.3s ease;
}
.stat-item:hover .stat-icon {
	transform: scale(1.1);
	background: rgba(139,92,246,0.25);
}
.stat-icon svg { width: 26px; height: 26px; }
.stat-label {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 6px;
}
.stat-sublabel {
	font-size: 0.85rem;
	color: var(--color-gray-200);
	line-height: 1.55;
	max-width: 240px;
	margin: 0 auto;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials-section {
	background: var(--color-light);
	position: relative;
	overflow: hidden;
}
.testimonials-section::before {
	content: '';
	position: absolute;
	top: -10%;
	left: 10%;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
	pointer-events: none;
}
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	position: relative;
	z-index: 1;
}
.testimonial-card {
	padding: 36px 32px;
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	position: relative;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:first-child {
	background: linear-gradient(135deg, var(--color-white) 0%, rgba(139,92,246,0.02) 100%);
}
.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(30,27,75,0.06);
}
.testimonial-icon {
	color: var(--color-secondary);
	opacity: 0.2;
	margin-bottom: 16px;
	transition: opacity 0.3s, transform 0.3s;
}
.testimonial-card:hover .testimonial-icon {
	opacity: 0.4;
	transform: scale(1.1);
}
.testimonial-icon svg { width: 30px; height: 30px; }
.testimonial-text {
	font-size: 0.95rem;
	color: var(--color-gray-500);
	line-height: 1.7;
	margin-bottom: 20px;
	font-style: italic;
}
.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--color-gray-50);
}
.testimonial-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	transition: transform 0.3s;
}
.testimonial-card:hover .testimonial-avatar {
	transform: scale(1.1);
}
.testimonial-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-dark);
	display: block;
}
.testimonial-company {
	font-size: 0.8rem;
	color: var(--color-gray-300);
}

/* ===========================================
   GRAIN TEXTURE OVERLAY
   =========================================== */
.grain-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 256px 256px;
}

/* ===========================================
   GRADIENT TEXT
   =========================================== */
.section-title--gradient {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 30%, var(--color-glow-2) 60%, var(--color-accent) 85%, var(--color-primary) 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShine 6s ease infinite;
}
@keyframes gradientShine {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* ===========================================
   PLAYFUL ANIMATIONS
   =========================================== */
@keyframes wiggle {
	0%, 100% { transform: rotate(0deg); }
	20%      { transform: rotate(-8deg); }
	40%      { transform: rotate(8deg); }
	60%      { transform: rotate(-4deg); }
	80%      { transform: rotate(4deg); }
}
@keyframes bounceIn {
	0%   { transform: scale(0); opacity: 0; }
	50%  { transform: scale(1.12); }
	70%  { transform: scale(0.95); }
	100% { transform: scale(1); opacity: 1; }
}
@keyframes floatBounce {
	0%, 100% { transform: translateY(0) scale(1); }
	40%      { transform: translateY(-12px) scale(1.02); }
	60%      { transform: translateY(-6px); }
}
@keyframes sparkle {
	0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
	50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}
@keyframes popIn {
	0%   { transform: scale(0.5); opacity: 0; }
	70%  { transform: scale(1.08); }
	100% { transform: scale(1); opacity: 1; }
}

/* Playful hover: wiggle on service icons */
.service-card:hover .service-icon svg {
	animation: wiggle 0.6s ease-in-out;
}

/* Playful hover: bouncy button */
.btn:hover {
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
	            box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Playful badge entrance */
.section-badge {
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
	            opacity 0.5s ease;
}
.reveal-visible .section-badge {
	animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Playful: sparkle dots near section titles */
.section-header {
	position: relative;
}
.section-header::after {
	content: '✦';
	position: absolute;
	top: -24px;
	right: 10%;
	font-size: 1rem;
	color: var(--color-accent);
	opacity: 0;
	pointer-events: none;
	animation: sparkle 3s ease-in-out infinite 1s;
}
.section-header::before {
	content: '✦';
	position: absolute;
	bottom: -20px;
	left: 10%;
	font-size: 0.7rem;
	color: var(--color-glow-2);
	opacity: 0;
	pointer-events: none;
	animation: sparkle 4s ease-in-out infinite 2s;
}

/* Bouncing CTA icon */
.cta-icon-bounce {
	display: inline-block;
	animation: iconBounce 2s ease-in-out infinite;
}
@keyframes iconBounce {
	0%, 100% { transform: translateX(0); }
	50%      { transform: translateX(4px); }
}
.pricing-footer:hover .cta-icon-bounce {
	animation: iconBounce 0.6s ease-in-out infinite;
}

/* Fun stat hover */
.stat-item:hover .stat-icon {
	animation: wiggle 0.5s ease-in-out;
}

/* Playful: bounce on hero badge */
.hero-badge--visible {
	animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ===========================================
   FLOATING DECORATIVE DOTS
   =========================================== */
.float-dot {
	position: absolute;
	border-radius: 50%;
	background: var(--color-secondary);
	opacity: 0.2;
	pointer-events: none;
	animation: dotFloat 8s ease-in-out infinite;
}
@keyframes dotFloat {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
	25%      { transform: translate(20px, -15px) scale(1.3); opacity: 0.3; }
	50%      { transform: translate(-10px, 10px) scale(0.8); opacity: 0.1; }
	75%      { transform: translate(15px, 5px) scale(1.1); opacity: 0.25; }
}

/* ===========================================
   PRICING
   =========================================== */
.pricing-section {
	background: var(--color-white);
	position: relative;
}
.pricing-section > .container {
	position: relative;
	z-index: 1;
}
.pricing-section::before {
	content: '';
	position: absolute;
	bottom: -10%;
	left: -5%;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
	pointer-events: none;
}
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.pricing-card {
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	padding: 44px 36px;
	position: relative;
	transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	will-change: transform;
	transform-style: preserve-3d;
}
.pricing-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, rgba(139,92,246,0.02) 0%, transparent 50%);
	pointer-events: none;
}
.pricing-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-secondary), var(--color-glow-2), var(--color-accent));
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1;
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover {
	box-shadow: 0 16px 48px rgba(30,27,75,0.08);
}
.pricing-card--featured {
	background: linear-gradient(135deg, var(--color-white) 0%, rgba(139,92,246,0.03) 100%);
	box-shadow: 0 8px 32px rgba(139,92,246,0.08);
	transform: scale(1.04);
}
.pricing-card--featured::before {
	opacity: 1;
	height: 4px;
	background: linear-gradient(90deg, var(--color-secondary), var(--color-glow-2), var(--color-accent), var(--color-secondary), var(--color-glow-2));
	background-size: 300% 100%;
	animation: gradientBorder 4s linear infinite;
}
@keyframes gradientBorder {
	0%   { background-position: 0% 0%; }
	100% { background-position: 300% 0%; }
}
.pricing-card--featured:hover {
	box-shadow: 0 16px 48px rgba(139,92,246,0.12);
}

/* Animated badge pulse */
.pricing-badge span {
	display: inline-block;
	animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.04); }
}

/* 3D tilt base on data-tilt cards */
[data-tilt],
.service-card,
.testimonial-card,
.contact-card {
	will-change: transform;
	transform-style: preserve-3d;
}
.pricing-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var(--color-secondary);
	color: var(--color-white);
	padding: 4px 14px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
	z-index: 2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-name {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 14px;
	color: var(--color-dark);
	transition: color 0.3s;
}
.pricing-card:hover .pricing-name {
	color: var(--color-secondary);
}
.pricing-price {
	margin-bottom: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.price-setup {
	font-size: 0.85rem;
	color: var(--color-gray-300);
	font-weight: 500;
	order: 1;
}
.price-setup::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--color-gray-200); margin: 0 8px 0 4px; vertical-align: middle; }
.price-main { order: 0; }
.price-amount {
	font-family: var(--font-heading);
	font-size: 2.8rem;
	font-weight: 800;
	color: var(--color-primary);
	transition: color 0.3s, transform 0.3s;
	display: inline-block;
}
.pricing-card:hover .price-amount {
	color: var(--color-secondary);
	transform: scale(1.05);
}
.price-period {
	font-size: 1rem;
	color: var(--color-gray-300);
	font-weight: 500;
	margin-left: 2px;
}
.pricing-desc { font-size: 0.9rem; color: var(--color-gray-400); max-width: 260px; margin: 0 auto; }
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--color-gray-500);
	padding: 8px 0;
	border-bottom: 1px solid var(--color-gray-50);
	transition: transform 0.2s, color 0.2s;
}
.pricing-features li:hover {
	transform: translateX(4px);
	color: var(--color-primary);
}
.pricing-features li:last-child { border-bottom: none; }
.feature-icon {
	flex-shrink: 0;
	color: var(--color-success);
	margin-top: 2px;
	transition: transform 0.2s;
}
.pricing-features li:hover .feature-icon {
	transform: scale(1.2);
}
.feature-icon svg { width: 16px; height: 16px; }
.pricing-footer { margin-top: auto; }
.pricing-note {
	text-align: center;
	margin-top: 32px;
	font-size: 0.9rem;
	color: var(--color-gray-300);
	font-style: italic;
}

/* ===========================================
   FAQ (Accordion)
   =========================================== */
.faq-section {
	background: var(--color-white);
	position: relative;
	overflow: hidden;
}
.faq-section::before {
	content: '';
	position: absolute;
	top: -10%;
	right: -5%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,0.03) 0%, transparent 70%);
	pointer-events: none;
}
.faq-list {
	max-width: 740px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.faq-item {
	background: var(--color-light);
	border-radius: var(--radius-lg);
	margin-bottom: 12px;
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}
.faq-item:hover {
	box-shadow: 0 8px 28px rgba(30,27,75,0.06);
	transform: translateY(-2px);
}
.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-dark);
	text-align: left;
	line-height: 1.4;
	transition: background 0.2s, color 0.2s;
}
.faq-question:hover { background: rgba(139,92,246,0.04); }
.faq-question[aria-expanded="true"] {
	color: var(--color-secondary);
	background: rgba(139,92,246,0.04);
}
.faq-icon {
	flex-shrink: 0;
	margin-left: 16px;
	color: var(--color-gray-300);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            color 0.3s;
}
.faq-icon svg { display: block; }
.faq-question[aria-expanded="true"] .faq-icon {
	transform: rotate(180deg);
	color: var(--color-secondary);
}
.faq-answer {
	padding: 0 24px 20px;
	font-size: 0.95rem;
	color: var(--color-gray-400);
	line-height: 1.7;
}
.faq-answer[hidden] { display: none; }
.faq-answer--open {
	animation: slideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===========================================
   CTA
   =========================================== */
.cta-section {
	background: var(--color-light);
	position: relative;
}
.cta-section::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 200px;
	background: linear-gradient(to top, rgba(139,92,246,0.03), transparent);
	pointer-events: none;
}
.cta-card {
	text-align: center;
	background: linear-gradient(135deg, var(--color-primary) 0%, #2e1065 100%);
	background-size: 200% 200%;
	animation: gradientShift 10s ease infinite;
	border-radius: var(--radius-xl);
	padding: 64px 48px;
	position: relative;
	overflow: hidden;
}
.cta-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(139,92,246,0.1) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.06) 0%, transparent 50%);
	pointer-events: none;
	transition: transform 0.6s;
}
.cta-card:hover::before {
	transform: scale(1.1);
}
.cta-title {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 16px;
	position: relative;
}
.cta-text {
	font-size: 1.1rem;
	color: var(--color-gray-200);
	margin-bottom: 32px;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.cta-card .btn-accent {
	position: relative;
	animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ===========================================
   SERVICES ADDON
   =========================================== */
.addon-section { background: var(--color-white); }
.addon-card {
	background: linear-gradient(135deg, var(--color-primary) 0%, #2e1065 100%);
	background-size: 200% 200%;
	animation: gradientShift 12s ease infinite;
	border-radius: var(--radius-xl);
	padding: 56px 48px;
	color: var(--color-white);
	position: relative;
	overflow: hidden;
	transition: transform 0.3s;
}
.addon-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.08) 0%, transparent 50%);
	pointer-events: none;
}
.addon-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-xl);
}
.addon-card .section-badge { color: var(--color-accent); }
.addon-card h2 {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 16px;
}
.addon-card p {
	color: var(--color-gray-200);
	margin-bottom: 24px;
	max-width: 640px;
}
.addon-features { margin-bottom: 28px; }
.addon-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	color: var(--color-gray-200);
	font-size: 0.95rem;
	transition: transform 0.2s;
}
.addon-features li:hover {
	transform: translateX(6px);
}
.addon-features .feature-icon { color: var(--color-accent); }
.addon-pricing {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--color-accent) !important;
	margin-bottom: 20px !important;
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 48px;
	align-items: start;
}
.contact-details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.contact-card {
	background: var(--color-white);
	border-radius: var(--radius-xl);
	padding: 32px 28px;
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(30,27,75,0.06);
}
.contact-card-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(139,92,246,0.08);
	border-radius: var(--radius-md);
	color: var(--color-secondary);
	margin-bottom: 14px;
	transition: transform 0.3s, background 0.3s;
}
.contact-card:hover .contact-card-icon {
	transform: scale(1.1);
	background: rgba(139,92,246,0.15);
}
.contact-card h3 {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 6px;
}
.contact-card a,
.contact-card p {
	font-size: 0.9rem;
	color: var(--color-gray-400);
}
.contact-form-wrapper {
	background: var(--color-white);
	border-radius: var(--radius-xl);
	padding: 40px;
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
}

/* --- Fallback Form --- */
.fallback-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-dark);
	margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	color: var(--color-primary);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
	transform: translateY(-1px);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
	border-color: var(--color-gray-300);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
	background: var(--color-dark);
	color: var(--color-gray-300);
	padding: 60px 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr;
	gap: 48px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo-text { color: var(--color-white); }
.footer-tagline {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	margin-top: 16px;
	max-width: 280px;
}
.footer-nav h4,
.footer-contact h4,
.footer-widgets h4 {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 16px;
	position: relative;
	display: inline-block;
}
.footer-nav h4::after,
.footer-contact h4::after,
.footer-widgets h4::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--color-secondary);
}
.footer-menu li { margin-bottom: 8px; }
.footer-menu li a {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	transition: color 0.2s, padding-left 0.2s;
	display: inline-block;
}
.footer-menu li a:hover {
	color: var(--color-secondary);
	padding-left: 4px;
}
.contact-list li { margin-bottom: 8px; font-size: 0.9rem; }
.contact-list li a { color: var(--color-gray-400); }
.contact-list li a:hover { color: var(--color-secondary); }
.footer-bottom {
	padding: 24px 0;
	text-align: center;
	font-size: 0.85rem;
	color: var(--color-gray-500);
}

/* ===========================================
   404 / SEARCH
   =========================================== */
.error-404 {
	text-align: center;
	padding: 120px 24px;
}
.error-404 h1 {
	font-family: var(--font-heading);
	font-size: 3rem;
	margin-bottom: 16px;
}
.error-404 p {
	color: var(--color-gray-400);
	margin-bottom: 32px;
	font-size: 1.1rem;
}
.search-page { padding: 120px 24px; }
.search-result-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--color-gray-100);
	transition: padding-left 0.2s;
}
.search-result-item:hover {
	padding-left: 8px;
}
.search-result-item h2 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	margin-bottom: 8px;
}
.search-result-item h2 a {
	transition: color 0.2s;
}
.search-result-item h2 a:hover {
	color: var(--color-accent);
}

/* ===========================================
   PAGE CONTENT (generic)
   =========================================== */
.page-content {
	padding: 120px 24px 80px;
}
.entry-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 24px;
	color: var(--color-dark);
}
.entry-content h2,
.entry-content h3 {
	font-family: var(--font-heading);
	color: var(--color-dark);
	margin-top: 32px;
	margin-bottom: 12px;
}
.entry-content p {
	margin-bottom: 16px;
	color: var(--color-gray-400);
	line-height: 1.7;
}
.entry-content ul {
	list-style: disc;
	padding-left: 24px;
	margin-bottom: 16px;
}
.entry-content ul li {
	color: var(--color-gray-400);
	margin-bottom: 6px;
}

/* ===========================================
   TIMELINE (Process Section)
   =========================================== */
.timeline-section {
	background: var(--color-light);
	position: relative;
	overflow: hidden;
}
.timeline-section::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
	pointer-events: none;
}
.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 0;
}
.timeline-line {
	position: absolute;
	top: 0;
	left: 50%;
	bottom: 0;
	width: 4px;
	margin-left: -2px;
	color: var(--color-gray-200);
}
.timeline-line svg {
	width: 100%;
	height: 100%;
	position: sticky;
	top: 120px;
}

.timeline-step {
	position: relative;
	display: flex;
	align-items: flex-start;
	margin-bottom: 60px;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step--left  { flex-direction: row; padding-right: 55%; }
.timeline-step--right { flex-direction: row-reverse; padding-left: 55%; }

.timeline-card {
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	padding: 28px 32px;
	position: relative;
	flex: 1;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(30,27,75,0.06);
}
.timeline-number {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 800;
	color: rgba(139,92,246,0.12);
	line-height: 1;
	position: absolute;
	top: 12px;
	right: 16px;
	pointer-events: none;
}
.timeline-step--right .timeline-number { right: auto; left: 16px; }
.timeline-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(139,92,246,0.08);
	border-radius: var(--radius-md);
	color: var(--color-secondary);
	margin-bottom: 14px;
	position: relative;
	z-index: 1;
}
.timeline-icon svg { width: 24px; height: 24px; }
.timeline-title {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--color-dark);
}
.timeline-description {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	line-height: 1.65;
}

.timeline-dot {
	position: absolute;
	top: 28px;
	left: 50%;
	width: 14px;
	height: 14px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--color-white);
	border: 3px solid var(--color-secondary);
	z-index: 2;
	box-shadow: 0 0 0 6px rgba(139,92,246,0.1);
}

@media (max-width: 768px) {
	.timeline { padding: 20px 0; }
	.timeline-line { left: 20px; margin-left: 0; }
	.timeline-step { margin-bottom: 40px; }
	.timeline-step--left,
	.timeline-step--right { flex-direction: row; padding: 0 0 0 50px; }
	.timeline-dot { left: 20px; margin-left: -7px; }
	.timeline-card { box-shadow: 0 4px 14px rgba(30,27,75,0.04); }
	.timeline-number { font-size: 2.2rem; }
}

/* ===========================================
   BLOG GRID
   =========================================== */
.blog-section { background: var(--color-light); }
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.blog-card {
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: 0 4px 20px rgba(30,27,75,0.04);
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(30,27,75,0.08);
}
.blog-card-link {
	color: inherit;
	text-decoration: none;
	display: block;
}
.blog-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--color-gray-50);
}
.blog-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-gray-200);
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 8px;
}
.blog-card-meta time {
	font-size: 0.8rem;
	color: var(--color-gray-300);
}
.blog-card-reading {
	font-size: 0.75rem;
	color: var(--color-secondary);
	font-weight: 600;
	padding: 2px 10px;
	background: rgba(139,92,246,0.08);
	border-radius: 100px;
}
.blog-card-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--color-dark);
	line-height: 1.35;
}
.blog-card-excerpt {
	font-size: 0.88rem;
	color: var(--color-gray-400);
	line-height: 1.6;
	margin-bottom: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card-readmore {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-secondary);
	transition: color 0.2s, transform 0.2s;
	display: inline-block;
}
.blog-card:hover .blog-card-readmore { transform: translateX(4px); }

.blog-empty {
	text-align: center;
	padding: 80px 24px;
	color: var(--color-gray-400);
	font-size: 1.05rem;
}
.blog-pagination {
	margin-top: 48px;
	text-align: center;
}
.blog-pagination .nav-links { display: inline-flex; gap: 8px; }
.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-md);
	background: var(--color-white);
	color: var(--color-gray-400);
	font-size: 0.9rem;
	font-weight: 600;
	border: 1px solid var(--color-gray-50);
	transition: all 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
	background: var(--color-secondary);
	color: var(--color-white);
	border-color: var(--color-secondary);
}

@media (max-width: 768px) {
	.blog-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   GLASS MORPHISM
   =========================================== */
.service-card,
.pricing-card,
.testimonial-card,
.contact-card,
.blog-card,
.contact-form-wrapper,
.faq-item {
	background: rgba(255,255,255,0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.pricing-card--featured {
	background: rgba(255,255,255,0.75);
}
.faq-item {
	border-radius: var(--radius-lg);
}
.faq-item .faq-question {
	background: transparent;
}

/* ===========================================
   DARK MODE TOGGLE BUTTON
   =========================================== */
.dark-mode-toggle {
	background: none;
	border: 2px solid var(--color-gray-200);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: 8px;
	font-size: 1rem;
	line-height: 1;
	padding: 0;
	transition: all 0.3s ease;
	color: var(--color-gray-400);
	position: relative;
	flex-shrink: 0;
}
.dark-mode-toggle:hover {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	transform: rotate(15deg);
}
.toggle-sun, .toggle-moon {
	position: absolute;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
[data-theme="dark"] .toggle-sun { opacity: 1; transform: scale(1); }
[data-theme="dark"] .toggle-moon { opacity: 0; transform: scale(0.5); }
[data-theme="light"] .toggle-sun { opacity: 0; transform: scale(0.5); }
[data-theme="light"] .toggle-moon { opacity: 1; transform: scale(1); }

/* ===========================================
   DARK MODE PALETTE
   =========================================== */
[data-theme="dark"] {
	--color-primary: #e0dcee;
	--color-secondary: #a78bfa;
	--color-accent: #fb923c;
	--color-light: #0f0a2e;
	--color-dark: #f5f3ff;
	--color-gray-50: #1a1636;
	--color-gray-100: #2a2550;
	--color-gray-200: #3d3668;
	--color-gray-300: #6b648a;
	--color-gray-400: #9b94b3;
	--color-gray-500: #c1bbd6;
	--color-white: #1a1636;
	--color-glow-1: #8b5cf6;
	--color-glow-2: #a78bfa;
	--color-glow-3: #f97316;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
	--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
	--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -4px rgba(0,0,0,0.2);
	--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.2);
}
[data-theme="dark"] body {
	background-color: var(--color-light);
}
[data-theme="dark"] .section-divider svg path {
	fill: var(--color-light);
}
[data-theme="dark"] .site-header {
	background: rgba(15,10,46,0.9);
	border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .header-scrolled {
	background: rgba(15,10,46,0.95);
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
[data-theme="dark"] .service-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .faq-item {
	background: rgba(26,22,54,0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] .pricing-card--featured {
	background: rgba(26,22,54,0.75);
}
[data-theme="dark"] .cta-card {
	background: linear-gradient(135deg, #1a1636 0%, #2e1065 100%);
}
[data-theme="dark"] .addon-card {
	background: linear-gradient(135deg, #1a1636 0%, #2e1065 100%);
}
[data-theme="dark"] .stats-section {
	background: #1a1636;
}
[data-theme="dark"] .pricing-section::before,
[data-theme="dark"] .services-section::before,
[data-theme="dark"] .services-section::after {
	opacity: 0.6;
}
[data-theme="dark"] .grain-overlay {
	opacity: 0.04;
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
	background: rgba(26,22,54,0.6);
	color: var(--color-primary);
	border-color: var(--color-gray-200);
}
[data-theme="dark"] .primary-menu {
	background: var(--color-white);
}
[data-theme="dark"] .nav-toggle .hamburger,
[data-theme="dark"] .nav-toggle .hamburger::before,
[data-theme="dark"] .nav-toggle .hamburger::after {
	background: var(--color-primary);
}
[data-theme="dark"] .blog-card-image {
	background: var(--color-gray-100);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
	.hero-title { font-size: 2.8rem; }
	.hero-shape--1 { width: 200px; height: 200px; }
	.hero-shape--2 { width: 120px; height: 120px; }
	.services-grid,
	.testimonials-grid { grid-template-columns: repeat(2, 1fr); }
	.pricing-grid { grid-template-columns: 1fr 1fr; }
	.pricing-card--featured { transform: none; }
	.pricing-card--featured:hover { transform: translateY(-6px); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	:root { --header-height: 68px; }
	.section-title { font-size: 2rem; }
	.section-padding { padding: 56px 0; }
	.page-hero { padding-top: calc(56px + var(--header-height)); }
	.hero-section { min-height: auto; padding: 100px 0 60px; }
	.hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.hero-title { font-size: 2.2rem; }
	.hero-visual { display: none; }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.hero-shape { display: none; }
	.hero-bg { background-size: 300% 300%; }

	.primary-menu {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		flex-direction: column;
		background: var(--color-white);
		padding: 24px;
		gap: 16px;
		border-bottom: 1px solid var(--color-gray-100);
		box-shadow: var(--shadow-lg);
		transform: translateY(-120%);
		opacity: 0;
		transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		            opacity 0.3s ease;
		z-index: 999;
	}
	.primary-menu.active {
		transform: translateY(0);
		opacity: 1;
	}
	body.nav-open {
		overflow: hidden;
	}
	.nav-toggle { display: block; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1000; }
	.btn-nav-cta { display: none; }

	.services-grid,
	.testimonials-grid,
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
	.pricing-grid { grid-template-columns: 1fr; gap: 24px; }
	.contact-grid { grid-template-columns: 1fr; }
	.fallback-form .form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }

	.cta-card { padding: 40px 24px; }
	.cta-title { font-size: 1.8rem; }
	.addon-card { padding: 36px 24px; }

	.stat-sublabel { font-size: 0.8rem; }
	.section-badge::after { display: none; }

	/* ── MOBILE PERFORMANCE: kill GPU-heavy animations ── */
	.hero-bg { animation: none !important; }
	.hero-bg .glow-blob { filter: blur(40px); opacity: 0.25; animation: none !important; }
	.hero-shape { display: none; }
	.cta-card { animation: none !important; }
	.addon-card { animation: none !important; }
	.btn-nav-cta { animation: none !important; }
	.cta-card .btn-accent { animation: none !important; }
	.hero-illumination svg { animation: none !important; }

	.service-card::before { display: none; }
	.pricing-card::before { display: none; }
	.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
	.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
	.pricing-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
	.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

	/* Mobile auto-breathe on cards */
	.service-card, .pricing-card, .testimonial-card, .contact-card {
		animation: cardBreathe 5s ease-in-out infinite;
	}
	.service-card:nth-child(2), .pricing-card:nth-child(2) { animation-delay: 0.4s; }
	.service-card:nth-child(3), .pricing-card:nth-child(3) { animation-delay: 0.8s; }
	.testimonial-card:nth-child(2) { animation-delay: 0.5s; }
	.contact-card:nth-child(2) { animation-delay: 0.4s; }
	.contact-card:nth-child(3) { animation-delay: 0.8s; }
	.pricing-card--featured { animation: cardBreatheFeatured 4s ease-in-out infinite; }
	@keyframes cardBreathe {
		0%, 100% { transform: translateY(0); }
		50%      { transform: translateY(-4px); }
	}
	@keyframes cardBreatheFeatured {
		0%, 100% { transform: scale(1.04) translateY(0); }
		50%      { transform: scale(1.04) translateY(-4px); }
	}
	@media (min-width: 769px) {
		.service-card, .pricing-card, .testimonial-card, .contact-card,
		.pricing-card--featured { animation: none !important; }
	}

	.reveal-up,
	.reveal-left,
	.reveal-right,
	.reveal-scale,
	.service-card,
	.pricing-card,
	.testimonial-card,
	.contact-card,
	.stat-item,
	.addon-card {
		transition: opacity 0.4s ease, transform 0.4s ease;
		transition-delay: 0s !important;
	}

	.btn-primary:hover,
	.btn-accent:hover,
	.btn-outline:hover {
		transform: translateY(-1px);
		box-shadow: none;
	}
	.service-card:hover .service-icon { transform: scale(1.05) rotate(0deg); }
	.pricing-features li:hover { transform: none; }
}

@media (max-width: 480px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.services-grid,
	.testimonials-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   REDUCED MOTION — accessibility
   =========================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.reveal-up,
	.reveal-left,
	.reveal-right,
	.reveal-scale,
	.service-card,
	.pricing-card,
	.testimonial-card,
	.contact-card,
	.stat-item,
	.addon-card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.hero-word {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
	.hero-badge {
		opacity: 1 !important;
		transform: none !important;
	}
	.hero-subtitle,
	.hero-actions {
		opacity: 1 !important;
		animation: none !important;
	}
	.hero-visual {
		opacity: 1 !important;
		animation: none !important;
	}
	.btn-ripple { display: none !important; }
}
