 

/* =========================================================
   Hero
   ========================================================= */

.irisai-hero {
	text-align: center;
	margin-bottom: 32px;
	opacity: 1;
}

.irisai-hero .irisai-h1 {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

.irisai-hero .irisai-grad {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.irisai-hero .irisai-sub {
	max-width: 640px;
	margin: 1rem auto;
	font-size: 18px;
	line-height: 1.6;
	opacity: 0.75;
}

.irisai-landing br{
    display: none;
}
/* =========================================================
   Input Bar (Preview / Disabled)
   ========================================================= */

.irisai-hero .irisai-bar-input {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
}

.irisai-hero .irisai-bar-input input {
	width: 100%;
	padding: 16px 48px 16px 16px;
	font-size: 16px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 0.9);
}

.irisai-hero .irisai-enter {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	opacity: 0.4;
	pointer-events: none;
}


/* =========================================================
   Button (Preview)
   ========================================================= */

.irisai-hero  .irisai-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 15px;
	border-radius: 14px;
	border: none;
	background: #2563eb;
	color: #fff;
	font-weight: 600;
	box-sizing: border-box;
}

.irisai-hero  .irisai-btn-icon {
	font-size: 18px;
}


/* =========================================================
   Suggestion Chips
   ========================================================= */

.irisai-hero .irisai-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;

}

.irisai-hero .irisai-chip {
    padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 500;
    	margin-top: 1rem;
}


/* =========================================================
   Disclaimer Text
   ========================================================= */

.irisai-landing .has-small-font-size {
	font-size: 13px;
	margin-top: 12px;
}


/* =========================================================
   Editor / Preview Safety
   ========================================================= */

.editor-styles-wrapper .irisai-btn,
.editor-styles-wrapper .irisai-chip,
.editor-styles-wrapper input {
	pointer-events: none;
}


/* =========================================================
   Responsive Tweaks
   ========================================================= */

@media (max-width: 768px) {

	.irisai-hero .irisai-bar {
		flex-direction: column;
	}

	.irisai-hero .irisai-btn {
		width: 100%;
		justify-content: center;
	}

	.irisai-hero .irisai-chip {
		flex: 1;
		min-width: calc(50% - 6px);
		text-align: center;
	}
}

@media (prefers-color-scheme: dark) {

	.irisai-hero .irisai-bar {
		background: linear-gradient(
			135deg,
			rgba(0, 0, 0, 0.55),
			rgba(0, 0, 0, 0.35)
		);
		border-color: rgba(255, 255, 255, 0.15);
	}

	.irisai-hero .irisai-bar-input input,
	.irisai-hero .irisai-chip {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.15);
		color: inherit;
	}
}


 

/* =========================================================
   Input Bar (Final Block Styles)
   ========================================================= */

html body .irisai-hero .irisai-bar {
	display: flex;
	gap: 12px;
	align-items: center;
	background: #fff;
	padding: 12px 14px;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	max-width: 640px;
	margin: 0 auto;
}

.irisai-hero .irisai-input {
	flex: 1;
	padding: 10px 14px;
	color: #9ca3af;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin: 0;
	font-size: 15px;
	display: flex;
	height: 35px;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
}

.irisai-hero .irisai-btn .wp-element-button {
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 600;
	background-color: transparent;
}

.irisai-hero .irisai-chips {
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.irisai-hero .irisai-chips .wp-element-button {
	background-color: transparent;
	color: #000;
}
/* =========================================================
   Chat widget
   ========================================================= */
.irisai-widget-header-text h3{
    color: #fff;
}

/* =========================================================
   Asterisk Heading Style
   ========================================================= */

/* Text asterisk with custom SVG */
.wp-block-heading.is-style-asterisk::before {
	content: '';
 
	width: 1.5rem;
	height: 1.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='2' x2='12' y2='22'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3Cline x1='19.07' y1='4.93' x2='4.93' y2='19.07'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
	clip-path: none;
	background-color: transparent;
}

.wp-block-heading.is-style-asterisk:hover::before {
	transform: rotate(180deg) scale(1.1);
	filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.4));
}

/* Main heading gets continuous rotation */
.wp-block-heading.is-style-asterisk.has-x-large-font-size::before {
	animation: asteriskRotate 8s linear infinite;
}

@keyframes asteriskRotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* =========================================================
   Modern enhancements — added in v1.1.0
   Smooth, contemporary polish on top of the existing theme.
   Every rule here is additive; remove this block to revert.
   ========================================================= */

:root {
	--iris-radius-sm: 8px;
	--iris-radius:    14px;
	--iris-radius-lg: 22px;
	--iris-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
	--iris-shadow:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
	--iris-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
	--iris-ring:      0 0 0 3px rgba(124, 58, 237, 0.28);
	--iris-ease:      cubic-bezier(0.22, 1, 0.36, 1);
	--iris-grad:      linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

/* Smoother type rendering on Mac + most modern browsers */
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

body {
	font-feature-settings: "ss01", "kern", "liga", "calt";
	letter-spacing: -0.005em;
}

/* Headings get tighter tracking + balanced line wrap (where supported) */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Selection feels branded, not browser-default */
::selection {
	background: rgba(37, 99, 235, 0.18);
	color: inherit;
}

/* A nicer focus ring for keyboard users (preserved everywhere) */
*:focus-visible {
	outline: none;
	box-shadow: var(--iris-ring);
	border-radius: 8px;
	transition: box-shadow 120ms var(--iris-ease);
}

/* Animated link underlines on body content */
.wp-block-post-content a,
.entry-content a,
article a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 220ms var(--iris-ease), color 180ms var(--iris-ease);
	padding-bottom: 2px;
}
.wp-block-post-content a:hover,
.entry-content a:hover,
article a:hover {
	background-size: 100% 1px;
}

/* Buttons — softer corners, subtle gradient, lift on hover */
.wp-block-button .wp-block-button__link,
.wp-element-button {
	border-radius: var(--iris-radius);
	font-weight: 600;
	letter-spacing: 0.005em;
	box-shadow: var(--iris-shadow-sm);
	transition: transform 220ms var(--iris-ease),
				box-shadow 220ms var(--iris-ease),
				filter 220ms var(--iris-ease);
}
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
	transform: translateY(-1px);
	box-shadow: var(--iris-shadow);
	filter: brightness(1.05);
}
.wp-block-button .wp-block-button__link:active,
.wp-element-button:active {
	transform: translateY(0);
	box-shadow: var(--iris-shadow-sm);
}

/* Branded gradient button — opt-in via .is-style-iris-gradient */
.wp-block-button.is-style-iris-gradient .wp-block-button__link,
.is-style-iris-gradient.wp-element-button {
	background: var(--iris-grad);
	color: #fff;
	border: 0;
}

/* Outline button variant — opt-in via .is-style-iris-outline */
.wp-block-button.is-style-iris-outline .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 1px solid currentColor;
}

/* Card-like blocks (Group with background) lift gently on hover */
.wp-block-group.has-background,
.wp-block-post-template > li,
.wp-block-query-pagination,
.wp-block-cover {
	border-radius: var(--iris-radius);
	transition: box-shadow 240ms var(--iris-ease),
				transform 240ms var(--iris-ease);
}
.wp-block-post-template > li:hover {
	transform: translateY(-2px);
	box-shadow: var(--iris-shadow-lg);
}

/* Images get nicer corners + a tiny shadow */
.wp-block-image img,
.wp-block-post-featured-image img,
figure img {
	border-radius: var(--iris-radius-sm);
	box-shadow: var(--iris-shadow-sm);
}

/* Cover blocks: stronger overlay + softer corners */
.wp-block-cover {
	overflow: hidden;
}
.wp-block-cover__background {
	opacity: 0.65 !important;
}

/* Pull-quote — modern editorial */
.wp-block-pullquote {
	border: 0;
	padding: var(--wp--preset--spacing--40, 2rem) 0;
}
.wp-block-pullquote blockquote {
	font-family: var(--wp--preset--font-family--heading, Cardo, serif);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-style: italic;
	line-height: 1.25;
	letter-spacing: -0.02em;
	position: relative;
	padding-left: 1.5rem;
}
.wp-block-pullquote blockquote::before {
	content: '\201C';
	position: absolute;
	left: -0.5rem;
	top: -1rem;
	font-size: 3em;
	line-height: 1;
	background: var(--iris-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.5;
}

/* Inputs (search, forms) — modern, large hit areas */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
	border-radius: var(--iris-radius-sm);
	border: 1px solid rgba(15, 23, 42, 0.12);
	padding: 0.625rem 0.875rem;
	font: inherit;
	background: #fff;
	transition: border-color 160ms var(--iris-ease),
				box-shadow 160ms var(--iris-ease);
}
input:focus,
textarea:focus,
select:focus {
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
	outline: none;
}

/* Search block specifically */
.wp-block-search__inside-wrapper {
	border-radius: var(--iris-radius);
	overflow: hidden;
	box-shadow: var(--iris-shadow-sm);
}

 

/* Navigation block: subtle underline animation */
.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	padding: 0.25rem 0.125rem;
}
.wp-block-navigation .wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

/* Soft card surface — useful for any custom group block */
.is-style-iris-card {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--iris-radius);
	padding: var(--wp--preset--spacing--30, 1.5rem);
	box-shadow: var(--iris-shadow-sm);
	transition: box-shadow 240ms var(--iris-ease),
				transform 240ms var(--iris-ease),
				border-color 240ms var(--iris-ease);
}
.is-style-iris-card:hover {
	box-shadow: var(--iris-shadow);
	transform: translateY(-2px);
	border-color: rgba(124, 58, 237, 0.25);
}

/* Glass surface — frosted backdrop for hero overlays */
.is-style-iris-glass {
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--iris-radius-lg);
	box-shadow: var(--iris-shadow-lg);
}

/* Gentle entrance animation for primary content */
@media (prefers-reduced-motion: no-preference) {
	.entry-content > *,
	.wp-block-post-content > * {
		animation: iris-rise 540ms var(--iris-ease) both;
	}
	.entry-content > *:nth-child(2) { animation-delay: 40ms; }
	.entry-content > *:nth-child(3) { animation-delay: 80ms; }
	.entry-content > *:nth-child(4) { animation-delay: 120ms; }
	.entry-content > *:nth-child(5) { animation-delay: 160ms; }
	.entry-content > *:nth-child(n+6) { animation-delay: 200ms; }
}
@keyframes iris-rise {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Respect users who'd rather not be animated at */
@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;
	}
}

/* Dark mode hook — when body.has-iris is also .is-dark */
body.has-iris.is-dark {
	background: #0b0f1a;
	color: #e5e7eb;
}
body.has-iris.is-dark .is-style-iris-card {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.08);
}
body.has-iris.is-dark input,
body.has-iris.is-dark textarea,
body.has-iris.is-dark select {
	background: rgba(255, 255, 255, 0.04);
	color: #e5e7eb;
	border-color: rgba(255, 255, 255, 0.12);
}

/* Mobile refinements */
@media (max-width: 600px) {
	body { font-size: 16px; }
	h1, .wp-block-heading.has-x-large-font-size { font-size: clamp(1.875rem, 8vw, 2.5rem); }
}
