/* AiPress – pagina de vânzare /publicare-articole/ */
.apl {
	--apl-accent: #4353ff;
	--apl-accent-dark: #2f3fe6;
	--apl-accent-soft: #eef0ff;
	--apl-sale: #dc2626;
	--apl-text: #0f0f0f;
	--apl-muted: #5f6368;
	--apl-border: #e8e8e8;
	--apl-bg-alt: #f7f7f9;
	--apl-radius: 16px;

	max-width: 1140px;
	margin: 0 auto;
	padding: 24px 0 56px; /* lateral: padding-ul vine din șablonul Oxygen */
	color: var(--apl-text);
	font-size: 17px;
	line-height: 1.65;
	box-sizing: border-box;
}
.apl *, .apl *::before, .apl *::after { box-sizing: border-box; }
.apl h1, .apl h2, .apl h3 { color: inherit; margin: 0; line-height: 1.2; letter-spacing: -0.015em; }
.apl p { margin: 0; }
.apl a { color: var(--apl-accent); }
.apl svg { display: block; flex: none; }

/* Hero */
.apl-hero {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(67, 83, 255, .55), transparent 70%),
		radial-gradient(ellipse 50% 60% at 0% 100%, rgba(67, 83, 255, .25), transparent 70%),
		#0f0f12;
	color: #fff;
	padding: 64px 56px 48px;
}
.apl-hero__inner { position: relative; max-width: 820px; }
.apl-eyebrow {
	display: inline-block;
	padding: 6px 14px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .85);
}
.apl-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: #fff; margin-bottom: 20px; }
.apl-lead { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 760px; }
.apl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.apl .apl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background .15s, transform .15s, border-color .15s;
}
.apl .apl-btn:hover { transform: translateY(-1px); }
.apl .apl-btn--primary { background: var(--apl-accent); color: #fff; box-shadow: 0 8px 24px rgba(67, 83, 255, .35); }
.apl .apl-btn--primary:hover { background: var(--apl-accent-dark); color: #fff; }
.apl .apl-btn--ghost { border: 2px solid rgba(255, 255, 255, .35); color: #fff; }
.apl .apl-btn--ghost:hover { border-color: #fff; color: #fff; }
.apl .apl-btn--lg { padding: 18px 32px; font-size: 18px; }

.apl-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	list-style: none;
	margin: 44px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
}
.apl-facts li { margin: 0; display: flex; flex-direction: column; }
.apl-facts strong { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.2; }
.apl .apl-facts strong * { color: #fff !important; font-weight: 800; }
.apl .woocommerce-Price-amount, .apl .woocommerce-Price-amount * { font-size: inherit !important; line-height: inherit; }
.apl-facts span { font-size: 14px; color: rgba(255, 255, 255, .65); }

/* SICAP */
.apl-sicap {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 24px 0 0;
	padding: 20px 24px;
	border-radius: var(--apl-radius);
	background: var(--apl-accent-soft);
	border: 1px solid #dfe2ff;
}
.apl-sicap__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--apl-accent);
	color: #fff;
	flex: none;
}
.apl-sicap p { font-size: 16px; }

/* Secțiuni */
.apl-section { margin-top: 72px; }
.apl-section > h2, .apl-pricing__text h2, .apl-final h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.apl-intro { margin-top: 12px; color: var(--apl-muted); max-width: 760px; font-size: 18px; }
.apl-section--center > h2, .apl-section--center > .apl-intro { text-align: center; margin-left: auto; margin-right: auto; }

/* Pași */
.apl-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	counter-reset: none;
}
.apl-steps li {
	position: relative;
	margin: 0;
	padding: 24px 22px;
	border: 1px solid var(--apl-border);
	border-radius: var(--apl-radius);
	background: #fff;
}
.apl-steps__num {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--apl-accent);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
}
.apl-steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.apl-steps p { font-size: 15px; color: var(--apl-muted); line-height: 1.55; }

/* Prețuri */
.apl-pricing {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px;
	align-items: center;
	padding: 40px;
	border-radius: 24px;
	background: var(--apl-bg-alt);
}
.apl-pricing__text p { margin-top: 12px; color: var(--apl-muted); }
.apl-pricing__text strong { color: var(--apl-text); }
.apl-tiers { display: grid; gap: 10px; }
.apl-tier {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--apl-border);
}
.apl-tier__pct {
	min-width: 72px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--apl-sale);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	text-align: center;
	letter-spacing: -0.02em;
}
.apl-tier__txt { font-weight: 600; }

/* Logo-uri */
.apl-logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 28px;
}
.apl .apl-logo {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--apl-border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	text-decoration: none;
	color: var(--apl-text);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.apl .apl-logo:hover { border-color: #c9cdff; box-shadow: 0 6px 18px rgba(15, 15, 15, .08); transform: translateY(-2px); }
.apl-logo__img { display: block; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; min-height: 0; }
.apl-logo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apl-logo__name {
	padding: 8px 10px;
	border-top: 1px solid var(--apl-border);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Beneficii */
.apl-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apl-benefit { padding: 32px; border: 1px solid var(--apl-border); border-radius: var(--apl-radius); background: #fff; }
.apl-benefit__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--apl-accent-soft);
	color: var(--apl-accent);
}
.apl-benefit h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.apl-benefit p { color: var(--apl-muted); }

/* CTA final */
.apl-final {
	margin-top: 72px;
	padding: 56px 32px;
	border-radius: 24px;
	text-align: center;
	background:
		radial-gradient(ellipse 70% 90% at 50% 0%, rgba(67, 83, 255, .5), transparent 70%),
		#0f0f12;
	color: #fff;
}
.apl-final h2 { color: #fff; }
.apl-final p { margin: 12px auto 28px; color: rgba(255, 255, 255, .78); font-size: 18px; }

/* Comunicat de presă */
.apl-press {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 32px;
	border-radius: var(--apl-radius);
	border: 1px dashed #c9cdff;
	background: #fff;
	scroll-margin-top: 100px;
}
.apl-press__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--apl-accent-soft);
	color: var(--apl-accent);
	flex: none;
}
.apl-press h2 { font-size: 24px !important; margin-bottom: 10px; }
.apl-press p { color: var(--apl-muted); }

/* ---------- Pagina Contact ---------- */
.apl .apl-btn--outline { border: 2px solid var(--apl-border); color: var(--apl-text); background: #fff; }
.apl .apl-btn--outline:hover { border-color: var(--apl-accent); color: var(--apl-accent); }
.apl-eyebrow--light { color: var(--apl-accent); border-color: #c9cdff; background: var(--apl-accent-soft); }

.apl-contact__hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
	padding: 48px;
	border-radius: 24px;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(67, 83, 255, .12), transparent 70%),
		var(--apl-bg-alt);
}
.apl-contact__text h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin-bottom: 18px; }
.apl-contact__text p { color: var(--apl-muted); margin-bottom: 14px; }
.apl-contact__text .apl-contact__lead { font-size: 19px; color: var(--apl-text); }
.apl-contact__text .apl-cta { margin-top: 26px; }
.apl-contact__media { position: relative; }
.apl-contact__media::before {
	content: "";
	position: absolute;
	inset: 18px -14px -14px 18px;
	border-radius: 20px;
	background: var(--apl-accent);
	opacity: .14;
}
.apl-contact__media .wp-video,
.apl-contact__media video {
	position: relative;
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(15, 15, 18, .18);
	background: #0f0f12;
}

.apl-contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.apl-card { padding: 32px; border: 1px solid var(--apl-border); border-radius: var(--apl-radius); background: #fff; }
.apl-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.apl-card__head h2 { font-size: 21px; font-weight: 800; }
.apl-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--apl-accent-soft);
	color: var(--apl-accent);
	flex: none;
}
.apl-card__lead { margin-bottom: 14px !important; }
.apl-card__sub { margin: 18px 0 2px !important; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--apl-accent); }
.apl-data { margin: 0; display: grid; gap: 0; }
.apl-data > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--apl-border); }
.apl-data dt { margin: 0; font-size: 14px; color: var(--apl-muted); font-weight: 600; }
.apl-data dd { margin: 0; font-size: 16px; word-break: break-word; }
.apl-iban { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.apl-copy {
	margin-left: 8px;
	padding: 3px 10px;
	border: 1px solid var(--apl-border);
	border-radius: 6px;
	background: #fff;
	color: var(--apl-accent);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	vertical-align: middle;
}
.apl-copy:hover { border-color: var(--apl-accent); background: var(--apl-accent-soft); }

/* ---------- Pagina Rețea de site-uri ---------- */
.apl-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.apl-site {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 22px;
	align-items: start;
	padding: 20px;
	border: 1px solid var(--apl-border);
	border-radius: 16px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.apl-site:hover { border-color: #c9cdff; box-shadow: 0 8px 24px rgba(15, 15, 15, .07); }
.apl-site__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.apl .apl-site__logo {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	min-height: 0;
	border: 1px solid var(--apl-border);
	border-radius: 12px;
	background: #fff;
}
.apl-site__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.apl-site__buttons { display: grid; gap: 8px; }
.apl .apl-site__visit,
.apl .apl-site__publish {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	padding: 9px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background .15s;
}
.apl .apl-site__visit { background: #000; color: #fff; }
.apl .apl-site__visit:hover { background: #333; color: #fff; }
.apl .apl-site__visit span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.apl .apl-site__visit svg { flex: none; opacity: .8; }
.apl .apl-site__publish { background: var(--apl-accent); color: #fff; font-size: 14px; }
.apl .apl-site__publish:hover { background: var(--apl-accent-dark); color: #fff; }
.apl-site__publish svg { flex: none; }
.apl-site__body { min-width: 0; }
.apl-site__body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 8px; }
.apl .apl-site__body h3 a { color: var(--apl-accent); text-decoration: none; }
.apl .apl-site__body h3 a:hover { color: var(--apl-accent-dark); text-decoration: underline; }
.apl-site__body p { font-size: 14.5px; line-height: 1.6; color: var(--apl-muted); }
.apl-site__links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--apl-border); }
.apl .apl-site__more { font-size: 14px; font-weight: 700; color: var(--apl-text); text-decoration: none; }
.apl .apl-site__more span { display: inline-block; transition: transform .15s; }
.apl .apl-site__more:hover { color: var(--apl-accent); }
.apl .apl-site__more:hover span { transform: translateX(3px); }

/* ---------- Pagina Despre noi ---------- */
.apl-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.apl-value { padding: 26px 22px; border: 1px solid var(--apl-border); border-radius: var(--apl-radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.apl-value:hover { border-color: #c9cdff; box-shadow: 0 8px 22px rgba(15, 15, 15, .06); }
.apl-value h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.apl-value p { font-size: 15px; color: var(--apl-muted); line-height: 1.6; }

.apl-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.apl-split .apl-contact__media::before { inset: 18px 18px -14px -14px; }
.apl-split__text h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.apl-split__text p { color: var(--apl-muted); }
.apl-split__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--apl-border); }
.apl-split__facts li { margin: 0; display: flex; flex-direction: column; }
.apl-split__facts strong { font-size: 28px; font-weight: 800; color: var(--apl-accent); line-height: 1.15; }
.apl-split__facts span { font-size: 14px; color: var(--apl-muted); }

.apl-operator { margin-top: 28px !important; text-align: center; font-size: 14px; color: var(--apl-muted); }

@media (max-width: 960px) {
	.apl-steps { grid-template-columns: 1fr 1fr; }
	.apl-pricing { grid-template-columns: 1fr; padding: 28px; }
	.apl-sites { grid-template-columns: 1fr; }
	.apl-contact__hero { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
	.apl-contact__cards { grid-template-columns: 1fr; }
	.apl-values { grid-template-columns: 1fr 1fr; }
	.apl-split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
	.apl { padding-top: 12px; font-size: 16px; }
	.apl-hero { padding: 32px 20px 26px; border-radius: 18px; }
	.apl-lead { font-size: 17px; }
	.apl-cta .apl-btn { width: 100%; }
	.apl-facts { gap: 16px 28px; margin-top: 32px; }
	.apl-facts strong { font-size: 20px; }
	.apl-sicap { flex-direction: column; align-items: flex-start; padding: 20px; }
	.apl-section, .apl-final { margin-top: 48px; }
	.apl-steps, .apl-benefits { grid-template-columns: 1fr; }
	.apl-logos { grid-template-columns: repeat(2, 1fr); }
	.apl-benefit, .apl-press { padding: 24px; }
	.apl-press { flex-direction: column; }
	.apl-final { padding: 40px 22px; }
	.apl .apl-btn--lg { width: 100%; font-size: 16px; padding: 16px 20px; }
	.apl-contact__hero { padding: 26px 20px; border-radius: 18px; }
	.apl-contact__media::before { inset: 10px -6px -8px 10px; }
	.apl-card { padding: 22px 20px; }
	.apl-data > div { grid-template-columns: 1fr; gap: 2px; }
	.apl-sites { grid-template-columns: 1fr; }
	.apl-site { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
	.apl-site__side { flex-direction: column; gap: 10px; }
	.apl .apl-site__logo { width: 100%; aspect-ratio: 16 / 9; }
	.apl-site__logo img { object-fit: cover; }
	.apl-site__buttons { grid-template-columns: 1fr; }
	.apl .apl-site__visit, .apl .apl-site__publish { padding: 11px 10px; font-size: 14px; }
	.apl-site__body h3 { font-size: 16px; }
	.apl-values { grid-template-columns: 1fr; }
	.apl-split .apl-contact__media::before { inset: 10px 10px -8px -6px; }
}
