/*
 * AppBuilder x Elementor
 *
 * Loaded only when Elementor is active, after Elementor's own CSS.
 * Specificity is kept below the rules Elementor generates for options you set in the
 * panel, so anything you choose on a widget (colour, font, size) still wins.
 */

/* 1. Elementor's global colour/typography defaults inherit from the theme instead,
      so text follows light/dark mode and the theme font. */
body .elementor .elementor-widget .elementor-heading-title,
body .elementor .elementor-widget-text-editor {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	line-height: inherit;
}
body .elementor .elementor-widget-text-editor { font-size: inherit; }

/* Tailwind's reset removes list bullets, paragraph spacing and link styling. */
.elementor-widget-text-editor p:not(:last-child) { margin-bottom: 1em; }
.elementor-widget-text-editor ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.elementor-widget-text-editor ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1em; }
.elementor-widget-text-editor a:not([class]) { color: #059669; text-decoration: underline; }
.elementor-widget-text-editor h2 { font-size: 1.4rem; font-weight: 800; margin: 1.2em 0 .5em; }
.elementor-widget-text-editor h3 { font-size: 1.15rem; font-weight: 700; margin: 1.1em 0 .4em; }

/* 2. Layout helpers used by the imported pages. */
body .ab-el-narrow { max-width: 48rem; margin-left: auto; margin-right: auto; width: 100%; }
body .ab-el-narrow.ab-el-wide { max-width: 42rem; }

.ab-el-grid { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.ab-el-grid > * { min-width: 0; }
@media (min-width: 640px) {
	.ab-el-grid--features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.ab-el-grid--steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
	.ab-el-grid--contact { grid-template-columns: 2fr 3fr; gap: 2.5rem; }
}
@media (min-width: 1024px) {
	.ab-el-grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Hero glow behind the scanner. */
.ab-el-hero { position: relative; overflow: hidden; }
.ab-el-hero::before {
	content: ""; position: absolute; top: 25%; left: 50%; width: 750px; height: 750px; max-width: 100%;
	transform: translate(-50%, -50%); background: rgba(16, 185, 129, .15); border-radius: 9999px;
	filter: blur(130px); pointer-events: none;
}
.ab-el-hero > * { position: relative; z-index: 1; }

/* 3. Pills: hero badge and section eyebrows (Heading widgets with a CSS class). */
.ab-el-pill { align-self: center; width: auto !important; }
.ab-el-pill .elementor-heading-title {
	display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid;
}
.ab-el-badge .elementor-heading-title {
	padding: .5rem 1rem; font-size: .75rem; font-weight: 700;
	background: rgba(226, 232, 240, .8); border-color: #cbd5e1; color: #334155;
}
html.dark .ab-el-badge .elementor-heading-title { background: rgba(15, 23, 42, .9); border-color: #1e293b; color: #e2e8f0; }
.ab-el-eyebrow .elementor-heading-title {
	padding: .25rem .75rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
	background: #d1fae5; border-color: #a7f3d0; color: #059669;
}
html.dark .ab-el-eyebrow .elementor-heading-title { background: #022c22; border-color: #065f46; color: #34d399; }
.ab-el-eyebrow--dark .elementor-heading-title,
html.dark .ab-el-eyebrow--dark .elementor-heading-title { background: #022c22; border-color: #065f46; color: #34d399; }

/* Numbered circle in "How it works". */
.ab-el-stepnum .elementor-heading-title {
	width: 3rem; height: 3rem; margin: 0 auto; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #059669, #4f46e5); color: #fff; font-weight: 900; font-size: 1.125rem;
}

/* 4. Buttons (Button widget with the class ab-el-btn--primary / ghost / light). */
body .ab-el-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem 1.1rem;
	border-radius: .8rem; font-weight: 800; font-size: .78rem; line-height: 1.2; border: 1px solid transparent;
	font-family: inherit; transition: all .15s;
}
body .ab-el-btn--primary .elementor-button { color: #fff; background: linear-gradient(90deg, #059669, #0d9488, #4f46e5); box-shadow: 0 8px 20px rgba(5, 150, 105, .25); }
body .ab-el-btn--primary .elementor-button:hover { color: #fff; opacity: .93; transform: translateY(-1px); }
body .ab-el-btn--ghost .elementor-button { background: transparent; color: inherit; border-color: #cbd5e1; }
html.dark body .ab-el-btn--ghost .elementor-button { border-color: #334155; }
body .ab-el-btn--ghost .elementor-button:hover { background: rgba(148, 163, 184, .15); color: inherit; }
body .ab-el-btn--light .elementor-button { background: #fff; color: #065f46; padding: .875rem 2rem; font-size: .875rem; }
body .ab-el-btn--light .elementor-button:hover { background: #ecfdf5; color: #065f46; }

/* 5. FAQ accordion styled like the theme's cards. */
.ab-el-faq .elementor-accordion .elementor-accordion-item {
	background: #fff; border: 1px solid #e2e8f0 !important; border-radius: 1.5rem; margin-bottom: .75rem; overflow: hidden;
}
html.dark .ab-el-faq .elementor-accordion .elementor-accordion-item { background: #0f172a; border-color: #1e293b !important; }
.ab-el-faq .elementor-tab-title { padding: 1.25rem; font-weight: 700; font-size: .875rem; color: #0f172a; }
html.dark .ab-el-faq .elementor-tab-title { color: #fff; }
.ab-el-faq .elementor-tab-title a { color: inherit; }
.ab-el-faq .elementor-tab-title .elementor-accordion-icon { color: #10b981; }
.ab-el-faq .elementor-tab-content {
	padding: 0 1.25rem 1.25rem; font-size: .75rem; line-height: 1.6; color: #475569; border-top: 0 !important;
}
html.dark .ab-el-faq .elementor-tab-content { color: #cbd5e1; }
