/* ==========================================================================
   AlphaPros — AI Discovery Chat page (page-ai-discovery-chat.php)
   ========================================================================== */

@keyframes ap-shimmer { to { background-position: -200% 0; } }
@keyframes ap-dots-drift { to { background-position: 180px 90px; } }
.dc-hero .text-gradient,
.dc-outputs .text-gradient {
	background-image: linear-gradient(90deg, #b57be8, #e7c4ff, #b57be8);
	background-size: 200% 100%;
	animation: ap-shimmer 6s linear infinite;
}

.dc-title { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.2; margin-bottom: .5em; }
.dc-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 48px); }
.dc-head--center { margin-inline: auto; text-align: center; }
.dc-head__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.85; margin: 0; }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ap-ease); }
.btn:hover .icon { transform: translateX(3px); }

/* Hero
   ========================================================================== */
.dc-hero {
	position: relative;
	margin-top: calc(var(--ap-header-h) * -1);
	padding: calc(var(--ap-header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(40% 55% at 75% 45%, rgba(150, 60, 210, .4), transparent 70%),
		radial-gradient(35% 45% at 5% 10%, rgba(110, 40, 160, .3), transparent 70%),
		linear-gradient(180deg, #170d1c 0%, #1f1226 65%, var(--ap-bg) 100%);
}
.dc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(220, 180, 255, .16) 1px, transparent 1.4px);
	background-size: 18px 18px;
	mask-image: radial-gradient(50% 65% at 72% 50%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(50% 65% at 72% 50%, #000 10%, transparent 75%);
	animation: ap-dots-drift 40s linear infinite;
	pointer-events: none;
}
.dc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
.dc-hero__title { font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: 1.05; margin-bottom: .4em; }
.dc-hero__text { max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.9; color: var(--ap-text); margin-bottom: 2em; }
.dc-try {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	padding: 12px 12px 12px 22px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--ap-border);
	border-radius: 16px;
}
.dc-try__label { margin: 0; font: 600 1.1rem/1.3 var(--ap-font-heading); color: var(--ap-white); }

/* Animated AI orb: the live site's orb art with rings and a voice wave */
.dc-orb { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.dc-orb__img { position: relative; z-index: 1; width: 78%; animation: ap-orb-breathe 5s ease-in-out infinite; }
.dc-orb__ring {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(200, 150, 255, .28);
	border-radius: 50%;
	animation: ap-orb-ring 6s ease-out infinite;
}
.dc-orb__ring--2 { animation-delay: -2s; }
.dc-orb__ring--3 { animation-delay: -4s; }
.dc-orb__wave {
	position: absolute;
	z-index: 2;
	bottom: 8%;
	display: flex;
	align-items: center;
	gap: 5px;
	height: 40px;
	padding: 0 18px;
	background: rgba(30, 18, 34, .75);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
}
.dc-orb__wave span { width: 4px; height: 30%; background: linear-gradient(180deg, #e3b8ff, var(--ap-primary)); border-radius: 4px; animation: ap-wave 1.2s ease-in-out infinite; }
.dc-orb__wave span:nth-child(2) { animation-delay: -.2s; }
.dc-orb__wave span:nth-child(3) { animation-delay: -.4s; }
.dc-orb__wave span:nth-child(4) { animation-delay: -.6s; }
.dc-orb__wave span:nth-child(5) { animation-delay: -.8s; }
.dc-orb__wave span:nth-child(6) { animation-delay: -1s; }
.dc-orb__wave span:nth-child(7) { animation-delay: -1.1s; }
@keyframes ap-orb-breathe { 50% { transform: scale(1.04); filter: brightness(1.15); } }
@keyframes ap-orb-ring {
	0% { transform: scale(.55); opacity: 0; }
	30% { opacity: 1; }
	100% { transform: scale(1.05); opacity: 0; }
}
@keyframes ap-wave { 50% { height: 80%; } }

/* What we found
   ========================================================================== */
.dc-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dc-use {
	position: relative;
	padding: 28px 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
	border: 1px solid var(--ap-border);
	border-radius: 20px;
	transition: transform .4s var(--ap-ease), border-color .3s, box-shadow .4s var(--ap-ease);
}
.dc-use:hover { transform: translateY(-6px); border-color: rgba(175, 71, 254, .5); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.dc-use__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 20px;
	color: var(--ap-white);
	background: linear-gradient(135deg, var(--ap-primary), #6d28d9);
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(175, 71, 254, .35);
	transition: transform .4s var(--ap-ease);
}
.dc-use:hover .dc-use__icon { transform: rotate(-6deg) scale(1.06); }
.dc-use__icon .icon { width: 26px; height: 26px; }
.dc-use__title { font-size: 1.15rem; line-height: 1.4; margin-bottom: .55em; }
.dc-use p { margin: 0; line-height: 1.8; color: var(--ap-text); }
.dc-use__list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dc-use__list li { display: flex; align-items: center; gap: 10px; color: var(--ap-text); }
.dc-use__list .icon { width: 18px; height: 18px; padding: 3px; color: var(--ap-white); background: var(--ap-primary); border-radius: 50%; stroke-width: 3; }

/* Outputs flow
   ========================================================================== */
.dc-outputs {
	background:
		radial-gradient(50% 60% at 50% 0%, rgba(120, 40, 170, .28), transparent 70%),
		var(--ap-bg-deep);
	border-block: 1px solid var(--ap-border-soft);
}
.dc-flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Connecting line behind the steps */
.dc-flow::before {
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	top: 92px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(175, 71, 254, .6), transparent);
}
.dc-flow__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 18px 28px;
	text-align: center;
	background: rgba(20, 12, 22, .6);
	border: 1px solid var(--ap-border);
	border-radius: 20px;
	transition: transform .4s var(--ap-ease), border-color .3s, box-shadow .4s var(--ap-ease);
}
.dc-flow__item:hover { transform: translateY(-6px); border-color: rgba(175, 71, 254, .5); box-shadow: 0 22px 44px rgba(0, 0, 0, .45), 0 0 40px rgba(175, 71, 254, .15); }
.dc-flow__step { align-self: flex-start; font: 700 .8rem/1 var(--ap-font-heading); letter-spacing: .1em; color: var(--ap-primary-soft); }
.dc-flow__icon { width: 112px; height: 112px; margin: 4px 0 16px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(175, 71, 254, .1), 0 0 40px rgba(175, 71, 254, .35); transition: transform .5s var(--ap-ease); }
.dc-flow__item:hover .dc-flow__icon { transform: scale(1.07); }
.dc-flow__title { margin: 0; font-size: 1.2rem; }

/* Try it CTA
   ========================================================================== */
.dc-cta__box {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
	align-items: center;
	gap: clamp(32px, 4vw, 56px);
	padding: clamp(36px, 5vw, 64px);
	background:
		radial-gradient(60% 90% at 100% 50%, rgba(150, 60, 210, .4), transparent 70%),
		rgba(255, 255, 255, .015);
	border: 1px solid var(--ap-border);
	border-radius: 28px;
}
.dc-cta__content p { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.85; max-width: 560px; }
.dc-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.dc-orb--small { max-width: 280px; }

/* Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.dc-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.dc-hero__grid,
	.dc-cta__box { grid-template-columns: 1fr; }
	.dc-orb { max-width: 340px; }
	.dc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dc-flow::before { display: none; }
}
@media (max-width: 600px) {
	.dc-uses,
	.dc-flow { grid-template-columns: 1fr; }
	.dc-try { padding: 14px; }
}
