/**
 * Aether - Elementor Specific Overrides
 * 
 * Minimal overrides to make Elementor widgets look consistent 
 * with the theme's Tailwind design system.
 * Keep this file small for performance.
 */

/* Make sure Aether buttons look native inside Elementor */
.aether-elementor-button,
.aether-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1;
}

.aether-btn-primary,
.aether-elementor-button.aether-btn-primary {
    background-color: #3B82F6;
    color: #fff;
    border: none;
}

.aether-btn-primary:hover,
.aether-elementor-button.aether-btn-primary:hover {
    background-color: #60A5FA;
}

.aether-btn-secondary,
.aether-elementor-button.aether-btn-secondary {
    background-color: #fff;
    color: #0A2540;
    border: 1px solid #e2e8f0;
}

.aether-btn-secondary:hover,
.aether-elementor-button.aether-btn-secondary:hover {
    background-color: #f8fafc;
}

/* Section and container consistency */
.aether-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Improve spacing inside Elementor sections */
.elementor-section .elementor-container {
    max-width: 1280px !important;
}

/* Typography alignment with theme */
.elementor-widget-text-editor p,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    font-family: inherit;
}

/* Performance: Avoid heavy shadows etc unless needed */
.aether-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Elementor demo pages: full-width sections align with Aether layout */
body.aether-demo-elementor .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px;
}

body.aether-demo-elementor .elementor-section.elementor-section-full_width {
	width: 100%;
}

/* —— SaaS Elementor full-site kit —— */
body.aether-site-kit-active.aether-demo-elementor .elementor-widget-button .elementor-button {
	border-radius: 8px;
	font-weight: 600;
	padding: 0.7rem 1.35rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-saas-hero .elementor-button.elementor-button-outline,
body.aether-site-kit-active.aether-demo-elementor .aether-el-saas-hero .elementor-button-link[class*="outline"] {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-hero__eyebrow {
	display: block;
	margin: 0 auto 1rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #e2e8f0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	width: fit-content;
	max-width: 100%;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-saas-hero .elementor-widget-heading h1 {
	text-align: center;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-hero__actions .elementor-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.85rem;
	max-width: 28rem;
	margin: 1.25rem auto 0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-hero__actions .elementor-column {
	width: auto !important;
	flex: 0 0 auto;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-saas-hero {
	margin-top: 0 !important;
}

body.aether-site-kit-active.aether-demo-elementor .elementor-location-single > .elementor {
	margin-top: 0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-hero__lead {
	text-align: center;
	color: #cbd5e1;
	font-size: 1.15rem;
	line-height: 1.65;
	max-width: 42rem;
	margin: 0.75rem auto 0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-hero__note {
	text-align: center;
	color: #94a3b8;
	font-size: 0.85rem;
	margin-top: 1rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-stat__value {
	text-align: center;
	color: #fff;
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-stat__label {
	text-align: center;
	color: #94a3b8;
	font-size: 0.92rem;
	margin: 0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-logos__label {
	text-align: center;
	color: #64748b;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-logos__row {
	text-align: center;
	color: #334155;
	font-weight: 600;
	font-size: 1rem;
	margin: 0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-feature-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1.25rem;
	padding: 1.25rem;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
	height: 100%;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-feature-card__mock {
	height: 120px;
	border-radius: 12px;
	margin-bottom: 1rem;
	background: linear-gradient(145deg, #e2e8f0 0%, #dbeafe 55%, #c7d2fe 100%);
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-feature-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: #0f172a;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-feature-card p {
	margin: 0;
	color: #64748b;
	line-height: 1.6;
	font-size: 0.95rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 900px) {
	body.aether-site-kit-active.aether-demo-elementor .aether-el-pricing-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
	}
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1.35rem;
	padding: 1.75rem;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card--featured {
	border: 2px solid #3b82f6;
	transform: translateY(-4px);
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__badge {
	display: inline-block;
	width: fit-content;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #3b82f6;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__tier {
	color: #64748b;
	font-weight: 600;
	margin: 0 0 0.35rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__amount {
	font-size: 2.4rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.15rem;
	line-height: 1;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__period {
	color: #94a3b8;
	font-size: 0.9rem;
	margin: 0 0 1.25rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__features {
	flex: 1;
	margin: 0 0 1.5rem;
	padding-left: 1.1rem;
	color: #334155;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.1rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	margin-top: auto;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__btn--primary {
	background: #0a2540;
	color: #fff;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-price-card__btn--secondary {
	background: #fff;
	color: #0a2540;
	border: 1px solid #e2e8f0;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-quote-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1.25rem;
	padding: 1.5rem;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
	height: 100%;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-quote-card--featured {
	background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
	border-color: #bfdbfe;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-quote-card__text {
	font-size: 1rem;
	line-height: 1.65;
	color: #1e293b;
	margin: 0 0 1rem;
}

body.aether-site-kit-active.aether-demo-elementor .aether-el-quote-card__meta {
	margin: 0;
	color: #64748b;
	font-size: 0.92rem;
}

body.aether-site-kit-active.aether-demo-elementor .elementor-widget-heading h2 {
	color: #0f172a;
	letter-spacing: -0.025em;
}
