/*
Theme Name: Vaia AI
Theme URI: https://meetvaia.com
Description: Custom Astra child theme for Vaia AI — AI business services. Light/white base with purple gradient design system.
Author: Vaia AI
Version: 1.0.17
Template: astra
Text Domain: youraisolution
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
	/* ── Light base ── */
	--ya-bg:              #fafafa;
	--ya-bg-2:            #f3f0ff;
	--ya-surface:         #ffffff;
	--ya-surface-2:       #f8f4ff;
	--ya-border:          rgba(124, 58, 237, 0.1);
	--ya-border-strong:   rgba(124, 58, 237, 0.35);

	/* ── Text ── */
	--ya-text:            #0d0d14;
	--ya-text-dim:        #3d3d56;
	--ya-text-muted:      #6b6b8a;

	/* ── Purple palette ── */
	--ya-blue:            #4c1d95;
	--ya-blue-2:          #6d28d9;
	--ya-indigo:          #7c3aed;
	--ya-purple:          #7c3aed;
	--ya-purple-2:        #a855f7;
	--ya-magenta:         #c026d3;
	--ya-cyan:            #7c3aed;

	/* ── Gradients ── */
	--ya-gradient-primary:      linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	--ya-gradient-soft:         linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(168,85,247,0.08) 100%);
	--ya-gradient-text:         linear-gradient(135deg, #7c3aed 0%, #a855f7 60%, #c026d3 100%);
	--ya-gradient-button:       linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	--ya-gradient-button-hover: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
	--ya-gradient-hero:         linear-gradient(135deg, #f3e8ff 0%, #ede9fe 50%, #faf5ff 100%);
	--ya-gradient-dark:         linear-gradient(135deg, #1e1e2e 0%, #2d1b69 100%);

	/* ── Shadows & glows ── */
	--ya-glow-blue:   0 4px 24px rgba(124, 58, 237, 0.2);
	--ya-glow-purple: 0 8px 32px rgba(168, 85, 247, 0.25);
	--ya-shadow-card: 0 4px 24px rgba(124, 58, 237, 0.08);

	/* ── Misc ── */
	--ya-radius:    14px;
	--ya-radius-lg: 22px;
	--ya-container: 1200px;
	--ya-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ya-font-display: 'Sora', 'Inter', sans-serif;
}

/* ============================================================
   ASTRA CONTAINER OVERRIDES — force page chrome to dark
   ============================================================ */
.ast-separate-container,
.ast-separate-container .ast-article-inner,
.ast-separate-container .ast-article-single:not(.ast-related-post),
.ast-separate-container .error-404,
.ast-separate-container .no-results,
.ast-box-layout.ast-plain-container .site-content,
.ast-padded-layout.ast-plain-container .site-content,
.ast-separate-container .ast-archive-description,
.ast-separate-container .comments-area,
.ast-separate-container.ast-two-container #secondary .widget,
.site-content,
#page,
.hfeed,
.site {
	background-color: transparent !important;
}

body.ast-theme-default,
body {
	background-color: var(--ya-bg) !important;
}

/* ============================================================
   BASE + RESET
   ============================================================ */
html { scroll-behavior: smooth; }
body,
body.ast-theme-default {
	background: var(--ya-bg);
	color: var(--ya-text);
	font-family: var(--ya-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::before { display: none; }

.site { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6,
.entry-title {
	font-family: var(--ya-font-display);
	color: var(--ya-text);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { color: var(--ya-text-dim); }

a { color: #a855f7; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #e879f9; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header,
.ast-primary-header-bar {
	background: rgba(255, 255, 255, 0.72) !important;
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(124, 58, 237, 0.15) !important;
	box-shadow: 0 2px 20px rgba(124, 58, 237, 0.06);
	transition: background 0.3s ease;
}

/* Frosted glass on scroll — slightly more opaque */
.site-header.scrolled,
.ast-primary-header-bar.scrolled {
	background: rgba(255, 255, 255, 0.92) !important;
}
.ast-site-identity .site-title,
.ast-site-identity .site-title a {
	font-family: var(--ya-font-display);
	font-weight: 700;
	font-size: 1.4rem;
	background: var(--ya-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
/* Hide the gradient text site title when a custom logo is present */
body.wp-custom-logo .ast-site-identity .site-title,
body.wp-custom-logo .ast-site-identity .site-title a { display: none !important; }

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo,
.site-logo-img .custom-logo {
	max-height: 110px !important;
	width: auto !important;
	height: auto !important;
}
.ast-site-identity { padding: 10px 0 !important; }

.site-description,
.ast-site-identity .site-description { display: none !important; }

.main-navigation a,
.main-header-menu > .menu-item > a {
	color: var(--ya-text) !important;
	font-weight: 500;
	font-size: 0.96rem;
	transition: color 0.2s ease;
}
.main-navigation a:hover,
.main-header-menu a:hover { color: #a855f7 !important; }
.main-header-menu .sub-menu { background: var(--ya-surface) !important; border: 1px solid var(--ya-border); border-radius: 10px; padding: 6px; }
.main-header-menu .sub-menu a { color: var(--ya-text-dim) !important; border-radius: 6px; }
.main-header-menu .sub-menu a:hover { background: var(--ya-surface-2); color: var(--ya-text) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.ya-btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"],
.wpcf7-submit {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 14px 28px !important;
	background: var(--ya-gradient-button) !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 0.98rem !important;
	border: 0 !important;
	border-radius: 100px !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
	box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.6);
}
.ya-btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover {
	background: var(--ya-gradient-button-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -10px rgba(168, 85, 247, 0.8);
	color: #fff !important;
}
.ya-btn--ghost {
	background: transparent !important;
	border: 1px solid var(--ya-border-strong) !important;
	box-shadow: none;
}
.ya-btn--ghost:hover {
	background: rgba(124, 58, 237, 0.15) !important;
	box-shadow: none;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.ya-container { max-width: var(--ya-container); margin: 0 auto; padding: 0 24px; }
.ya-section { padding: 100px 0; position: relative; }
.ya-section--sm { padding: 70px 0; }
.ya-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: var(--ya-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 16px;
}
.ya-gradient-text {
	background: var(--ya-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ============================================================
   HERO
   ============================================================ */
.ya-hero {
	padding: 140px 0 120px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.ya-hero::after {
	content: "";
	position: absolute;
	width: 600px;
	height: 600px;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
	filter: blur(80px);
	z-index: -1;
	animation: ya-pulse 8s ease-in-out infinite;
}
@keyframes ya-pulse {
	0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
	50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
.ya-hero h1 {
	font-size: clamp(2.8rem, 6vw, 5rem);
	margin-bottom: 24px;
}
.ya-hero p.lead {
	font-size: clamp(1.1rem, 1.4vw, 1.3rem);
	max-width: 720px;
	margin: 0 auto 40px;
	color: var(--ya-text-dim);
}
.ya-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================================
   GRID + CARDS
   ============================================================ */
.ya-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ya-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ya-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
	.ya-grid--3, .ya-grid--2 { grid-template-columns: 1fr; }
}

.ya-card {
	position: relative;
	padding: 32px;
	background: linear-gradient(145deg, rgba(17, 20, 50, 0.5) 0%, rgba(10, 12, 29, 0.75) 100%);
	border: 1px solid var(--ya-border);
	border-radius: var(--ya-radius-lg);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}
.ya-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ya-gradient-soft);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}
.ya-card:hover {
	transform: translateY(-6px);
	border-color: var(--ya-border-strong);
	box-shadow: var(--ya-shadow-card);
}
.ya-card:hover::before { opacity: 1; }
.ya-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--ya-gradient-button);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 1.6rem;
	box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.6);
}
.ya-card h3 {
	margin: 0 0 10px;
	font-size: 1.35rem;
}
.ya-card p {
	margin: 0 0 18px;
	font-size: 0.97rem;
	line-height: 1.6;
}
.ya-card__link {
	font-weight: 600;
	color: #c084fc;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ya-card__link::after {
	content: "→";
	transition: transform 0.2s ease;
}
.ya-card__link:hover::after { transform: translateX(4px); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.ya-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding: 48px;
	background: linear-gradient(145deg, rgba(17, 20, 50, 0.7) 0%, rgba(10, 12, 29, 0.85) 100%);
	border: 1px solid var(--ya-border);
	border-radius: var(--ya-radius-lg);
	text-align: center;
}
@media (max-width: 900px) { .ya-stats { grid-template-columns: repeat(2, 1fr); } }
.ya-stat__value {
	display: block;
	font-family: var(--ya-font-display);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 700;
	background: var(--ya-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.ya-stat__label { color: var(--ya-text-muted); font-size: 0.92rem; margin-top: 6px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.ya-cta {
	padding: 72px 48px;
	text-align: center;
	background: var(--ya-gradient-primary);
	border-radius: var(--ya-radius-lg);
	position: relative;
	overflow: hidden;
}
.ya-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0%, transparent 50%);
}
.ya-cta > * { position: relative; z-index: 1; }
.ya-cta h2 { color: #fff; margin-bottom: 14px; }
.ya-cta p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 28px; font-size: 1.08rem; }
.ya-cta .ya-btn { background: #fff !important; color: #4f46e5 !important; }
.ya-cta .ya-btn:hover { background: #f5f3ff !important; color: #7c3aed !important; }

/* ============================================================
   CHECKLIST / FEATURE LIST
   ============================================================ */
.ya-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}
.ya-checklist li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	color: var(--ya-text-dim);
}
.ya-checklist li::before {
	content: "✓";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ya-gradient-button);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	margin-top: 2px;
}

/* ============================================================
   TWO-COLUMN
   ============================================================ */
.ya-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
@media (max-width: 900px) { .ya-split { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   CONTACT FORM (CF7)
   ============================================================ */
.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form label {
	display: block;
	font-weight: 600;
	color: var(--ya-text);
	margin-bottom: 8px;
	font-size: 0.92rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 14px 18px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--ya-border);
	border-radius: 10px;
	color: var(--ya-text);
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: var(--ya-purple-2);
	box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
.ast-small-footer-wrap,
.site-below-footer-wrap {
	background: var(--ya-bg-2) !important;
	border-top: 1px solid var(--ya-border);
	color: var(--ya-text-dim);
}
.site-footer a { color: var(--ya-text-dim); }
.site-footer a:hover { color: #a855f7; }

/* ============================================================
   PAGE / POST CONTENT
   ============================================================ */
.entry-content h2 { margin: 48px 0 16px; }
.entry-content h3 { margin: 32px 0 12px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { color: var(--ya-text-dim); margin-bottom: 20px; }
.entry-content blockquote {
	padding: 20px 28px;
	border-left: 3px solid var(--ya-purple);
	background: rgba(124, 58, 237, 0.08);
	border-radius: 0 10px 10px 0;
	color: var(--ya-text);
	font-style: italic;
	margin: 28px 0;
}

/* Blog archive cards */
.blog .post,
.archive .post {
	padding: 28px;
	background: linear-gradient(145deg, rgba(17, 20, 50, 0.5) 0%, rgba(10, 12, 29, 0.75) 100%);
	border: 1px solid var(--ya-border);
	border-radius: var(--ya-radius-lg);
	margin-bottom: 24px;
}
.blog .post .entry-title a,
.archive .post .entry-title a { color: var(--ya-text) !important; }
.blog .post .entry-title a:hover,
.archive .post .entry-title a:hover {
	background: var(--ya-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Hide default page title on full-width templates we customize */
.page-template-ya-full .entry-header { display: none; }

/* Our pages use the [yai_hero] shortcode or custom hero markup for titles —
   hide Astra's default <h1 class="entry-title"> on all static pages. */
.page .entry-header,
.page .ast-article-single > .entry-title,
.page .ast-article-single .entry-title,
.page h1.entry-title,
.single-page h1.entry-title,
body.home h1.entry-title,
.ast-single-post-order-none .entry-header {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}


/* Nav link colors for light header */
.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link,
.ast-primary-header-bar .main-navigation .menu-item > .menu-link,
.main-header-bar .main-navigation a,
.ast-header-custom-item a,
#masthead .main-navigation a {
	color: #1e1b2e !important;
	font-weight: 500;
}
.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link:hover,
.main-header-bar .main-navigation a:hover {
	color: #7c3aed !important;
}

/* Mobile menu toggle icon — dark on light bg */
.ast-mobile-menu-buttons .menu-toggle .mobile-menu-wrap .menu-toggle-icon,
.ast-mobile-menu-buttons .menu-toggle .mobile-menu-wrap .menu-toggle-icon::before,
.ast-mobile-menu-buttons .menu-toggle .mobile-menu-wrap .menu-toggle-icon::after {
	background: #1e1b2e !important;
}


/* Nav CTA button */
.yai-nav-cta {
  display: inline-block !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  margin-left: 12px;
  box-shadow: 0 3px 14px rgba(124,58,237,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.yai-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4) !important;
  color: #fff !important;
}
.main-header-bar .yai-nav-cta,
.ast-primary-header-bar .yai-nav-cta { color: #fff !important; }


/* === Header fixes === */
/* Hide Astra search icon/button */
.ast-search-icon,
.ast-search-menu-icon,
.astra-search-icon,
.main-header-bar .ast-search-icon,
.ast-header-search,
.ast-search-cta,
.ast-header-button-1,
.header-button { display: none !important; }

/* Refined Free AI Audit nav CTA */
.yai-nav-cta {
  display: inline-block !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  margin-left: 14px !important;
  box-shadow: 0 4px 14px rgba(124,58,237,0.25) !important;
  border: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.yai-nav-cta:hover {
  opacity: 0.92 !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}
.yai-nav-cta-wrap { list-style: none !important; display: inline-flex !important; align-items: center !important; }
.yai-nav-cta-wrap::before, .yai-nav-cta-wrap::after { display: none !important; }


/* Hide WP admin bar search (only visible to logged-in admins) */
#wp-admin-bar-search,
#wpadminbar #wp-admin-bar-search { display: none !important; }

/* Force Free AI Audit text WHITE — most aggressive override */
li.yai-nav-cta-wrap a.yai-nav-cta,
li.yai-nav-cta-wrap a.yai-nav-cta:link,
li.yai-nav-cta-wrap a.yai-nav-cta:visited,
li.yai-nav-cta-wrap a.yai-nav-cta:hover,
li.yai-nav-cta-wrap a.yai-nav-cta:active,
.main-header-bar .yai-nav-cta,
.ast-primary-header-bar .yai-nav-cta,
nav .yai-nav-cta,
.yai-nav-cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  background-image: linear-gradient(135deg, #7c3aed, #a855f7) !important;
}


/* Center the primary nav menu */
.ast-primary-header-bar .ast-builder-grid-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}
.ast-primary-header-bar .site-header-primary-section-left { justify-self: start !important; }
.ast-primary-header-bar .site-header-primary-section-right { justify-self: end !important; }
.ast-primary-header-bar .site-header-primary-section-primary,
.ast-primary-header-bar .ast-builder-menu,
.ast-primary-header-bar .main-header-bar-navigation { justify-self: center !important; }
.main-header-menu { justify-content: center !important; }





/* Pin Free AI Audit to absolute right of header */
.ast-primary-header-bar { position: relative !important; }
.yai-nav-cta-wrap {
  position: absolute !important;
  right: 2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Hide Free AI Audit from the centered menu list (let absolute clone handle right-side) */
/* Add space so Contact doesn't sit under the absolute CTA */
.ast-primary-header-bar .main-header-menu { padding-right: 200px !important; }


/* Pin CTA to the very right edge of the header */
.main-header-bar-wrap, .ast-main-header-wrap, header { position: relative !important; }
.yai-nav-cta-wrap {
  position: fixed !important;
  right: 120px !important;
  top: 14px !important;
  z-index: 9999 !important;
  transform: none !important;
  margin: 0 !important;
}
/* When admin bar is showing, push down */
body.admin-bar .yai-nav-cta-wrap { top: 46px !important; }


/* Bigger room for stat numbers in the dark Why Vaia AI section */
.vaia-stat-item-num {
  min-width: 130px !important;
  font-size: 1.5rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.vaia-stat-item { gap: 1.25rem !important; }
.vaia-stat-item-text { min-width: 0 !important; flex: 1 !important; }
.vaia-stat-item-text strong { white-space: normal !important; word-break: normal !important; }


/* Chatbot widget — purple-tinted background to match site palette */
#yai-chat-window {
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%) !important;
  border: 1px solid rgba(124, 58, 237, 0.35) !important;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4) !important;
}
#yai-chat-window .yai-chat-header {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
}
#yai-chat-window .yai-msg.bot {
  background: rgba(124, 58, 237, 0.18) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  color: #fafafa !important;
}
#yai-chat-window .yai-msg.user {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
}
#yai-chat-window .yai-chat-input-wrap, #yai-chat-window .yai-chat-input {
  background: rgba(45, 27, 78, 0.6) !important;
  color: #fafafa !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
}


/* ─────────────────────────────────────────────────────────
   VAIA AI — SITE-WIDE PURPLE THEME (applies to all pages)
   ───────────────────────────────────────────────────────── */

/* Subtle lavender mesh background on all inner pages */
body:not(.home) .ast-container,
body:not(.home) .site-content {
  position: relative;
}
body:not(.home) .site-content::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 58, 237, 0.07), transparent 45%),
    #fafafa;
  z-index: -1;
  pointer-events: none;
}

/* H1 page titles — gradient purple, Sora, large */
.entry-content h1,
.entry-title,
article h1:first-of-type {
  font-family: 'Sora', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  line-height: 1.05 !important;
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* H2 section headings — Sora, dark navy */
.entry-content h2 {
  font-family: 'Sora', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  color: #1a0f2e !important;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* H3 — Sora */
.entry-content h3 {
  font-family: 'Sora', system-ui, sans-serif !important;
  font-weight: 700 !important;
  color: #2d1b4e !important;
  letter-spacing: -0.005em;
}

/* Body copy — better legibility */
.entry-content p,
.entry-content li {
  color: #475569 !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
}

/* "Eyebrow" labels (small uppercase before headings) — purple pill */
.entry-content p strong:first-child,
.entry-content small,
.eyebrow {
  color: #7c3aed !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8125rem;
}

/* Buttons & CTAs — purple gradient pill */
.entry-content a.wp-block-button__link,
.entry-content .wp-block-button__link,
.entry-content a[class*="button"],
.entry-content a[href*="calendly"],
.entry-content a[href^="tel:"] {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  color: #fff !important;
  padding: 0.875rem 1.75rem !important;
  border-radius: 8px !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35) !important;
  transition: transform .2s, box-shadow .2s !important;
  border: none !important;
}
.entry-content a.wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.entry-content a[class*="button"]:hover,
.entry-content a[href*="calendly"]:hover,
.entry-content a[href^="tel:"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45) !important;
  color: #fff !important;
}

/* Cards — auto-style any plain block that contains an h3 + paragraph */
.entry-content .wp-block-column,
.entry-content .wp-block-group {
  border-radius: 16px;
}

/* Inline emoji / icon "cards" — give them a soft purple tint */
.entry-content > div:has(> h3),
.entry-content article {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.entry-content > div:has(> h3):hover,
.entry-content article:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12);
}

/* Initials avatar (e.g. "RM" on About page) — purple gradient circle */
.entry-content > p:first-child:not(:has(*)),
.author-initials,
.avatar-initials {
  display: inline-flex;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(124,58,237,0.35);
}

/* "Ready to..." CTA banner sections at bottom of pages — purple gradient */
.entry-content > div:last-child:has(h2),
.entry-content > section:last-child {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}
.entry-content > div:last-child:has(h2) h2,
.entry-content > section:last-child h2 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.entry-content > div:last-child:has(h2) p,
.entry-content > section:last-child p {
  color: rgba(255,255,255,0.92) !important;
}
.entry-content > div:last-child:has(h2) a,
.entry-content > section:last-child a {
  background: #fff !important;
  color: #7c3aed !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.entry-content > div:last-child:has(h2) a:hover,
.entry-content > section:last-child a:hover {
  color: #6d28d9 !important;
}

/* Service icon emojis — bigger, with soft purple bg */
.entry-content img[alt*="🦷"], .entry-content img[alt*="🔧"],
.entry-content img[alt*="⚖"], .entry-content img[alt*="🏠"],
.entry-content img[alt*="🏢"], .entry-content img[alt*="🎙"],
.entry-content img[alt*="💻"], .entry-content img[alt*="📈"],
.entry-content img[alt*="🎯"], .entry-content img[alt*="📱"],
.entry-content img[alt*="🧠"], .entry-content img[alt*="❄"],
.entry-content img[alt*="🏡"], .entry-content img[alt*="🚀"],
.entry-content img[alt*="📍"], .entry-content img[alt*="🛠"],
.entry-content img[alt*="✅"], .entry-content img[alt*="📅"] {
  font-size: 2.5rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(168,85,247,0.1));
  border-radius: 12px;
  padding: 0.5rem;
}


/* ─── Force light cards even when legacy inline styles set dark bg ─── */
.entry-content article,
.entry-content > div[style*="background"]:has(h3),
.entry-content > div[style*="background-color"]:has(h3) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(168, 85, 247, 0.18) !important;
  color: #334155 !important;
}
.entry-content article *,
.entry-content > div[style*="background"]:has(h3) *,
.entry-content > div[style*="background-color"]:has(h3) * {
  color: inherit !important;
}
.entry-content article h3,
.entry-content > div[style*="background"]:has(h3) h3,
.entry-content > div[style*="background-color"]:has(h3) h3 {
  color: #1a0f2e !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
}
.entry-content article p,
.entry-content article li,
.entry-content > div[style*="background"]:has(h3) p,
.entry-content > div[style*="background"]:has(h3) li {
  color: #475569 !important;
}
.entry-content article a,
.entry-content > div[style*="background"]:has(h3) a {
  color: #7c3aed !important;
  font-weight: 600;
}
/* Reduce big vertical gaps */
.entry-content > p:empty { display: none !important; }
.entry-content > br { display: none; }
.entry-content > .wp-block-spacer { height: 1.5rem !important; }


/* ── Force light card style site-wide for service/feature cards ── */
.entry-content article,
.entry-content article[style] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(168, 85, 247, 0.18) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06) !important;
  color: #475569 !important;
  transition: transform .25s, box-shadow .25s, border-color .25s !important;
}
.entry-content article:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.14) !important;
}
.entry-content article h3,
.entry-content article h4 {
  color: #1a0f2e !important;
  background: none !important;
  -webkit-text-fill-color: #1a0f2e !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  margin: 0.75rem 0 0.5rem !important;
}
.entry-content article p,
.entry-content article li,
.entry-content article span {
  color: #475569 !important;
}
.entry-content article a {
  color: #7c3aed !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.entry-content article a:hover { color: #6d28d9 !important; transform: none !important; box-shadow: none !important; }
.entry-content article img,
.entry-content article .emoji {
  font-size: 2.25rem !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-block !important;
}


/* ─── FIX: undo over-greedy purple banner that turned About bg purple ─── */
.entry-content > div:last-child:has(h2),
.entry-content > section:last-child {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
}
.entry-content > div:last-child:has(h2) h2,
.entry-content > section:last-child h2 {
  color: #1a0f2e !important;
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 50%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.entry-content > div:last-child:has(h2) p,
.entry-content > section:last-child p {
  color: #475569 !important;
}
.entry-content > div:last-child:has(h2) a,
.entry-content > section:last-child a {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
}

/* New: explicit CTA banner — only when class added or specific id */
.cta-banner, .vaia-cta-banner, [class*="ready-to"] {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

/* Ensure About-style H1 is always readable on light background */
.entry-content h1,
.entry-title {
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 50%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}


/* ─── About: Why Vaia AI feature cards → light/white style ─── */
.entry-content div[style*="background"]:has(> h3),
.entry-content div[style*="background"]:has(> h4) {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08) !important;
  color: #1a0f2e !important;
  padding: 2rem !important;
}
.entry-content div[style*="background"]:has(> h3) h3,
.entry-content div[style*="background"]:has(> h4) h4 {
  color: #1a0f2e !important;
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 50%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.entry-content div[style*="background"]:has(> h3) p,
.entry-content div[style*="background"]:has(> h4) p {
  color: #475569 !important;
}


/* ─── Portfolio: force ALL inline-styled dark blocks to white card style ─── */
.entry-content [style*="background:#1"],
.entry-content [style*="background: #1"],
.entry-content [style*="background:#0"],
.entry-content [style*="background: #0"],
.entry-content [style*="background:#2"],
.entry-content [style*="background: #2"],
.entry-content [style*="background-color:#1"],
.entry-content [style*="background-color: #1"],
.entry-content [style*="background-color:#0"],
.entry-content [style*="background-color: #0"],
.entry-content [style*="background-color:#2"],
.entry-content [style*="background-color: #2"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08) !important;
  color: #1a0f2e !important;
}
.entry-content [style*="background:#1"] *,
.entry-content [style*="background: #1"] *,
.entry-content [style*="background:#0"] *,
.entry-content [style*="background: #0"] *,
.entry-content [style*="background:#2"] *,
.entry-content [style*="background: #2"] *,
.entry-content [style*="background-color:#1"] *,
.entry-content [style*="background-color: #1"] *,
.entry-content [style*="background-color:#0"] *,
.entry-content [style*="background-color: #0"] *,
.entry-content [style*="background-color:#2"] *,
.entry-content [style*="background-color: #2"] * {
  color: #475569 !important;
}
.entry-content [style*="background:#1"] h1,
.entry-content [style*="background: #1"] h1,
.entry-content [style*="background:#1"] h2,
.entry-content [style*="background: #1"] h2,
.entry-content [style*="background:#1"] h3,
.entry-content [style*="background: #1"] h3,
.entry-content [style*="background:#1"] h4,
.entry-content [style*="background: #1"] h4,
.entry-content [style*="background:#0"] h1,
.entry-content [style*="background: #0"] h1,
.entry-content [style*="background:#0"] h2,
.entry-content [style*="background: #0"] h2,
.entry-content [style*="background:#0"] h3,
.entry-content [style*="background: #0"] h3,
.entry-content [style*="background:#0"] h4,
.entry-content [style*="background: #0"] h4,
.entry-content [style*="background:#2"] h1,
.entry-content [style*="background: #2"] h1,
.entry-content [style*="background:#2"] h2,
.entry-content [style*="background: #2"] h2,
.entry-content [style*="background:#2"] h3,
.entry-content [style*="background: #2"] h3,
.entry-content [style*="background:#2"] h4,
.entry-content [style*="background: #2"] h4 {
  color: #1a0f2e !important;
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 50%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.entry-content [style*="background:#1"] a:not(.button),
.entry-content [style*="background: #1"] a:not(.button),
.entry-content [style*="background:#0"] a:not(.button),
.entry-content [style*="background: #0"] a:not(.button),
.entry-content [style*="background:#2"] a:not(.button),
.entry-content [style*="background: #2"] a:not(.button) {
  color: #7c3aed !important;
}


/* ─── Blog archive: light card style for post tiles ─── */
.blog .ast-article-post,
.archive .ast-article-post,
.blog article.post,
.archive article.post,
.ast-archive-description ~ * article,
.blog .ast-row article,
.archive .ast-row article {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.15) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08) !important;
  padding: 1.75rem !important;
  margin-bottom: 1.5rem !important;
  transition: transform .25s, box-shadow .25s !important;
}
.blog .ast-article-post:hover,
.archive .ast-article-post:hover,
.blog article.post:hover,
.archive article.post:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 35px rgba(124, 58, 237, 0.18) !important;
}
.blog .ast-article-post *,
.archive .ast-article-post *,
.blog article.post *,
.archive article.post * {
  color: #1a0f2e !important;
  background: transparent !important;
}
.blog .entry-title,
.archive .entry-title,
.blog .entry-title a,
.archive .entry-title a {
  color: #1a0f2e !important;
  background: linear-gradient(135deg, #1a0f2e 0%, #7c3aed 60%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
}
.blog .entry-meta, .archive .entry-meta,
.blog .entry-meta *, .archive .entry-meta *,
.blog .ast-taxonomy-container a,
.archive .ast-taxonomy-container a {
  color: #7c3aed !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}
.blog .entry-content, .archive .entry-content,
.blog .entry-content *, .archive .entry-content *,
.blog .entry-summary, .archive .entry-summary,
.blog .entry-summary * {
  color: #475569 !important;
}
.blog .read-more a, .archive .read-more a,
.blog .ast-button, .archive .ast-button {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  display: inline-block !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}


/* ─── Secondary / outline buttons (e.g. "All Services") readable on light bg ─── */
.entry-content a.btn-secondary,
.entry-content .btn-outline,
.entry-content a.button-secondary,
.entry-content .ya-btn-secondary,
.entry-content .ya-button--secondary,
.entry-content a[class*="secondary"],
.entry-content a[class*="outline"],
.entry-content a.button:not(.button-primary):not([class*="gradient"]):not([class*="primary"]) {
  background: #ffffff !important;
  color: #7c3aed !important;
  border: 2px solid #7c3aed !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all .25s !important;
}
.entry-content a.btn-secondary:hover,
.entry-content .btn-outline:hover,
.entry-content a.button-secondary:hover,
.entry-content .ya-btn-secondary:hover,
.entry-content .ya-button--secondary:hover,
.entry-content a[class*="secondary"]:hover,
.entry-content a[class*="outline"]:hover {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(124,58,237,0.30) !important;
}

/* Catch-all: any button-style link with white/transparent bg + light text → make purple text */
.entry-content a[style*="background:#fff"],
.entry-content a[style*="background:#ffffff"],
.entry-content a[style*="background: #fff"],
.entry-content a[style*="background:transparent"],
.entry-content a[style*="background: transparent"] {
  color: #7c3aed !important;
  border: 2px solid #7c3aed !important;
}


/* ─── Fix legacy ya-btn buttons across all service pages ─── */
.entry-content a.ya-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 30px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 8px 22px rgba(124,58,237,0.25) !important;
  transition: all .25s !important;
}
.entry-content a.ya-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(124,58,237,0.40) !important;
}
.entry-content a.ya-btn.ya-btn--ghost,
.entry-content a.ya-btn--ghost {
  background: #ffffff !important;
  color: #7c3aed !important;
  border: 2px solid #7c3aed !important;
  box-shadow: 0 4px 14px rgba(124,58,237,0.10) !important;
}
.entry-content a.ya-btn.ya-btn--ghost:hover,
.entry-content a.ya-btn--ghost:hover {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}


/* Stronger contrast for ghost button on lavender hero */
.entry-content a.ya-btn.ya-btn--ghost,
.entry-content a.ya-btn--ghost {
  background: rgba(124,58,237,0.06) !important;
  color: #6d28d9 !important;
  border: 2px solid #7c3aed !important;
  box-shadow: 0 6px 18px rgba(124,58,237,0.18) !important;
  font-weight: 700 !important;
}


/* ─── Global ya-btn rules (NOT scoped to .entry-content) ─── */
a.ya-btn, .ya-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 30px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 8px 22px rgba(124,58,237,0.25) !important;
  transition: all .25s !important;
}
a.ya-btn:hover, .ya-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(124,58,237,0.40) !important;
}
a.ya-btn.ya-btn--ghost, .ya-btn.ya-btn--ghost, a.ya-btn--ghost, .ya-btn--ghost {
  background: #ffffff !important;
  background-image: none !important;
  color: #6d28d9 !important;
  border: 2px solid #7c3aed !important;
  box-shadow: 0 6px 18px rgba(124,58,237,0.18) !important;
}
a.ya-btn.ya-btn--ghost:hover, .ya-btn.ya-btn--ghost:hover {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}


/* ─── v1.0.17: ghost button bumped to high-contrast ─── */
a.ya-btn.ya-btn--ghost,
.ya-btn.ya-btn--ghost,
a.ya-btn--ghost,
.ya-btn--ghost {
  background: #ffffff !important;
  background-image: none !important;
  color: #4c1d95 !important;
  border: 2.5px solid #5b21b6 !important;
  box-shadow: 0 6px 18px rgba(124,58,237,0.20), inset 0 0 0 1px rgba(124,58,237,0.05) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  letter-spacing: 0.01em !important;
}
a.ya-btn.ya-btn--ghost:hover,
.ya-btn.ya-btn--ghost:hover,
a.ya-btn--ghost:hover,
.ya-btn--ghost:hover {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  background-image: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(124,58,237,0.40) !important;
}
