/**
 * AEO Onboarding Process Widget — Main Stylesheet
 *
 * Design system tokens extracted from the reference images.
 * Zero external dependencies — pure vanilla CSS.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==================================================================
   DESIGN TOKENS
   ================================================================== */

.aeo-widget {
	--aeo-orange:        #C018B7;
	--aeo-orange-light:  #FDF2F8;
	--aeo-orange-border: #F5D0FE;

	--aeo-blue:        #b5179e;
	--aeo-blue-light:  #FDF2F8;
	--aeo-blue-border: #F472B6;

	--aeo-green:        #16A34A;
	--aeo-green-light:  #F0FDF4;
	--aeo-green-border: #BBF7D0;

	--aeo-navy:      #0F172A;
	--aeo-navy-deep: #1E3A8A;
	--aeo-body:      #334155;
	--aeo-muted:     #64748B;
	--aeo-inactive:  #1E293B;
	--aeo-bg-white:  #FFFFFF;
	--aeo-bg-soft:   #F8FAFC;
	--aeo-border:    #E2E8F0;

	--aeo-radius-lg:   20px;
	--aeo-radius-md:   14px;
	--aeo-radius-pill: 999px;
	--aeo-shadow-card:  0 4px 12px rgba(0,0,0,0.06);
	--aeo-shadow-hover: 0 10px 24px rgba(0,0,0,0.10);

	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	color: var(--aeo-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.aeo-widget *,
.aeo-widget *::before,
.aeo-widget *::after,
.aeo-widget h1,
.aeo-widget h2,
.aeo-widget h3,
.aeo-widget h4,
.aeo-widget p,
.aeo-widget span,
.aeo-widget a,
.aeo-widget li,
.aeo-widget button {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	box-sizing: border-box;
}

/* Container */
.aeo-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Section spacing */
.aeo-section {
	padding: 32px 0;
	background: transparent;
}

.aeo-section:nth-child(even) {
	background-color: transparent;
}

/* ==================================================================
   SHARED: Section H2 with orange underline
   ================================================================== */

.aeo-section-h2 {
	font-size: 24px !important;
	font-weight: 800;
	color: var(--aeo-navy);
	text-align: center;
	margin: 0 0 10px;
	line-height: 1.3;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.aeo-h2-underline {
	display: block;
	width: 44px;
	height: 4px;
	background: var(--aeo-orange);
	border-radius: var(--aeo-radius-pill);
	margin-top: 10px;
}

.aeo-section-intro {
	font-size: 14.5px;
	color: var(--aeo-muted);
	text-align: center;
	max-width: 720px;
	margin: 0 auto 20px;
	line-height: 1.6;
}

/* ==================================================================
   #1 HERO
   ================================================================== */

.aeo-hero {
	padding: 20px 0 28px;
	background: transparent;
}


/* Hero grid */
.aeo-hero-grid {
	display: flex;
	align-items: center;
	gap: 48px;
}

.aeo-hero-content {
	flex: 0 0 48%;
	max-width: 48%;
}

.aeo-hero-media {
	position: relative;
	flex: 1;
	min-width: 0;
	padding: 12px;
}

/* 3D Offset backdrop frame */
.aeo-hero-backdrop {
	position: absolute;
	top: 24px;
	bottom: 0;
	left: 24px;
	right: 0;
	background: var(--aeo-blue-light);
	border: 1.5px solid var(--aeo-blue-border);
	border-radius: 24px;
	z-index: 0;
}

/* Eyebrow */
.aeo-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--aeo-orange);
	margin-bottom: 12px;
}

/* H1 */
.aeo-hero-h1 {
	font-size: 32px !important;
	font-weight: 800;
	color: var(--aeo-navy);
	line-height: 1.25;
	margin: 0 0 16px;
}

/* Hero body text */
.aeo-hero-text {
	font-size: 15px;
	color: var(--aeo-muted);
	line-height: 1.7;
	margin: 0;
}

/* Hero image wrapper */
.aeo-hero-image-wrap {
	position: relative;
	display: block;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
	z-index: 1;
}

.aeo-hero-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
	object-fit: cover;
	aspect-ratio: 4/3;
}

/* Floating Glassmorphism Badges Overlay */
.aeo-hero-badges {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.aeo-hero-badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	padding: 10px 16px;
	border-radius: var(--aeo-radius-pill);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	font-size: 13px;
	font-weight: 700;
	color: var(--aeo-navy);
	transition: transform 0.3s ease;
}

.aeo-hero-badge.aeo-badge-top {
	top: 20px;
	left: 20px;
}

.aeo-hero-badge.aeo-badge-bottom {
	bottom: 20px;
	right: 20px;
}

.aeo-badge-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--aeo-blue-light);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.aeo-badge-icon svg {
	width: 14px;
	height: 14px;
	fill: var(--aeo-blue);
	color: var(--aeo-blue);
}


/* ==================================================================
   #2 BUSINESSES
   ================================================================== */

.aeo-biz-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.aeo-biz-card {
	border-radius: var(--aeo-radius-lg);
	padding: 32px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aeo-biz-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--aeo-shadow-hover);
}

/* Blue theme card */
.aeo-biz-blue {
	background: var(--aeo-blue-light);
}

.aeo-biz-blue .aeo-biz-card-icon {
	background: var(--aeo-blue);
}

.aeo-biz-blue .aeo-biz-card-title {
	color: var(--aeo-blue);
}

.aeo-biz-blue .aeo-biz-card-link {
	color: var(--aeo-blue);
}

.aeo-biz-blue .aeo-biz-tag {
	border-color: var(--aeo-blue-border);
	color: var(--aeo-blue);
}

/* Green theme card */
.aeo-biz-green {
	background: var(--aeo-green-light);
}

.aeo-biz-green .aeo-biz-card-icon {
	background: var(--aeo-green);
}

.aeo-biz-green .aeo-biz-card-title {
	color: var(--aeo-green);
}

.aeo-biz-green .aeo-biz-card-link {
	color: var(--aeo-green);
}

.aeo-biz-green .aeo-biz-tag {
	border-color: var(--aeo-green-border);
	color: var(--aeo-green);
}

/* Card icon */
.aeo-biz-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.aeo-biz-card-icon svg {
	width: 28px;
	height: 28px;
	fill: #fff;
	color: #fff;
}

/* Card title */
.aeo-biz-card-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
}

/* Card desc */
.aeo-biz-card-desc {
	font-size: 14px;
	color: var(--aeo-muted);
	line-height: 1.6;
	margin: 0 0 20px;
	flex: 1 1 auto;
}

/* Card link */
.aeo-biz-card-link {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
	margin-top: auto;
	transition: gap 0.2s;
}

.aeo-biz-card-link:hover {
	gap: 8px;
}

.aeo-chevron svg {
	width: 16px;
	height: 16px;
}

/* Tags */
.aeo-biz-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 0;
}

.aeo-biz-tag {
	font-size: 13px;
	font-weight: 500;
	padding: 6px 14px;
	border: 1.5px solid;
	border-radius: var(--aeo-radius-pill);
	background: var(--aeo-bg-white);
	white-space: nowrap;
	transition: background 0.2s, transform 0.2s;
}

.aeo-biz-tag:hover {
	transform: translateY(-2px);
}

/* ==================================================================
   #3 PROCESS STEPPER
   ================================================================== */

.aeo-process-card {
	background: var(--aeo-bg-white);
	border: 1px solid var(--aeo-border);
	border-radius: var(--aeo-radius-lg);
	box-shadow: var(--aeo-shadow-card);
	display: flex;
	overflow: hidden;
	min-height: 420px;
}

/* Left column: Step list */
.aeo-step-list {
	flex: 0 0 30%;
	max-width: 30%;
	padding: 24px 0;
	border-right: 1px solid var(--aeo-border);
	background: var(--aeo-bg-white);
}

.aeo-step-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	cursor: pointer;
	transition: background 0.2s;
	border-left: 3px solid transparent;
}

.aeo-step-row:hover {
	background: var(--aeo-bg-soft);
}

.aeo-step-row.aeo-step-active {
	background: var(--aeo-blue-light);
	border-left-color: var(--aeo-blue);
}

.aeo-step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--aeo-inactive);
	flex-shrink: 0;
	transition: background 0.2s;
}

.aeo-step-active .aeo-step-num {
	background: var(--aeo-blue);
}

.aeo-step-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--aeo-muted);
	transition: color 0.2s, font-weight 0.2s;
	line-height: 1.3;
}

.aeo-step-active .aeo-step-label {
	color: var(--aeo-blue);
	font-weight: 700;
}

/* Right column: Panels */
.aeo-step-panels {
	flex: 1;
	padding: 32px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.aeo-step-panel {
	display: none;
	height: 100%;
}

.aeo-step-panel.aeo-step-panel-active {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
}

.aeo-panel-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.aeo-panel-num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--aeo-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
}

.aeo-panel-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--aeo-navy);
	margin: 0;
	line-height: 1.3;
}

.aeo-panel-intro {
	font-size: 14px;
	color: var(--aeo-muted);
	line-height: 1.6;
	margin: 0 0 24px;
}

/* Panel body — icon + checklist */
.aeo-panel-body {
	display: flex;
	gap: 28px;
	margin-bottom: 24px;
	align-items: flex-start;
}

.aeo-panel-icon-wrap {
	flex-shrink: 0;
}

.aeo-panel-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--aeo-bg-soft);
	border: 2px solid var(--aeo-border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.aeo-panel-icon svg {
	width: 48px;
	height: 48px;
	fill: var(--aeo-navy);
	color: var(--aeo-navy);
}

.aeo-panel-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aeo-panel-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--aeo-body);
	line-height: 1.5;
}

.aeo-check-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aeo-check-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--aeo-blue);
	color: var(--aeo-blue);
}

/* Info banner */
.aeo-panel-info {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: var(--aeo-blue-light);
	border-radius: var(--aeo-radius-md);
	border: 1px solid var(--aeo-blue-border);
	margin-top: auto;
	width: 100%;
}

.aeo-info-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aeo-info-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--aeo-blue);
	color: var(--aeo-blue);
}

.aeo-info-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--aeo-blue);
	line-height: 1.4;
	font-style: italic;
}

/* ==================================================================
   #4 TRANSITION
   ================================================================== */

.aeo-transition {
	background: var(--aeo-bg-soft);
}

.aeo-trans-card {
	background: var(--aeo-bg-white);
	border: 1px solid var(--aeo-border);
	border-radius: var(--aeo-radius-lg);
	box-shadow: var(--aeo-shadow-card);
	padding: 44px 32px;
	margin: 0 auto;
	max-width: 980px;
	text-align: center;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.aeo-trans-card:hover {
	box-shadow: var(--aeo-shadow-hover);
}

.aeo-trans-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 32px;
	flex-wrap: nowrap;
}

.aeo-trans-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-width: 120px;
}

.aeo-trans-icon-circle {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--aeo-blue-light);
	border: 1.5px solid var(--aeo-blue-border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.aeo-trans-icon-circle:hover {
	box-shadow: 0 8px 20px rgba(181, 23, 158, 0.15);
	transform: translateY(-3px);
	border-color: var(--aeo-blue);
}

.aeo-trans-icon-circle svg {
	width: 32px;
	height: 32px;
	fill: var(--aeo-blue);
	color: var(--aeo-blue);
}

.aeo-trans-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--aeo-navy);
	text-align: center;
	max-width: 140px;
	line-height: 1.3;
}

.aeo-trans-arrow {
	flex-shrink: 0;
	margin-top: -24px;
}

.aeo-trans-arrow svg {
	width: 24px;
	height: 24px;
	fill: var(--aeo-orange);
	color: var(--aeo-orange);
}

.aeo-trans-text {
	font-size: 15px;
	color: var(--aeo-muted);
	text-align: center;
	max-width: 640px;
	margin: 0 auto 20px;
	line-height: 1.6;
}

.aeo-trans-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--aeo-blue);
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}

.aeo-trans-cta:hover {
	gap: 12px;
	color: var(--aeo-orange);
}

.aeo-trans-cta .aeo-chevron svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	color: currentColor;
}

/* ==================================================================
   #5 ONCE COMPLETE
   ================================================================== */

.aeo-complete-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.aeo-complete-card {
	background: var(--aeo-bg-white);
	border: 1px solid var(--aeo-border);
	border-radius: var(--aeo-radius-lg);
	padding: 28px;
	transition: box-shadow 0.3s, transform 0.3s;
}

.aeo-complete-card:hover {
	box-shadow: var(--aeo-shadow-hover);
	transform: translateY(-4px);
}

.aeo-complete-icon {
	margin-bottom: 14px;
}

.aeo-complete-icon svg {
	width: 28px;
	height: 28px;
	fill: var(--aeo-navy);
	color: var(--aeo-navy);
}

.aeo-complete-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--aeo-navy);
	margin: 0 0 8px;
	line-height: 1.3;
}

.aeo-complete-desc {
	font-size: 14px;
	color: var(--aeo-muted);
	line-height: 1.6;
	margin: 0;
}

/* ==================================================================
   #6 CTA BAND
   ================================================================== */

.aeo-cta {
	padding: 60px 0;
	text-align: center;
	background: linear-gradient(135deg, #d946ef 0%, #b5179e 50%, #86198f 100%) !important;
	width: 100%;
}

.aeo-cta-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.aeo-cta-heading {
	font-size: 26px !important;
	font-weight: 800 !important;
	color: #FFFFFF !important;
	margin: 0 0 14px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.aeo-cta-subtext {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.92) !important;
	max-width: 680px;
	margin: 0 auto 28px;
	line-height: 1.6;
}

.aeo-cta-btn {
	display: inline-block;
	padding: 14px 36px;
	background: #FFFFFF !important;
	color: #0F172A !important;
	font-size: 15px;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aeo-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* ==================================================================
   #7 FAQs
   ================================================================== */

.aeo-faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.aeo-faq-item {
	background: var(--aeo-bg-white) !important;
	border: 1px solid var(--aeo-border);
	border-radius: var(--aeo-radius-md);
	margin-bottom: 12px;
	overflow: hidden;
	transition: box-shadow 0.3s, border-color 0.3s;
}

.aeo-faq-item:hover {
	box-shadow: var(--aeo-shadow-card);
}

.aeo-faq-item.aeo-faq-open {
	background: var(--aeo-bg-white) !important;
	border-color: var(--aeo-border);
}

.aeo-faq-question,
.aeo-faq-question:hover,
.aeo-faq-question:focus,
.aeo-faq-question:active,
.aeo-faq-item.aeo-faq-open .aeo-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 24px;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--aeo-navy) !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	border-radius: 0;
}

.aeo-faq-q-text {
	font-size: 15px;
	font-weight: 600;
	color: var(--aeo-navy) !important;
	line-height: 1.4;
	flex: 1;
	padding-right: 16px;
}

.aeo-faq-chevron {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.aeo-faq-chevron svg {
	width: 20px;
	height: 20px;
	fill: var(--aeo-muted);
	color: var(--aeo-muted);
	transition: fill 0.2s, color 0.2s;
}

.aeo-faq-item.aeo-faq-open .aeo-faq-chevron {
	transform: rotate(180deg);
}

.aeo-faq-item.aeo-faq-open .aeo-faq-chevron svg {
	fill: var(--aeo-blue);
	color: var(--aeo-blue);
}

.aeo-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 24px;
}

.aeo-faq-item.aeo-faq-open .aeo-faq-answer {
	max-height: 300px;
	padding: 0 24px 18px;
}

.aeo-faq-answer p {
	font-size: 14px;
	color: var(--aeo-muted);
	line-height: 1.7;
	margin: 0;
}

/* ==================================================================
   SCROLL ANIMATIONS
   ================================================================== */

.aeo-animate {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.aeo-animate.aeo-visible {
	opacity: 1;
	transform: translateY(0);
}

.aeo-delay-1 { transition-delay: 0.15s; }
.aeo-delay-2 { transition-delay: 0.30s; }
.aeo-delay-3 { transition-delay: 0.45s; }
.aeo-delay-4 { transition-delay: 0.60s; }

/* In Elementor editor, always show elements */
.elementor-editor-active .aeo-animate {
	opacity: 1;
	transform: translateY(0);
}

/* Fail-safe: Ensure hero content is immediately visible on page load */
.aeo-hero-content {
	opacity: 1 !important;
	transform: none !important;
}
